@prplkane/roundtable 0.7.0 → 0.8.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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 prplkane
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 prplkane
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,184 +1,187 @@
1
- # Roundtable
2
-
3
- [![npm version](https://img.shields.io/npm/v/@prplkane/roundtable)](https://www.npmjs.com/package/@prplkane/roundtable)
4
- [![tests](https://github.com/prplkane/roundtable/actions/workflows/test.yml/badge.svg)](https://github.com/prplkane/roundtable/actions/workflows/test.yml)
5
- [![Node.js](https://img.shields.io/node/v/@prplkane/roundtable)](package.json)
6
- [![license](https://img.shields.io/npm/l/@prplkane/roundtable)](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
- ![Browser demo with two questions awaiting answers and three seats split between shipping now and waiting a sprint](docs/images/board-questions.png)
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
- ![Board opened from the Codex review showing both AgentLink profiles, the recommendation to run a trial and the cost seat's dissent](docs/images/codex-agentlink-review.png)
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).
1
+ # Roundtable
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@prplkane/roundtable)](https://www.npmjs.com/package/@prplkane/roundtable)
4
+ [![tests](https://github.com/prplkane/roundtable/actions/workflows/test.yml/badge.svg)](https://github.com/prplkane/roundtable/actions/workflows/test.yml)
5
+ [![Node.js](https://img.shields.io/node/v/@prplkane/roundtable)](package.json)
6
+ [![license](https://img.shields.io/npm/l/@prplkane/roundtable)](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
+ ![Browser demo with two questions awaiting answers and three seats split between shipping now and waiting a sprint](docs/images/board-questions.png)
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@beta
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
+ Roundtable requests a non-saving session by default. AgentLink beta.4 and earlier leave
58
+ history to the provider. See the [provider chat history settings](docs/workflow.md#provider-chat-history)
59
+ for supported bridges and strict mode.
60
+
61
+ Install both tools. This example uses Codex and Claude seats. Sign in to those CLIs and
62
+ configure trusted review profiles with their tools disabled before sending them a decision.
63
+
64
+ ```sh
65
+ npm install -g @prplkane/roundtable @prplkane/agentlink@beta
66
+ agentlink add risk-review --provider codex
67
+ agentlink add cost-review --provider claude
68
+ agentlink check risk-review
69
+ agentlink check cost-review
70
+ roundtable setup --client codex
71
+ ```
72
+
73
+ Restart Codex or reload its MCP connections. In any project, try:
74
+
75
+ > Use Roundtable to decide whether to run a small rollout trial or wait one sprint.
76
+ > Use the AgentLink profiles `risk-review` for risk and `cost-review` for cost.
77
+ > Use `risk-review` as chairman. Run one critique round and bring me the seats' questions.
78
+
79
+ Codex checks the request and relays questions and the final recommendation. ACP seats use
80
+ fresh sessions and the selected profile's permissions and billing. Confirm that you accept
81
+ limited isolation for these profiles before starting. [AgentLink setup and limits](docs/workflow.md#7c-agentlink-acp-profiles).
82
+
83
+ ![Board opened from the Codex review showing both AgentLink profiles, the recommendation to run a trial and the cost seat's dissent](docs/images/codex-agentlink-review.png)
84
+
85
+ In this offline example, Codex called `roundtable_check`, `roundtable_start` and
86
+ `roundtable_wait`. Two scripted AgentLink seats completed five calls including the chairman.
87
+ The screenshot shows the finished board linked from the tool result.
88
+
89
+ To verify the connection, run `roundtable setup --client codex --check`. After updating,
90
+ rerun setup and use `roundtable server restart` when the board is idle. The
91
+ [assistant setup guide](docs/workflow.md#connect-an-assistant-for-every-project) also covers
92
+ Claude, Antigravity and installation from a checkout.
93
+
94
+ **Provider availability:** some vendors or models are unavailable in certain regions. Regional
95
+ network paths can also interrupt replies even when login succeeds. Check the
96
+ [availability and network guidance](docs/workflow.md#provider-availability-and-network-access)
97
+ before your first live review.
98
+
99
+ **Antigravity and your Google account:** Google's [Antigravity FAQ](https://antigravity.google/docs/faq)
100
+ says wrapping `agy` inside third-party applications is not supported under consumer plans,
101
+ and that third-party access can lead to suspension or termination of the account. Roundtable
102
+ runs `agy -p` in that way. It sends nothing to `agy`, not even a model-list or quota read,
103
+ until you acknowledge this once on an Antigravity card; an agent request must send
104
+ `options.acknowledgeTermsRisk: true` itself. Check your plan's terms, or use another provider.
105
+
106
+ ## Controls and limits
107
+
108
+ | Control | Behavior |
109
+ | --- | --- |
110
+ | 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. |
111
+ | Finish with verdict | End the discussion and request a recommendation from the completed replies. Available after a usable round. |
112
+ | Stop | Cancel the discussion and any active chairman call. Saved replies and reported usage remain. |
113
+ | Delete / Clear | Remove finished and interrupted history while protecting running sessions. Exports and local usage statistics are retained. |
114
+
115
+ Set round, time and provider budget limits before starting. Budget checks run before each
116
+ attempt, including retries. If a provider omits token usage while a token cap is set, further
117
+ calls to that provider are blocked. Calls already running can exceed estimates; these checks
118
+ are not guaranteed billing ceilings.
119
+
120
+ ## Records and privacy
121
+
122
+ - Usage statistics stay on your machine. Roundtable sends no analytics to its developers.
123
+ - **Local storage:** history is saved outside the checkout in the OS user-data folder, with
124
+ separate live and demo directories. The board shows the active location under **Local data
125
+ and backups**. Stop the server before copying or moving that folder.
126
+ - **Recovery and export:** saved reviews can be reopened after a restart. Interrupted writes
127
+ retain a backup before recovery. Markdown exports include the recommendation, dissent,
128
+ human decision, notes and reported usage.
129
+ - **Provider access:** live reviews send relevant notes and replies to the selected providers.
130
+ Local storage and stateless requests do not control provider retention. CLI tool restrictions
131
+ depend on the installed CLI and are not an operating-system sandbox.
132
+
133
+ Records, exports and browser preferences may contain private context. See [SECURITY.md](SECURITY.md)
134
+ for credentials, billing, endpoint restrictions and the local HTTP boundary. If a request
135
+ fails, use **Save error log** and keep its reference ID; diagnostic logs stay local and omit
136
+ review text, credentials and personal paths.
137
+
138
+ ## Automation and commands
139
+
140
+ ```bash
141
+ node src/cli.js agent --help
142
+ ```
143
+
144
+ The JSON client provides `status`, `check`, `start`, `wait` and `answer` commands, plus controls
145
+ to finish or stop a review. Questions remain paused until answered, explicitly skipped or
146
+ their answer window expires (two minutes by default). Silence continues with unknowns intact.
147
+ See the [agent workflow](docs/workflow.md#8-run-a-debate-without-the-browser)
148
+ for request examples and response fields.
149
+
150
+ | Command | Purpose |
151
+ | --- | --- |
152
+ | `npm run fake` | Open the scripted demo on port 4748. |
153
+ | `npm start` | Open the live board on port 4747. |
154
+ | `npm run doctor` | Check installed providers and available status without model calls. |
155
+ | `roundtable setup --client all` | Connect MCP tools and the skill across projects for Codex, Claude and AGY. |
156
+ | `roundtable server status` | Inspect the background board; `stop` and `restart` refuse active reviews. |
157
+ | `roundtable mcp` | Serve the agent workflow over MCP stdio. |
158
+ | `roundtable --version` | Print the installed version. `roundtable --help` lists every command. |
159
+ | `npm run export -- <debate> <folder>` | Export a decision record and update its index. |
160
+ | `npm test` | Run offline unit and integration tests, without vendor CLIs or model calls. |
161
+
162
+ Interactive `roundtable --help`, `roundtable` and `roundtable fake` show the app's pixel logo
163
+ tile in orchid, with the wordmark, a blinking cursor and the installed version beside it, then
164
+ the provider CLIs found on this machine in their seat colors. Narrow terminals and terminals
165
+ without UTF-8 use a short title; `NO_COLOR=1` disables color. Redirected output, CI, dumb
166
+ terminals, MCP and JSON commands omit the decoration.
167
+
168
+ ## Documentation
169
+
170
+ - [User guide](docs/workflow.md): setup, providers, limits, backup, recovery and troubleshooting
171
+ - [Security](SECURITY.md): data handling and private vulnerability reporting
172
+ - [Contributing](CONTRIBUTING.md): development and review requirements
173
+ - [Changelog](CHANGELOG.md): changes by version
174
+
175
+ ## Feedback and support
176
+
177
+ Ask questions, report bugs or suggest changes through [GitHub Issues](https://github.com/prplkane/roundtable/issues).
178
+ For a bug, include your OS, Node and provider CLI versions, steps to reproduce, and the error
179
+ reference if available. Exclude credentials and private review content. Support is best effort.
180
+ Report security issues through the [private reporting channel](https://github.com/prplkane/roundtable/security/advisories/new).
181
+
182
+ If Roundtable is useful to you, consider starring the repository.
183
+ Maintained by [prplkane](https://github.com/prplkane).
184
+
185
+ ## License
186
+
187
+ [MIT](LICENSE).