dsh-projects
为 DeepSeek Harness 提供 Codex 风格的项目管理:支持隔离的命名工作单元,带有持久的背景/目标描述,并注入到每个绑定的会话中。
AI 分析
核心用途是管理独立的开发或研究项目,自动向会话注入项目背景和指令文件。适合需要多任务并行、保持上下文连贯性的开发者和研究人员。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Alexis-fish/dsh-projects说明文档
阅读完整 README ↗Configuration
The plugin row id is projects. Defaults:
| Key | Default | Description |
|---|---|---|
stateDir | .dsh | Directory name inside a project root holding per-project state |
injectOrder | 115 | Order of the injected context among system-prompt contexts |
autoBindDefault | true | New sessions without an explicit binding inherit the default project |
instructionFiles | ["DEEPSEEK.md", "AGENT.md"] | Instruction files auto-loaded from the project root |
maxInstructionBytes | 16384 | Total byte budget across instruction files |
retentionDays | 7 | Non-archived session records older than this are pruned |
Override from your profile's cordis.patch.yml by row id (config is replaced wholesale — restate every key):
- id: projects
config:
stateDir: '.dsh'
injectOrder: 130
autoBindDefault: false
instructionFiles: ['DEEPSEEK.md', 'AGENT.md', 'AGENTS.md']
maxInstructionBytes: 32768
retentionDays: 14
配置
行 id 为 projects,默认配置:
| 键 | 默认 | 说明 |
|---|---|---|
stateDir | .dsh | 项目根内状态目录名 |
injectOrder | 115 | 注入上下文在系统提示中的顺序 |
autoBindDefault | true | 新会话是否自动继承默认项目 |
instructionFiles | ["DEEPSEEK.md", "AGENT.md"] | 从项目根目录自动加载的指令文件 |
maxInstructionBytes | 16384 | 指令文件总字节预算 |
retentionDays | 7 | 未归档会话超过该天数自动清理 |
在 profile 的 cordis.patch.yml 中按 id 覆盖(注意:config 是整体替换,覆盖时需写全所有键):
- id: projects
config:
stateDir: '.dsh'
injectOrder: 130
autoBindDefault: false
instructionFiles: ['DEEPSEEK.md', 'AGENT.md', 'AGENTS.md']
maxInstructionBytes: 32768
retentionDays: 14