@prplkane/roundtable 0.6.6 → 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/CHANGELOG.md CHANGED
@@ -1,5 +1,66 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.0
4
+
5
+ - Add a per-review provider chat history setting for the searcher, seats and chairman.
6
+ Prefer a non-saving session, require one before sending any prompt, or use the provider
7
+ default. AgentLink handles per-vendor lifecycle commands. Usage details distinguish
8
+ never-saved sessions, archived chats, provider-managed history and unconfirmed cleanup.
9
+ - Agent commands that check or advance a review verify the running board version before
10
+ submitting review data. An older board could silently ignore the history setting.
11
+ - Resuming a strict review rechecks the panel and reuses saved research even if the
12
+ original searcher is no longer installed.
13
+ - Share the field notes, web evidence and a shorter reply format at the start of seat prompts.
14
+ The chairman sees a round reference for exact repeated arguments from the same seat.
15
+ - Apply one search-operation allowance across a stalled search and its retry. An exhausted
16
+ allowance or an unknown search count stops the retry. Each attempt retains its usage record.
17
+
18
+ ## 0.7.1
19
+
20
+ - Scope budget admission to the providers and profiles needed by the next action. An over-budget searcher can finish without blocking a separately funded panel.
21
+ - Show the Antigravity CLI total alongside cache-inclusive accounting. Preserve completed model-step usage as a lower bound when a call ends early.
22
+ - Keep research history separate from replies. Estimate research by model and search count, show the sample size and default Antigravity to two searches planned together.
23
+ - Check resolved public source pages and excerpts before discussion. Optional HTTPS source scopes restrict the evidence to specified hosts and paths. Saved reviews reuse their original evidence.
24
+
25
+ ## 0.7.0
26
+
27
+ - Read model and reasoning-level display names and saved defaults from AgentLink beta.3.
28
+ Profile discovery can list replacements for a retired central selection. Review sessions
29
+ inherit profile settings and verify explicit overrides before sending a prompt.
30
+
31
+ - Default Codex, Claude and Antigravity seats and chairmen to saved AgentLink profiles
32
+ in the browser, CLI and MCP. Leave model and effort empty to follow the profile,
33
+ or refresh its advertised choices. Direct CLI seats remain available explicitly.
34
+
35
+ - Read AgentLink model choices and per-model reasoning levels from the selected profile
36
+ in the board or CLI. Direct Codex reads its installed catalogue, with GPT-6.2 Sol and
37
+ Astra in the fallback. Direct Claude offers explicit Fable 5.2 and Haiku 5.5 IDs.
38
+ - Group Antigravity Neon XHigh with the other Neon levels and reject unavailable
39
+ variant IDs during preview and review setup.
40
+
41
+ - Distinguish estimated review usage from provider quota on the setup board. Group
42
+ sign-in warnings for roles sharing an account and offer a status refresh beside
43
+ the warning. Inconclusive CLI status output leaves sign-in unconfirmed.
44
+
45
+ - Resolve Windows CLI paths regardless of the environment key's casing, including
46
+ `Path` after ACP environment filtering. Duplicate keys follow Node's ordering;
47
+ POSIX lookup remains case-sensitive.
48
+
49
+ ## 0.6.7
50
+
51
+ - Take an ACP seat's effort from the agent: the reasoning level the agent advertises in its
52
+ session configuration (ACP category `thought_level`) is selected the way a model is, and an
53
+ unadvertised level fails before the prompt. The JSON API accepts any identifier as an ACP
54
+ effort; the agent decides.
55
+ - Budget one AgentLink profile on its own with `acp@PROFILE`, next to the bare `acp` cap that
56
+ still covers every ACP seat.
57
+ - Refuse an option the board commands do not know instead of starting the board: a mistyped
58
+ flag such as `--prot 5000`, or `--version` before it existed, used to open the live server on
59
+ the default port. `--port` now needs a number from 1 to 65535.
60
+ - Add `roundtable --version` (also `-v` and `version`).
61
+ - Show the board in the README, with the one-command demo (`npx @prplkane/roundtable fake`)
62
+ first in the quick start.
63
+
3
64
  ## 0.6.6
4
65
 
5
66
  - Keep MCP wait deadlines and caller cancellation connected on Node 22 when
package/README.md CHANGED
@@ -1,104 +1,100 @@
1
1
  # Roundtable
2
2
 
3
- Roundtable runs structured decision reviews with multiple AI models. Provide a question,
4
- options and constraints; the models take independent positions, critique the alternatives
5
- and produce a recommendation. You can answer questions, add context and record your own
6
- decision alongside the result.
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
7
 
