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 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案