Alexis-fish/dsh-projects0

dsh-projects

为 DeepSeek Harness 提供 Codex 风格的项目管理:支持隔离的命名工作单元,带有持久的背景/目标描述,并注入到每个绑定的会话中。

AI 分析

核心用途是管理独立的开发或研究项目,自动向会话注入项目背景和指令文件。适合需要多任务并行、保持上下文连贯性的开发者和研究人员。

包名
dsh-projects
版本
0.4.0
许可证
MIT
最近更新
2026年8月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Alexis-fish/dsh-projects

Configuration

The plugin row id is projects. Defaults:

KeyDefaultDescription
stateDir.dshDirectory name inside a project root holding per-project state
injectOrder115Order of the injected context among system-prompt contexts
autoBindDefaulttrueNew sessions without an explicit binding inherit the default project
instructionFiles["DEEPSEEK.md", "AGENT.md"]Instruction files auto-loaded from the project root
maxInstructionBytes16384Total byte budget across instruction files
retentionDays7Non-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项目根内状态目录名
injectOrder115注入上下文在系统提示中的顺序
autoBindDefaulttrue新会话是否自动继承默认项目
instructionFiles["DEEPSEEK.md", "AGENT.md"]从项目根目录自动加载的指令文件
maxInstructionBytes16384指令文件总字节预算
retentionDays7未归档会话超过该天数自动清理

在 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