8
- Use it to compare technical approaches, review a product decision or examine a plan from
9
- different perspectives. The browser interface runs locally, and a JSON command-line client
10
- supports the same workflow for agents and scripts.
8
+ Run decision reviews with multiple AI agents and export the outcome as Markdown.
11
9
 
12
- Usage statistics describe your own agents' calls in Roundtable and stay on your machine.
13
- Roundtable has no telemetry or analytics service and sends no usage data to its developers.
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.
14
13
 
15
- You can also choose **AgentLink (ACP)** for seats and the chairman, then enter a saved
16
- AgentLink profile name. Roundtable speaks standard ACP to the centrally installed
17
- launcher; AgentLink owns bridge installation and updates. This path uses stateless
18
- memory and has the selected profile's permissions and billing. See
19
- [AgentLink setup and limits](docs/workflow.md#7c-agentlink-acp-profiles-optional).
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.
20
16
 
21
- **Requirements:** Node.js 22 or newer. No runtime dependencies. Live reviews use installed
22
- Claude, Codex or Antigravity CLIs, or an OpenAI-compatible endpoint for a local or hosted model.
17
+ ## Review in the browser
23
18
 
24
- **Provider availability:** some vendors or models are unavailable in certain regions. Regional
25
- network paths can also interrupt replies even when login succeeds. Check the
26
- [availability and network guidance](docs/workflow.md#provider-availability-and-network-access)
27
- before your first live review.
19
+ Try a review with scripted seats and no provider account:
28
20
 
29
- **Status:** early preview for developers. Feedback from real workflows is welcome. What does not
30
- work well yet is listed under [Known issues](docs/workflow.md#known-issues).
31
-
32
- ## How a review works
21
+ ```sh
22
+ npx @prplkane/roundtable fake
23
+ ```
33
24
 
34
- 1. **Define the decision.** Add the alternatives, known facts and constraints. Choose two to
35
- eight participants, called seats, and give each a perspective such as risk, cost or evidence.
36
- Seats can use different models or share the same provider.
37
- 2. **Gather sources first (optional).** Add a searcher: one extra call, on the provider you
38
- pick. Its query starts from your question and options; review it or write a custom query.
39
- Every seat and the chairman then read the same cited sources. Other context and discussion
40
- answers stay out of research. The searcher never argues or votes.
41
- 3. **Collect independent positions.** Each seat answers before seeing the others' responses.
42
- The board then pauses for your input.
43
- 4. **Discuss the differences.** A critique round lets seats review the previous replies and
44
- revise their positions. Questions appear together so you can answer them in one place.
45
- 5. **Review the recommendation.** A designated chairman summarizes the discussion and its
46
- disagreements. Accept the recommendation or record a different decision, then export the
47
- record as Markdown.
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.
48
28
 
49
- ## Quick start
29
+ ![Browser demo with two questions awaiting answers and three seats split between shipping now and waiting a sprint](docs/images/board-questions.png)
50
30
 
51
- ### Connect your assistant once
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.
52
33
 
53
- Install Roundtable globally, then connect your assistant:
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
+ ```
54
41
 
55
- ```bash
56
- npm install -g @prplkane/roundtable
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
57
70
  roundtable setup --client codex
58
71
  ```
59
72
 
60
- Use `--client claude`, `--client agy`, or `--client all` for the other supported assistants.
61
- Restart the assistant or reload its MCP connections. In any project, ask **"Use Roundtable
62
- to review this decision."** The installed MCP tools start the local board as needed, return
63
- questions to the coordinating assistant, and wait for the chairman's recommendation.
64
- You do not need to open this repository or start a browser for each review.
65
-
66
- Setup installs a user-level workflow skill and MCP connection. `roundtable setup --client codex
67
- --check` checks it; `--remove` removes its unchanged entries. After updating Roundtable, rerun
68
- setup to refresh the skill, and use `roundtable server restart` once active reviews finish.
69
- No checkout is needed. To install a local checkout instead, run `npm pack` there and
70
- `npm install -g` with the printed `.tgz` filename; `npm install -g .` can create a link
71
- back to the checkout that breaks when it moves.
72
- See [assistant setup](docs/workflow.md#connect-an-assistant-for-every-project)
73
- for paths, demo mode and troubleshooting, or the [Linux walkthrough](docs/workflow.md#first-connection-on-linux).
74
- For a source snapshot before its npm release, use
75
- `npm install -g https://github.com/prplkane/roundtable/archive/refs/heads/main.tar.gz`.
73
+ Restart Codex or reload its MCP connections. In any project, try:
76
74
 
77
- Interactive `roundtable --help`, `roundtable` and `roundtable fake` show the app's pixel logo
78
- tile in orchid, with the wordmark, a blinking cursor and the installed version beside it, then
79
- the provider CLIs found on this machine in their seat colors. Narrow terminals and terminals
80
- without UTF-8 use a short title; `NO_COLOR=1` disables color. Redirected output, CI, dumb
81
- terminals, MCP and JSON commands omit the decoration.
82
-
83
- ### Try the demo
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.
84
78
 
85
- The demo uses scripted replies. It needs no provider account and makes no model calls.
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).
86
82
 
87
- ```bash
88
- git clone https://github.com/prplkane/roundtable.git
89
- cd roundtable
90
- npm run fake
91
- ```
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)
92
84
 
93
- The board opens at [localhost:4748](http://localhost:4748/). If no browser window appears,
94
- open that address yourself. The header identifies the session as **Demo**. Press Ctrl+C in
95
- the terminal to stop the server.
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.
96
88
 
97
- ### Run a live review
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.
98
93
 
99
- Install and sign in to a supported CLI, or configure an OpenAI-compatible endpoint using
100
- the [provider setup guide](docs/workflow.md). CLI seats use your existing logins; hosted API
101
- endpoints have separate billing.
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.
102
98
 
103
99
  **Antigravity and your Google account:** Google's [Antigravity FAQ](https://antigravity.google/docs/faq)
104
100
  says wrapping `agy` inside third-party applications is not supported under consumer plans,
@@ -107,18 +103,6 @@ runs `agy -p` in that way. It sends nothing to `agy`, not even a model-list or q
107
103
  until you acknowledge this once on an Antigravity card; an agent request must send
108
104
  `options.acknowledgeTermsRisk: true` itself. Check your plan's terms, or use another provider.
109
105
 
110
- ```bash
111
- npm run doctor
112
- npm start
113
- ```
114
-
115
- Open [localhost:4747](http://localhost:4747/). The header identifies the session as **Live**.
116
- Start with two seats and one critique round; see the [first test-drive checklist](docs/workflow.md#a-first-live-test-drive)
117
- for a complete walkthrough. `npm run doctor` checks setup without making model calls.
118
-
119
- After updating, stop the running server with Ctrl+C, run `npm start` again and refresh the
120
- page. Refreshing the browser alone does not load an updated server or model list.
121
-
122
106
  ## Controls and limits
123
107
 
124
108
  | Control | Behavior |
@@ -135,6 +119,7 @@ are not guaranteed billing ceilings.
135
119
 
136
120
  ## Records and privacy
137
121
 
122
+ - Usage statistics stay on your machine. Roundtable sends no analytics to its developers.
138
123
  - **Local storage:** history is saved outside the checkout in the OS user-data folder, with
139
124
  separate live and demo directories. The board shows the active location under **Local data
140
125
  and backups**. Stop the server before copying or moving that folder.
@@ -170,9 +155,16 @@ for request examples and response fields.
170
155
  | `roundtable setup --client all` | Connect MCP tools and the skill across projects for Codex, Claude and AGY. |
171
156
  | `roundtable server status` | Inspect the background board; `stop` and `restart` refuse active reviews. |
172
157
  | `roundtable mcp` | Serve the agent workflow over MCP stdio. |
158
+ | `roundtable --version` | Print the installed version. `roundtable --help` lists every command. |
173
159
  | `npm run export -- <debate> <folder>` | Export a decision record and update its index. |
174
160
  | `npm test` | Run offline unit and integration tests, without vendor CLIs or model calls. |
175
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
+
176
168
  ## Documentation
177
169
 
178
170
  - [User guide](docs/workflow.md): setup, providers, limits, backup, recovery and troubleshooting
package/SECURITY.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # Security
2
2
 
3
- Roundtable runs a loopback server on your machine. Live debates use the vendor CLIs,
4
- AgentLink ACP profiles or API endpoints you explicitly configure; demo mode uses
5
- scripted replies.
3
+ Roundtable runs a loopback server on your machine. Codex, Claude and Antigravity seats use the selected AgentLink profiles by default.
4
+ The authenticated profile list returns saved names, provider identifiers and model/effort defaults. Listing profiles
5
+ does not launch a bridge. Direct CLI connections and API endpoints can be selected explicitly.
6
+ Demo mode uses scripted replies.
6
7
 
7
8
  ## Data and execution
8
9
 
@@ -18,9 +19,18 @@ scripted replies.
18
19
  profile with those tools disabled and explicitly accept limited isolation. This
19
20
  does not acknowledge a vendor's terms or guarantee its sandbox. Inherited API keys
20
21
  are filtered as for direct CLIs, but AgentLink profile settings can add them back.
22
+ Loading models uses AgentLink's read-only `models` command. Its inspector opens a
23
+ temporary session in an empty directory, refuses client operations and sends no prompt.
24
+ Roundtable checks explicit review pins using its own ACP v1 session before the review.
21
25
  ACP output, including stderr, is bounded to 8 MiB per call. Roundtable sends
22
- `session/cancel` on interruption and closes the connection, with process-tree
23
- termination after a bounded grace period. Already-orphaned Windows descendants
26
+ `session/cancel` on interruption. Cleanup uses only the ID returned by `session/new` on
27
+ that connection. Roundtable negotiates session history with AgentLink and sends a standard
28
+ `session/close` for its own session where available. With `require-ephemeral` it checks
29
+ every selected provider before dispatch and requires confirmation on each ACP session before
30
+ sending review text. With the default preference, providers can archive the chat or retain
31
+ it under their own policy. Cleanup has a deadline and
32
+ its outcome is recorded separately from the model reply. The process tree is terminated
33
+ after a bounded grace period. Already-orphaned Windows descendants
24
34
  are not guaranteed to be contained. Tokens are unknown unless valid optional
25
35
  end-turn counters are reported; existing seat/vendor budget rules still apply.
26
36
 
@@ -243,7 +253,7 @@ scripted replies.
243
253
  remain. Codex turns on live `web_search`; Claude gets `WebSearch` as its only tool, approved
244
254
  for that call; Antigravity, whose search cannot be switched off or on, keeps its deny rules,
245
255
  and any reported tool other than `search_web` stops the call. API endpoints cannot search. Only the
246
- displayed search query goes into that call. The board initially fills it from the decision
256
+ displayed search query and optional source URL scopes go into that call. The board initially fills it from the decision
247
257
  question and options; Custom query lets the person edit it. Other field notes and discussion
248
258
  answers are excluded. Search terms and visited pages are handled by the provider, so review
249
259
  the query for private details. The local wall clock,
@@ -251,19 +261,13 @@ scripted replies.
251
261
  contain multiple queries/page visits, and an excess operation may already have started when
252
262
  its event arrives. This is not a provider-enforced search or billing ceiling. Research
253
263
  spending joins the review's vendor budget and is shown separately from discussion seats.
254
- Up to eight source URLs, dates and excerpts are saved as provider-supplied, unverified data;
255
- all returned records are validated before repeated normalized URLs are combined into one
256
- citation. The first title/date are retained and distinct excerpts are appended only when
257
- their complete combined text fits the 1,200-character limit. The raw eight-record limit
258
- still applies; malformed duplicates cannot bypass validation. No repair call is made.
264
+ Live research checks up to eight provider citations and, if needed, explicit document URLs supplied by the user. The local server opens public HTTPS pages with no credentials, cookies, or referrer. Each connection uses a checked public DNS address. Redirect destinations must also pass address and scope checks. Reads have byte, redirect and time limits. Only matching page text and the resolved title and URL reach the panel. These checks do not establish the truth of a claim. An empty result ends the review. Existing records retain their original provenance.
259
265
  Every seat and the chairman receives that same bundle. Source text cannot authorize tools
260
- or human decisions. Failed or interrupted research stops before discussion and is never
261
- automatically rerun, with one exception: a Codex searcher call that makes no progress for 40
262
- seconds is stopped and started once more within the same time limit, and both attempts are
263
- recorded. That retry is a fresh call with its own search-operation limit, so one research
264
- step can run up to twice the configured count. Completed evidence is reused without
265
- fetching it again. Ordinary
266
- discussion and verdict calls always retain the no-tools policy.
266
+ or human decisions. Failed or interrupted research stops before discussion. A stalled
267
+ Codex search can retry once with the remaining time and reported search allowance.
268
+ Roundtable skips that retry if the count is unknown or the allowance is exhausted.
269
+ The ledger records each attempt separately. Completed evidence is reused without
270
+ fetching it again. Ordinary discussion and verdict calls retain the no-tools policy.
267
271
 
268
272
  ## The local HTTP boundary
269
273
 
@@ -287,7 +291,9 @@ the page, keeps fetches and the event stream same-origin, forbids framing, and d
287
291
  sniffing, so a reply that slipped past the board's escaping could not read the launch token.
288
292
 
289
293
  Preflight `GET` reads cached status only, including when `fresh` is present in the query. Missing
290
- snapshots say not checked; expired snapshots are labelled stale. CLI status and quota refreshes
294
+ snapshots say not checked; expired snapshots are labelled stale. Unrecognized login-status
295
+ output leaves sign-in unconfirmed. A confirmed sign-out skips the account quota read.
296
+ Review estimates use local usage history or defaults and remain available offline. CLI status and quota refreshes
291
297
  require authenticated `POST`. Concurrent refreshes share work per pool, with at most two pool
292
298
  checks running and twelve running or queued in total. Requests beyond that limit receive a busy
293
299
  status. Results are cached for one minute; forced refreshes have a five-second cooldown per pool.