DeepSeek Harness 插件 DeepSeek Harness plugin

全局待办Global todos

一份跨会话的待办清单:一个属于你的文件,你和 Agent 读写同一份。它最要紧的一条规则是 Agent 说的「做完了」不算完成——不管是工具里报的,还是交给的会话干净收尾后自动收尾的,都只进「待确认」,你点头才算。待办还能带步骤,交出去时按编号一起交。 A cross-session todo list for DeepSeek Harness: one file you own, written by you and your agent. Its one hard rule is that an agent’s “done” is not completion — whether it reports that from a tool or the host infers it when a dispatched conversation ends cleanly, the record waits in Needs review until you confirm it. Items also carry steps, which ship as a numbered plan.

shell · npm 点一下选中整条click to select the line
dsh plugin add dsh-global-todo

装完要重启宿主(dsh web)再刷新页面。面板只在 Web 客户端;headless、ACP、SDK 拿到的是工具,没有面板。需要 DSH 0.2.x 与 Node ≥ 22.19。 Restart the host (dsh web) and reload the page. The panel exists only in the Web client; headless, ACP and SDK get the tools without it. Requires DSH 0.2.x and Node ≥ 22.19.

DSH · Discover 在 Discover 里加这个索引,一键安装add this index in Discover
https://lugabeeee.github.io/dsh-global-todo/market/index.json

DSH 的 Discover 标签读的是你自己添加的一个 JSON 索引(官方不带索引)。加上这个地址,面板里就能直接装、直接看版本;不加也完全可以,上面的命令装的是同一个包。索引由 npm run market 从 npm 生成,每次发版后重跑一次。 DSH’s Discover tab reads a JSON index you add yourself — dsh ships none. Adding this URL lets the panel install and update it directly; skipping it is fine, the command above installs the same package. The index is generated from npm by npm run market, rerun after every release.

  • MIT
  • 10 个 Agent 工具10 agent tools
  • 零运行期依赖no runtime deps
  • 只有一份清单one list only

看一条待办怎么走完 →Follow one todo through →

面板录屏:清单、详情、步骤、待确认、收件箱、提醒与批量选择依次出现
面板实况。录屏由 npm run tour 生成,不是手绘示意图。 The panel in use. Recorded by npm run tour, not a mockup.
22 秒,无旁白:画面里的界面是真实面板的截图(暗色主题、2× 渲染),句子由排版承担,音乐与点击声只标事件。播放不了视频的地方,页面顶部的 GIF 是同一段导览。 22 seconds, no voiceover: the screens are real panel renders in dark mode at 2×; the type carries the argument, and sound only marks events. Where video cannot play, the GIF above is the same tour.

三件事 Three claims

会话级计划做不到的三件事 Three things a session-local plan cannot do

DSH 自带的 todo_write 属于某一个 agent 会话:整表替换、三个状态、会话一关计划就翻篇。这份清单补的不是功能数量,是归属。 The built-in todo_write belongs to one agent session: whole-list replacement, three states, and a plan that ends when the session does. This list is about ownership, not feature count.

01

Agent 说「做完了」只是声明,两个入口一样 An agent's “done” is a claim — from either door

它自己在工具里报完成,是一种声明;交给的会话干净收尾、宿主替它收尾,是另一种。两条路都只把记录送进 review = pending:人点「确认完成」才算完成,点「退回清单」就回到清单里,完成记录一并清掉。 Reporting done from a tool is a claim; so is the host closing the todo when a dispatched conversation ends cleanly. Both land in review = pending: a person confirms, or sends it back — completion record and all.

待确认Needs review 确认完成Confirm 退回清单Send back

只有干净收尾的回合才是候选:error、aborted、interrupted、max-tokens 一律留着未完成——标错一次,整份清单就不值得信了。 Only clean turns are candidates: error, aborted, interrupted and max-tokens leave the todo open. One wrong “done” would make the whole list untrustworthy.

02

一个 JSON 文件就是全部 One JSON file is the whole list

