Repository navigation
[0.14.0] - 2026-12-03
Four more agents—WorkBuddy, Gemini CLI, DeepSeek Harness and Hermes Agent—are now live-tested, Hermes Agent gets a native in-process plugin, and the shared local engine isolates concurrent multi-agent sessions while using less memory.
New
- Hermes Agent plugin. A native Python plugin (
plugin/src/adapters/hermes) runs inside Hermes Agent's own process with no extra Node.js proxy or third-party dependencies. Earlier turns' images become short ID placeholders across OpenAI Chat, OpenAI Responses (Codex) and Anthropic Messages providers, and the model fetches originals back on demand withcam_view_image.cam detectnow recognizes Hermes Agent shell sessions and prints the install steps. - WorkBuddy, Gemini CLI and DeepSeek Harness tested live. Six agents are now live-tested end to end: Codex, Claude Code, WorkBuddy, Gemini CLI, DeepSeek Harness and Hermes Agent.
- Automatic cleanup of old cached images. Cached image files saved for proxy-based agents without a panel are now swept once they are no longer referenced by any active session index.
Fixed
- No cross-session image mix-ups. When several sessions or different agents share one local engine at the same time, image lookups are now bound to the session that recorded the image. Two concurrent sessions that both have an
IMG-001can never fetch each other's images, and the old fallback that returned another session's latest image has been removed. - WorkBuddy tool discovery and image fetching.
cam connect workbuddy --applynow marks the plugin's MCP server withalwaysLoad: truesocam_view_imageis available from the first turn instead of hidden behind ToolSearch. When WorkBuddy collapses a fetched image into an[Image unchanged]placeholder in the same turn, the engine restores the original image for that turn so the model can see what it asked for. - Gemini CLI fetched images. Fixed detection of fetched copies returned inside Gemini CLI's
<untrusted_context>functionResponse.response.outputwrapper, so a fetched image folds back into a one-line note on the following turn instead of being sent again. - Lower memory and smoother multi-agent sharing. Each MCP server process now loads only the adapter for the agent running it (Codex, Claude Code or core) instead of loading every host module. The shared engine skips parsing pass-through requests that carry no images, runs compression and decompression asynchronously with safety limits, avoids retiring while active requests or connected agent sessions are running, and rejects mismatched data-directory port collisions.
After updating
- Codex and Claude Code: if you have version 0.13 or later from GitHub, the plugin updates itself within about a day. Restart Codex or open a new Claude Code session to use the update. From an earlier version, update by hand once.
- WorkBuddy, Gemini CLI and other connected agents: pull the updated repository, rerun
cam connect <agent> --apply(for WorkBuddy this enablesalwaysLoad: truein.mcp.json), and restart the agent. - Hermes Agent: copy or symlink
plugin/src/adapters/hermesto~/.hermes/plugins/context-attachment-managerand runhermes plugins enable context-attachment-manager. See INSTALL.md.
How we tested
- Live agent runs on Windows. In isolated temporary homes with local model upstreams, we ran multi-turn end-to-end tests against WorkBuddy (
@genie/agent-cli 2.165.0), Gemini CLI (0.72.0, API-key auth), DeepSeek Harness (0.2.3-alpha.3) and Hermes Agent (0.18.2). Each verified earlier-turn offloading, on-demandcam_view_imageretrieval and next-turn folding; Hermes Agent and the shared local engine were also verified with concurrent Session A and Session B both fetchingIMG-001with zero cross-session leaks. - Unit tests and CI. All 433 unit tests passed locally on Windows, including new tests for cross-session isolation, WorkBuddy
[Image unchanged]restoration, Gemini CLI<untrusted_context>fetched-copy handling, lazy MCP host loading, async bounded proxy compression, orphan blob cleanup and the Hermes Python plugin. Claude Code paths were verified via local loopback unit tests rather than a live Claude account. Release checks cover unit tests, plugin startup, installation, upgrades and removal on Windows, macOS and Linux.
Technical details
- Session-bound fetches & engine lifecycle (
core/request-index.ts,core/images.ts,engine.ts,proxy.ts,adapters/pi/): core-managed image placeholders now carry session-bound 24-hex refs (IMG-001-<24HEX>), and the oldlatest.jsoncross-session fallback is removed. Health and retire checks verifydataDirIdso separate profiles cannot retire each other's engine; idle checks honor in-flight work and connected agents; write-authority guards prevent a retiring engine from overwriting shared state. - Lazy MCP host loading (
plugin-server.ts,mcp-core.ts,mcp-codex.ts,mcp-claude.ts): split host-specific MCP handlers so core-only agents and single-host runs dynamically load only their own host module. - Proxy fast paths & memory (
proxy.ts,core/engine/transport.ts,core/engine/upstream.ts,core/png.ts,adapters/claude/engine.ts): pass-through POST bodies skip full JSON parsing, system proxy discovery refreshes asynchronously, gzip/deflate/brotli and PNG inflate use async bounded streams, and Claude fallback image encoding is deferred lazily.core/disk-cache.tssweeps unreferenced platform image blobs under write authority. - WorkBuddy & Gemini CLI fixes (
adapters/workbuddy/platform.ts,adapters/protocols/any.ts,adapters/protocols/gemini/rewrite.ts): WorkBuddy MCP config setsalwaysLoad: true;restoreDedupedChatFetches()verifies session-bound refs against the session'sRequestIndexto restore current-turn[Image unchanged]tool results without leaking forged or prior-turn refs. Gemini'sgeminiImages()inspectsfunctionResponse.response.outputand strips leading<untrusted_context>tags before matching fetched IDs. - Hermes Agent plugin (
adapters/hermes/__init__.py,adapters/hermes/offload.py,adapters/hermes/plugin.yaml,platforms.ts,cam.ts): stdlib-only Python plugin registeringllm_requestmiddleware (OpenAI Chat, OpenAI Responses /codex_responses, Anthropic Messages with signed-thinking block guard) and the multimodalcam_view_imagetool with atomic per-session disk cache under$HERMES_HOME/cache/cam/<sha256[:32]>/.detectPlatform()checks session-scoped Hermes variables (HERMES_SESSION_ID,HERMES_SESSION_KEY,HERMES_INTERACTIVE=1) rather than globalHERMES_HOME.