dsh-acp-agent
v0.2.1
Published
ACP wrapper for DeepSeek Harness (dsh --profile acp)
Readme
DSH ACP Registry Agent
Local packaging for exposing DeepSeek Harness as an ACP registry agent.
Files
agent.json: official-registry entry.registry.json: self-hosted registry index for clients that accept a custom registry URL.bin/dsh-acp-agent.mjs: ACP stdio wrapper that filters non-JSON DSH logs, adds the auth compatibility method, and holds notifications for session creation.gateway/: gateway core, experimental HTTP/SSE bridge (dsh-acp-server,dsh-acp-bridge), and ACP↔SDK-profile host bridge (dsh-acp-sdk-bridge), plus notification gate, session registry, permission policy/broker. Seegateway/README.md.package.json: npm distribution metadata.
Local test
npm test
node scripts/check-registry.mjs
DSH_BIN="$HOME/.local/bin/dsh" node bin/dsh-acp-agent.mjsSend one newline-delimited ACP initialize request to verify.
Self-hosted registry
registry.json uses the standard ACP registry shape:
{
"version": "1.0.0",
"agents": [{ "id": "deepseek-harness", "distribution": { "npx": { "package": "[email protected]" } } }],
"extensions": []
}Serve it from any public HTTPS URL and point a client that supports a custom registry URL at it. Delta currently reads the official registry URL and does not support this override; its install path still waits for the official PR.
Publish / register
- Change package name/version if needed.
npm publish --access public- Fork
agentclientprotocol/registry, adddeepseek-harness/agent.jsoncontaining this file, and open a PR. - The entry appears in clients that consume the official ACP registry.
The wrapper requires a DSH installation and the existing ~/.dsh account
credentials. It does not bundle or transmit credentials.
Auth compatibility
DSH uses the account already signed in under ~/.dsh; it does not expose an
in-session OAuth flow. The wrapper advertises a terminal auth method and
answers authenticate successfully so ACP clients and the registry auth check
can proceed. It does not create or transmit credentials.
Notification ordering
Zed drops session/update notifications that arrive before the session/new
or session/load response. The wrapper holds those notifications and flushes
them only after the matching response has been written. test/notification-order.test.mjs
covers this behavior.
