dsh-projects
Codex-style projects for DeepSeek Harness: isolated named work units with a persistent background/goal description, injected into every bound session (default on)
安装
$
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 覆盖(,覆盖时需写全所有键):