rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:lmk2215/dsh-todo-editor
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
An editable task-flow panel for DeepSeek Harness. Write the checklist yourself, hit save, and the task panel above the composer updates immediately — without sending a message to the model. The agent then walks your nodes one by one.
┌─ header ────────────────────────────────────────────┐
│ Session title [☑·3] ← button │
└─────────────────────────────────────────────────────┘
│ click
▼
┌─ 任务流程 ───────────────────────────────────────────┐
│ 1 [ Research the datasheet ] 待处理 × │
│ 2 [ Extract the dimension table ] 进行中 × │
│ 3 [ Cross-check against the PDF ] 待处理 × │
│ + 添加一条 │
│ 取消 [ 保存 ] │
└─────────────────────────────────────────────────────┘
│ save → /todo-apply … (no model turn)
▼
┌─ 任务 (native panel, now yours) ───────────────────┐
│ ● Research the datasheet │
│ ● Extract the dimension table │
│ ○ Cross-check against the PDF │
└─────────────────────────────────────────────────────┘
Harness ships a task panel that is read-only and rendered from the todos session
projection. Two consequences:
null, so there is no entry point
at all before the model writes its first todo.This plugin flips the direction: you order, the model executes. The button lives in the session header, so it is always reachable — including on a brand-new conversation where the list is still empty.
+ to append, × to delete.in_progress at a time,
matching the default host policy)./todo-apply): the panel
updates instantly, no user message, no model turn, no tokens spent.[任务流程] message so the feature still works.>= 0.2.0 (client-plugin slot registry + dsh-commands).conversation.session.header.actions slot, which is part of
@deepseek-ai/dsh-client-ui-conversation.lib/client.js is a hand-written bundle that only requires react and
react-dom from the host module table.dsh plugin --profile desktop add dsh-todo-editor
DeepSeek Harness profiles are plain folders, so a local package can be linked by hand:
Put this repository somewhere stable, e.g. ~/.dsh/local-plugins/dsh-todo-editor.
Link it into the profile's node_modules:
# Windows: junction needs no administrator rights
cmd /c mklink /J "%USERPROFILE%\.dsh\profiles\desktop\node_modules\dsh-todo-editor" ^
"%USERPROFILE%\.dsh\local-plugins\dsh-todo-editor"
# macOS / Linux
ln -s ~/.dsh/local-plugins/dsh-todo-editor ~/.dsh/profiles/desktop/node_modules/dsh-todo-editor
Register it in ~/.dsh/profiles/desktop/package.json:
"dsh-todo-editor" to dsh.profile.bundles"dsh-todo-editor": "link:<absolute path to this repo>" to dependenciesRestart the Harness app. A page refresh is not enough — the client bundle is snapshotted when the host boots.
Both options are automated by:
node scripts/install.mjs # install / repair
node scripts/install.mjs --revert # uninstall
Use --profile <dir> or --dsh <app/dsh dir> when the defaults do not match your setup.
The todos projection in @deepseek-ai/dsh-tool-todo clears itself on every turn/start.
With that behaviour, a checklist you authored disappears the moment you send your next
message, and only reappears once the model rewrites it.
patches/tool-todo-survive-turn-start.md documents a one-line change that keeps an
unfinished plan across turns (a fully completed list is still cleared, so stale progress
never lingers). scripts/install.mjs applies it with a timestamped backup; --revert
restores the backup.
Without the patch the plugin still works — the panel just blinks empty until the model re-emits the list.
The button badge shows how many items are still open.
| Layer | Piece | Role |
|---|---|---|
| Client | lib/client.js |
Registers slot conversation.session.header.actions (id: todo-editor, order: 5) and renders the popover through a react-dom portal |
| Client | getTodosFace |
Reads session.projections.faceOf("todos") and subscribes for live updates |
| Client | applyTodos |
Calls session.command("/todo-apply <encodeURIComponent(JSON)>") |
| Host | lib/index.js |
Registers /todo-apply; the handler runs agent.session.append("todo/write", { todos }) and returns { kind: "success" } with no text |
| Host | @deepseek-ai/dsh-tool-todo |
Owns the todos projection the panel renders |
Command handlers run directly against the receiving agent and create no model message,
which is exactly why save is instant and silent. recordInput: false keeps the encoded
payload out of the session log.
node scripts/install.mjs --revert
Three things are undone: the profile node_modules link, the two package.json entries, and
the host patch (restored from its .bak-todoeditor-* backup). Restart afterwards.
todo_write replaces the whole list, including edits you made.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。