dsh-claude-project-ui: Replicating Claude Code's Project and Discussion Thread Workflow on DSH

Foreword

When performing multi-thread tasks in DeepSeek Harness (DSH), relying on @kyf-eng/dsh-threads to piece together “Main dialogue assigns tasks, multiple discussion threads work in parallel” often requires manual effort: project descriptions must be manually transcribed into each thread, progress must be tracked manually in notes, and the board status must be pasted again when opening new threads. Claude Code in the Opus 5.5 generation’s Projects + Threads has already split this into a fixed interface and context rules, but there is no ready-to-use equivalent panel in the DSH ecosystem.

Below introduces the community plugin dsh-claude-project-ui (maintainer lanechenhku): it runs on top of dsh-threads, providing project description injection, sidebar board, thread creation briefing, and cross-session context, and supports mounting multiple folders per project and a bilingual interface. Category: Workflow; Current GitHub stars: 1; Version 0.4.3; License MIT.

What is it

One-sentence positioning: dsh-threads provides the “Project + Discussion Thread” skeleton, and this plugin adds the interaction layer adapted to Claude user habits—each discussion thread can read project conventions, the sidebar shows tasks and thread status at a glance, new threads come with a brief automatically, and reports are automatically aggregated into the board.

It is not a replacement for dsh-threads: the lifecycle of projects and discussion threads is still owned by dsh-threads; this plugin operates in read-only mode on its storage, decoupled via storage files and storage-domain links. Uninstalling either side will not prevent the other from working alone.

Division of Labor with dsh-threads

The main dialogue acts as the lead, and the discussion threads as executors. This largely relies on the dispatcher built into dsh-threads and thread_open, with this plugin adding UI and context capabilities:

