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).

Package
dsh-claude-project-ui
Compatibility
Unverified
Harness peer range
>=0.2.1-rc.2 <0.3.0
Version
0.3.0
License
MIT
Last updated
Nov 18, 2026

Install

$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;指错会让切换失败并回滚
knowledgeIndexMaxChars280注入的知识库索引字符上限;调大占提示词预算,调小了只列更少文档
kbIndexMaxDocs3索引里最多列几篇文档,其余提示用 kb_search 检索
boardContextMaxChars700注入的看板快照字符上限
digestContextMaxChars700注入的「最近进展」字符上限
maxExtraFolders8一个项目最多挂载几个辅助文件夹
foldersContextMaxChars600注入的辅助文件夹列表字符上限
briefMaxChars4000context_brief / /hub brief 的单次输出上限
maxNotes200每个项目保留多少条 hub_note 进展笔记
maxDocs200每个项目允许的知识库文档数
maxKnowledgeChars4000000每个项目知识库总字符数上限
hideResolvedThreadstrue看板与注入里隐藏已解决 / 已归档讨论串;board_list all=true 可看全部
autoConvergeReportstrue讨论串回报自动汇总成看板任务(按 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)
FieldDefaultEffect
dataDir~/.dsh/project-hubRoot for knowledge, tasks and notes; pointing it elsewhere gives you a separate set of projects
threadsStorage~/.dsh/storages/dsh_threads.jsonRead-only for detection; also written when the main folder is switched (see above). A format change degrades to "no injection"
workspaceStorageworkspace.json next to threadsStorageWritten 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
knowledgeIndexMaxChars280Character cap for the injected knowledge index
kbIndexMaxDocs3How many documents the index lists before pointing at kb_search
boardContextMaxChars700Character cap for the injected board snapshot
digestContextMaxChars700Character cap for the injected recent-progress digest
maxExtraFolders8Auxiliary folders a project may mount
foldersContextMaxChars600Character cap for the injected auxiliary-folder list
briefMaxChars4000Cap for one context_brief / /hub brief result
maxNotes200Progress notes kept per project
maxDocs200Knowledge documents allowed per project
maxKnowledgeChars4000000Total knowledge characters allowed per project
hideResolvedThreadstrueHide resolved / archived threads from the board and injection; board_list all=true shows everything
autoConvergeReportstrueMirror thread reports onto the board as tasks (idempotent by threadId)