dsh-personal-todo: SQLite-Persisted Personal To-Do List and Web Panel

Foreword

Agent development in DeepSeek Harness (DSH) often scatters tasks across sessions and projects: jotting something down in a chat, listing items in a Markdown file, then struggling to reconcile progress after switching workspaces or restarting the process. If the “todo lifecycle” is hard-wired to “is the Agent running,” you can get cases where a task is mistakenly treated as complete just because one conversation turn ended.

Below is an introduction to the community plugin dsh-personal-todo (maintainer zsspub). It persists todos in SQLite and provides a Web right-panel UI plus Agent tools so users can manage todos themselves or dispatch them to the Agent when needed; todo progress and Agent execution state remain independent of each other.

What Is This

  • Name: dsh-personal-todo (npm package name is the same as the directory name)
  • Category: Client-side (Web profile automatically loads the UI)
  • Summary: SQLite-backed personal todo tools and Web panel for DeepSeek Harness (version 0.1.0, see the repository’s package.json)
  • Source: SkillHub catalog page, GitHub repository

The plugin mounts Host services and tools via a Cordis bundle patch; the Web manifest automatically injects the client module on supported profiles.

Core Features

Data and State Model

  • Todo main progress states are pending, in_progress, completed; cancelled is a secondary state, with archiving separated from progress.
  • Agent execution information is displayed separately; executionStatus only passively observes events such as agent/status, agent/error, etc., and projects them in memory as running, idle, failed, etc. It does not infer “completed” when a turn ends.
  • Persistence uses SQLite: including schema version, WAL, foreign keys, busy timeout, and file permissions that restrict access to the owner only.
  • Each todo dispatched to the Agent is associated with a persistent root Session; subsequent Q&A and permission confirmations still happen in that original session; it also supports automatically discovering child Sessions produced by delegation (including nested ones) as associated conversations. After a service restart, Session state is read via the read-only sessionQuery.readSession, without activating the Agent or sending recovery messages.

Web Client

  • The right panel uses the host’s native Sidebar Tab: main tabs are Todo, In Progress, Completed; “More” contains Cancelled and Archived, and “Data” is a separate menu. You can group by assignee, manually change status, and jump back to associated Sessions. The panel does not include a reply box or a review flow.
  • A todo in any lifecycle state can be moved into the archive view, then restored to the corresponding list or permanently deleted.
  • The sidebar shows the combined count of unarchived pending + in_progress items (no separate “needs attention” filter).
  • Read-only requests inside a conversation (e.g., “show my todos”) go through personal_todo_show: the tool area retains the host’s compact record, and at the end of the turn it renders an interactive todo card (not a Markdown table), supporting scrolling, sidebar locating, and other operations.
  • Historical cards, the right panel, the sidebar count, and @ references in the input box all share Nanostores + React useSyncExternalStore; the Host pushes refreshes over the changes stream remotely (not polling), keeping multiple windows consistent. After the connection drops, it reconnects with exponential backoff between 0.5 and 10 seconds.
  • Supports full JSON import/export: export is version 2, import accepts versions 1 and 2; duplicate IDs are skipped, and only for newly imported items with legacy running records will execution be reset to pending; backups do not include live execution state, and importing does not start the Agent.
  • The chat input box @ only lists pending and in_progress todos; Tab enters the list, keywords search, and the latest details are fetched when sending (requires DSH ui-input-trigger >= 0.1.2-rc.1).
  • A Chinese–English client text dictionary is included.

Agent Tools

Tool Purpose
personal_todo_add Create and save a todo (without executing it); supports notes, assignee, priority, deadline, tags; default priority is medium
personal_todo_show Read-only display, renders a live card at the end of the turn
personal_todo_list Returns full JSON for later editing, deletion, or processing
personal_todo_update Update mutable fields; null clears notes/assignee/deadline, [] clears tags
personal_todo_delete Permanently delete by UUID
personal_todo_export Returns { filename, json } for the host’s file tool to save
personal_todo_import Accepts { json }, incrementally imports and returns counts of imported / skipped / execution-reset

