Skip to content

Releases: Trirrin/Tricode-cli

v0.4.0

15 Oct 15:55
437d8af

Choose a tag to compare

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 --update parameter 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

14 Oct 10:03
4adbb0d

Choose a tag to compare

Changelog

What's change ?

  • Fixed the issue where system prompts were not correctly passed when Anthropic was used as the provider.

v0.3.0

13 Oct 19:26
aa7b83c

Choose a tag to compare

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 --version flag 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.py with build-time version info.
    • Versioned binary file generation (e.g., tricode-v1.0.0).
    • GitHub Actions integration to extract version from Git tags.
  • 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_file for deleting individual files or symlinks.
    • Added delete_path for deleting files or directories with recursive option.
    • Added mkdir for creating directories with parent directory support.
  • 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_file tool to use anchor-based hunks system for better editing accuracy.
    • New hunks structure supports operations: replace, insert_before, insert_after, and delete.
    • 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.
  • Code Refactoring:

    • Extracted system prompt construction into separate build_system_prompt function for better code organization.
    • Reduced code duplication between run_agent and TUI modules.
    • Renamed TricodeApp to TricodeCLI for improved naming clarity.
  • Build and Documentation:

    • Updated PyInstaller configuration to include both tiktoken and tiktoken_ext for better compatibility.
    • Enhanced documentation for file system operations in STDIO_API.md with example usages and detailed parameter explanations.
    • Refined agent execution logic description in README for accuracy.

Statistics: 10 commits, 13 files changed (+1,691, -265 lines)

v0.2.0

12 Oct 16:21
c8a023d

Choose a tag to compare

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_search using DuckDuckGo with rate limiting and retry logic.
    • Added fetch_url for fetching web content and converting it to Markdown, including security checks.
    • Incorporated token counting features for tool calls and responses.
  • 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_search and fetch_url) and security settings.

v0.1.0

11 Oct 17:28
56f4d81

Choose a tag to compare