Capability dsh-threads dsh-claude-project-ui
Project / Thread Creation & Lifecycle Owned Read-only recognition
Project-level description injection to main dialogue & threads None (main dialogue instructions only) Short conventions injection
Cross-thread board None Sidebar + /hub board + board_list
Thread opening brief Manual task context_brief / /hub brief
Reporting to tasks None Idempotent aggregation by threadId
Auxiliary folders, switching main directory In progress (PR #61) Plugin implemented

To tune “open thread on mention, max 6 concurrent” to match the documentation description, you need to modify two switches in dsh-threads’ cordis.patch.yml in the profile (this plugin does not modify its prompts):

- id: dsh-threads
  name: '@kyf-eng/dsh-threads'
  config:
    offerApproval: "open"   # Directly open thread when mentioned, no confirmation prompt
    maxRunning: 6           # Max 6 discussion threads running concurrently (default 3)

Restart DSH completely after changing.

Core Features

Knowledge Base

Each project can maintain an independent knowledge base (default limits: 200 documents, 4 million words total, 400,000 words per document, adjustable in config). The host side provides kb_add, kb_list, kb_search, kb_get, kb_remove; the path for kb_add only allows files within the main folder and mounted auxiliary directories.

Board & Tasks

The real-time status of discussion threads is held by dsh-threads; this plugin reads and merges it into the board. Manual tasks are stored independently as b-<n> with status pending / doing / blocked / done. Tools include board_add, board_update, board_list, hub_note (project-level decisions and constraints, visible to all sessions). Thread reports are written to tasks idempotently by threadId when “auto-aggregation” is enabled; resolved threads will not generate new tasks.

Context & Commands

Each project session (main dialogue + threads) automatically injects: knowledge base index, board snapshot, and recent progress (including reports from other threads). When you need to paste content into thread_open.task, you can use context_brief or /hub brief.

Common /hub command examples:

/hub status                  # Current project, KB, and task overview
/hub board [--all]           # Board (hides resolved/archived threads by default)
/hub task <title>            # Add a manual task
/hub done <b-N>              # Mark task as done
/hub note <text>             # Project-level context
/hub brief                   # Generate project briefing
/hub folders [add|rm <path>]  # List / mount / unmount auxiliary folders
/hub folder [<path>]         # View or switch main folder (see effective boundaries below)

Multiple lines can be pasted at once: each line starts with /hub (or the first line just needs /hub), executed line by line; lines ending with → Description are treated as comments and discarded.

In the Web GUI (desktop / web profile), a “Project Board” tab is added next to dsh-threads’ “Threads”; the session header also has a “▤ Project Board” shortcut. The layout is two-tier: the top emphasizes the Current Project card (path, threads & tasks, auxiliary folders); the bottom “Other Projects” are sorted in reverse chronological order by recent activity. Data comes from the host POST /project-hub/board, read-only.

The ⚙ in the top-right of the board can change language (Follow App / Chinese / English), whether to show resolved threads, whether to auto-aggregate reports, card collapse style, sorting, etc.; it writes to the plugin’s own ~/.dsh/project-hub/settings.json, changes take effect immediately, no restart needed. For tui / headless, /hub board or board_list is used instead.

Auxiliary Folders & Main Folder Switching

In addition to the main working directory, a project can mount multiple auxiliary folders (similar to Claude Code’s additional directories), stored in projects/<id>/folders.json. If the sandbox supports sandboxPolicy, writable roots are registered for each live session; under workspace-write, core file tools and bash can write to these directories.

Switching the Main Folder updates tables.projects[<id>].folder in ~/.dsh/storages/dsh_threads.json and the path of the corresponding workspace in workspace.json; it backs up before writing and rolls back on failure. Important boundaries:

New sessions and new threads must use the new directory only after fully exiting and restarting DSH; the current dialogue remains in the original directory before restart.

The wording in the panel and /hub folder is designed according to this semantics and will not claim “takes effect immediately”.

Installation & Enablement

Environment requirements (from package.json): DSH >=0.2.1-rc.2 <0.3.0, Node >=20. @kyf-eng/dsh-threads must be installed and enabled before use.

Desktop App (desktop profile): Do not use the CLI dsh plugin --profile desktop ..., as this profile is exclusive to Electron and the command line will be rejected. Optional paths:

  1. Settings → Plugins → Market, search for dsh-claude-project-ui to install, then restart.
  2. Offline tarball: Extract to ~/.dsh/profiles/desktop/node_modules/dsh-claude-project-ui, register the plugin name in package.json’s dependencies and dsh.profile.bundles, then completely exit (⌘Q) and restart. Adding dependencies without adding to bundles will not load it.

Other profiles (web / tui etc.):

dsh plugin --profile web add dsh-claude-project-ui

After installation, it is also recommended to fully exit and restart, and configure dsh-threads’ offerApproval and maxRunning in the profile above (if needed).

Uninstall: On desktop, remove from dependencies and bundles and delete the corresponding node_modules directory; for other profiles, use dsh plugin --profile web remove dsh-claude-project-ui. Data remains in ~/.dsh/project-hub/ by default; the directory must be manually deleted to clear it.

Typical Usage

After installing and restarting, you can go through the quick start in the README:

/hub status
/hub note Must run node test/harness.mjs before release
/hub add Release Checklist | 1) Run tests 2) npm pack 3) gh release
/hub brief

The brief generated by the last line can be pasted into thread_open.task. The sidebar should show task and thread status; when opening a new discussion thread, the project description, board, and progress will automatically appear in the first-step context.

To check the data directory and injection budget, you can run:

/hub doctor

Suitable Scenarios & Notes

Who is it for: Users already using dsh-threads for multi-thread development who want a interface and context habits similar to Claude Code’s project panel; teams or personal workflows that need to mount multiple code directories under a single project and aggregate thread reports into a board.

Must Note:

  1. The plugin runs with the same process permissions as DSH. You should read the GitHub source code and the MIT license before enabling to confirm trustworthiness.
  2. Depends on the dsh-threads storage format; the plugin will silently downgrade to “no injection” when upstream changes occur; it does not guarantee error reporting but functionality may shrink.
  3. The knowledge base uses lexical retrieval (CJK bigrams + English words), no vector retrieval; document titles and keywords must be clearly written.
  4. Main folder switching relies on private storage fields of dsh-threads and DSH; the entry point may change after upstream PR #61 is merged.
  5. SkillHub (Directory) is a community plugin index and has no official affiliation with DeepSeek / Quant. DSH itself follows the “everything is a plugin” extension philosophy.

Ending

dsh-claude-project-ui completes the skeleton provided by dsh-threads into a usable Claude-style project interface: board sidebar, knowledge base, auto briefs, and report aggregation, as well as multi-directory mounting and bilingual panels. If you are already using threads to分工 in Harness and do not want to manually maintain a progress sheet, you can install this plugin via the official installation path, configure dsh-threads concurrency and thread opening strategy, and use /hub commands and the sidebar to keep the state in the system rather than the clipboard.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye