forrestchang/dsh-multica-runtime
Support dsh runtime on Multica.
已收录
46
Dev
Bundle 已验证
功能介绍
让 dsh 运行时跑在 Multica 上。
适合
- 需要通过版本化 stdio JSONL 桥接运行并发现 DSH 运行时的 Multica 部署。
- 需要模型发现、已提交事件流、协作式取消和持久会话恢复的无头代理工作流。
- 需要把 MCP 配置转换为 DSH stdio 或流式 HTTP 客户端的 Multica 集成。
- 需要在其余凭据被清理的 Shell 中仅转发服务端签发任务 Token,以保留任务归属的 Multica 工作流。
不适合
- 不使用 Multica 的部署;这是私有的树外 Multica 集成层。
- 需要交互式提问或审批界面的工作流;所述审批为无头一次性决策。
- 与已验证的 DSH 0.1.0-rc.6 包族不兼容的环境。
- 无法通过 stdio JSONL 与运行时通信的集成。
README
Multica DSH Runtime
Private, out-of-tree runtime bridge between Multica and the public
DeepSeek Harness. It exposes
a versioned JSONL protocol over stdio and composes over
@deepseek-ai/dsh-base. It does not require changes to DeepSeek Harness.

Privacy
- This repository contains only the Multica integration layer. It does not vendor or redistribute DeepSeek Harness source code.
- Never commit API keys, MCP secrets, session logs, or generated profiles.
- DSH telemetry is disabled by the bundle patch.
- stdout is protocol-only; diagnostics go to stderr.
Local development
The DSH packages used by this plugin are public npm packages. This checkout is
currently validated against @deepseek-ai/dsh@0.1.0-rc.6 and its matching
@deepseek-ai/dsh-* package family.
pnpm install
pnpm check
pnpm build
Install the local bundle into a DSH profile after building it:
dsh plugin --profile multica add /absolute/path/to/multica-dsh-runtime
The plugin supports:
dsh --profile multica --probe
dsh --profile multica --list-models
dsh --profile multica --stdio
Multica discovers the profile only after --probe returns protocol version 1.
For a non-standard DSH installation, point the daemon at its launcher:
export MULTICA_DSH_PATH=/absolute/path/to/dsh
The runtime contract includes:
- model and thinking-level discovery from DSH itself;
- committed text, reasoning, tool, result, and token-usage events;
- cooperative cancellation and durable session resume;
- canonical Multica MCP configuration translated to DSH stdio or streamable-HTTP clients;
- per-runtime/agent session roots supplied by the Multica daemon;
- headless one-shot approvals, with no interactive question surface.
- narrowly forwards only Multica’s server-minted
mat_task token into DSH’s otherwise credential-scrubbed shell, so in-taskmulticacommands retain task attribution without exposing model-provider credentials.
The local .local/ tree is ignored. It may hold an isolated DSH home and a
development launcher, but neither belongs in source control.
DEEPSEEK_API_KEY is read by DSH’s credential provider at process runtime. It
must not be stored in this repository.
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:multica-ai/dsh-multica-runtime。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。