dsh-chat-mode
Chat 模式:DeepSeek Harness 的纯聊天 Agent 预设,只加载 AGENTS.md、只保留联网搜索,其余工具全部屏蔽。
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TongenShen/dsh-chat-mode說明文件
閱讀完整 README ↗配置
cordis.patch.yml 声明了预设本身,主要内容:
| 行 | 作用 |
|---|---|
persona | 聊天人设,明确要求需要时调用联网搜索 |
agent-instructions | 载入 AGENTS.md(用户全局 + 项目级) |
tool-web | 注册 web_search / web_fetch |
chat-no-tools | 在预设作用域内执行 ctx.tools.restrict({ deny: ['working_directory'] }),屏蔽 Harness 的全局工具 |
compaction | 自动上下文压缩 + /compact 命令 |
预设 id 是 chat,显示名 Chat,order: 0(排在预设列表最前)。想改显示名或排序,直接改 cordis.patch.yml 里的 name / order。