toolroll 0.9.128 → 0.9.130
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 +41 -0
- package/dist/accent-colors.js +3 -1
- package/dist/agent-fence.js +0 -2
- package/dist/agents-board.js +0 -3
- package/dist/approval-authority.js +2 -1
- package/dist/assignment.js +56 -2
- package/dist/backup-ui.js +6 -3
- package/dist/backup.js +6 -0
- package/dist/bounded-spawn.js +0 -1
- package/dist/browser/manifest.json +57 -0
- package/dist/browser/terminal.2a682d0b91a35288271c73b7ee253e524cca0917d17fbaf6733e80b7a767a37c.js.br +0 -0
- package/dist/browser/terminal.2a682d0b91a35288271c73b7ee253e524cca0917d17fbaf6733e80b7a767a37c.js.gz +0 -0
- package/dist/browser/{terminal.css → terminal.4d1cf20c32ad7c2099df657358d540d5fd92bb55195a88121e74b28467238b42.css} +1 -1
- package/dist/browser/terminal.4d1cf20c32ad7c2099df657358d540d5fd92bb55195a88121e74b28467238b42.css.br +0 -0
- package/dist/browser/terminal.4d1cf20c32ad7c2099df657358d540d5fd92bb55195a88121e74b28467238b42.css.gz +0 -0
- package/dist/browser/{workspace.js → workspace.9bd1db81d3c897045a5d82d4804e374e41e78b1b2cfd05d37b982a4ea0d02626.js} +25 -25
- package/dist/browser/workspace.9bd1db81d3c897045a5d82d4804e374e41e78b1b2cfd05d37b982a4ea0d02626.js.br +0 -0
- package/dist/browser/workspace.9bd1db81d3c897045a5d82d4804e374e41e78b1b2cfd05d37b982a4ea0d02626.js.gz +0 -0
- package/dist/browser/{workspace.css → workspace.a0752f935cfeaf16758d1085fe8f3e1719a7cd525b91a9c9943c789d65879a54.css} +1 -1
- package/dist/browser/workspace.a0752f935cfeaf16758d1085fe8f3e1719a7cd525b91a9c9943c789d65879a54.css.br +0 -0
- package/dist/browser/workspace.a0752f935cfeaf16758d1085fe8f3e1719a7cd525b91a9c9943c789d65879a54.css.gz +0 -0
- package/dist/browser-shell.js +271 -25
- package/dist/canvas-freshness.js +122 -0
- package/dist/canvas-fs.js +273 -0
- package/dist/canvas-reads.js +747 -0
- package/dist/canvas-state-key.js +45 -0
- package/dist/canvas-state-worker.js +12 -0
- package/dist/central-recovery-stage.js +3 -3
- package/dist/chat-actions.js +26 -0
- package/dist/chat-channel.js +4 -3
- package/dist/chat-task-actions.js +1 -1
- package/dist/chat-warmth.js +0 -1
- package/dist/check-report.js +0 -6
- package/dist/commit-extract.js +79 -40
- package/dist/companion/access.js +162 -0
- package/dist/companion/actions.js +622 -0
- package/dist/companion/bonjour.js +45 -0
- package/dist/companion/canvas.js +141 -0
- package/dist/companion/chat-origin.js +92 -0
- package/dist/companion/chat.js +571 -0
- package/dist/companion/daemon.js +1387 -0
- package/dist/companion/direct-server.js +177 -0
- package/dist/companion/finish.js +51 -0
- package/dist/companion/framing.js +498 -0
- package/dist/companion/noise.js +461 -0
- package/dist/companion/passkey-gate.js +287 -0
- package/dist/companion/paths.js +90 -0
- package/dist/companion/reads.js +283 -0
- package/dist/companion/relay-auth.js +265 -0
- package/dist/companion/relay-server.js +870 -0
- package/dist/companion/schema.js +289 -0
- package/dist/companion/service.js +581 -0
- package/dist/companion/store.js +325 -0
- package/dist/companion/webauthn.js +407 -0
- package/dist/console-instance.js +0 -4
- package/dist/contracts/console-api.js +18 -0
- package/dist/converse.js +0 -1
- package/dist/coordinator.js +1 -1
- package/dist/design/kit.css +30 -0
- package/dist/desktop-config.js +156 -0
- package/dist/desktop-host.js +6 -152
- package/dist/desktop-update.js +1 -1
- package/dist/finished-task-sql.js +14 -0
- package/dist/flexible-answers.js +0 -1
- package/dist/github-read.js +41 -0
- package/dist/guides.js +4 -3
- package/dist/lead-doors.js +50 -3
- package/dist/lead-queue-runtime.js +11 -2
- package/dist/lead-queue.js +25 -0
- package/dist/live-backup-change.js +93 -0
- package/dist/live-backup.js +75 -31
- package/dist/live-bus.js +3 -2
- package/dist/live-records.js +0 -1
- package/dist/local-landing.js +47 -0
- package/dist/local-owner.js +0 -1
- package/dist/model-choices.js +0 -11
- package/dist/nightly-check.js +0 -3
- package/dist/nightly-github.js +1 -2
- package/dist/notification-retention.js +119 -0
- package/dist/observations.js +0 -1
- package/dist/operate.js +17 -4
- package/dist/person-proof.js +5 -1
- package/dist/pull-request-flow.js +116 -2
- package/dist/qr.js +360 -0
- package/dist/release-adapters.js +14 -43
- package/dist/release-auto.js +17 -13
- package/dist/release-card.js +0 -4
- package/dist/release-cli.js +37 -2
- package/dist/release.js +13 -2
- package/dist/restore-retirement.js +6 -1
- package/dist/result-review.js +0 -3
- package/dist/retention-ui.js +1 -1
- package/dist/retention.js +14 -21
- package/dist/review-context.js +0 -5
- package/dist/route-rules.js +1 -5
- package/dist/sandbox-runtime.js +0 -1
- package/dist/scope.js +68 -17
- package/dist/scout.js +0 -6
- package/dist/serve.js +60 -9
- package/dist/server/kit.js +1 -0
- package/dist/server/live.js +9 -2
- package/dist/server/pages.js +12 -4
- package/dist/server/phone-engine-api.js +79 -0
- package/dist/server/render-pages.js +1 -11
- package/dist/server/render-results.js +0 -1
- package/dist/server/render-tasks.js +0 -68
- package/dist/server/route-table.js +12 -1
- package/dist/server/settings-phone.js +515 -0
- package/dist/server/settings-scripts.js +2 -0
- package/dist/server/settings-section-table.js +0 -3
- package/dist/server/settings-sections.js +10 -4
- package/dist/server/settings.js +20 -5
- package/dist/server/terminals.js +2 -1
- package/dist/settings-groups-ui.js +2 -1
- package/dist/settings-proofs.js +6 -0
- package/dist/store.js +52 -4
- package/dist/structured-output.js +0 -1
- package/dist/style-asset.js +20 -7
- package/dist/tailnet.js +39 -0
- package/dist/task-control.js +5 -0
- package/dist/task-sizing.js +0 -1
- package/dist/toolroll-update-cli.js +19 -3
- package/dist/toolroll-update-ui.js +2 -2
- package/dist/toolroll-update.js +98 -16
- package/dist/youiyoux-intake.js +8 -0
- package/package.json +7 -2
- package/dist/contracts/contract-test.js +0 -55
- package/dist/unfenced-test-support.js +0 -6
- /package/dist/browser/{terminal.js → terminal.2a682d0b91a35288271c73b7ee253e524cca0917d17fbaf6733e80b7a767a37c.js} +0 -0
package/dist/youiyoux-intake.js
CHANGED
|
@@ -159,6 +159,8 @@ function readRequests(dir, taken) {
|
|
|
159
159
|
}
|
|
160
160
|
if (parsed.value.kind === "comment" || parsed.value.status !== "open")
|
|
161
161
|
continue;
|
|
162
|
+
if (canvasDraft(raw))
|
|
163
|
+
continue;
|
|
162
164
|
const options = optionsProblem(parsed.value);
|
|
163
165
|
if (options !== null) {
|
|
164
166
|
out.invalid.push(`${name}: ${options}`);
|
|
@@ -170,6 +172,12 @@ function readRequests(dir, taken) {
|
|
|
170
172
|
}
|
|
171
173
|
return out;
|
|
172
174
|
}
|
|
175
|
+
function canvasDraft(raw) {
|
|
176
|
+
if (typeof raw !== "object" || raw === null)
|
|
177
|
+
return false;
|
|
178
|
+
const canvas = raw.canvas;
|
|
179
|
+
return typeof canvas === "object" && canvas !== null && canvas.isDraft === true;
|
|
180
|
+
}
|
|
173
181
|
function line(text, max) {
|
|
174
182
|
const clean = text.replace(/[\p{Cc}\p{Cf}\u2028\u2029]+/gu, " ").replace(/\s+/g, " ").trim();
|
|
175
183
|
return clean.length > max ? `${clean.slice(0, max - 1).trimEnd()}…` : clean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "toolroll",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.130",
|
|
4
4
|
"description": "Your agents build. You decide. A control plane for coding agents — Claude Code, Codex, Gemini: approve the exact scope once, get results back Ready with the diff, the passing check and screenshots. Runs on your machine.",
|
|
5
5
|
"directories": {
|
|
6
6
|
"doc": "docs"
|
|
@@ -35,7 +35,12 @@
|
|
|
35
35
|
"e2e:app": "npm run build && node scripts/app-e2e.mjs",
|
|
36
36
|
"e2e:app:parallel": "npm run build && node scripts/e2e-parallel.mjs scripts/app-e2e.mjs",
|
|
37
37
|
"e2e": "npm run build && node scripts/flows-e2e.mjs && node scripts/app-e2e.mjs",
|
|
38
|
-
"e2e:click-paths": "npm run build && node scripts/click-paths-journey.mjs"
|
|
38
|
+
"e2e:click-paths": "npm run build && node scripts/click-paths-journey.mjs",
|
|
39
|
+
"relay:install": "npm ci --prefix relay/cloudflare --no-audit --no-fund",
|
|
40
|
+
"relay:typecheck": "tsc -p relay/cloudflare/tsconfig.json && tsc -p relay/reference/tsconfig.json",
|
|
41
|
+
"relay:test": "vitest run --config relay/vitest.config.ts",
|
|
42
|
+
"relay:smoke": "tsx relay/cloudflare/scripts/smoke.ts",
|
|
43
|
+
"relay:deploy": "node relay/cloudflare/scripts/deploy.mjs"
|
|
39
44
|
},
|
|
40
45
|
"repository": {
|
|
41
46
|
"type": "git",
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { toModelSchema } from "./contract.js";
|
|
3
|
-
export function jsonSchemaKeywords(schema, pointer = "") {
|
|
4
|
-
if (Array.isArray(schema))
|
|
5
|
-
return schema.flatMap((item, index) => jsonSchemaKeywords(item, `${pointer}/${index}`)).sort();
|
|
6
|
-
if (schema === null || typeof schema !== "object")
|
|
7
|
-
return [];
|
|
8
|
-
const out = [];
|
|
9
|
-
for (const [key, value] of Object.entries(schema)) {
|
|
10
|
-
if (value !== null && typeof value === "object") {
|
|
11
|
-
if (Array.isArray(value) && value.every(item => item === null || typeof item !== "object"))
|
|
12
|
-
out.push(`${pointer} ${key}=${JSON.stringify(value)}`);
|
|
13
|
-
else
|
|
14
|
-
out.push(...jsonSchemaKeywords(value, `${pointer}/${key}`));
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
out.push(`${pointer} ${key}=${JSON.stringify(value)}`);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return out.sort();
|
|
21
|
-
}
|
|
22
|
-
export function roundTripLoss(schema) {
|
|
23
|
-
const before = toModelSchema(schema);
|
|
24
|
-
const after = toModelSchema(z.fromJSONSchema(before));
|
|
25
|
-
const kept = new Set(jsonSchemaKeywords(after));
|
|
26
|
-
return jsonSchemaKeywords(before).filter(keyword => !kept.has(keyword)).map(keyword => `lost in the round trip: ${keyword}`);
|
|
27
|
-
}
|
|
28
|
-
export function replaySamples(spec) {
|
|
29
|
-
const failures = [];
|
|
30
|
-
for (const sample of spec.valid) {
|
|
31
|
-
const verdict = spec.read(sample.input);
|
|
32
|
-
if (!verdict.ok)
|
|
33
|
-
failures.push(`${sample.name}: refused — ${verdict.lines.join("; ")}`);
|
|
34
|
-
}
|
|
35
|
-
for (const sample of spec.invalid) {
|
|
36
|
-
const verdict = spec.read(sample.input);
|
|
37
|
-
if (verdict.ok) {
|
|
38
|
-
failures.push(`${sample.name}: accepted, expected a refusal naming ${sample.paths.join(", ")}`);
|
|
39
|
-
continue;
|
|
40
|
-
}
|
|
41
|
-
for (const path of sample.paths) {
|
|
42
|
-
if (!verdict.lines.some(line => line.startsWith(`${path}:`)))
|
|
43
|
-
failures.push(`${sample.name}: no line names ${path} — ${verdict.lines.join("; ")}`);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return failures;
|
|
47
|
-
}
|
|
48
|
-
export function contractFailures(spec) {
|
|
49
|
-
return [...(spec.schema === undefined ? [] : roundTripLoss(spec.schema)), ...replaySamples(spec)];
|
|
50
|
-
}
|
|
51
|
-
export function assertContract(spec) {
|
|
52
|
-
const failures = contractFailures(spec);
|
|
53
|
-
if (failures.length > 0)
|
|
54
|
-
throw new Error(`the contract does not hold:\n${failures.map(one => `- ${one}`).join("\n")}`);
|
|
55
|
-
}
|
|
File without changes
|