ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 ccdwyer

departure-board

Claude Code 的 Solari 翻页式出发牌 HUD,将 agent 的真实任务列表和工具活动渲染为 BOARDING、DEPARTED、DELAYED 或 CANCELLED 行,并在提示列上方显示迷你牌面,也提供 /board 面板。

已翻译

关于这个 mod

Departure Board 是一个 Claude Code 插件,会把 agent 的实际工作显示为黑底琥珀色的 Solari 翻页式出发牌,并以大约 30 fps 逐字翻动动画。每一行对应 Claude 任务列表中的真实工作项,由 TodoWrite、TaskCreate 和 TaskUpdate 提供;没有实时任务列表时,每个提交的提示都会变成一趟出发。列显示 TIME、DESTINATION、PLATFORM 和 STATUS,状态会依次经过 ON TIME、BOARDING、DEPARTED;出错时为 DELAYED,被中断或删除时为 CANCELLED。提示列上方会显示最多 3 行的迷你牌面,可用 /board band on|off 切换;/board 会在面板中打开完整牌面。可选的自制翻页音效(clack)会在 macOS 上播放,默认关闭。时钟只在翻页落下时运行,没有字符图形的界面会把牌面渲染为文字。安装时依次使用 /plugin marketplace add ccdwyer/claude-mods、/plugin install departure-board@ccdwyer-mods 和 /reload-plugins。它会挂接 session.start、command.run、prompt.submit、turn.start、tool.call、turn.complete、ui.render 和 ui.close,但绝不会修改、拒绝或注释工具调用。它完全在本地运行,不会通过网络发送任何内容,采用 MIT 授权。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add ccdwyer/departure-board
claude plugin install departure-board
原文 / README

Departure Board

Departure Board demo

Claude makes a 4-step task list and the split-flap band cascades each row from BOARDING to DEPARTED. Watch the MP4

A Solari split-flap departure board for what Claude is actually doing. Every character is a flap that falls through the drum, letter by letter in amber on black, at about 30 fps, with a left-to-right cascade.

  • Rows are real work items. Claude's task list is used while it has items still to go (TodoWrite, or TaskCreate and TaskUpdate; a TaskList snapshot drops tasks deleted elsewhere). Without one, or once it's all done, each prompt you send is a departure, opened when the turn that carries it starts, so a prompt typed mid-turn waits its turn. Two todos with identical text are told apart by position, since TodoWrite has no ids.
  • Columns: TIME · DESTINATION · PLATFORM · STATUS. The platform is the file or tool Claude is on right now.
  • Status: ON TIME (pending) → BOARDING (in progress) → DEPARTED (done). An error while boarding turns it DELAYED, and an interrupted or deleted item is CANCELLED.
  • Mini board above the prompt (up to 3 rows) shares the band with other mods.
  • /board opens the full board in a pane.
  • /board band off hides the mini board, and /board band on brings it back.
  • Optional flap sound: set clack in the plugin settings. It's off by default, plays on macOS only, and the sound is self-made.

The clock only runs while flaps are falling, so an idle board costs nothing. On surfaces without cell graphics (desktop) the board is drawn as text.

Install

/plugin marketplace add ccdwyer/claude-mods
/plugin install departure-board@ccdwyer-mods
/reload-plugins

Develop

claude plugin validate .
claude plugin test .

What it hooks

  • session.start: registers /board.
  • command.run (/board): opens the pane or toggles the mini board.
  • prompt.submit and turn.start: a prompt you type becomes a departure when its turn starts (when there's no live task list).
  • tool.call: watches TodoWrite, TaskCreate and TaskUpdate for the rows, and every other call for the platform column and errors. It never changes, refuses or annotates a call.
  • turn.complete: a turn's departure becomes DEPARTED, CANCELLED or stays DELAYED.
  • ui.render (AbovePrompt, Pane): draws the board. The band is drawn above whatever other mods draw there.
  • ui.close: forgets the pane's animation state.

Privacy

It runs entirely on your machine. It sends nothing over the network. It reads Claude's task list and tool calls in this session only.

Full policy: PRIVACY.md.

License

MIT

更多类似作品