dsh-shanhai-kanban: DeepSeek Harness Task Kanban Plugin

Introduction

The plugin-based architecture of DeepSeek Harness (DSH) allows developers to extend capabilities on demand, but manually orchestrating tasks, handling interruption and retry, and tracking execution states still require a large amount of glue code. Existing workflow tools either depend on external services or lack tight integration with DSH. dsh-shanhai-kanban is a locally running task kanban plugin that provides a task management interface directly within the DSH sidebar, unifying “planned” tasks with execution scheduling and status tracking.

Plugin Overview

dsh-shanhai-kanban is a DeepSeek Harness plugin maintained by cn-zhangpeng, categorized under Workflow. It provides DSH with a task kanban board that supports creating tasks in advance, scheduled execution, binding workspaces and upstream dependencies, resuming interrupted tasks, automatic catch-up runs, and status tracking.

Core Features

Pre-creation + Scheduled Execution

Tasks can be assigned an execution time upon creation, with an initial status of “Planned.” When the scheduled time arrives and all upstream tasks have succeeded (or there is no upstream), execution begins automatically. If DSH is not running at the scheduled time, the scheduler will execute the missed task on the next startup.

Workspace Binding & Serial Orchestration

Select a workspace from DSH’s existing workspace list. When serial execution is required, designate an upstream task; the downstream task will reuse the upstream session. The plugin validates for circular dependencies and self-references.

Resume from Interruption

Failures, blocks, user cancellations, token limits, and similar conditions are all recorded as “Interrupted.” Click “Resume” to continue. Manually replying or making a selection in the task session also automatically returns the task to “Running.”

Transient Error Retry

Rate limits (429), timeouts, network errors, and 5xx responses are retried automatically, with up to 3 attempts at intervals of 30 seconds / 2 minutes. Default intervals can be overridden via DSH_KANBAN_RETRY_DELAYS.

Result Determination & Session Linking

Each task can include “acceptance criteria,” which are delivered to the execution session as part of the prompt. The task session can call kanban_report to report its result. When no report is submitted, success or interruption is inferred from the turn-ending reason and whether files were written during the turn. Completed tasks show a “Enter Session” button on the card, allowing a jump to the corresponding session.

Local Persistence

Tasks are stored in %DSH_HOME%\shanhai-kanban\tasks.json, using a temporary file + rename atomic write. If the file is corrupted, it is first backed up to backups/ before being rebuilt, and data from older versions is migrated automatically.

Installation & Activation

dsh plugin --profile desktop add dsh-shanhai-kanban

Pinned version install (safer, recommended for production):

dsh plugin --profile desktop add dsh-shanhai-kanban@0.2.0

After installation, restart DSH and the “Task Kanban” entry will appear in the sidebar.

Option 2: Manual Deployment / Local Debugging

Create a symbolic link to the DSH plugin directory and launch the Web UI with an overlay patch via cordis.patch.yml:

pnpm dsh web --patch ./cordis.patch.yml

Open the DSH Web interface and click “Task Kanban” in the sidebar.

Typical Workflow

  1. Open the “Task Kanban” icon in the sidebar.
  2. Click “New Task” and fill in the task name, task description, optional acceptance criteria, workspace, and execution time. For serial execution, select an upstream task (the workspace is automatically inherited from the upstream after selection).
  3. Execution starts automatically when the scheduled time arrives and the upstream has succeeded (or there is no upstream). If DSH was not running at that time, it will run on the next startup.
  4. The kanban board refreshes every 2 seconds (no re-render if data is unchanged); toggle between the “All” and “Archived” tabs.
  5. Upon task completion, a confirmation card appears above the session input box. Click “Confirm Result” to dismiss it; it reappears for the next run.

Status Reference

Status Meaning
Planned planned Awaiting scheduled time / awaiting upstream task success
Running running Session is executing the task; if the session is paused on a question or permission approval, the card displays “Awaiting your response / Awaiting approval”
Interrupted interrupted Waiting for manual input, task failure, execution error, no result reported, or cancelled; click “Resume” to continue
Succeeded succeeded Task explicitly reported success, or completion inferred from turn-ending; downstream tasks are unlocked
Archived archived Collapsed from the main kanban view

“Awaiting your response / Awaiting approval” is not an interruption: the task remains in Running status and will automatically continue after you respond or approve in the session.

Permissions & Boundaries

The plugin runs with the permissions of the current DSH process. The Host side only reads and writes tasks.json and backups/ under %DSH_HOME%\shanhai-kanban\, writing to a .tmp file first and then performing a rename; it does not touch any other files. Two API endpoints are registered on DSH’s webServer: GET /api/shanhai-kanban/state and POST /api/shanhai-kanban/action. Both are first validated through connection.admit, and data is returned only to the owner connection. Non-owner connections and authentication failures receive a 403.

The plugin does not execute child processes or shell commands, does not read credential files or model API keys, and requires no external APIs, databases, or cloud services.

Compatibility

Dependency Range Notes
DSH >=0.2.0 <0.3.0 Validation baseline: DSH 0.2.2-rc.5
Node.js >=24.9.0 Matches DSH runtime requirements

Use Cases & Notes

Suitable for developers who need batch task execution, serial orchestration, and status tracking. The plugin runs with the permissions of the current dsh process; review the source code and license (MIT) before installation. Recurring tasks are not yet supported (v1 supports single execution only). Automatic result inference considers only “whether the turn ended normally, whether files were written, and whether steps were completed”—it does not assess content quality.

Conclusion

dsh-shanhai-kanban integrates task planning, scheduling, and status tracking into the DSH sidebar, making it well suited for local, dependency-free task orchestration scenarios.

  • Directory page: https://www.skillhub.cn/plugins/cn-zhangpeng/dsh-shanhai-kanban
  • GitHub: https://github.com/cn-zhangpeng/dsh-shanhai-kanban
羽毛球分组比赛记分
小程序二维码

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

Xiaoye