Skip to content

[Feature] Add Claude Code, OpenCode, and Codex Mini-Agent harnesses - #2383

Open
jayhenry wants to merge 1 commit into
feat/mini-agent-workerfrom
feat/mini-agent-harnesses
Open

jayhenry wants to merge 1 commit into
feat/mini-agent-workerfrom
feat/mini-agent-harnesses

Conversation

@jayhenry

@jayhenry jayhenry commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Layer 3 of 10 in the Mini-Agent stack. Base feat/mini-agent-worker. Head feat/mini-agent-harnesses.

Review scope

Add native Claude Code, OpenCode and Codex adapters. Review argument mapping and the bridge's Anthropic Messages and OpenAI Responses conversions, including SSE events and error handling.

Validation

The working tree and Python compilation were checked at this layer. The Agent import-boundary check and the python -S protocol import passed. The relevant CPU cases passed in pt29_glm2 with CUDA_VISIBLE_DEVICES='' as part of the combined python -B -m pytest -ra runs. All three native CLI cases passed. The OpenCode case used the verified 1.14.44 binary.

tests/plugins/mini_agent/test_bridge.py tests/plugins/mini_agent/test_cli_harnesses.py tests/plugins/mini_agent/test_external_harness.py

Translate native Messages and Responses, preserve template and authentication semantics, and emit SSE from complete replies. Keep read-only token counting outside generation ownership.
@jayhenry
jayhenry added this pull request to stack #2391 December 4, 2026 15:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant