ccch1mneyyy/working-activity 预览 preview

ccch1mneyyy/working-activity

Plugin插件 ⭐ 661 MIT Dev Workflow开发与代码工作流

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版本存在已知限制:不支持工具进度百分比显示,每会话仅显示一条状态行,默认关闭日志追加避免会话无法恢复。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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 →

← 上一个 Prev deepseek-harness-studio 下一个 Next dsh-redteam-model →