清单在 $DSH_HOME/global-todo/todos.json:没有数据库,没有服务端。能 cat、能 diff、能提交进仓库、能丢进同步盘。两台机器要共用一份时,各自留一份本地文件、在一个碰头目录里折成一份——按记录合并,删除靠墓碑传播,离线也不会互相覆盖。 The list lives at $DSH_HOME/global-todo/todos.json: no database, no server. cat it, diff it, commit it, drop it in a sync folder. Two machines share one list by keeping their own file and folding through a hub directory — per record, with deletions carried as tombstones, so being offline cannot overwrite anyone.

{
  "version": 2,
  "todos": [{
    "id": "t-4f1a9c02",
    "title": "等交换机到货后重测内网吞吐",
    "createdAt": 1768867200000,
    "steps": [{ "text": "换上万兆模块", "done": false }]
  }],
  "trash": [{ "id": "t-1c0d7e44", "at": 1768953600000, "by": "human" }]
}

写入走「临时文件 + rename」;同一进程里人和 Agent 共用一条串行链,跨进程还有一把 .lock 独占锁——第二个宿主进程只能排队,等不到就报 store-busy,不会默默覆盖。文件坏了报 store-corrupt,不会静默清空。trash 是删除留下的墓碑:没有它,另一台机器手里的旧副本会把记录原样带回来。 Writes go to a temp file and are renamed into place; panel and tools share one serial chain, and a .lock file excludes other processes — a second host queues, then hears store-busy instead of silently overwriting. A corrupt file raises store-corrupt. trash holds the tombstones; without them another machine's older copy would bring a deleted record straight back.

03

交接是一个按钮 Hand-off is a button

四种模式:current 当前对话、auto 先复用已绑定的会话、new 总是新开、bound 只发已绑定的那个。新会话要工作目录,所以派发前会检查;三者都定位不到就明确拒绝并说明原因。 Four modes: current, auto (reuse the bound conversation first), new, and bound. A new session needs a working directory, so the hand-off checks it and refuses with a reason when none can be found.

1. [已完成] 对齐版本号
2. 跑 npm run verify
3. 打 tag 并推送
4. 补 docs/screenshots

待办自己的 steps[] 原样变成派发提示词里的编号计划;成功和失败都记在记录上。 The todo's own steps[] arrive as the agent's numbered plan. Success and failure are both recorded on the record.

一条待办的路径 The path of one todo

从一句话,到一个被确认的结果 From one sentence to a confirmed result

五步。每一步下面都是面板真实渲染出来的截图,由 npm run screenshots 生成;点开看原尺寸。 Five steps. Every image below is a real panel state rendered by npm run screenshots; click one for full size.

  1. 01

    抓取Capture

    你在对话里说一句「记一下:等交换机到货后重测内网吞吐」,或让 Agent 用 global_todo_capture 一次抓几条。原话作为 evidence 逐字保留,不转述;外部写入的先停收件箱。 Say it once, or let the agent record it with global_todo_capture. The sentence it came from is kept verbatim as evidence; externally written items wait in the inbox.

    收件箱:外部写入与低置信度条目带「待确认」芯片,确认后才进入清单
  2. 02

    拆成步骤Break into steps

    一条待办可以带 steps[]:行上显示「步骤 2/4」,派发时按顺序编号。五步的活不需要第二个对象。 A todo can carry steps[]: the row shows 步骤 2/4, and the hand-off prompt numbers them. Five-step work does not need a second object.

    详情:右侧卡片可就地编辑,行上显示步骤进度、附件与加入时间
  3. 03

    交接Hand off

    选 交给:[对话名],或多选后按「一键分配」。能复用已绑定的会话就复用;配不上的报回来并给选择器,不擅自送到别处。 Pick 交给:[conversation], or select rows and use 一键分配. A bound conversation is reused when possible; anything unmatched comes back with a picker instead of being sent somewhere else.

    批量选择:选中行后出现「一键分配 / 完成 / 归档 / 加标签」
  4. 04

    读回那个对话Read it back

    面板显示它「在跑」还是「已休眠」、最后说的几句(缓存 400 字),旁边有按钮跳过去。交接不再发出去就没下文。 The panel says whether it is running or dormant, shows its last words (400 cached characters), and links to it. No more fire-and-forget.

    清单:按对话分组,行上显示「会话在跑」、加入时间、优先级与附件
  5. 05

    确认Confirm

    Agent 的完成先进「待确认」:人点「确认完成」,或「退回清单」。同一行还能看到完成说明和这轮改过的文件。 An agent completion waits in 待确认. Confirm it, or send it back; the row carries the closing summary and the files that turn changed.

    待确认:Agent 完成的条目带「待确认」芯片,等待人确认或退回

