Skip to content

v0.4.5

Choose a tag to compare

@rscorer rscorer released this 01 Aug 21:26
· 45 commits to main since this release

馃殌 Features & Enhancements

1. agentic_ssh clean Subcommand & Log Storage Telemetry

  • New clean Subcommand: Purge session telemetry log files from ~/.agentic_ssh/sessions.
  • agentic_ssh clean: Deletes logs older than 3 days by default.
  • agentic_ssh clean --numdays N / -n N: Deletes logs older than N days.
  • agentic_ssh clean --all / -a: Deletes all session logs regardless of age.
  • Configurable Retention: Set a custom default retention period in ~/.config/agentic_ssh/config.toml or .agentic_ssh.toml using clean_days = 5 (or alias log_retention_days = 5).
  • Log Telemetry in agentic_ssh doctor: doctor now features a Session Logs & Storage health check section showing total log file count, disk usage, and a breakdown of reclaimable space for logs older than 2, 3, and 7 days.

2. ANSI Color Rendering in watch Logs

  • Log viewports in agentic_ssh watch now parse and render ANSI escape sequences natively using ansi-to-tui.

  • Terminal color codes (e.g. \x1b[1;34m...) are displayed as rich colored text in both live grid view and post-execution split-pane inspection view instead of raw escape strings like ^[[1;34m.


馃悰 Bug Fixes & CLI Output Refinements

3. Clean JSON Output for agentic_ssh json

  • MCP Envelope Unwrapping: agentic_ssh json <tool> now unwraps inner JSON text payloads from the MCP CallToolResult response wrapper, producing clean JSON directly pipeable into jq.

  • Silenced Connection Telemetry: Suppressed SSH connection logs (Connecting to..., Trying agent key...) and progress tickers when invoking tools via agentic_ssh json.

  • run_command quiet Default Fix: Corrected the default value of the quiet argument in run_command from false to true, matching tool schema documentation and preventing raw stdout stream chunks from leaking onto console outputs.


馃摎 Documentation & Dependencies

4. Update Documentation and Dependencies

  • Documentation: Clarified list_groups host group definitions in tool schemas and added session log cleanup documentation to README.md.
  • Dependencies: Updated russh (v0.62.5), clap (v4.6.5), toml (v1.1.4), tokio (v1.49.0), reqwest (v0.13.2), and ansi-to-tui (v8.0.1).