Smartloe/dsh-catpaw ↗★ 1

dsh-catpaw

CatPaw (妙手) model bridge for DeepSeek Harness: registers the CatPaw agent's 12 models as a selectable LLM provider.

包名
dsh-catpaw
兼容性
待验证
版本
1.4.0
许可证
NOASSERTION
最近更新
2026年11月4日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Smartloe/dsh-catpaw

配置

写在插件条目的 config 里(见 cordis.patch.yml):

键默认含义
models上表 12 个(定义在 index.js 的 DEFAULT_MODELS)模型目录;每项含 id、name、contextWindow、maxTokens、params、可选 defaultEffort。行配置里写 models 会覆盖内置表
cliPath自动解析CLI 二进制路径
authPath~/.meituan-catpaw/auth.json凭据文件
baseURLhttps://ai.catpaw.meituan.com模型端点
gatewayhttps://catx.nocode.cn登录网关(模型调用仍用 baseURL)
permissionModedontAsk妙手自身工具循环的权限模式
excludeNativeToolstrue关掉妙手自带的工具(bash/read_file/… 共 19 个)。true 用内置名单,数组则按名单,false 保留
systemPrompttranscripttranscript 把 DSH 的 system prompt 放进 ``;none 保留妙手原生提示
maxPromptChars120000单轮 prompt 字符预算,超出丢最旧的消息
toolResultChars4000单条工具结果上限,超出时保留首尾、省略中间
messageChars20000单条消息截断
timeoutMs / idleTimeoutMs600000 / 300000总超时 / 无内容帧超时(心跳帧不算进展)
directory会话 cwd覆盖妙手的工作目录
debugfalse打印 CLI 的 stdout/stderr

组合配置、跑一句真模型调用、走一次真实工具调用、让 doctor 自检,并确认用的是