forrestchang/dsh-multica-runtime
Support dsh runtime on Multica.
Listed
46
Dev
Bundle verified
What it does
Run the dsh runtime on Multica.
Best for
- Multica deployments that need to run and discover a DSH runtime through a versioned stdio JSONL bridge.
- Headless agent workflows needing model discovery, streamed committed events, cancellation, and durable session resume.
- Multica integrations that need MCP configuration translated into DSH stdio or streamable-HTTP clients.
- Task-attributed Multica workflows that need only the server-minted task token forwarded into an otherwise credential-scrubbed shell.
Not ideal for
- Deployments that do not use Multica; this is a private, out-of-tree Multica integration layer.
- Interactive workflows that require a question or approval UI; approvals are documented as headless one-shot decisions.
- Environments incompatible with the validated DSH 0.1.0-rc.6 package family.
- Integrations that cannot communicate with the runtime over 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.
Frequently Asked QuestionsFAQ
Use the verified command dsh plugin --profile default add github:multica-ai/dsh-multica-runtime in a DSH-enabled shell. The command resolves the public package metadata and keeps the plugin attached to the catalog identity shown on this page.
Compatibility follows the bundle and profile status shown above. If a profile is not detected, keep the plugin disabled there and check the repository documentation before enabling it in production.
The GitHub link and activity metadata are the source of truth for releases and maintenance. Revisit this page after a new release to confirm the catalog has observed the latest version.