ccch1mneyyy/working-activity
pi CLI 和 DSH 的生动工作线扩展
Project Overview项目介绍
This repository hosts two separate versions of a working activity status line plugin for coding agents, supporting both DeepSeek Harness (DSH) and pi CLI. The DSH version is published as the npm package dsh-working-activity, and can be installed with the command dsh plugin --profile <your profile name> add dsh-working-activity. After installation, it adds a real-time status line to DSH’s web interface and dsh-cc terminal, showing what the agent is working on instead of a generic static loading spinner.
It comes with a wide range of features, including real-time tool activity display, thinking phrase rotation, context usage warnings, token and cost statistics, git branch detection, and fun holiday easter eggs. Users can open an interactive settings panel via built-in commands, switch animation presets, toggle individual features, adjust warning thresholds, and import or export custom configurations. It is designed for developers who use coding agents daily and want to keep track of the agent’s activity at a glance.
The project is fully open source, with the root repository and pi version under the MIT license, and the DSH plugin package under the BSD-3-Clause license. All user data is stored locally, the plugin does not collect any user information, and it makes no external network requests or include any telemetry. The DSH version has some known limits: it does not support tool progress percentage display, only one status line per session, and log append is disabled by default to avoid breaking session resumption.
这是一个同时适配DeepSeek Harness(DSH)和pi CLI两个编码agent平台的工作状态行插件,仓库分两个独立npm包发布,对应两个平台的不同安装方式。DSH版本可通过官方插件命令dsh plugin --profile <你的配置文件> add dsh-working-activity安装,安装后会在DSH的Web界面和dsh-cc终端新增一条实时工作状态行,取代静态加载指示器,实时展示agent当前的工作动态。
核心功能包括实时展示正在运行的工具、工具运行进度、思考文案轮换、上下文用量预警、token成本统计、分支信息显示、彩蛋和节假日特效等。用户可通过命令行打开交互设置面板,切换动画预设、开关各类功能、调整阈值,还支持导入导出自定义配置。适合日常使用agent编码,想要直观掌握agent工作状态的开发者。
项目采用MIT许可证(DSH插件包采用BSD-3-Clause),完全开源免费,所有数据都存储在本地,不收集任何用户信息,无远程网络请求和遥测。DSH版本存在已知限制:不支持工具进度百分比显示,每会话仅显示一条状态行,默认关闭日志追加避免会话无法恢复。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:working-activity(ccch1mneyyy/working-activity)
仓库:https://github.com/ccch1mneyyy/working-activity
本站详情页:https://www.yhbd.top/plugins/ccch1mneyyy-working-activity/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 661 · 最近提交 2026-09-26 · 主语言 TypeScript · 未检测到 DSH 插件清单
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-working-activity
把 ccch1mneyyy/working-activity 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
working-activity
让 agent 的"工作状态行"活过来——实时工具动态与进度、俏皮文案、模型自述、上下文预警。同一套想法,适配两个平台:pi CLI 与 DeepSeek Harness(DSH)。
作者:chimney(@ccch1mneyyy)。社区出品,非官方项目。
本仓库分为 pi和dsh两个版本,两个 npm 包继续独立发布,各自的安装方式不变。
平台一览
| 平台 | npm 包 | 源码位置 | 安装 |
|---|---|---|---|
| pi CLI | pi-working-activity |
extensions/ |
pi install npm:pi-working-activity |
| DeepSeek Harness | dsh-working-activity |
packages/activity/working-activity/ |
dsh plugin --profile <profile> add dsh-working-activity |
目录结构
extensions/ pi 版扩展(唯一源码,无构建)
tests/ pi 版测试
package.json pi 版包(发布 pi-working-activity)
packages/activity/working-activity/ DSH 版插件(发布 dsh-working-activity)
patches/webui-working-activity.patch DSH Web UI runtime 补丁
docs/dsh-working-activity.md DSH 版完整文档(原 dsh 仓库 README)
pi 版
让 pi 的 Working 行活过来——实时工具动态与进度 + 俏皮中文文案 + 稀有彩虹彩蛋 + 模型自述 + 上下文预警。
功能一览
🛠 真实工具活动
监听 tool_execution_start / tool_execution_end,Working 行实时显示正在跑什么——不是假转圈。
翻翻 src/index.ts
改改 package.json
跑命令 npm run build
搜搜 NARRATE_MIN_MS
📈 实时工具进度
监听 tool_execution_update,优先读取工具返回的百分比、阶段和状态;对 bash 等流式输出,也会识别常见的下载、构建、测试和部署进度。
拉取模型权重 · 42% · 8s
跑命令 npm test · Testing integration · 12s
部署一下 staging · Deploying assets · 31s
普通输出不会直接塞进 Working 行,只有结构化进度、百分比和可识别阶段会展示。
⏩ 快工具队列重播
执行时间 < 1.5s 的工具一闪而过?不会。快工具排队逐个播 1s,最后一条粘留 3s,让你看得到。
💬 俏皮文案池
思考时 Working 行轮换 95 条口语化短句,约 2.6s 一换,像活人在说话。
嗯…让我捋捋 → 盘一下盘一下 → 大脑转起来了 → 思考.gif → 啾,让我想想 → lol → 别催别催
想太久了自动换档:
- 🕐 30s:转圈圈… 马上马上 嗯,让我细想想
- 🕑 1min:还在努力… 烧脑中… 这题有点东西
- 🕒 5min:还没放弃… 这题真的硬… 我给跪了…
🎰 稀有彩虹彩蛋
约 1/150 概率(每 6–7 分钟一次),Working 行炸出炫彩流光,停留 7.5 秒。
✦ S S R ! ✦ ✧ 金色传说 ✧ ✶ 你发现我了 ✶
四层特效叠加:平滑色相梯度慢滚 + 亮度波浪呼吸 + 一道带下划线的高光从左扫到右 + 两侧金边花饰轮转。比 1.0 的均匀彩虹有质感得多。
⏵ 模型自述
默认开启。扩展通过 context 事件向模型注入一条约定:每个步骤开始时写 ⏵ 你在做什么(≤20 字)。扩展实时解析流式输出,把自述显示在 Working 行。不需要可在配置里设 "narrate": false 或 /activity narrate off。
⏵ 查一下报错原因 → Working 行:查一下报错原因 · 搜搜 error.log
⏵ 给补丁跑个验证 → Working 行:给补丁跑个验证 · 跑命令 node test
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
esengine/DeepSeek-Reasonix
strukto-ai/mirage
chuspeeism/dashi-taskboard
Aisland-SJL/dsh-worktable
zhoushoujianwork/easyeda-agent
pulseaiclub/phi
Ikalus1988/MisakaNet
morluto/rea