Add openHarness as a pre-configured agent#35
Open
zhijiewong wants to merge 1 commit into
Open
Conversation
openHarness is an open-source terminal coding agent that speaks ACP natively via `oh acp` — no adapter package required. It works with any LLM (Anthropic, OpenAI, Ollama, llama.cpp, LM Studio, OpenRouter) and ships its own permission flow, cost tracking, and session persistence — all surfaced through the standard ACP channels: - `session/request_permission` for tool approvals - `usage_update` for cumulative cost and context-window display - `rate_limited` notices via session/update - `session/load` for resuming prior conversations by sessionId Repository: https://github.com/zhijiewong/openharness npm package: @zhijiewang/openharness
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds openHarness to the
acp.agentsdefaults, alongside Claude Code / Gemini CLI / Codex CLI / OpenCode / etc.What's openHarness?
An open-source terminal coding agent that speaks ACP natively via
oh acp— no adapter package required. It works with any LLM provider (Anthropic, OpenAI, Ollama, llama.cpp, LM Studio, OpenRouter) and ships its own permission flow, cost tracking, session persistence, MCP support, hooks, skills, and 80+ slash commands.Why this entry works out of the box with vscode-acp
The OH side just shipped four ACP-server gaps (v2.44 → v2.47, merged in zhijiewong/openharness#133) specifically so this PR could land with full parity to the existing agents:
session/request_permissionusage_updatesession/update(rate_limited notice)_metaretry hintsession/loadcapabilityThat means vscode-acp's existing permission dialogs, cost surface, rate-limit indicator, and session-resume UI all light up immediately when a user picks openHarness — no client-side changes needed.
What changes
package.json— addsopenHarnesstocontributes.configuration.properties.acp.agents.default(betweenOpenClawandKiro CLI). Standardnpx <package>@latest acpshape, matchingOpenCodeandOpenClaw. Updates the top-leveldescriptionto mention the new agent.README.md— adds a row to the "Pre-configured Agents" table, linked to the openHarness repo.No source code changes, no new dependencies, no behavioral changes to existing agents.
Test plan
node -e \"require('./package.json')\")openHarnessentry follows the same shape asOpenCodeandOpenClaw(closest precedents — both also dispatch to a package'sacpsubcommand)openHarness, run a prompt — confirm session/update + permission dialogs workThe
npx @zhijiewang/openharness@latest acpcommand auto-downloads the package on first use. Users with a globalohinstall can swap to{ command: \"oh\", args: [\"acp\"] }in their settings — both forms work.Repo: https://github.com/zhijiewong/openharness (MIT)
npm: https://www.npmjs.com/package/@zhijiewang/openharness
Happy to address any feedback — thank you for maintaining vscode-acp!