Emilia-awa/hermes-dsh-bridge0

hermes-dsh-bridge

将 DSH 的 Agent 能力包装为 MCP 服务,允许外部 MCP 客户端(如 Hermes)驱动 DSH 执行代码任务。

AI 分析

核心用途是实现“Hermes 决策,DSH 执行”的跨系统协作。适合需要将 DSH 作为执行端接入其他大模型客户端或自动化工作流的开发者。

包名
hermes-dsh-bridge
版本
0.3.0
许可证
GPL-3.0
最近更新
2026年8月25日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Emilia-awa/hermes-dsh-bridge

状态与配置

工具方向用途
status_get版本/uptime/provider/model/preset/live agents/队列深度
config_get运行时配置摘要(authToken 打码为 ***

Patch 配置

在你的 Harness profile 的 cordis.patch.yml(或等价 patch 文件)末尾追加:

- insert:
    - id: hermes-dsh-bridge
      name: 'hermes-dsh-bridge'
      config:
        http: true
        port: 8090
        host: 127.0.0.1        # 默认仅本机; 暴露前必须加认证
        # authToken: '你的随机长token'     # 可选: Bearer token 认证
        # workspaceRoots: ['/workspace']  # 可选: cwd 白名单
        # enableFsWrite: true             # 可选: 开启 fs_write(默认关)
        # ⚠️ 必须显式声明 provider/model, 否则 agent 组装会因空 {{model}} 崩溃:
        provider: opencode-go
        model: deepseek-v4-flash

③ 在 profile 的 cordis patch 文件(cordis.patch.yml)末尾追加配置

cat >> ~/.dsh/profiles/ /cordis.patch.yml <<'EOF'

  • insert:
    • id: hermes-dsh-bridge name: 'hermes-dsh-bridge' config: http: true port: 8090 host: 127.0.0.1 provider: opencode-go # ← 换成你自己的 provider id model: deepseek-v4-flash # ← 换成你自己的 model id EOF