@multica-ai/dsh-runtime

@forrestchang · 开发
检测有风险提示无安装脚本

为 Multica 托管平台提供 DSH 运行时桥接层,供平台运营方而非普通终端用户使用。

v0.1.0-private.1版本
GitHub 源码安装安装方式
2026-08-14最近更新
53Star
dsh plugin --profile web add github:forrestchang/dsh-multica-runtime查看仓库

插件介绍

根据仓库资料整理 · commit e29aae2

主要功能

  • 通过 stdio 暴露带版本号的 JSONL 协议,供 Multica 守护进程调用并发现 DSH。
  • 提供 --probe、--list-models、--stdio 命令行接口,用于协议探测、模型列表和交互会话。
  • 转发模型/推理级别发现,以及文本、推理、工具调用、结果和 token 用量事件。
  • 支持协作式取消和持久化会话恢复。
  • 将 Multica 的标准 MCP 配置转换为 DSH 的 stdio 或 streamable-HTTP 客户端配置。
  • 仅转发 Multica 签发的 mat_ 任务令牌到 DSH shell 以保留任务归属,不暴露模型凭证;默认关闭 DSH 遥测。

适合什么时候用

  • 平台运营方希望在 Multica 托管环境中接入 DSH 作为可用的 agent 运行时。
  • 需要把 Multica 的 MCP 配置对接到 DSH 的 MCP 客户端体系。
  • 需要无交互(headless)审批与会话恢复能力的托管多租户场景。

安装后会多出什么

命令dsh --profile multica --probedsh --profile multica --list-modelsdsh --profile multica --stdiodsh plugin --profile multica add <path>

使用前需要

  • 需要公开发布的 @deepseek-ai/dsh 及其配套包族,当前基于 dsh@0.1.0-rc.6 验证。
  • 运行时需要 DEEPSEEK_API_KEY,由 DSH 的凭证提供方在进程运行时读取。
  • 需运行在 Multica 守护进程环境中;非标准 DSH 安装需设置 MULTICA_DSH_PATH 指向启动器。
  • 依赖多个 @deepseek-ai/* peerDependencies(cordis、dsh-agent、dsh-mcp-client、dsh-session、dsh-subprocess 等)。

仓库资料较少,介绍可能不完整。 在 GitHub 阅读完整 README

权限与能力

安装后它能碰到什么
覆盖 4 个宿主行 · 2 个敏感
改写 会话持久化改写 系统提示词常规行 2 个
宿主能力
Agent 控制环境变量文件系统MCP会话数据宿主子进程遥测
能力是范围不是结论:很多能力是功能所需。

基本信息

仓库forrestchang/dsh-multica-runtime安装方式GitHub 源码安装(需 allowBuilds)安装提示源码安装会在你的机器上执行 prepare 构建,需要 allowBuilds 授权;建议用 github:forrestchang/dsh-multica-runtime#e29aae2 锁定本次检测的 commit。收录日期2026-08-14固定 commite29aae228449 · 2026-08-14
dsh plugin --profile web add github:forrestchang/dsh-multica-runtime