Passer au contenu principal
L

dsh-planbox-dyb (dsh-planbox-dyb)

lukeyzb/dsh-planbox-dyb/dsh-planbox-dyb

PlanBox is a review-first task inbox for DSH: collects restart-required and interrupted tasks, anchors them to their session turn, shows the brief, next steps, files and verification, and fills a continuation suggestion into the input without sending.

Installer

dsh plugin --profile web add github:lukeyzb/dsh-planbox-dyb

Ce plugin se trouve dans le sous-répertoire dsh-planbox-dyb du dépôt.

README

dsh-planbox-dyb · 计划任务

English | 中文

DSH 插件:把“重启前没做完的活”变成可审核的计划任务。模型主动登记 + 兜底扫描 + 异常中断检测,用户在侧栏面板里查看详情、填建议、恢复或忽略。

状态:已发布 npm 0.8.6(latest,2026-12-01);0.8.5 已在 Windows/macOS 验证。 代码与文档按分支管理:插件目录为 dsh-planbox-dyb/,发布分支为 publish。

平台:宿主 Windows / macOS / Linux;客户端任意现代浏览器,含 iOS / iPadOS Safari(已适配安全区、动态视口高度、触屏点击目标)。

它做什么 / 不做什么

  • 做:重启前提醒、计划队列、异常中断检测、续跑建议、人工恢复/忽略;
  • 不做:DSH 启动时自动发消息、任务状态跟踪、子代理/后台任务/goal 恢复、跨工具会话导入。

中断恢复只对异常中断项发一句「继续」,投递成功后删除记录;不跟踪任务是否完成,进度由用户自己审核。这是与自动续跑插件最大的区别。

English

PlanBox is a DSH plugin that turns unfinished work from before a restart into reviewable plan tasks. It combines model registration, fallback scanning, and interrupted-turn detection; you review the details, fill a continuation suggestion, resume, or dismiss from the sidebar.

Status: npm 0.8.6 is the latest release (2026-12-01); 0.8.5 was verified on Windows and macOS. The plugin lives in dsh-planbox-dyb/; releases are built from the publish branch.

Platform: host on Windows, macOS, or Linux; client in any modern browser, including iOS/iPadOS Safari (safe-area insets, dynamic viewport height, touch targets).

What it does / does not do

  • Does: pre-restart reminders, a plan queue, interrupted-turn detection, continuation suggestions, manual resume and dismiss.
  • Does not: send messages automatically when DSH starts, track task completion, recover subagents/background tasks/goals, or import sessions from other tools.

Resume interrupted sends one "continue" message per interrupted item and deletes the record after delivery. It does not track completion; that is the main difference from auto-resume plugins.

The other documents in this repository are currently in Chinese.

功能一览

  • 一个面板收住重启任务:手动、发现、中断按会话分组,按回合从旧到新排列。
  • 先看详情再决定:说明、回合锚点、下一步、涉及文件与验证命令直接展开。
  • 建议不发送:自动生成续跑建议并填入输入框,发不发由你决定。
  • 中断一键继续:给当前所有异常中断任务逐条发送「继续」。
  • 点行跳回合:点整行跳到对应会话,并从该回合开头定位。

计划任务面板

红框标出「加入计划任务」、建议/详情/忽略等关键入口。

操作

  1. 加入计划任务:在任意一轮回答下方点「加入计划任务」,按你点的那一轮登记;模型需要重启时也会主动登记。
  2. 打开面板:重启 DSH 后,打开侧栏底部的「计划任务」;面板按会话分组,手动、发现、中断任务按回合从旧到新排列,最近点开过的会话优先。
  3. 查看详情:点行内「详情」在当前行展开,显示完整说明、回合锚点与更新时间;有结构化快照时还会显示下一步、涉及文件、验证命令和上次失败命令。点整行仍然跳转会话。
  4. 使用建议:点「建议」自动生成续跑建议并填入输入框,不发送;输入框已有内容时先确认是否追加,拿不到输入框接口时退化为复制到剪贴板。
  5. 中断恢复:点「中断恢复」会给当前面板里所有异常中断的任务逐条发送一句「继续」;投递成功后删除记录,不跟踪完成状态。
  6. 忽略:单条「忽略」删除一条;「全部忽略」确认后清空当前列表,点确认框以外会取消确认。

文档

文档内容
USAGE.md面板、按钮、推荐工作流、无状态跟踪的边界
INSTALL.md源码安装、验证、升级、卸载、数据位置、常见问题
DESIGN.md概念、数据模型、检测口径、宿主接口、性能设计
OPERATIONS.md运行组成、配置、日志排查、安全隐私、兼容性
RELEASE.md发布状态、验证记录、剩余检查清单、打包流程
CHANGELOG.md版本变更
NEW-DEVICE.md新设备接入(SSH、clone、安装、验证)
ORIGIN.md来源、公开时间线、原创性与权属说明
CONTRIBUTING.md贡献许可、DCO、测试要求
CITATION.cff引用信息

分支模型

分支用途当前版本
main设计/安装/使用/发布文档,不放代码—
publish发布分支:0.8.6(含侧栏入口靠右)0.8.6
macmacOS 设备工作分支(仍为 0.7.0,待同步)0.7.0
snbc_winWindows 设备开发分支0.6.0
  • 文档改动先落 main,再同步到 publish / 设备分支;
  • 功能改动先进设备分支,测试通过后再决定是否合入发布分支;
  • 发布打包从 publish 的 dsh-planbox-dyb/ 目录进行,不要从 main 打;
  • GitHub 镜像的 main 直接对应发布代码;CodeArts 的 main 只放文档。

取代码

git clone --branch publish git@codehub.devcloud.cn-north-4.huaweicloud.com:b4473ce753cd4612a33af528532fd6c3/dsh-planbox-dyb.git
cd dsh-planbox-dyb

开发 Windows 分支时把 --branch publish 换成 --branch snbc_win。安装步骤见 INSTALL.md。

远端

华为云 CodeArts(IPD 项目 dsh-planbox-dyb):

git@codehub.devcloud.cn-north-4.huaweicloud.com:b4473ce753cd4612a33af528532fd6c3/dsh-planbox-dyb.git

不要提交

~/.dsh/profiles/web(link: 绝对路径与本机 HMR 配置)、~/.dsh/planbox(计划队列)、~/.dsh/sessions(会话日志)、旧源码 *.zip。这些已写进 .gitignore 或本就不在仓库内。

与市面自动方案的关系

自动派(dsh-restart-resume、dsh-recovery-resume、dsh-client-auto-continue)追求零点击;本插件是人工审核派,适合“重启后先看一眼再决定继续哪个”的场景。两者可以共存:自动续跑过的会话不会再出现在「中断」;「中断恢复」投递前会复核运行状态和会话尾部,已继续的会跳过,不会重复发。

Plugins associés