Repository navigation
v0.4.0
Added
-
Zero-dependency Agent Client Protocol (ACP)
stdiosupport (core/acp.py,core/defaults.json,main.py): Added a stdlib-only newline-delimited JSON-RPC 2.0 ACP server (AcpServer,AcpSession,JsonRpcTransport,AcpClientEnvironment) andmicroharness acp/--acpCLI entrypoint routing all diagnostics tostderrwhile keepingstdoutstrictly JSON-RPC framed. Supportsinitializecapability negotiation,session/new(with sanitizedmcpServerspass-through honoringtrust_project_tools,--no-mcp,--no-network-tools, and sandbox/Docker guards),session/load(trace.json/trajectory.jsonlresumption andsession/updatehistory replay), liveconfigOptions/models/modesdiscovery and switching (session/set_config_option,session/set_model,session/set_modefor model,thought_levelreasoning effort, and permission mode),session/prompt(streamingagent_thought_chunk,agent_message_chunk,tool_call, andtool_call_updatenotifications viaStreamingModel+core/tracer.pyaction formatters),session/cancel(cooperativeCancellableModelcancellation),session/close, bidirectionalsession/request_permissionwired toGuardedEnvironment(askmode, fail-closed on deny/cancel/disconnect), and optionalfs/read_text_file,fs/write_text_file, andterminal/*client callbacks while keepingAgentLoopprotocol-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): ExtendedMessageto support structured multimodal content parts alongside plainstrwith pure-stdlib magic-byte MIME detection, base64/data-URI validation (max_image_bytes,allowed_image_mime_typesincore/defaults.json), fixed-budget image token estimation (image_token_estimate), base64-safe compaction tombstones andtrace.json/trajectory.jsonl/trace.mdsanitization, declarativesupports_visionprovider/model capability flags with graceful text-placeholder fallback on non-vision models,ToolOutput-backed MCP image extraction forwarded cleanly as follow-upusermultimodal turns afterrole="tool"responses, repeatable--imageCLI flag, and interactive TUI image input (@image.pngtagging/autocomplete,/image <path>,/paste,Ctrl+V/Alt+Vclipboard paste, and dragged-in image paths) (#60). -
ACP multimodal image prompts (
core/acp.py,docs/acp.md,tests/test_acp.py): EnabledpromptCapabilities.imagein ACPinitialize, added validatedimagecontent block parsing (prompt_blocks_to_content) forsession/prompt, and supported multimodaluser_message_chunkreplay insession/load(#60).
Changed
- ACP T3 Code & IDE setup docs (
docs/acp.md): Documented globaluv tool installsetup, T3 CodeExecutable+Argumentsconfiguration,--directoryguidance foruv 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 bundledplugins/background_shell/plugin (bg_start,bg_status,bg_write,bg_kill,bgcode_modehelper,--background-shell/--no-background-shell,defaults.json, and sandbox/teardown guarantees), added--stream/--no-streamand--code-modeto the CLI reference, updatedREADME.mdforplugins/mcp/,plugins/background_shell/,core/sandbox.py, andcore/plugins.py, and codified documentation sync +mkdocs build --strictverification inAGENTS.md.
Fixed
- Release docs deployment (
.github/workflows/publish.yml): Changeddeploy_docsto dispatchdocs.ymlonmainfor the released tag instead of invokingdocs.ymlviaworkflow_callfromrefs/pull/<n>/merge, whichgithub-pagesenvironment protection rules rejected duringv0.3.0.
Removed
- Legacy
mini-harnessCLI entrypoint (pyproject.toml,docs/getting-started.md,AGENTS.md): Removed the legacymini-harnessconsole script alias from[project.scripts]so onlymicroharnessis installed.