v0.4.5
馃殌 Features & Enhancements
1. agentic_ssh clean Subcommand & Log Storage Telemetry
- New
cleanSubcommand: 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 thanNdays.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.tomlor.agentic_ssh.tomlusingclean_days = 5(or aliaslog_retention_days = 5). - Log Telemetry in
agentic_ssh doctor:doctornow 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 watchnow parse and render ANSI escape sequences natively usingansi-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 MCPCallToolResultresponse wrapper, producing clean JSON directly pipeable intojq. -
Silenced Connection Telemetry: Suppressed SSH connection logs (
Connecting to...,Trying agent key...) and progress tickers when invoking tools viaagentic_ssh json. -
run_commandquietDefault Fix: Corrected the default value of thequietargument inrun_commandfromfalsetotrue, 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_groupshost group definitions in tool schemas and added session log cleanup documentation toREADME.md. - Dependencies: Updated
russh(v0.62.5),clap(v4.6.5),toml(v1.1.4),tokio(v1.49.0),reqwest(v0.13.2), andansi-to-tui(v8.0.1).