multica-ai/dsh-multica-runtime 预览 preview

multica-ai/dsh-multica-runtime

插件Plugin 原生Native ⭐ 56 其他Other

支持Multica上的dsh运行时。

项目介绍Project Overview

Multica DSH Runtime 是一个连接 Multica 与 DeepSeek Harness 的轻量级本地运行时桥。它通过 stdio 暴露版本化 JSONL 协议,发现模型与推理等级,转发文本、推理、工具与用量事件,并支持 MCP 配置与会话续跑。当用户希望在 Multica 中启用外部 DSH 而不改动其上游源码时即可使用。需注意:DSH 遥测已被 bundle patch 关闭,stdout 仅承载协议,诊断信息写入 stderr。

Multica DSH Runtime is a local, out-of-tree bridge that connects Multica to the public DeepSeek Harness without modifying it. It exposes a versioned JSONL protocol over stdio, discovers models and thinking levels, and forwards committed text, reasoning, tool, result, and usage events, while translating Multica MCP config into DSH stdio or streamable-HTTP clients. Use it when a Multica user needs an external DSH runtime alongside canonical sessions, cancellation, and resume. Caveat: DSH telemetry is disabled by a bundle patch, stdout stays protocol-only, and diagnostics go to stderr.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:multica-ai/dsh-multica-runtime

multica-ai/dsh-multica-runtime 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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.

DeepSeek Harness runtime online in Multica

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-task multica commands 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.

上一个 Prev deepseek-harness-cli 下一个 Next dsh-free-search