Introduction¶
In DeepSeek Harness (DSH), when using @deepseek-ai/dsh-tool-todo, the web “Tasks” panel displays the last todo_write projection, which follows a last-write-wins principle. If the model writes a list at the start and then consecutively calls other tools without writing todo_write again, the panel stays stuck on the first snapshot: the first item looks like it’s spinning forever, and all items are checked at once when work is finished. Harness will not send a missing todo_write on behalf of the model; the problem lies in the model’s rhythm, not the frontend refresh mechanism—writing the list again updates the projection in milliseconds.
The community plugin dsh-todo-keeper (maintainer: imcaibaicai, category: Workflow) performs suggestion-based reminders on the host side: it counts the number of consecutive tool calls since the last todo_write. When the threshold is reached, it injects context via the post-execute decision to prompt the model to refresh the list; it also issues a warning if too many items are checked in a single batch. The usage is explained below regarding positioning, behavior, installation, and configuration.
What is it¶
dsh-todo-keeper is a pure host plugin that does not modify the DSH core or official repository files. Its positioning is in the same family as the official @deepseek-ai/dsh-repeat-tool-reminder: it does not veto tool calls or rewrite tool results, but only appends auditable reminders to the session (synthetic user messages with source marked as dsh-todo-keeper, visible to the model) at appropriate times.
The problems solved can be summarized in two points:
- Long periods without updating
todo_writecause a disconnect between the task panel and real progress. - Using a single
todo_writeat the end to batch update the status of many items hides the intermediate process.
The current package version is 0.1.2 (see project package.json), license MIT.
Core Functionality and Behavior¶
The plugin accounts during the tools/post-execute phase (even rejected calls pass through here). Each agent has an independent counter, keyed by the live agent object. New user prompts reset the counters and list cache; plugin-injected reminders will not accidentally trigger this reset.
The behavior table in the README is as follows, written based on the documentation:
| Situation | Behavior |
|---|---|
| Agent never wrote a list | No disturbance |
| 9 consecutive tool calls without updating the list | Inject “List is stale” reminder, attaching a snapshot of the last written list (default can be disabled via config) |
| Beyond the last threshold | Remind again every 10 calls |
todo_write changed status of ≥4 items |
Inject “Batch check” warning |
| New round of user prompt | Counters and list cache reset |
| Plugin-injected reminders | Will not accidentally trigger reset |
Implementation-wise, it tries to avoid static dependencies on other packages. The source.kind of injected messages uses the producer-owned "dsh-todo-keeper" to adapt to the session format v4 (which started in official desktop 0.2.0, no longer using the retired kind: "plugin" syntax).
Installation and Activation¶
Install under the web profile (command from project README, do not manually concatenate GitHub URLs):
dsh plugin --profile web add -w dsh-todo-keeper
The host plugin loads when DSH starts. After installation, you must fully exit and restart DeepSeek Harness, otherwise it will not take effect.
Uninstalling: Delete the insertion line for todo-keeper in cordis.patch.yml, and delete the corresponding package directory, then restart.
Optional Configuration¶
Add config under the corresponding insertion line in cordis.patch.yml (field names and default values refer to the README; configuration errors will throw errors, no silent fallback to defaults):
- insert:
- id: todo-keeper
name: 'dsh-todo-keeper'
config:
thresholds: [9] # Number of consecutive runs to trigger reminder; must be ascending positive integers
repeatEvery: 10 # Periodic reminder interval after exceeding the last threshold
batchWarnAt: 4 # Number of items changed at once to count as "batch check"
includeTodoSnapshot: true # Whether to attach the last list snapshot in the reminder
Typical Usage and Local Verification¶
Daily use does not require extra APIs: once the plugin is installed and Harness restarted, simply let the agent use todo_write and various tools normally. When the model has enabled a list but hasn’t updated it for a long time, you will see reminders with the dsh-todo-keeper source in the session; the model can decide for itself whether to write todo_write again.
You can also run unit tests without starting DSH (Node >= 20):
node test/run.mjs
The README specifies the test coverage: no list (no disturbance), threshold trigger, list update reset, batch check warning, user prompt reset, plugin message accidental reset, parameter parsing, and configuration validation.
Suitable Scenarios and Notes¶
Who is it for: Developers who frequently run long-chain tool calls in DSH web or desktop hosts, who want the task panel to better reflect actual progress but are unwilling to modify the core or fork the official todo tool.
Compatibility (original text):
- DeepSeek Harness
0.1.5-rc.1(web profile, host side) - Official Desktop
0.2.0-rc.2(desktop profile, host side; session format v4) - Pure host plugin, no browser half-package
Security and Permissions: The plugin runs with the current DSH process permissions. Before installing, read the source code and MIT license on the GitHub repository to confirm the behavior fits your environment policy. The DSH ecosystem emphasizes “everything is a plugin”; the SkillHub directory page is a community site with no official affiliation with DeepSeek/Fangfang.
Conclusion¶
dsh-todo-keeper alleviates three common phenomena—writing only the head and tail of the list, a stale panel for a long time, and batch checking at the end—using a non-invasive, host-side approach, making the rhythm of todo_write closer to actual tool execution. For a brief introduction and category, you can open the directory page; for installation commands, configuration, and test instructions, refer to the GitHub README.
- Directory page: https://www.skillhub.cn/plugins/imcaibaicai/dsh-todo-keeper
- Source code and docs: https://github.com/imcaibaicai/dsh-todo-keeper