Releases: Trirrin/Tricode-cli
Releases · Trirrin/Tricode-cli
v0.4.0
Changelog
What's New ?
- Cross-platform one-step installation: easier setup on Windows, macOS, and Linux.
- Interactive permission control: clearer prompts with an optional bypass switch; diff preview when access is denied.
- Unified read/edit experience: more consistent workflows across tools with simpler entry points.
- Collapsible message view: cleaner history and easier navigation in the interface.
- Auto-update capability: added
--updateparameter for CLI self-updating, streamlining version management.
What's Changed ?
- Safer terminal rendering: user content is no longer mis-parsed as markup.
- Smoother read/write flows with refreshed docs for quicker onboarding.
- Improved Windows experience: more robust build script reduces platform-specific hiccups.
- Clearer release artifacts: platform/architecture bundles are organized and labeled for easier downloads.
- Leaner CI/build pipeline: fewer moving parts for faster, more reliable releases.
- Tuned content display order: assistant messages appear before tool output for more natural reading.
- Output rendering refactor: better handling of large content and history folding.
v0.3.1
v0.3.0
Changelog
Latest Release
What's New:
-
Multi-Provider Support:
- Integrated support for multiple LLM providers: OpenAI and Anthropic.
- Configurable provider-specific settings including API keys, base URLs, and models.
- Implemented conversion utilities between different provider message formats.
- Provider-specific API call handling for better compatibility.
-
Version Management:
- Added
--versionflag to display version and commit ID. - Version information now shown in help messages and error output.
- Enhanced build script to support version parameters (e.g.,
./build.sh v1.0.0). - Auto-generation of
version.pywith build-time version info. - Versioned binary file generation (e.g.,
tricode-v1.0.0). - GitHub Actions integration to extract version from Git tags.
- Added
-
TUI Enhancements:
- Unified diff rendering for file edits with line numbers and color highlighting.
- Enhanced TUI to display rich diff panels for better visualization.
- Improved handling of tool call sequences in the interface.
-
Toolset Improvements:
- Added
delete_filefor deleting individual files or symlinks. - Added
delete_pathfor deleting files or directories with recursive option. - Added
mkdirfor creating directories with parent directory support.
- Added
-
Debug Mode:
- Added debug flag to log detailed API requests and responses.
- Logs include model information, messages, tools, and usage metrics.
- Formatted output with clear section headers and content truncation for readability.
What's Changed:
-
File Editing Tool Refactored:
- Refactored
edit_filetool to use anchor-based hunks system for better editing accuracy. - New hunks structure supports operations:
replace,insert_before,insert_after, anddelete. - Enables anchor-driven file edits using exact or regex pattern matching for more precise modifications.
- Added SHA256 file integrity checks for safer file editing.
- Improved diff generation and precise line indexing.
- Refactored
-
Code Refactoring:
- Extracted system prompt construction into separate
build_system_promptfunction for better code organization. - Reduced code duplication between
run_agentand TUI modules. - Renamed
TricodeApptoTricodeCLIfor improved naming clarity.
- Extracted system prompt construction into separate
-
Build and Documentation:
- Updated PyInstaller configuration to include both
tiktokenandtiktoken_extfor better compatibility. - Enhanced documentation for file system operations in
STDIO_API.mdwith example usages and detailed parameter explanations. - Refined agent execution logic description in README for accuracy.
- Updated PyInstaller configuration to include both
Statistics: 10 commits, 13 files changed (+1,691, -265 lines)
v0.2.0
Changelog
Latest Release
Added Features:
-
TUI Enhancements:
- Implemented real-time token usage tracking and OpenAI API streaming support.
- Added request cancellation using the ESC key and integrated a loading animation.
- Enabled checkpoint rollback with a double escape key press.
- Session resume functionality now available with a list view and shortcut.
- Improved the display formatting of tool results in the text user interface mode.
- Introduced a fully interactive Text User Interface mode with session management and keyboard shortcuts.
-
Toolset Improvements:
- Introduced
web_searchusing DuckDuckGo with rate limiting and retry logic. - Added
fetch_urlfor fetching web content and converting it to Markdown, including security checks. - Incorporated token counting features for tool calls and responses.
- Introduced
-
Agent Enhancements:
- Integrated a retry mechanism for OpenAI API requests with exponential backoff.
- Added support for dynamic system prompts with current local time.
- Implemented tool whitelisting and enhanced session management.
-
Security:
- Restricted file operations to the working directory to prevent traversal attacks.
Refactors and Updates:
- Reorganized system prompt generation into modular sections for better maintainability.
- Updated documentation for new tools (
web_searchandfetch_url) and security settings.
v0.1.0
Full Changelog: https://github.com/Trirrin/Tricode/commits/v0.1.0