dsh-planbox-dyb 0.8.6 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,11 +1,15 @@
1
1
  # dsh-planbox-dyb
2
2
 
3
+ [English](#english) | 中文
4
+
3
5
  DSH 计划任务收件箱。
4
6
 
5
7
  重启 DSH 前没做完的活,用「计划任务」接住。重启后你在侧栏面板里审核,再决定继续或忽略。
6
8
 
7
9
  **它不会自动续跑,也不会在启动时发消息。**
8
10
 
11
+ **平台**:宿主 Windows / macOS;客户端为 DSH Web。Linux 与 iOS/iPadOS 未实机验证,不作为兼容承诺。
12
+
9
13
  ## 安装
10
14
 
11
15
  ```bash
@@ -14,13 +18,26 @@ dsh plugin --profile web add dsh-planbox-dyb
14
18
 
15
19
  重启 DSH,刷新页面。
16
20
 
17
- ## 使用
21
+ ## 操作
22
+
23
+ 1. **加入计划任务**:在任意一轮回答下方点「加入计划任务」,按你点的那一轮登记;模型需要重启时也会主动登记。
24
+ 2. **打开面板**:重启 DSH 后,打开侧栏底部的「计划任务」。面板按会话分组,手动、发现、中断任务按回合从旧到新排列;最近点开过的会话排在最前。
25
+ 3. **查看详情**:点行内「详情」,详情会在当前行展开,不会跳走。展开后显示完整说明、「第 N 轮」锚点与更新时间;带结构化快照的任务还会显示下一步、涉及文件、验证命令和上次失败命令。点整行仍然是跳转到对应会话。
26
+ 4. **使用建议**:点「建议」,插件会自动生成续跑建议并填入输入框,但不会发送。输入框已有内容时,会先确认是否从下一行追加;拿不到输入框接口时,会退化为复制到剪贴板。
27
+ 5. **中断恢复**:点「中断恢复」后,插件会给当前面板里**所有异常中断的任务**逐条发送一句「继续」,让对应会话接着往下走。投递成功的记录会删除;不跟踪任务是否完成。
28
+ 6. **忽略**:点「忽略」删除单条;点「全部忽略」并确认后清空当前列表,点确认框以外的位置会取消确认。
29
+
30
+ ## 界面示意
31
+
32
+ 以下为模拟数据界面示意,不是实机会话截图。
33
+
34
+ ![面板总览](assets/screenshots/01-panel.png)
18
35
 
19
- 1. 模型会在需要重启时主动登记;你也可以点每轮回答下方的「加入计划任务」。
20
- 2. 重启后打开侧栏底部的「计划任务」(右上角红点是数量)。
21
- 3. 先点「建议」看模型打算怎么继续,再决定「中断恢复」或「忽略」。
36
+ ![详情展开](assets/screenshots/02-detail.png)
22
37
 
23
- ## 面板
38
+ ![建议填入](assets/screenshots/03-suggestion.png)
39
+
40
+ 面板里的三类任务:
24
41
 
25
42
  - **手动**:你点「加入计划任务」手动登记的任务。
26
43
  - **发现**:模型登记、助手结尾出现「重启」和「需要」(间隔不超过 10 个字符,且间隔词不含「之前/以前/可能/不用/无需」),或从会话消息里扫到的任务。
@@ -43,3 +60,40 @@ dsh plugin --profile web add dsh-planbox-dyb
43
60
  - 只支持 DSH Web;headless 没有面板。
44
61
  - 不自动续跑、不跟踪任务是否完成,进度需要你自己看会话。
45
62
  - 可以和自动续跑插件共存;已被自动续跑的会话会从「中断」消失,「中断恢复」投递前也会复核,不会重复发。
63
+
64
+ ## English
65
+
66
+ PlanBox is a plan-task inbox for DeepSeek Harness (DSH). It catches unfinished work before a restart, lets you review it in the sidebar after the restart, and lets you decide whether to continue or dismiss it.
67
+
68
+ **It never resumes automatically and never sends a message on startup.**
69
+
70
+ ### Install
71
+
72
+ ```bash
73
+ dsh plugin --profile web add dsh-planbox-dyb
74
+ ```
75
+
76
+ Restart DSH and refresh the page.
77
+
78
+ ### Use
79
+
80
+ 1. The model registers a task when a restart is needed, or you click **Add plan task** under any reply.
81
+ 2. After restarting, open **Plan tasks** at the bottom of the sidebar (the badge shows the count).
82
+ 3. Click **Details** to expand the task in place: full brief, turn anchor, next steps, touched files and verification when a snapshot exists. Clicking the row itself still jumps to the session.
83
+ 4. Click **Fill** to put a continuation suggestion into the composer without sending it. If the composer already has content, PlanBox asks before appending.
84
+ 5. Click **Restore interrupted** to send `继续` to **every interrupted task currently listed**; delivered records are removed, and completion is not tracked. **Dismiss** removes a single task.
85
+
86
+ ### Panel
87
+
88
+ - **Manual**: tasks you added with **Add plan task**.
89
+ - **Found**: model-registered tasks, assistant messages that say a restart is needed, or tasks found by scanning sessions.
90
+ - **Interrupted**: sessions whose previous turn errored or was interrupted.
91
+
92
+ Tasks from the same session are grouped by turn, oldest to newest. Manual tasks, found tasks, and interrupted tasks are mixed in that order. Recently opened sessions come first.
93
+
94
+ ### Notes
95
+
96
+ - DSH Web only; no panel in headless mode.
97
+ - Windows and macOS hosts are the verified platforms; Linux and iOS/iPadOS are not claimed as verified.
98
+ - No automatic resume and no task-completion tracking; review progress in the session.
99
+ - Coexists with auto-resume plugins; sessions already resumed automatically are skipped before delivery.
Binary file
Binary file
package/client.js CHANGED
@@ -15,7 +15,7 @@ window.__ModuleLoader__.load({
15
15
  const NS = "planbox";
16
16
  const API = "/api/planbox";
17
17
  const POLL_MS = 60_000;
18
- const CLIENT_VERSION = "0.8.6";
18
+ const CLIENT_VERSION = "0.8.7";
19
19
 
20
20
  const FALLBACK = {
21
21
  open: "计划任务",
package/market/index.json CHANGED
@@ -39,8 +39,8 @@
39
39
  },
40
40
  "versions": [
41
41
  {
42
- "version": "0.8.6",
43
- "publishTimestamp": 1796086252,
42
+ "version": "0.8.7",
43
+ "publishTimestamp": 1796354828,
44
44
  "source": {
45
45
  "type": "npm"
46
46
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-planbox-dyb",
3
- "version": "0.8.6",
4
- "description": "PlanBox:DSH 计划任务收件箱——重启前登记、重启后审核并恢复中断任务。宿主 Windows / macOS / Linux,客户端任意现代浏览器(含 iOS / iPadOS Safari)。",
3
+ "version": "0.8.7",
4
+ "description": "PlanBox:DSH 计划任务收件箱——重启前登记、重启后审核并恢复中断任务。宿主 Windows / macOS;客户端为 DSH Web。",
5
5
  "license": "MIT",
6
6
  "author": "ZhibinYU",
7
7
  "repository": {
@@ -18,7 +18,8 @@
18
18
  "plan-inbox",
19
19
  "task-inbox",
20
20
  "resume",
21
- "cross-platform"
21
+ "windows",
22
+ "macos"
22
23
  ],
23
24
  "engines": {
24
25
  "node": ">=20",
@@ -38,7 +39,9 @@
38
39
  "cordis.patch.yml",
39
40
  "README.md",
40
41
  "LICENSE",
41
- "market"
42
+ "market",
43
+ "screenshots.json",
44
+ "assets"
42
45
  ],
43
46
  "scripts": {
44
47
  "test": "node test/host.test.mjs && node test/client.test.mjs"
@@ -0,0 +1,5 @@
1
+ [
2
+ "assets/screenshots/01-panel.png",
3
+ "assets/screenshots/02-detail.png",
4
+ "assets/screenshots/03-suggestion.png"
5
+ ]