DeepSeek Harness Plugin

kikokikoTHU/dsh-issue-tree

Stars ★ 1 Downloads (30d) 357 Category Tools & Capabilities Added 2026-12-01 npm dsh-issue-tree

A tree-shaped, cross-session todo register with nested categories, rolled-up progress, and one-click analysis or run in a linked DSH session. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-issue-tree

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:kikokikoTHU/dsh-issue-tree

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

English | 简体中文

dsh-issue-tree

A tree-shaped, global todo register for DeepSeek Harness (dsh).

Categories nest freely (atlas-desk / sync / merge), todos are the leaves, and both people and agents read and write the same tree. Progress is computed from the leaves; a category at 100% reads as done.

Status: implemented and running against DeepSeek Harness 0.2.2-rc.5. Design: English · 中文.

How you use it

Issue tree panel: a todo selected, its detail with the linked session and run button on the right

  1. Click the tree icon in the session header (left of the "…" menu).
  2. A category's detail has + New category and + New todo; a todo has neither.
  3. Click a todo's status dot to finish it; its parent's percentage follows.
  4. Toggle select mode to reveal checkboxes for bulk mark done / delete / delete completed.
  5. The eye icon hides completed nodes; the pin keeps the card open while you click elsewhere.
  6. Link a todo to the current session from its detail; the ▶ on the right makes that session start working on it.

Select mode puts a checkbox on every row and brings up the bulk bar:

Select mode: checkboxes on every row and the bulk bar with mark done, delete and delete completed

The screenshots are mock previews rendered from tools/mock/panel.html, not a live capture.

Linking a session and running

Once a node is linked to a DSH session, the ▶ in a todo's detail sends the todo into that session and the agent starts working on it:

Link and run

  • The Session row shows the linked session in a chip: × unlinks, 🔗 re-links.
  • Linking a category applies recursively to every descendant; re-linking overwrites the old session.
  • If the target session is closed, the host resumes it in the background before delivering the prompt — no manual opening needed.
  • The magnifier between the link icon and ▶ sends "analyze this todo" into the linked session: feasibility, suggested steps, risks and priority, without touching files.
  • Agents can link through issue_tree_link_session as well.

What it does

  • Two states only: open and done. A category cannot be marked done while descendants are open, so "done with unfinished children" cannot exist; a category's dot is read-only and follows its children.
  • Completion percentage on every row, computed from leaves; at 100% the server flips the status to done, and reopening any descendant reopens the ancestor chain.
  • Priority P0–P2: a todo shows its own value, else its nearest ancestor's, else P0, and can be set from the detail dropdown; a category shows only its own value (N/A when unset) and is read-only.
  • Drag and drop to reparent; dropping on blank space moves a node to the top level.
  • Bulk actions behind select mode: mark done, delete, delete every completed item (bottom-up, parents with open work survive).
  • Session linking: link a todo (or a whole category) to a DSH session; a category links its descendants recursively. A linked leaf's ▶ sends the todo into that session and starts working on it.
  • Delete asks first and is irreversible; agents have no delete tool.
  • Agent tools: issue_tree_browse, issue_tree_get, issue_tree_add, issue_tree_add_many (batch with same-call parenting), issue_tree_update, issue_tree_move, issue_tree_done, issue_tree_note.
  • Documents into trees: hand the agent a document and ask it to build the tree; issue_tree_add_many creates a whole category/todo hierarchy in one round.
  • Markdown export at GET /api/issue-tree/export, plus an optional one-way mirror (mirrorPath).
  • Copy follows the DSH language setting (built-in zh/en), and the panel adapts to narrow screens.

Install

From npm (currently 0.2.3; omit the version to follow latest):

dsh plugin --profile <profile> add dsh-issue-tree@0.2.3

Or from the GitHub repository:

dsh plugin --profile <profile> add github:kikokikoTHU/dsh-issue-tree

Or straight from a release tarball:

dsh plugin --profile <profile> add https://github.com/kikokikoTHU/dsh-issue-tree/releases/download/v0.2.3/dsh-issue-tree-0.2.3.tgz

For a local checkout while developing, point add at the directory instead.

Then restart the host and refresh the page. Data lives in ~/.dsh/issue-tree/tree.json; set storePath in cordis.patch.yml to put it elsewhere.

Configuration

Key Default Meaning
storePath ~/.dsh/issue-tree/tree.json Store file
mirrorPath "" Markdown mirror refreshed after each write (read-only)
maxDepth 0 Depth limit; 0 = unlimited
toolGroups all all / core / none
guidance true Inject the prompt guidance

Documents into trees

There is no importer UI. Instead, hand the agent a document — a Markdown checklist, a meeting note, a backlog — and ask it to turn the document into an issue tree. It reads the document and calls issue_tree_add_many, using externalRef for any reference numbers and kind: "group" for categories. Settled decisions belong in docs/, not in the tree.

Not built yet

Multi-machine sync, cross-project overview, saved views, template trees, dependency edges.

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.