Skip to content

Add the /quorum-dashboard pane to the agent-quorum plugin - #12

Merged
ChristopherLiew merged 2 commits into
mainfrom
feat/dashboard-mod
Nov 16, 2026
Merged

ChristopherLiew merged 2 commits into
mainfrom
feat/dashboard-mod

Conversation

@ChristopherLiew

@ChristopherLiew ChristopherLiew commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • The agent-quorum Claude Code plugin gains a dashboard: /quorum-dashboard opens an htop-style pane showing every live agent-quorum session on the machine (Claude Code, Codex, OpenCode, Antigravity).
    • The pane has a colored title bar and header bar. Each row shows PID, AGENT (one color per agent, * on your own session), IDLE (green, then amber, then red), FILES, REPO and LAST PROMPT.
    • ↑/↓ move a ▶ marker and highlight bar through the rows. Enter expands a session's files as a directory tree, with single-child folders folded into one line.
    • r releases the selected session's claims after a confirm; it is refused on your own session. c copies the session id. esc closes the pane.
  • It is a Claude Code mod (hooks module) shipped in the same plugin. plugin/hooks/hooks.json lists modules: ["./register.tsx"] beside the existing shell hooks, so one install covers everything.
    • Codex reads hooks/codex.json and Antigravity reads plugin/hooks.json, so neither sees the module.
    • Claude Code 2.1.200, which predates mods, still validates the merged hooks.json (it only warns that it ignores types). Older versions keep the guard and simply get no dashboard.
  • Reads go only through the CLI: status --json every 2 s while the pane is shown, plus release. The binary is found from $AGENT_QUORUM_BIN, then the newest ~/.agent-quorum/bin/agent-quorum-<version>, then PATH. Errors are drawn in the pane or toasted, never thrown.
  • The hook path, core, the adapters and the wire protocol are unchanged. No Go code changed.
  • make validate-plugin, which the CI plugin job and release.yml both run, now also runs claude plugin test ./plugin.
  • The README gains a Dashboard section with a GIF, a feature table and a keys table. CONTRIBUTING and CLAUDE.md are updated.

Test plan

  • claude plugin test ./plugin passes 5 tests:

    • the list on terminal and desktop, including the default selection;
    • Enter expanding and collapsing the file tree;
    • the daemon being down;
    • a failing CLI;
    • version ordering plus fileTree and idle.

    A deliberately introduced bug made a test fail, so the tests do catch regressions.

  • claude plugin validate ./plugin --strict and claude plugin validate . pass.

  • tsc passes, strict, against this build's mod types.

  • make check and the Codex install check pass.

  • The merged hooks.json validates on Claude Code 2.1.200 (no mods).

  • Manual: make dev, then /quorum-dashboard with several sessions live. Check that ↑/↓ selection follows the focus (the test kit cannot simulate this), that Enter opens the tree, and the colors.

🤖 Generated with Claude Code

chrisliew and others added 2 commits November 16, 2026 16:55
A second, opt-in Claude Code plugin (agent-quorum-dashboard, ./mod): a
hooks module that opens an htop-style pane of every live agent-quorum
session. It polls `agent-quorum status --json` every 2 s while the pane is
shown, and can release the selected session's files or copy its id.

It reads only through the CLI and is never in the hook path, so the
hook plugin, core and the wire protocol are unchanged. Its version is
mirrored with the other three manifests by bump-version.sh and checked
by make lint; make validate-plugin validates and tests it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dashboard mod moves from its own plugin (./mod) into ./plugin:
plugin/hooks/hooks.json lists the hooks module beside the shell hooks, so
one install gives the guard and /quorum-dashboard. Codex and Antigravity
read other hook files and never see it; Claude Code 2.1.200, which
predates mods, still validates the merged hooks.json.

The pane, renamed /quorum-dashboard, is now larger and coloured: a
title bar, a header bar, a ▶ marker and highlight bar on the selected
row, and per-agent colours. Rows are Buttons, so the arrow keys walk them
and Enter expands a session's files as a directory tree. Release errors
are toasted instead of thrown.

The second marketplace entry, the fourth manifest and their release
plumbing are gone; make validate-plugin runs claude plugin test ./plugin.
The README gains a Dashboard section with a GIF and a feature table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ChristopherLiew ChristopherLiew changed the title Add the /quorum dashboard mod Add the /quorum-dashboard pane to the agent-quorum plugin Nov 16, 2026
@ChristopherLiew
ChristopherLiew merged commit b6446f0 into main Nov 16, 2026
5 checks passed
@ChristopherLiew
ChristopherLiew deleted the feat/dashboard-mod branch November 16, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant