Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By lazygophersv0.1.0AGPL-3.0-or-laterIn 1 marketplace
展示当前 session 最近 10 条 agent 返回值(直读 transcript,零自建存储)
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it runs programs; reads files; reads environment variables (HOME).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code mod pane 插件:常驻面板展示当前 session 最近 50 条返回条目——agent 返回值与主对话每轮的最终回复(Stop 时刻的 assistant 文本)按时间混排。
数据直接从当前 session 的 transcript(Claude Code 自动写的 ~/.claude/projects/<项目路径编码>/<session_id>.jsonl)读出,滤出 Task/Agent 的 tool_use/tool_result 配对(含后台异步 agent 的 task-notification <result>)。零自建存储:不写 hook 落盘、不建数据目录、无清理逻辑;插件坏了只坏展示层,transcript 数据无损。
Claude Code 界面多一块常驻面板 Agent returns:
session.start 时自动打开,每 2 秒刷新一次(clock.every + ui.render)<summary>(如 Agent "…" finished),否则 Task/Agent 的 tool_use input.description,再无则回退正文第一个非空行)+ 正文预览(按面板宽度自适应行数:≥60 列两行、窄屏一行,超宽截断、超长词硬切不炸版;窄面板放不下 taskId,不渲染)▸ HH:MM <标题>(后台通知取 <summary>,否则 input.description),主回复条目 ◆ HH:MM 主回复(预览从正文首行起);点击展开全文同上Agent returns: … — 点此打开 band,点击即可打开面板,仍摆不下时弹 toast 说明原因不做的事:不跨 session / 历史查询,不做返回值筛选、搜索、导出。
已知限制:只读当前 session 的 transcript(session id 每次渲染经 $.session.id() 实时取)。transcript 超过 4 MiB(引擎单次读上限,见 $.fs.read 文档)时取最近约 4 MiB(tail -c)解析,更早的条目不进面板;取尾失败才显示 Cannot read transcript: … 一行错误。
# 推荐:一键安装
uvx --from git+https://github.com/lazygophers/ccplugin.git@master install lazygophers/ccplugin watchtower@ccplugin-market
# 或:传统方式
claude plugin marketplace add lazygophers/ccplugin
claude plugin install watchtower@ccplugin-market
claude -p session 派 Task agent,然后对该 session 的 transcript 跑解析器,确认能读出刚产生的返回值:
node -e 'import("./plugins/tools/watchtower/scripts/parse-transcript.mjs").then(m => console.log(m.recentReturns("<transcript.jsonl>", 50)))'
.claude-plugin/plugin.json # 插件清单
hooks/hooks.json # 声明 hooks module
hooks/register.ts # pane 生命周期:session.start 绑引擎开面板,clock.every 刷新,ui.close 关闭
hooks/views/pane.tsx # 面板视图
scripts/parse-transcript.mjs # transcript 定位 + 返回条目解析(locateTranscript / recentReturns:agent 返回值 + 主回复)
transcript 内部格式无官方契约,字段结构靠实测(.scratch/research/2026-10-22-transcript-task-entry-structure.md);Claude Code 升级改格式时先重跑该实测。
AGPL-3.0-or-later
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub lazygophers/ccplugin --plugin watchtower