crew: standalone multi-harness agent TUI + delegation MCP + docs site#5
Merged
Conversation
…r falsy-safe fallbacks
…-load, nx-audit, nx-report, nx-status)
…ds-strong return contract
Compact opencode.json command descriptions and set nx-plan command to run under the plan agent via frontmatter.
Single TypeScript extension (.pi/extensions/nexum-pi.ts) wraps existing Python scripts via subprocess, wiring session/tool events and nx-* commands into the pi.dev harness. Fix dead retry branch: step status is 'fail' not 'failed'.
Preserve the raw model id for display instead of the normalized key, and annotate unknown models as '(→sonnet rates)' without corrupting the breakdown key.
Ratatui dashboard that runs harness REPLs in owned PTYs. New-agent form fixes: - Seed the task into the REPL only once it has drawn its input box (wait for non-empty vt100 screen, 8s cap, + settle) instead of a blind 900ms sleep that raced startup and dropped the task. - Esc in the form now confirms before discarding typed input (ConfirmDiscard mode); empty forms still close immediately.
…site crew: rebrand the TUI into a standalone product — native git worktrees, own .crew/ registry+config, optional nexum engine (auto-detected). Chat with agents in embedded PTYs; launch interactively or via crew --new [--here]. Manage the fleet: diff/log viewers (search + live-follow), commit/push/open-PR (single or bulk), retry/re-delegate, rename/label, multi-select, filters, sort, paging, settings, session persistence, completion toasts, worktree prune. Git-aware: per-row dirty (±), ahead/behind, PR badge, fetch, harness/repo guards, crew --doctor. Delegation MCP (scripts/mcp_server.py): delegate / delegate_async / check / list_agents over stdio; registered in .mcp.json. Engine: harness.py, dispatch.py, worktree.py with tests. docs/: self-contained GitHub Pages site with live screenshots (tui/site/gen.py).
Move the generated crew page to docs/crew/index.html (static page inside docs_dir) so it coexists with the markdown docs instead of colliding with the mkdocs-generated index.html. Link it from the docs home. Verified with mkdocs build --strict (publishes at <site>/crew/).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Turns the companion TUI into crew — a standalone terminal dashboard to run, chat with, and manage coding agents across harnesses (Claude / OpenCode / Cursor) — plus a delegation MCP server and a screenshots docs page.
crew TUI (
tui/, Rust + ratatui).crew/registry+config, needs onlygit+ an agent CLI. Optional nexum engine is auto-detected (⚙ enginebadge) for observed sessions + delegation.n) or headless (crew --new [--here]).±), ahead/behind, PR badge, fetch, harness/repo guards,crew --doctor.Delegation MCP (
scripts/mcp_server.py)delegate/delegate_async/check/list_agentsover stdio; registered in.mcp.json. Lets one agent delegate work to another harness as a managed sub-agent (visible live in crew).Engine
harness.py,dispatch.py,worktree.py+ tests (headless run → worktree → guardrail → verdict).Docs
docs/crew/index.html— self-contained GitHub Pages page with live screenshots (generated bytui/site/gen.py). Integrated into the existing mkdocs site (verified withmkdocs build --strict); publishes at/nexum/crew/.Tests
--new, prune, remote-state, delegation→TUI) + 415 Python tests, all green.Notes
main), publishing the crew page at/nexum/crew/.