dsh-zcode-plan-bridge

Requires the ZCode CLI installed and signed in. Relays the ZCode CLI agent into DeepSeek Harness as a model provider. A resident app-server session streams each turn, and the model catalogue is read from the CLI at runtime, so context windows, image support and provider routes follow the installed CLI and account. Stable 0.6.6 supports DSH 0.2.2-rc.1 and 0.2.2-rc.3, adds a bilingual toolkit, optional Z·SWITCH saved-account controls with independent DSH or shared login, next-request quota switching without failed-task replay, and canonical context-overflow handling. Session titles are generated in disposable native sessions. Quota rotation recognizes attributed Start Plan code 1005 with the exact exceed quota limit message. Tool permission requests are denied by default; unknown approval or permission methods are always denied, and full-auto requires an explicit opt-in. DSH approval UI does not mediate this separately spawned app-server process, and the policy is not an OS sandbox. Derived from kyle123740/dsh-zcode-cli-proxy (AGPL-3.0); it registers the same `zcode-cli` provider id, so it cannot be installed alongside the original. Its HTTP routes first require the synchronous connection.requestRejection Host/Origin policy, then connection.admit owner admission; missing, throwing, malformed or asynchronous checks fail closed. Independent rotation continues the current task by default after confirmed quota exhaustion and native tool drain.

Models & CostsAGPL-3.0☆ 1

Overview

Requires the ZCode CLI installed and signed in. Relays the ZCode CLI agent into DeepSeek Harness as a model provider. A resident app-server session streams each turn, and the model catalogue is read from the CLI at runtime, so context windows, image support and provider routes follow the installed CLI and account. Stable 0.6.6 supports DSH 0.2.2-rc.1 and 0.2.2-rc.3, adds a bilingual toolkit, optional Z·SWITCH saved-account controls with independent DSH or shared login, next-request quota switching without failed-task replay, and canonical context-overflow handling. Session titles are generated in disposable native sessions. Quota rotation recognizes attributed Start Plan code 1005 with the exact exceed quota limit message. Tool permission requests are denied by default; unknown approval or permission methods are always denied, and full-auto requires an explicit opt-in. DSH approval UI does not mediate this separately spawned app-server process, and the policy is not an OS sandbox. Derived from kyle123740/dsh-zcode-cli-proxy (AGPL-3.0); it registers the same `zcode-cli` provider id, so it cannot be installed alongside the original. Its HTTP routes first require the synchronous connection.requestRejection Host/Origin policy, then connection.admit owner admission; missing, throwing, malformed or asynchronous checks fail closed. Independent rotation continues the current task by default after confirmed quota exhaustion and native tool drain.

Installation

Install from npm

dsh plugin --profile web add dsh-zcode-plan-bridge

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:tangyixiao/dsh-zcode-plan-bridge

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands