Skip to content

v0.4.0

Choose a tag to compare

@Kagandi Kagandi released this 02 Dec 20:06
9a2774f

Added

  • Zero-dependency Agent Client Protocol (ACP) stdio support (core/acp.py, core/defaults.json, main.py): Added a stdlib-only newline-delimited JSON-RPC 2.0 ACP server (AcpServer, AcpSession, JsonRpcTransport, AcpClientEnvironment) and microharness acp / --acp CLI entrypoint routing all diagnostics to stderr while keeping stdout strictly JSON-RPC framed. Supports initialize capability negotiation, session/new (with sanitized mcpServers pass-through honoring trust_project_tools, --no-mcp, --no-network-tools, and sandbox/Docker guards), session/load (trace.json / trajectory.jsonl resumption and session/update history replay), live configOptions / models / modes discovery and switching (session/set_config_option, session/set_model, session/set_mode for model, thought_level reasoning effort, and permission mode), session/prompt (streaming agent_thought_chunk, agent_message_chunk, tool_call, and tool_call_update notifications via StreamingModel + core/tracer.py action formatters), session/cancel (cooperative CancellableModel cancellation), session/close, bidirectional session/request_permission wired to GuardedEnvironment (ask mode, fail-closed on deny/cancel/disconnect), and optional fs/read_text_file, fs/write_text_file, and terminal/* client callbacks while keeping AgentLoop protocol-agnostic (#58).

  • Multimodal image message support & MCP image pass-through (core/types.py, core/memory.py, core/model.py, core/providers.py, core/providers.json, core/tools.py, core/loop.py, core/tracer.py, core/discovery.py, core/interactive.py, core/tui.py, plugins/mcp/, main.py): Extended Message to support structured multimodal content parts alongside plain str with pure-stdlib magic-byte MIME detection, base64/data-URI validation (max_image_bytes, allowed_image_mime_types in core/defaults.json), fixed-budget image token estimation (image_token_estimate), base64-safe compaction tombstones and trace.json / trajectory.jsonl / trace.md sanitization, declarative supports_vision provider/model capability flags with graceful text-placeholder fallback on non-vision models, ToolOutput-backed MCP image extraction forwarded cleanly as follow-up user multimodal turns after role="tool" responses, repeatable --image CLI flag, and interactive TUI image input (@image.png tagging/autocomplete, /image <path>, /paste, Ctrl+V / Alt+V clipboard paste, and dragged-in image paths) (#60).

  • ACP multimodal image prompts (core/acp.py, docs/acp.md, tests/test_acp.py): Enabled promptCapabilities.image in ACP initialize, added validated image content block parsing (prompt_blocks_to_content) for session/prompt, and supported multimodal user_message_chunk replay in session/load (#60).

Changed

  • ACP T3 Code & IDE setup docs (docs/acp.md): Documented global uv tool install setup, T3 Code Executable + Arguments configuration, --directory guidance for uv run, and troubleshooting for test-session failures and startup latency.
  • Documentation updates & policy (AGENTS.md, README.md, docs/plugins.md, docs/getting-started.md): Documented the bundled plugins/background_shell/ plugin (bg_start, bg_status, bg_write, bg_kill, bg code_mode helper, --background-shell / --no-background-shell, defaults.json, and sandbox/teardown guarantees), added --stream/--no-stream and --code-mode to the CLI reference, updated README.md for plugins/mcp/, plugins/background_shell/, core/sandbox.py, and core/plugins.py, and codified documentation sync + mkdocs build --strict verification in AGENTS.md.

Fixed

  • Release docs deployment (.github/workflows/publish.yml): Changed deploy_docs to dispatch docs.yml on main for the released tag instead of invoking docs.yml via workflow_call from refs/pull/<n>/merge, which github-pages environment protection rules rejected during v0.3.0.

Removed

  • Legacy mini-harness CLI entrypoint (pyproject.toml, docs/getting-started.md, AGENTS.md): Removed the legacy mini-harness console script alias from [project.scripts] so only microharness is installed.