DeepSHPlugins
dsh-task-status 项目预览
GITHUB / COMMUNITY PROJECT

dsh-task-status

UI 增强JavaScriptMIT

后台任务状态条: 对话页任务进度 + 实时输出 tail。

9 Starsvlln 更新时间 2026-08-27
访问 GitHub 仓库
dsh-task-status 项目预览

项目介绍

中文

后台任务状态条: 对话页任务进度 + 实时输出 tail。

English

Background task status bar: progress plus live output tail on the chat page.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
vlln
仓库
vlln/dsh-task-status
GitHub Stars
9
Forks
1
开发语言
JavaScript
许可证
MIT
最近推送
2026-08-27
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

77/ 100
维护活跃
91
文档与实用信息
100
生态关注度
31
安装便捷信号
100
项目声明信号
100

近 15 天仍在更新;README 含完整安装与使用说明;标准命令一键安装。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin add github:vlln/dsh-task-status

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

中文 | English

task-status

Background task status bar: task-progress UI above the chat input area — running count + expandable details + live output tail

license

dshfind

dsh.so security

A background-task status bar above the chat input box: running-task count + click-to-expand per-task details + live output tail (auto-polling, 10-line scrolling area). Registered through the official conversation.input.dock slot (same family as queue/todo/goal). Ships as an official bundle plugin (dsh.bundle + dshClient channel), 0 patches.

Preview

task-status (real run screenshot: task rows + expanded output tail)

Features

UI (chat-page dock slot):

FeatureDescription
Status barDock card above the chat input box: ⚙ N background tasks running
Expandable detailsClick a task row to expand: status / duration / details + output tail
Live tailPolls the output route every 1s while expanded, re-rendering the whole block (the mirror patch guarantees zero contention with the official task_output tool and a consistent view)
Scrolling areaOutput area capped at 10 lines (160px); overflow becomes a scrollbar (tail keeps the end, scrollable to review)
Chat page onlyAutomatically hidden on non-Chat views (trajectory / taskboard, etc.)

Routes (Node half):

RouteDescription
/plugins/dsh-task-status/tasksTask list (read-only, filtered by session; owned + unowned union)
/plugins/dsh-task-status/outputTask output tail (full:true accumulates the full text; unknown id → 404)

Output tail contention semantics (official 0809 API constraint): tasks.read is a consumptive, incremental read (one shared cursor per task). This plugin applies a mirror patch to ctx.tasks.read — the official read becomes buffered mirror (increments already read by others, not re-consumed) + direct read of the latest (normal consumption); the plugin's own reads go straight to the underlying rawRead. The official tool and the plugin see the same increment sequence (no duplicates, no loss); only the proactively self-read part can no longer be replayed by the official side alone (official semantics is inherently incremental, so model perception is unaffected).

Installation

Recommended: one-line install from a git source (build artifacts are committed; a git source doesn't trigger a build):

dsh plugin --profile web add "github:vlln/dsh-task-status#main"   # one-line git source (build artifacts committed)
# or npm source: dsh plugin --profile web add @vlln/[email protected]

Or from a local directory (when you have the source): git clone, then cd dsh-task-status && dsh plugin --profile web add ..

After installing, restart web for it to take effect; you can disable/enable it in the "Plugins" panel on the settings page.

Usage

Run a background task and the status bar appears (e.g. the model-side bash tool with run_in_background: true):

⚙ 1 background task running
  ● bash-1  for i in $(seq 1 20)…   started 21:30:15   running

Click a task row to expand → the output tail scrolls live (a scrollbar appears once it exceeds 10 lines). The status bar disappears automatically when the task finishes.

Development

pnpm install
pnpm run build      # tsdown: Node half (lib/index.mjs) + client bundle (lib/client.js)
  • Node half: src/index.mjs (mirror patch + /tasks /output routes)
  • client: src/client/task-status.tsx (dock-slot status bar)

License

MIT License (example plugin in the DSH ecosystem).

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目