Momojie-S/dsh-subagent-model
Momojie-S★ 0TypeScript最后同步: 2026-08-14
DSH plugin: subagent_model tool — delegate to a subagent with a per-call selected model route (minimal fork of dsh-tool-subagent)
README 摘要
dsh-subagent-model 一个 DeepSeek Harness (DSH) 插件:注册 subagent model 工具——在内置 subagent 工具基础上,把子代理的模型路由(provider / model / max tokens)暴露为 每次调用可选的参数 ,模型可以在委派任务时自行选择子代理跑在哪个模型上。 fork 自官方 @deepseek-ai/dsh-tool-subagent ,除模型选择外行为与原版一致(后台策略、continuable 子会话、工具过滤、persona、深度限制全部保留)。 环境要求 - DeepSeek Harness = 0.1.0-rc.6 (验证版本:0.1.0-rc 线,Windows) - Host 组合已加载 subagents 服务及传输 provider(内置 spawn / fork 均可) 用法 挂载后模型多出一个 subagent model 工具,参数在内置 subagent ( description / prompt / run in background )之上增加: 参数 类型 说明 provider string? provider 路由 id(Models 页配置的路由)。省略则继承父会话 model string? 模型 id。省略则继承父会话 max tokens number? 子代理每次模型请求的输出 token 上限(正整数) 组合方式(最终路由优先级): 调用参数 插件 config 的 agentOptions 父会话路由 。 未知 provider/model 在启动子代理 之前 快速失败,错误信息列出可用的 provider / 模型目录。 安装 profile 的 cordis.patch.yml 加一行(源码直连开发机形态): 重启 DSH 生效。组合包安装形态: dsh plugin --profile web add github:Momojie-S/dsh-subagent-model 。 配置 patch config 字段: 字段 默认 说明 provider (必填) ctx.subagents 传输 provider 名,如 spawn 、 fork toolName subagent model 模型可见的工具名;与内置 subagent 工具共存,勿重名 enableRunInBackground true 是否暴露 run in background backgroundMode one-shot one-shot / continuable ,语义同内置工具 agentOptions 无 所有子代理的默认路由(provider/model/maxTokens),被调用参数覆盖 validateModel true 调用…
在 GitHub 查看完整 README →分类
🎨 The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / Gemini / OpenCode / Qwen & 20+ CLIs via BYOK.
★ 86,052
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 21,889
tt-a1i/archifyAgent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
★ 12,333