@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/CHANGELOG.md +626 -604
- package/LICENSE +21 -21
- package/README.md +187 -184
- package/SECURITY.md +324 -324
- package/docs/workflow.md +1488 -1475
- package/package.json +1 -1
- package/scripts/mcp.mjs +180 -179
- package/skills/roundtable/SKILL.md +65 -62
- package/src/adapters/acp.js +381 -318
- package/src/adapters/agy.js +7 -7
- package/src/adapters/claude.js +6 -6
- package/src/adapters/codex.js +6 -6
- package/src/adapters/common.js +48 -6
- package/src/adapters/config.js +5 -0
- package/src/adapters/endpoint.js +2 -1
- package/src/agent-client.js +133 -131
- package/src/engine.js +64 -23
- package/src/estimate.js +41 -6
- package/src/export.js +313 -307
- package/src/history.js +11 -3
- package/src/local-http.js +14 -4
- package/src/local-server.js +110 -110
- package/src/progress.js +18 -0
- package/src/prompts.js +33 -30
- package/src/research.js +46 -7
- package/src/seats.js +368 -368
- package/src/server.js +1032 -1010
- package/src/snapshot.js +4 -3
- package/src/source-check.js +173 -0
- package/src/store.js +2 -2
- package/src/ui/app.js +2156 -2142
- package/src/ui/design/app.css +1 -1
- package/src/ui/design/preset-dusk.css +91 -91
- package/src/ui/design/tokens.css +129 -129
- package/src/ui/help.js +2 -1
- package/src/ui/index.html +279 -276
- package/src/validate.js +5 -0
package/src/validate.js
CHANGED
|
@@ -69,6 +69,11 @@ export function validateDebateRequest(body, { adapters }) {
|
|
|
69
69
|
if (o.critiqueRounds != null) options_.critiqueRounds = int(o.critiqueRounds, 'critiqueRounds', LIMITS.critiqueRounds);
|
|
70
70
|
for (const k of ['autoContinueMs', 'questionWaitMs', 'wallClockMs', 'callTimeoutMs']) if (o[k] != null) options_[k] = int(o[k], k, LIMITS[k]);
|
|
71
71
|
if (o.memory != null) { if (!['stateless', 'resume'].includes(o.memory)) fail('memory', 'stateless or resume'); options_.memory = o.memory; }
|
|
72
|
+
if (o.providerHistory != null) {
|
|
73
|
+
if (!['prefer-ephemeral', 'require-ephemeral', 'provider-default'].includes(o.providerHistory)) fail('providerHistory', 'prefer-ephemeral, require-ephemeral or provider-default');
|
|
74
|
+
options_.providerHistory = o.providerHistory;
|
|
75
|
+
}
|
|
76
|
+
if (options_.providerHistory === 'require-ephemeral' && options_.memory === 'resume') fail('memory', 'non-saving sessions require stateless memory');
|
|
72
77
|
// an endpoint seat has no thread at the vendor to continue, so `resume` prompts would reach it
|
|
73
78
|
// with no context: refuse the table rather than run it on half-prompts
|
|
74
79
|
if (options_.memory === 'resume' && [...body.seats, body.chairman].some((s) => s && adapters[s.vendor]?.kind === 'api')) fail('memory', 'resume needs a session to continue, and an API endpoint seat has none; use stateless');
|