@prplkane/roundtable 0.6.4 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +604 -529
- package/README.md +184 -189
- package/SECURITY.md +324 -299
- package/docs/workflow.md +1475 -1344
- package/package.json +2 -2
- package/scripts/agent.mjs +2 -2
- package/scripts/mcp.mjs +179 -175
- package/skills/roundtable/SKILL.md +62 -57
- package/src/adapters/acp.js +318 -0
- package/src/adapters/catalogue.js +37 -18
- package/src/adapters/common.js +1 -1
- package/src/adapters/config.js +18 -9
- package/src/adapters/index.js +2 -1
- package/src/adapters/models.js +32 -19
- package/src/adapters/spawn.js +3 -1
- package/src/agent-client.js +131 -108
- package/src/cli.js +21 -3
- package/src/diagnostics.js +1 -0
- package/src/doctor.js +7 -0
- package/src/engine.js +11 -7
- package/src/local-http.js +2 -2
- package/src/local-server.js +110 -110
- package/src/notes.js +8 -4
- package/src/preflight.js +26 -6
- package/src/prompts.js +1 -1
- package/src/review-view.js +15 -2
- package/src/seats.js +368 -272
- package/src/server.js +1010 -928
- package/src/snapshot.js +10 -3
- package/src/ui/app.js +2142 -1967
- package/src/ui/design/app.css +2 -1
- package/src/ui/index.html +276 -272
- package/src/validate.js +14 -4
package/README.md
CHANGED
|
@@ -1,189 +1,184 @@
|
|
|
1
|
-
# Roundtable
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
the
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
are not
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
Maintained by [prplkane](https://github.com/prplkane).
|
|
186
|
-
|
|
187
|
-
## License
|
|
188
|
-
|
|
189
|
-
[MIT](LICENSE).
|
|
1
|
+
# Roundtable
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@prplkane/roundtable)
|
|
4
|
+
[](https://github.com/prplkane/roundtable/actions/workflows/test.yml)
|
|
5
|
+
[](package.json)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
|
|
8
|
+
Run decision reviews with multiple AI agents and export the outcome as Markdown.
|
|
9
|
+
|
|
10
|
+
Give the agents a question, alternatives and constraints. Each takes an independent position,
|
|
11
|
+
then critiques the others. A chairman recommends an option and records the dissent. You can
|
|
12
|
+
answer questions during the review and record your own decision at the end.
|
|
13
|
+
|
|
14
|
+
Roundtable runs on Node.js 22 or newer and stores reviews on your machine. Live seats use
|
|
15
|
+
your chosen providers and their billing. This developer preview supports the following workflows.
|
|
16
|
+
|
|
17
|
+
## Review in the browser
|
|
18
|
+
|
|
19
|
+
Try a review with scripted seats and no provider account:
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npx @prplkane/roundtable fake
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
On the [demo board](http://localhost:4748/), enter a decision and at least two options.
|
|
26
|
+
Choose seats with different perspectives, such as cost and risk. Open the table, answer
|
|
27
|
+
the seats' questions, then read the recommendation. You can export it with your decision.
|
|
28
|
+
|
|
29
|
+

|
|
30
|
+
|
|
31
|
+
For live reviews, sign in to the provider CLIs you use and create their AgentLink
|
|
32
|
+
profiles once. The browser and the Codex workflow use the same profiles.
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
npm install -g @prplkane/roundtable @prplkane/agentlink@0.3.0-beta.3
|
|
36
|
+
agentlink add codex --provider codex
|
|
37
|
+
agentlink add claude --provider claude
|
|
38
|
+
agentlink add agy --provider antigravity
|
|
39
|
+
roundtable
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
On the [live board](http://localhost:4747/), choose a profile for each seat and the
|
|
43
|
+
chairman. Leave Model and Effort blank to follow the profile defaults. Choose **Load
|
|
44
|
+
profile models** to see the available choices and **Refresh profile models** after a
|
|
45
|
+
provider update. To set a default once for every project, inspect the IDs with
|
|
46
|
+
`agentlink models PROFILE`, then use `agentlink defaults PROFILE --model MODEL_ID --effort EFFORT_ID`.
|
|
47
|
+
Roundtable displays the advertised names and sends the IDs for seat-specific overrides.
|
|
48
|
+
Direct CLI seats and OpenAI-compatible endpoints are also available.
|
|
49
|
+
A searcher can gather cited sources for every seat before the first round. For provider setup
|
|
50
|
+
and a first live run, see the [test-drive guide](docs/workflow.md#a-first-live-test-drive).
|
|
51
|
+
|
|
52
|
+
## Review in Codex with AgentLink seats
|
|
53
|
+
|
|
54
|
+
Codex coordinates the review through Roundtable's Model Context Protocol (MCP) tools.
|
|
55
|
+
Each seat runs through a named AgentLink profile using the Agent Client Protocol (ACP).
|
|
56
|
+
You can use the same profile for several seats or choose a different one for each.
|
|
57
|
+
|
|
58
|
+
Install both tools. This example uses Codex and Claude seats. Sign in to those CLIs and
|
|
59
|
+
configure trusted review profiles with their tools disabled before sending them a decision.
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
npm install -g @prplkane/roundtable @prplkane/agentlink@0.3.0-beta.3
|
|
63
|
+
agentlink add risk-review --provider codex
|
|
64
|
+
agentlink add cost-review --provider claude
|
|
65
|
+
agentlink check risk-review
|
|
66
|
+
agentlink check cost-review
|
|
67
|
+
roundtable setup --client codex
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Restart Codex or reload its MCP connections. In any project, try:
|
|
71
|
+
|
|
72
|
+
> Use Roundtable to decide whether to run a small rollout trial or wait one sprint.
|
|
73
|
+
> Use the AgentLink profiles `risk-review` for risk and `cost-review` for cost.
|
|
74
|
+
> Use `risk-review` as chairman. Run one critique round and bring me the seats' questions.
|
|
75
|
+
|
|
76
|
+
Codex checks the request and relays questions and the final recommendation. ACP seats use
|
|
77
|
+
fresh sessions and the selected profile's permissions and billing. Confirm that you accept
|
|
78
|
+
limited isolation for these profiles before starting. [AgentLink setup and limits](docs/workflow.md#7c-agentlink-acp-profiles).
|
|
79
|
+
|
|
80
|
+

|
|
81
|
+
|
|
82
|
+
In this offline example, Codex called `roundtable_check`, `roundtable_start` and
|
|
83
|
+
`roundtable_wait`. Two scripted AgentLink seats completed five calls including the chairman.
|
|
84
|
+
The screenshot shows the finished board linked from the tool result.
|
|
85
|
+
|
|
86
|
+
To verify the connection, run `roundtable setup --client codex --check`. After updating,
|
|
87
|
+
rerun setup and use `roundtable server restart` when the board is idle. The
|
|
88
|
+
[assistant setup guide](docs/workflow.md#connect-an-assistant-for-every-project) also covers
|
|
89
|
+
Claude, Antigravity and installation from a checkout.
|
|
90
|
+
|
|
91
|
+
**Provider availability:** some vendors or models are unavailable in certain regions. Regional
|
|
92
|
+
network paths can also interrupt replies even when login succeeds. Check the
|
|
93
|
+
[availability and network guidance](docs/workflow.md#provider-availability-and-network-access)
|
|
94
|
+
before your first live review.
|
|
95
|
+
|
|
96
|
+
**Antigravity and your Google account:** Google's [Antigravity FAQ](https://antigravity.google/docs/faq)
|
|
97
|
+
says wrapping `agy` inside third-party applications is not supported under consumer plans,
|
|
98
|
+
and that third-party access can lead to suspension or termination of the account. Roundtable
|
|
99
|
+
runs `agy -p` in that way. It sends nothing to `agy`, not even a model-list or quota read,
|
|
100
|
+
until you acknowledge this once on an Antigravity card; an agent request must send
|
|
101
|
+
`options.acknowledgeTermsRisk: true` itself. Check your plan's terms, or use another provider.
|
|
102
|
+
|
|
103
|
+
## Controls and limits
|
|
104
|
+
|
|
105
|
+
| Control | Behavior |
|
|
106
|
+
| --- | --- |
|
|
107
|
+
| Answer questions | Add context before the discussion continues. Your notes, answers your assistant relayed for you, and the assistant's own notes are labelled separately. |
|
|
108
|
+
| Finish with verdict | End the discussion and request a recommendation from the completed replies. Available after a usable round. |
|
|
109
|
+
| Stop | Cancel the discussion and any active chairman call. Saved replies and reported usage remain. |
|
|
110
|
+
| Delete / Clear | Remove finished and interrupted history while protecting running sessions. Exports and local usage statistics are retained. |
|
|
111
|
+
|
|
112
|
+
Set round, time and provider budget limits before starting. Budget checks run before each
|
|
113
|
+
attempt, including retries. If a provider omits token usage while a token cap is set, further
|
|
114
|
+
calls to that provider are blocked. Calls already running can exceed estimates; these checks
|
|
115
|
+
are not guaranteed billing ceilings.
|
|
116
|
+
|
|
117
|
+
## Records and privacy
|
|
118
|
+
|
|
119
|
+
- Usage statistics stay on your machine. Roundtable sends no analytics to its developers.
|
|
120
|
+
- **Local storage:** history is saved outside the checkout in the OS user-data folder, with
|
|
121
|
+
separate live and demo directories. The board shows the active location under **Local data
|
|
122
|
+
and backups**. Stop the server before copying or moving that folder.
|
|
123
|
+
- **Recovery and export:** saved reviews can be reopened after a restart. Interrupted writes
|
|
124
|
+
retain a backup before recovery. Markdown exports include the recommendation, dissent,
|
|
125
|
+
human decision, notes and reported usage.
|
|
126
|
+
- **Provider access:** live reviews send relevant notes and replies to the selected providers.
|
|
127
|
+
Local storage and stateless requests do not control provider retention. CLI tool restrictions
|
|
128
|
+
depend on the installed CLI and are not an operating-system sandbox.
|
|
129
|
+
|
|
130
|
+
Records, exports and browser preferences may contain private context. See [SECURITY.md](SECURITY.md)
|
|
131
|
+
for credentials, billing, endpoint restrictions and the local HTTP boundary. If a request
|
|
132
|
+
fails, use **Save error log** and keep its reference ID; diagnostic logs stay local and omit
|
|
133
|
+
review text, credentials and personal paths.
|
|
134
|
+
|
|
135
|
+
## Automation and commands
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
node src/cli.js agent --help
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
The JSON client provides `status`, `check`, `start`, `wait` and `answer` commands, plus controls
|
|
142
|
+
to finish or stop a review. Questions remain paused until answered, explicitly skipped or
|
|
143
|
+
their answer window expires (two minutes by default). Silence continues with unknowns intact.
|
|
144
|
+
See the [agent workflow](docs/workflow.md#8-run-a-debate-without-the-browser)
|
|
145
|
+
for request examples and response fields.
|
|
146
|
+
|
|
147
|
+
| Command | Purpose |
|
|
148
|
+
| --- | --- |
|
|
149
|
+
| `npm run fake` | Open the scripted demo on port 4748. |
|
|
150
|
+
| `npm start` | Open the live board on port 4747. |
|
|
151
|
+
| `npm run doctor` | Check installed providers and available status without model calls. |
|
|
152
|
+
| `roundtable setup --client all` | Connect MCP tools and the skill across projects for Codex, Claude and AGY. |
|
|
153
|
+
| `roundtable server status` | Inspect the background board; `stop` and `restart` refuse active reviews. |
|
|
154
|
+
| `roundtable mcp` | Serve the agent workflow over MCP stdio. |
|
|
155
|
+
| `roundtable --version` | Print the installed version. `roundtable --help` lists every command. |
|
|
156
|
+
| `npm run export -- <debate> <folder>` | Export a decision record and update its index. |
|
|
157
|
+
| `npm test` | Run offline unit and integration tests, without vendor CLIs or model calls. |
|
|
158
|
+
|
|
159
|
+
Interactive `roundtable --help`, `roundtable` and `roundtable fake` show the app's pixel logo
|
|
160
|
+
tile in orchid, with the wordmark, a blinking cursor and the installed version beside it, then
|
|
161
|
+
the provider CLIs found on this machine in their seat colors. Narrow terminals and terminals
|
|
162
|
+
without UTF-8 use a short title; `NO_COLOR=1` disables color. Redirected output, CI, dumb
|
|
163
|
+
terminals, MCP and JSON commands omit the decoration.
|
|
164
|
+
|
|
165
|
+
## Documentation
|
|
166
|
+
|
|
167
|
+
- [User guide](docs/workflow.md): setup, providers, limits, backup, recovery and troubleshooting
|
|
168
|
+
- [Security](SECURITY.md): data handling and private vulnerability reporting
|
|
169
|
+
- [Contributing](CONTRIBUTING.md): development and review requirements
|
|
170
|
+
- [Changelog](CHANGELOG.md): changes by version
|
|
171
|
+
|
|
172
|
+
## Feedback and support
|
|
173
|
+
|
|
174
|
+
Ask questions, report bugs or suggest changes through [GitHub Issues](https://github.com/prplkane/roundtable/issues).
|
|
175
|
+
For a bug, include your OS, Node and provider CLI versions, steps to reproduce, and the error
|
|
176
|
+
reference if available. Exclude credentials and private review content. Support is best effort.
|
|
177
|
+
Report security issues through the [private reporting channel](https://github.com/prplkane/roundtable/security/advisories/new).
|
|
178
|
+
|
|
179
|
+
If Roundtable is useful to you, consider starring the repository.
|
|
180
|
+
Maintained by [prplkane](https://github.com/prplkane).
|
|
181
|
+
|
|
182
|
+
## License
|
|
183
|
+
|
|
184
|
+
[MIT](LICENSE).
|