The list returns pending and in_progress by default, excluding archived ones. The Agent tools only cover CRUD and import/export; they do not force progress synchronization or confirm completion on behalf of the user. The old tools personal_todo_progress, personal_todo_block, and personal_todo_submit_review have been removed.

Task Flow Highlights

  1. Creating a todo or manually marking it as in-progress: does not create a Session and does not send a message.
  2. Execution only begins after the user selects “Dispatch to Agent”; questions, replies, and results stay in the original session.
  3. When clicking “Todo” from the home page, the current session is preferred; if there is no current session, a normal empty session is created according to the host’s most-recent-workspace rule, and the Todo tab is opened once the native right panel is mounted. If no workspace is available, it prompts to select a workspace first. This approach may produce one extra empty session; it does not provide a global right-side host capability and does not modify the DSH host itself.

Environment and Dependencies

Before installing or developing, check against the README requirements:

  • A DSH Web profile that supports right-panel Sidebar Tabs, sessionQuery, and Agent lifecycle notifications (implements the target interface 0.2.1-rc.2).
  • @deepseek-ai/dsh-client-ui-tool 0.2.1-rc.2, @deepseek-ai/cordis ~4.0.5.
  • Node.js ^22.19.0 || >=24.0.0; development build uses pnpm 11.7.0.

Installation and Activation

The official recommendation is to pin a GitHub revision and directly use the committed lib/ build output inside the repository:

pnpm dsh plugin --profile web add github:zsspub/dsh-personal-todo#<commit-sha>

Replace <commit-sha> with the commit you want to pin (choose from the commit history of the GitHub repository).

For local development, you can point to an absolute path:

pnpm dsh plugin --profile web add /absolute/path/to/dsh-personal-todo

The bundle patch mounts the Host service and tools; the Web manifest automatically loads the client, so no additional manual UI entry registration is needed.

Typical Usage

View todos in a conversation (read-only)
Simply ask the Agent to show the list in natural language; the model should call personal_todo_show, and you will see an interactive card at the end of the turn rather than a long Markdown table.

Have the Agent write todos without executing immediately
Describe the title, notes, assignee, deadline, etc., and the Agent will call personal_todo_add; afterwards you can manually change status in the right panel or click to dispatch it to the Agent yourself.

Backup and migration
Have the Agent call personal_todo_export, and use the host’s file tool to save the JSON; in a new environment, incrementally import with personal_todo_import. Note that duplicate IDs will be skipped.

Reference in-progress items in the input box
Type @ in the composer, Tab into the todo list and search; only pending / in_progress items will appear (requires the ui-input-trigger version requirement to be met).

For more details on GUI boundaries, opening todos from the home page, the 10-second mount wait, and more, see the repository’s README.zh.md.

Suitable Scenarios and Caveats

Suitable for

  • Developers who need to share the same personal todo list across multiple DSH sessions and projects, and want progress decoupled from whether the Agent is running.
  • Teams already using the Web profile and relying on the right panel, Session queries, and Agent lifecycle capabilities.

Notes

  • The plugin runs with the permissions of the current DSH process, and todo data is stored in a local SQLite database; before installing, read the source code and the LICENSE to confirm that the data path and permissions fit your environment.
  • The community catalog SkillHub is an independent site and has no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem follows “everything is a plugin,” and this plugin is a community-maintained client extension.
  • Operations such as deleting todos and making dangerous state changes on running todos require confirmation on the UI side; the Agent cannot confirm completion or force progress on behalf of the user.

Closing

dsh-personal-todo makes personal todos first-class citizens inside DSH: SQLite persistence, a Web right panel and conversation cards, multi-window synchronization via Host push, and an execution model that dispatches the Agent on demand. If you are organizing a long-term task list on the Web profile, you can install it by pinning a revision with the commands above and configure the panel and @ references following the Chinese README.

  • Catalog page: https://www.skillhub.cn/plugins/zsspub/dsh-personal-todo
  • GitHub: https://github.com/zsspub/dsh-personal-todo
羽毛球分组比赛记分
小程序二维码

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

Xiaoye