lanechenhku/dsh-claude-project-ui ↗★ 1
dsh-claude-project-ui
Claude-style Projects + Threads for DeepSeek Harness: a project workspace UI on top of @kyf-eng/dsh-threads (shared project briefs, a cross-thread board panel, carried-over context).
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-claude-project-ui让这套分工生效的两行配置
本插件不改 dsh-threads 的提示词;分工效果来自 dsh-threads 自己的 dispatcher prompt + 下面两个开关:
- id: dsh-threads
name: '@kyf-eng/dsh-threads'
config:
offerApproval: "open" # 用户点名任务但没明说开 thread 时,直接开、不弹确认卡
maxRunning: 6 # 同时最多 6 个讨论串(默认 3)
改完完全退出 DSH 再启动。
配置
在 profile 的 cordis.patch.yml 里覆盖:
- id: dsh-claude-project-ui
name: "dsh-claude-project-ui"
config:
dataDir: "" # 默认 ~/.dsh/project-hub
threadsStorage: "" # 默认 ~/.dsh/storages/dsh_threads.json
workspaceStorage: "" # 默认与 threadsStorage 同目录的 workspace.json(切换主文件夹时写)
knowledgeIndexMaxChars: 280
kbIndexMaxDocs: 3
boardContextMaxChars: 700
digestContextMaxChars: 700
maxExtraFolders: 8 # 一个项目最多挂载几个辅助文件夹
foldersContextMaxChars: 600 # 注入的挂载目录列表字符上限
briefMaxChars: 4000
maxNotes: 200
maxDocs: 200
maxKnowledgeChars: 4000000
hideResolvedThreads: true # 看板与注入里隐藏已解决/已归档的讨论串
autoConvergeReports: true # 把讨论串回报自动汇总成看板任务(幂等)
| 字段 | 默认值 | 影响 |
|---|---|---|
dataDir | ~/.dsh/project-hub | 知识库 / 任务 / 笔记的根目录;换掉就是另一套项目数据 |
threadsStorage | ~/.dsh/storages/dsh_threads.json | 只读;用来识别「哪些会话属于哪个项目」,格式变了会静默降级为不注入。切换主文件夹时这一处也会被写(见上) |
workspaceStorage | 与 threadsStorage 同目录的 workspace.json | 只在切换主文件夹时写:新会话的目录来自这里的 workspaces[].path;指错会让切换失败并回滚 |
knowledgeIndexMaxChars | 280 | 注入的知识库索引字符上限;调大占提示词预算,调小了只列更少文档 |
kbIndexMaxDocs | 3 | 索引里最多列几篇文档,其余提示用 kb_search 检索 |
boardContextMaxChars | 700 | 注入的看板快照字符上限 |
digestContextMaxChars | 700 | 注入的「最近进展」字符上限 |
maxExtraFolders | 8 | 一个项目最多挂载几个辅助文件夹 |
foldersContextMaxChars | 600 | 注入的辅助文件夹列表字符上限 |
briefMaxChars | 4000 | context_brief / /hub brief 的单次输出上限 |
maxNotes | 200 | 每个项目保留多少条 hub_note 进展笔记 |
maxDocs | 200 | 每个项目允许的知识库文档数 |
maxKnowledgeChars | 4000000 | 每个项目知识库总字符数上限 |
hideResolvedThreads | true | 看板与注入里隐藏已解决 / 已归档讨论串;board_list all=true 可看全部 |
autoConvergeReports | true | 讨论串回报自动汇总成看板任务(按 threadId 幂等) |
Configuration
Override in the profile's cordis.patch.yml:
- id: dsh-claude-project-ui
name: "dsh-claude-project-ui"
config:
dataDir: "" # default ~/.dsh/project-hub
threadsStorage: "" # default ~/.dsh/storages/dsh_threads.json
workspaceStorage: "" # default: workspace.json next to threadsStorage (written on a folder switch)
knowledgeIndexMaxChars: 280
kbIndexMaxDocs: 3
boardContextMaxChars: 700
digestContextMaxChars: 700
maxExtraFolders: 8 # auxiliary folders a project may mount
foldersContextMaxChars: 600 # cap for the injected mount list
briefMaxChars: 4000
maxNotes: 200
maxDocs: 200
maxKnowledgeChars: 4000000
hideResolvedThreads: true # hide resolved/archived threads in the board and injection
autoConvergeReports: true # roll thread reports up into board tasks (idempotent)
| Field | Default | Effect |
|---|---|---|
dataDir | ~/.dsh/project-hub | Root for knowledge, tasks and notes; pointing it elsewhere gives you a separate set of projects |
threadsStorage | ~/.dsh/storages/dsh_threads.json | Read-only for detection; also written when the main folder is switched (see above). A format change degrades to "no injection" |
workspaceStorage | workspace.json next to threadsStorage | Written only on a folder switch: a new session's directory comes from workspaces[].path here; a wrong value makes the switch fail and roll back |
knowledgeIndexMaxChars | 280 | Character cap for the injected knowledge index |
kbIndexMaxDocs | 3 | How many documents the index lists before pointing at kb_search |
boardContextMaxChars | 700 | Character cap for the injected board snapshot |
digestContextMaxChars | 700 | Character cap for the injected recent-progress digest |
maxExtraFolders | 8 | Auxiliary folders a project may mount |
foldersContextMaxChars | 600 | Character cap for the injected auxiliary-folder list |
briefMaxChars | 4000 | Cap for one context_brief / /hub brief result |
maxNotes | 200 | Progress notes kept per project |
maxDocs | 200 | Knowledge documents allowed per project |
maxKnowledgeChars | 4000000 | Total knowledge characters allowed per project |
hideResolvedThreads | true | Hide resolved / archived threads from the board and injection; board_list all=true shows everything |
autoConvergeReports | true | Mirror thread reports onto the board as tasks (idempotent by threadId) |