插件目录 / Developer / dsh-tui-jobs
dsh-tui-jobs
已验证 · 实测可装 FUSU123fusu
功能简介
Developer 类别的 DeepSeek Harness 插件。
可用 — 实测通过,早期项目
Developer 类别的 DeepSeek Harness 插件。 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-tui-jobs
适用于 dsh-TUI(dshtui.com)的社区插件。
dsh-TUI 的后台任务面板:/jobs 列出当前所有可见的后台任务(bash、子 agent 等),状态变化实时刷新,可查看已完成任务的输出、取消运行中的任务。补齐官方 WebUI 有而 TUI 没有的任务列表面。
English below.
用法
/jobs " 打开任务面板
列表:↑/↓ 选择 · Enter 查看详情与输出 · x 取消(3 秒内按两次确认)· r 刷新 · Esc 退出。
详情视图:↑/↓ / PgUp/PgDn 滚动输出 · x 取消 · Esc 返回。
设计要点
- 数据面全部来自 harness 的
ctx.jobs注册表(list/read/kill/onJobsChanged),机制层零改动。 - 输出读取有纪律:流式任务只有一条消费游标,面板绝不读运行中任务的输出(否则抢走模型侧完成通知的内容)——只有终态任务(completed/killed/failed)的输出可读,且幂等。
- 取消走二次确认(3 秒窗口双击 x),防误触。
- 列表运行中优先、终态最新在前;运行中任务时长每秒刷新。
- 宿主不支持 scene(web、headless)时退化为文本列表。
安装
暂未发布到 npm,从源码打包安装:
git clone https://github.com/FUSU123fusu/dsh-tui-jobs.git
cd dsh-tui-jobs
npm pack
dsh plugin --profile <你的profile> add file:dsh-tui-jobs-0.1.0.tgz
开发
node --test " 单元测试(状态映射、时长格式化、排序、id 归一化)
English
A background jobs panel for dsh-TUI: /jobs lists every visible job from the harness ctx.jobs registry, follows status changes live, shows output of settled jobs, and cancels running ones (double-x confirm). Closes the jobs-list parity gap between the official WebUI and the TUI.
- Read discipline: stream jobs have a single consuming cursor, so the panel never reads a running job's output — terminal reads only, idempotent.
- Auto-refresh via
onJobsChangedplus a 1s duration ticker. - Degrades to a text list on hosts without the scene seam.
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-tui-jobs」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:FUSU123fusu/dsh-tui-jobs Headless(CLI)profile:
dsh plugin --profile headless add github:FUSU123fusu/dsh-tui-jobs 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。