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.
Files changed (129) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/accent-colors.js +3 -1
  3. package/dist/agent-fence.js +0 -2
  4. package/dist/agents-board.js +0 -3
  5. package/dist/approval-authority.js +2 -1
  6. package/dist/assignment.js +56 -2
  7. package/dist/backup-ui.js +6 -3
  8. package/dist/backup.js +6 -0
  9. package/dist/bounded-spawn.js +0 -1
  10. package/dist/browser/manifest.json +57 -0
  11. package/dist/browser/terminal.2a682d0b91a35288271c73b7ee253e524cca0917d17fbaf6733e80b7a767a37c.js.br +0 -0
  12. package/dist/browser/terminal.2a682d0b91a35288271c73b7ee253e524cca0917d17fbaf6733e80b7a767a37c.js.gz +0 -0
  13. package/dist/browser/{terminal.css → terminal.4d1cf20c32ad7c2099df657358d540d5fd92bb55195a88121e74b28467238b42.css} +1 -1
  14. package/dist/browser/terminal.4d1cf20c32ad7c2099df657358d540d5fd92bb55195a88121e74b28467238b42.css.br +0 -0
  15. package/dist/browser/terminal.4d1cf20c32ad7c2099df657358d540d5fd92bb55195a88121e74b28467238b42.css.gz +0 -0
  16. package/dist/browser/{workspace.js → workspace.9bd1db81d3c897045a5d82d4804e374e41e78b1b2cfd05d37b982a4ea0d02626.js} +25 -25
  17. package/dist/browser/workspace.9bd1db81d3c897045a5d82d4804e374e41e78b1b2cfd05d37b982a4ea0d02626.js.br +0 -0
  18. package/dist/browser/workspace.9bd1db81d3c897045a5d82d4804e374e41e78b1b2cfd05d37b982a4ea0d02626.js.gz +0 -0
  19. package/dist/browser/{workspace.css → workspace.a0752f935cfeaf16758d1085fe8f3e1719a7cd525b91a9c9943c789d65879a54.css} +1 -1
  20. package/dist/browser/workspace.a0752f935cfeaf16758d1085fe8f3e1719a7cd525b91a9c9943c789d65879a54.css.br +0 -0
  21. package/dist/browser/workspace.a0752f935cfeaf16758d1085fe8f3e1719a7cd525b91a9c9943c789d65879a54.css.gz +0 -0
  22. package/dist/browser-shell.js +271 -25
  23. package/dist/canvas-freshness.js +122 -0
  24. package/dist/canvas-fs.js +273 -0
  25. package/dist/canvas-reads.js +747 -0
  26. package/dist/canvas-state-key.js +45 -0
  27. package/dist/canvas-state-worker.js +12 -0
  28. package/dist/central-recovery-stage.js +3 -3
  29. package/dist/chat-actions.js +26 -0
  30. package/dist/chat-channel.js +4 -3
  31. package/dist/chat-task-actions.js +1 -1
  32. package/dist/chat-warmth.js +0 -1
  33. package/dist/check-report.js +0 -6
  34. package/dist/commit-extract.js +79 -40
  35. package/dist/companion/access.js +162 -0
  36. package/dist/companion/actions.js +622 -0
  37. package/dist/companion/bonjour.js +45 -0
  38. package/dist/companion/canvas.js +141 -0
  39. package/dist/companion/chat-origin.js +92 -0
  40. package/dist/companion/chat.js +571 -0
  41. package/dist/companion/daemon.js +1387 -0
  42. package/dist/companion/direct-server.js +177 -0
  43. package/dist/companion/finish.js +51 -0
  44. package/dist/companion/framing.js +498 -0
  45. package/dist/companion/noise.js +461 -0
  46. package/dist/companion/passkey-gate.js +287 -0
  47. package/dist/companion/paths.js +90 -0
  48. package/dist/companion/reads.js +283 -0
  49. package/dist/companion/relay-auth.js +265 -0
  50. package/dist/companion/relay-server.js +870 -0
  51. package/dist/companion/schema.js +289 -0
  52. package/dist/companion/service.js +581 -0
  53. package/dist/companion/store.js +325 -0
  54. package/dist/companion/webauthn.js +407 -0
  55. package/dist/console-instance.js +0 -4
  56. package/dist/contracts/console-api.js +18 -0
  57. package/dist/converse.js +0 -1
  58. package/dist/coordinator.js +1 -1
  59. package/dist/design/kit.css +30 -0
  60. package/dist/desktop-config.js +156 -0
  61. package/dist/desktop-host.js +6 -152
  62. package/dist/desktop-update.js +1 -1
  63. package/dist/finished-task-sql.js +14 -0
  64. package/dist/flexible-answers.js +0 -1
  65. package/dist/github-read.js +41 -0
  66. package/dist/guides.js +4 -3
  67. package/dist/lead-doors.js +50 -3
  68. package/dist/lead-queue-runtime.js +11 -2
  69. package/dist/lead-queue.js +25 -0
  70. package/dist/live-backup-change.js +93 -0
  71. package/dist/live-backup.js +75 -31
  72. package/dist/live-bus.js +3 -2
  73. package/dist/live-records.js +0 -1
  74. package/dist/local-landing.js +47 -0
  75. package/dist/local-owner.js +0 -1
  76. package/dist/model-choices.js +0 -11
  77. package/dist/nightly-check.js +0 -3
  78. package/dist/nightly-github.js +1 -2
  79. package/dist/notification-retention.js +119 -0
  80. package/dist/observations.js +0 -1
  81. package/dist/operate.js +17 -4
  82. package/dist/person-proof.js +5 -1
  83. package/dist/pull-request-flow.js +116 -2
  84. package/dist/qr.js +360 -0
  85. package/dist/release-adapters.js +14 -43
  86. package/dist/release-auto.js +17 -13
  87. package/dist/release-card.js +0 -4
  88. package/dist/release-cli.js +37 -2
  89. package/dist/release.js +13 -2
  90. package/dist/restore-retirement.js +6 -1
  91. package/dist/result-review.js +0 -3
  92. package/dist/retention-ui.js +1 -1
  93. package/dist/retention.js +14 -21
  94. package/dist/review-context.js +0 -5
  95. package/dist/route-rules.js +1 -5
  96. package/dist/sandbox-runtime.js +0 -1
  97. package/dist/scope.js +68 -17
  98. package/dist/scout.js +0 -6
  99. package/dist/serve.js +60 -9
  100. package/dist/server/kit.js +1 -0
  101. package/dist/server/live.js +9 -2
  102. package/dist/server/pages.js +12 -4
  103. package/dist/server/phone-engine-api.js +79 -0
  104. package/dist/server/render-pages.js +1 -11
  105. package/dist/server/render-results.js +0 -1
  106. package/dist/server/render-tasks.js +0 -68
  107. package/dist/server/route-table.js +12 -1
  108. package/dist/server/settings-phone.js +515 -0
  109. package/dist/server/settings-scripts.js +2 -0
  110. package/dist/server/settings-section-table.js +0 -3
  111. package/dist/server/settings-sections.js +10 -4
  112. package/dist/server/settings.js +20 -5
  113. package/dist/server/terminals.js +2 -1
  114. package/dist/settings-groups-ui.js +2 -1
  115. package/dist/settings-proofs.js +6 -0
  116. package/dist/store.js +52 -4
  117. package/dist/structured-output.js +0 -1
  118. package/dist/style-asset.js +20 -7
  119. package/dist/tailnet.js +39 -0
  120. package/dist/task-control.js +5 -0
  121. package/dist/task-sizing.js +0 -1
  122. package/dist/toolroll-update-cli.js +19 -3
  123. package/dist/toolroll-update-ui.js +2 -2
  124. package/dist/toolroll-update.js +98 -16
  125. package/dist/youiyoux-intake.js +8 -0
  126. package/package.json +7 -2
  127. package/dist/contracts/contract-test.js +0 -55
  128. package/dist/unfenced-test-support.js +0 -6
  129. /package/dist/browser/{terminal.js → terminal.2a682d0b91a35288271c73b7ee253e524cca0917d17fbaf6733e80b7a767a37c.js} +0 -0
@@ -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.128",
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
- }
@@ -1,6 +0,0 @@
1
- import { linuxFenceAvailable, macosFenceAvailable } from "./agent-fence.js";
2
- export function allowWhereUnfenced(store) {
3
- if (!macosFenceAvailable() && !linuxFenceAvailable())
4
- store.setUnfencedAgentsAllowed(true, "test", new Date(0));
5
- return store;
6
- }