图里是同一份清单的连续状态。截图不写进设计稿,而是每次从真实客户端渲染出来,所以样式一改、图就跟着变。 The images are consecutive states of one real list, re-rendered from the real client on every change rather than hand-edited.

手机端 On a phone

手机上,一屏读完的清单 A list a phone can read in one screen

面板按自己的实测宽度切换,≤600px 就是触控布局——DSH Mobile 的手机页不用任何配置,桌面窗口拖窄也是同一套。向下滑收起搜索那一行,每条待办收成「标题 + 一行信号」:390×844 下 66px 一行,第一屏就能看八条左右。 The panel switches on its own measured width: 600px or less is the touch layout. DSH Mobile's phone page needs no configuration, and a narrow desktop window gets the same treatment. Scrolling down folds the search line away and every row becomes one title line plus its signals — 66px per row at 390×844, about eight on the first screen.

390×844 的手机面板:三行 44px 工具栏,66px 一行待办,底部让出安全区
390×844,真的按手机分支渲染,不是把桌面缩小 390×844, rendered through the phone branch — not a shrunk desktop
  • 折叠是手势,不是开关。向下滑 80px 收起搜索行,还要越过它让出的 110px;向上滑 48px 或回到顶部展开。翻面后 300ms 内不响应,拇指停在边界上也不会抖。 The fold is a gesture, not a switch. 80px down folds the search line away and it must clear the 110px that frees; a 48px flick up, or the top, unfolds it. Either direction is deaf for 300ms after a flip, so a resting thumb cannot oscillate.
  • 收起后只剩标题 + 一行信号:截止、优先级、待确认、完成时间;打开着的那条保持完整,附件芯片淡出而不是硬消失。 Folded, a row is its title plus one line of signals — deadline, priority, review, completion time. The open row stays whole; attachment chips fade instead of vanishing.
  • 三种分组一直可见:工作区 / 时间 / 待办等级,横排标签,不随折叠收起。「工作区」按写下这条待办的目录分组,组头就是目录名。 All three group modes stay visible — workspace / time / priority — and the fold never takes them away. “Workspace” groups by the directory the work was written in.
  • 手机上不摆没用的开关:「交给 / 上下文」与「自动获取」搬进设置面板(桌面照旧),「选择」挪到搜索框后面,工具栏只剩筛选、搜索、分组三行。 No dead switches on a phone: the dispatch summary and the auto-collect switch moved into settings (the desktop keeps them), selection moved next to search, and the toolbar is filters, search, grouping.
  • 触摸与安全区:按钮、输入框、筛选胶囊 44px;筛选横滑而不是被裁掉;行内「交给 Agent」收成图标;底部让出安全区;正文跟随手机页字号,输入框不小于 16px(否则 iOS 会替你放大页面)。 Touch and safe areas: 44px buttons, inputs and chips; chips scroll sideways instead of being clipped; the inline hand-off becomes its icon; the bottom yields to the safe area; text follows the page's size setting and inputs stay 16px or more.

桌面一字不变:601 / 900 / 1280 / 1440 四个宽度有像素断言,改样式时会在 npm run check:render 里挂给你看。三张手机基线图:面板 · 展开一条 · 设置。 The desktop is untouched: check:render asserts pixel-identical output at 601 / 900 / 1280 / 1440. Three phone baselines: panel · one row open · settings.

