EsonXie/dsh-agent-toolkit--packages-toolkit0

dsh-agent-toolkit

DeepSeek Harness plugin: agent registry with layered prompts, parallel delegation, Feishu bots and token usage

包名
dsh-agent-toolkit
版本
0.1.0
最近更新
2026年8月31日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:EsonXie/dsh-agent-toolkit#e3edc53f41b1cc9fa68cab7c52f3d6154b0bc9e2&path:packages/toolkit

配置

配置写在 cordis.yml 中,按插件 id dsh-agent-toolkit 覆盖:

- id: dsh-agent-toolkit
  config:
    timezone: Asia/Shanghai
    modules:
      feishu: true
      usage: true

修改配置触发 HMR 热替换,无需重启。

配置项类型默认值说明
modules.feishubooleantrue启用飞书 bots 模块
modules.usagebooleantrue启用 token 用量模块
layersarray[{ name: 'persona', order: 10, text: '' }]语义化提示词分层 {name, order, text}(首启种子/重置默认值;层结构固定,UI 仅可编辑 persona 文本;base/model-notes 保留名不可占用)
rulesarray内置 15 条规则按模型匹配的覆盖/追加规则
timezonestringAsia/Shanghai用量按日/按小时聚合的时区
providerstringspawn委派用的 subagent provider 名
toolNamestringteam_delegate委派工具对模型的可见名
feishu.*见手册卡片节流/字节上限、扫码超时、表情、错误摘要长度

layers / rules 为整体替换语义(不是合并);字段完整说明见 config-reference.md