elonnzhang/dsh-plugin-template--packages-full ↗★ 0

dsh-plugin-full

全能力插件模版:工具、服务、事件、钩子与命令等 适合想学习或开发全功能插件的用户,属示例模版

包名
dsh-plugin-full
兼容性
待验证
Harness 依赖范围
*
Cordis 依赖范围
^4.0.1
版本
0.1.0
许可证
MIT
最近更新
2026年8月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:elonnzhang/dsh-plugin-template#b3fcf4d03ef8598b4f1d651daccd8a96b2bb0be0&path:packages/full

配置

字段默认说明
prefix[echo]echo_text 输出前缀
maxLength2000超出即被 guard 拒绝
modestrictstrict 拒绝命中拦截词的调用,loose 只记日志
blockedWords[]命中即在 pre-execute 阶段拒绝
timeoutMs30000两个工具的协作式超时预算
contributePrompttrue是否注入系统提示词段

在 profile 的 cordis.patch.yml 里覆盖时注意:config 是整体替换,不深度合并, 只写一个键会让其余键回落到 schema 默认值。