收录情况 Where it is listed

10 个目录已上线,另有 2 个在审或待确认 10 live listings, 2 more in review

商店只决定「找不找得到」,装到的东西永远来自 npm:dsh plugin add dsh-global-todo。显示旧版本是正常的 —— 各家的爬虫有自己的节奏。这张表最后一次核对是 ,node tools/listings.mjs 每次部署前重跑一遍。 A registry decides whether you find it; what you install always comes from npm: dsh plugin add dsh-global-todo. An older version on a listing is normal — every crawler runs on its own schedule. Verified ; node tools/listings.mjs runs again on every deploy.

已收录Live

npm

latest 0.23.6

唯一的安装源,其余都只是入口。The only install source; the rest are entry points.

部分可用Partly

1024 Store

install still dsh plugin --profile web add github:LUgABeEEE/dsh-global-todo

条目可搜索;安装行仍指向 GitHub 源,等它自己的 npm 富化。Searchable; its install line still points at the GitHub source until their npm enrichment runs.

已收录Live

dsh.pub

page 200, dshpub add

页面上线,安装命令钉在一个 commit 上。Page live; its install command pins a commit.

无法确认Unknown

DSH-Plugins-Marketplace

The operation was aborted due to timeout

能在 DSH 界面里一键装。One-click install from inside DSH.

已收录Live

awesome-dsh-plugin

entry on main

最大的目录,每个插件一个 YAML。The largest directory, one YAML per plugin.

已收录Listed

dsh.works

indexed, rebuilt daily

每日重建的机读索引;我们的 #178 让它从手动变每日。Machine-readable index rebuilt daily; our #178 is why it runs daily now.

已收录Live

dsh-xray

C2 · 3 flags

能力卡片,每条结论都带 file:line 证据。Capability card; every finding cites a file and line.

已收录Live

walkinglabs

in README

带来源核验的列表。Source-verified list.

已收录Live

bruc3van

row 656

第二个大表,469★。A second large table, 469 stars.

已收录Live

dsh-plugin.shop

curated entry, npm spec

人工策展条目,安装走 npm spec。Hand-curated entry; it installs from the npm spec.

已收录Live

Blue-Whale

in the site index

中文站点的分区索引。A zone map on a Chinese-language site.

已收录Live

deepseekserver.com

page 200

中英各一个资源页;快照偏旧。One resources page per language; the snapshot is old.

完整清单、每个条目的确切状态和复核命令见 docs/DISTRIBUTION.md。 The full list, exact state per entry and the re-check command live in docs/DISTRIBUTION.md.

老实说的话 Plainly

和自带 todo_write、看板式任务板比 Against built-in todo_write and a kanban board

不是「谁更好」,是三件不同的东西。这一栏只写事实:没有的,就写没有。 Not “which is better” — three different things. This section states facts, and says “none” where that is the answer.

