elonnzhang/dsh-plugin-template--packages-full ↗★ 0
dsh-plugin-full
全能力插件模版:工具、服务、事件、钩子与命令等 适合想学习或开发全功能插件的用户,属示例模版
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:elonnzhang/dsh-plugin-template#b3fcf4d03ef8598b4f1d651daccd8a96b2bb0be0&path:packages/full說明文件
閱讀完整 README ↗配置
| 字段 | 默认 | 说明 |
|---|---|---|
prefix | [echo] | echo_text 输出前缀 |
maxLength | 2000 | 超出即被 guard 拒绝 |
mode | strict | strict 拒绝命中拦截词的调用,loose 只记日志 |
blockedWords | [] | 命中即在 pre-execute 阶段拒绝 |
timeoutMs | 30000 | 两个工具的协作式超时预算 |
contributePrompt | true | 是否注入系统提示词段 |
在 profile 的 cordis.patch.yml 里覆盖时注意:config 是整体替换,不深度合并,
只写一个键会让其余键回落到 schema 默认值。