-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Agent Teams TUI dashboard and message delivery on exit #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Joao208
merged 2 commits into
main
from
joaobarros-/-agent-teams-ui-and-message-delivery
Mar 31, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| # @arvoretech/agent-teams-ui | ||
|
|
||
| TUI dashboard for monitoring agent teams in real time. Built with [Ink](https://github.com/vadimdemedes/ink) (React for the terminal). | ||
|
|
||
| ## Usage | ||
|
|
||
| ```bash | ||
| npx @arvoretech/agent-teams-ui [workspace-path] | ||
| ``` | ||
|
|
||
| If no path is provided, uses the current directory. The TUI watches `.agent-teams/` for changes and auto-refreshes. | ||
|
|
||
| ## Tabs | ||
|
|
||
| ### [1] Team | ||
|
|
||
| Teammates with status, task counts `[done/total]`, and current activity with elapsed time. | ||
|
|
||
| ### [2] Board | ||
|
|
||
| Kanban columns: Pending | In Progress | Blocked | Done. | ||
|
|
||
| - `j/k` — select task | ||
| - `Enter` — open detail view (description, criteria, summary, touched files, notes) | ||
| - `Esc` — back to board | ||
|
|
||
| ### [3] Messages | ||
|
|
||
| Inter-agent messages displayed as a group chat with date separators, sender grouping, and kind tags (`info`, `question`, `blocker`, `decision`, `answer`). | ||
|
|
||
| ### [4] Chat | ||
|
|
||
| Agent stdout/stderr rendered as a conversation. Each agent gets a distinct color. | ||
|
|
||
| - `f` — cycle filter by agent (or show all) | ||
| - `j/k` — scroll up/down | ||
| - `g/G` — jump to top/bottom | ||
|
|
||
| ## Header | ||
|
|
||
| - Live elapsed timer since team creation | ||
| - Progress bar `[done/total tasks X%]` | ||
| - `*` indicator on tabs with new activity | ||
|
|
||
| ## Keyboard | ||
|
|
||
| | Key | Action | | ||
| |-----|--------| | ||
| | `1-4` | Switch tab | | ||
| | `Tab` / `Arrow` | Navigate tabs | | ||
| | `r` | Manual refresh | | ||
| | `q` / `Ctrl+C` | Quit | | ||
|
|
||
| ## Development | ||
|
|
||
| ```bash | ||
| pnpm install | ||
| pnpm dev # tsx watch mode | ||
| pnpm build # tsc | ||
| ``` | ||
|
|
||
| ## How it works | ||
|
|
||
| Reads JSON files from `.agent-teams/` (same files used by `agent-teams-lead` and `agent-teams-teammate`): | ||
|
|
||
| - `team.json` — team config and teammates | ||
| - `tasks.json` — task list with status | ||
| - `messages.json` — inter-agent messages | ||
| - `artifacts.json` — published artifacts | ||
| - `team.log` — stdout/stderr from teammate processes |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
| "name": "@arvoretech/agent-teams-ui", | ||
| "version": "0.1.0", | ||
| "description": "TUI dashboard for agent teams — view teams, tasks, messages, and chats", | ||
| "main": "dist/index.js", | ||
| "type": "module", | ||
| "bin": { | ||
| "agent-teams-ui": "./dist/index.js" | ||
| }, | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| "scripts": { | ||
| "build": "tsc && echo '#!/usr/bin/env node' | cat - dist/index.js > dist/index.js.tmp && mv dist/index.js.tmp dist/index.js", | ||
| "dev": "tsx src/index.tsx", | ||
| "start": "node dist/index.js" | ||
| }, | ||
| "dependencies": { | ||
| "ink": "^6.8.0", | ||
| "ink-spinner": "^5.0.0", | ||
| "react": "^19.2.4", | ||
| "chokidar": "^4.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "^20.10.0", | ||
| "@types/react": "^19.2.14", | ||
| "tsx": "^4.6.0", | ||
| "typescript": "^5.3.0" | ||
| }, | ||
| "author": "Arvore", | ||
| "license": "MIT", | ||
| "engines": { | ||
| "node": ">=20.0.0" | ||
| } | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.