据本仓库的 README 与 docs/ROADMAP.md(2026-10)。看板一列是社区里另一类插件的典型形态,只写通性。 From this repository's README and docs/ROADMAP.md (2026-10). The kanban column describes that category in general terms only.
维度Dimension 自带 todo_writeBuilt-in todo_write 本插件This plugin 看板式任务板Kanban-style board
归属Owner 一个 agent 会话One agent session 你,跨会话、跨工作区You, across sessions and workspaces 一个项目或一块板A project or a board
写入Writing 整表替换Whole-list replacement 逐字段,人和 Agent 都能写Per field, by human and agent 卡片随拖拽换列Cards move by dragging
加入时间Created time 不记录Not tracked createdAt 写一次、不改、处处显示createdAt, written once and shown everywhere 视实现Depends on the plugin
上下文Context 标题 + 状态Title and state 描述 + 文档绝对路径 + 网址Description, document paths, URLs 通常带评论与附件Usually comments and attachments
交给 AgentHand-off 无None 一个按钮、四种模式,步骤变编号计划One button, four modes, steps become a plan 常见绑定会话、自动续跑Often bound sessions, auto-resume
标成完成Finishing Agent 改了就算Whatever the agent writes 进「待确认」,人点头才算——工具里报的和自动收尾的一样Waits in Needs review for a person — the tool call and the automatic close alike 拖到「完成」列就算Drag to the done column
视图Views 单表One table 一份清单,按对话 / 时间 / 级别分组;没有看板One list grouped by conversation, time or level; no board 看板列 + 拖拽Columns and drag
存储Storage 会话事件日志Session event log 一个 JSON 文件,能 cat、能手改、能备份One JSON file you can cat, edit and back up 视实现Depends on the plugin
适合Fits 一次任务里的计划A plan inside one task 跨会话「回头要办的事」Things to come back to across sessions 多张卡片并行的项目A project with many cards in flight
  • 没有看板视图。清单是列表加分组的,没有列、没有拖拽、没有泳道。 No kanban view. The list is a list with groups: no columns, no drag, no swimlanes.
  • 没有日历。只有到期时间和到点提醒,没有月视图、周视图。 No calendar. Due times and due reminders, no month or week view.
  • 没有子任务工单。steps[] 是待办内部的勾选项,不能单独派发,也不能各自挂附件。 No sub-task tickets. steps[] are ticks inside one todo; they cannot be dispatched on their own or carry their own attachments.
  • 不会定时开工。ROADMAP 把「自动跑待办」写进「不计划」:那需要一个任务队列,而这是一份个人清单。 No scheduled execution. ROADMAP lists “auto-running todos” under not planned: that is a job queue, and this is a personal list.

另外两条刻意的取舍:附件是引用不是上传(不复制字节,带用户名密码的网址一律拒绝);可选服务缺失就降级——没有 agents 时按钮报 agents-unavailable,面板其余部分照常工作。 Two deliberate trade-offs behind this: attachments are references, not uploads (no bytes copied, and URLs with a user and password are refused), and a missing optional service degrades instead of breaking — without agents the button reports agents-unavailable while the rest of the panel keeps working.

条件状态 Conditional states

每一种状态都有基线图 Every state has a baseline image

只在特定情况下出现的界面(空清单、无结果、收件箱、待确认、提醒、批量选择、设置、深色)各有一张固定基线图。改样式时直接对比,不用凭记忆。 Each state that only appears under a condition — empty, no results, inbox, review, reminders, selection, settings, dark — has a fixed baseline. Compare against it instead of remembering.

  • 空清单状态:没有任何待办行
    清单为空Empty list 一条记录都没有时的面板。 The panel with no records at all.
  • 筛选无结果:搜索词没有命中任何待办
    筛选无结果No results 和空清单是两种状态,提示也不同。 A different state from an empty list, with its own message.
  • 收件箱:外部提交的条目带「待确认」,确认后才进入清单
    收件箱Inbox 外部写入与低置信度条目,确认后才进清单。 External and low-confidence items wait for confirmation.
  • 待确认:Agent 完成的条目带黄色描边芯片,等待人确认
    待确认Needs review Agent 声明的完成,等人点头或退回。 An agent's completion, waiting for a person.
  • 到点提醒状态的面板
    到点提醒Due reminders 到期条目列在顶部,确认后不再出现。 Due items at the top; dismissing them removes them.
  • 批量选择:选中行后出现一键分配、完成、归档、加标签
    批量选择Selection 多选后一键分配、完成、归档、加标签。 Assign, finish, archive or tag a whole selection.
  • 设置:字段分组、说明写在标签下方、底部一行保存
    设置Settings 分组字段,说明写在标签下方,底部一行保存。 Grouped fields, notes under labels, one save row.
  • 深色模式下的清单,按对话分组
    深色 · 清单Dark · list 跟随宿主主题,面板不另设一套配色。 Follows the host theme; no second palette.
  • 深色模式下的详情:编辑字段、进展记录、文档与地址、动态
    深色 · 详情Dark · detail 宽窗口下详情立在右侧,窄窗口才在行内展开。 On wide windows the detail stands beside the list; narrow ones expand inline.