@hearsay-tools/squawk 0.18.0-pr3583.6469 → 0.18.0-pr3586.6470

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 (144) hide show
  1. package/README.md +4 -4
  2. package/dist/ci-wait/controller.d.ts +37 -37
  3. package/dist/ci-wait/tools.d.ts +4 -4
  4. package/dist/contract/health.d.ts +2 -0
  5. package/dist/contract/index.d.ts +1 -0
  6. package/dist/contract/index.js +591 -461
  7. package/dist/contract/projects.d.ts +1 -9
  8. package/dist/contract/voice.d.ts +213 -0
  9. package/dist/data-gitignore.js +1 -1
  10. package/dist/data-gitignore.js.map +1 -1
  11. package/dist/delegation/routes.d.ts +11 -11
  12. package/dist/delegation/transport.d.ts +4 -4
  13. package/dist/server/capabilities.d.ts +1 -0
  14. package/dist/server/capabilities.js +3 -0
  15. package/dist/server/capabilities.js.map +1 -1
  16. package/dist/server/forge/github.d.ts +1 -2
  17. package/dist/server/forge/github.js +1 -2
  18. package/dist/server/forge/github.js.map +1 -1
  19. package/dist/server/forge/types.d.ts +1 -1
  20. package/dist/server/live-routes.d.ts +6 -6
  21. package/dist/server/project-context.d.ts +1 -3
  22. package/dist/server/project-context.js +1 -3
  23. package/dist/server/project-context.js.map +1 -1
  24. package/dist/server/reports-api.d.ts +2 -2
  25. package/dist/server/server-deps.d.ts +1 -1
  26. package/dist/server/server-deps.js +1 -3
  27. package/dist/server/server-deps.js.map +1 -1
  28. package/dist/server/server.d.ts +195 -22
  29. package/dist/server/server.js +17 -13
  30. package/dist/server/server.js.map +1 -1
  31. package/dist/server/workspace-live-routes.d.ts +6 -6
  32. package/dist/voice/decide.d.ts +35 -0
  33. package/dist/voice/decide.js +329 -0
  34. package/dist/voice/decide.js.map +1 -0
  35. package/dist/voice/decision-log.d.ts +48 -0
  36. package/dist/voice/decision-log.js +117 -0
  37. package/dist/voice/decision-log.js.map +1 -0
  38. package/dist/voice/engine.d.ts +119 -0
  39. package/dist/voice/engine.js +61 -0
  40. package/dist/voice/engine.js.map +1 -0
  41. package/dist/voice/fake-engine.d.ts +10 -0
  42. package/dist/voice/fake-engine.js +192 -0
  43. package/dist/voice/fake-engine.js.map +1 -0
  44. package/dist/voice/jev-engine.d.ts +17 -0
  45. package/dist/voice/jev-engine.js +110 -0
  46. package/dist/voice/jev-engine.js.map +1 -0
  47. package/dist/voice/pending-ask.d.ts +17 -0
  48. package/dist/voice/pending-ask.js +51 -0
  49. package/dist/voice/pending-ask.js.map +1 -0
  50. package/dist/voice/routes.d.ts +115 -0
  51. package/dist/voice/routes.js +92 -0
  52. package/dist/voice/routes.js.map +1 -0
  53. package/dist/voice/sentence.d.ts +21 -0
  54. package/dist/voice/sentence.js +61 -0
  55. package/dist/voice/sentence.js.map +1 -0
  56. package/dist/voice/thresholds.d.ts +28 -0
  57. package/dist/voice/thresholds.js +29 -0
  58. package/dist/voice/thresholds.js.map +1 -0
  59. package/dist/workflows/continuation-admission.d.ts +72 -72
  60. package/dist/workflows/run/wait-engine.d.ts +72 -72
  61. package/package.json +4 -4
  62. package/scripts/voice-replay.ts +50 -0
  63. package/web/dist/assets/activity-motion-CbA_TAx4.js +2 -0
  64. package/web/dist/assets/{activity-route-DURvhLQf.js → activity-route-Cq5GO6rp.js} +1 -1
  65. package/web/dist/assets/agent-accounts-Cof8AiVl.js +18 -0
  66. package/web/dist/assets/{alert-dialog-CPBKJTj_.js → alert-dialog-CH4SXGfX.js} +1 -1
  67. package/web/dist/assets/attention-BjWQsJVw.js +1 -0
  68. package/web/dist/assets/button-DGwhwRuD.js +3 -0
  69. package/web/dist/assets/{centered-state-8l6wvu0C.js → centered-state-B5QmAy2y.js} +1 -1
  70. package/web/dist/assets/{cez-idle-TVRD1sce.js → cez-idle-xv7f96fc.js} +1 -1
  71. package/web/dist/assets/{commit-diff-panel-BbM4GEgm.js → commit-diff-panel-BInf9r-P.js} +1 -1
  72. package/web/dist/assets/{dialog-CkU56ywj.js → dialog-B7p5oc5r.js} +1 -1
  73. package/web/dist/assets/diff-BvCB85J2.js +3 -0
  74. package/web/dist/assets/{diff-controls-DzcrZF8L.js → diff-controls-CeYlCm_y.js} +1 -1
  75. package/web/dist/assets/{diff-view--NwKwseV.js → diff-view-Cnlbd7ej.js} +4 -4
  76. package/web/dist/assets/{dist-D4TujV9O.js → dist-ClnpAEgV.js} +1 -1
  77. package/web/dist/assets/{dropdown-menu-BN2BI4R1.js → dropdown-menu-DPrTX-zi.js} +1 -1
  78. package/web/dist/assets/{es2015-DnySZnV4.js → es2015-DTn4s5Lh.js} +1 -1
  79. package/web/dist/assets/{file-preview-B36xoAJ8.js → file-preview-EiGdhbDV.js} +2 -2
  80. package/web/dist/assets/git-toolbar-D6W3lamH.js +1 -0
  81. package/web/dist/assets/{github-CA0qpTLt.js → github-DQe-Ussy.js} +1 -1
  82. package/web/dist/assets/{global-activity-route-DRc_wjkF.js → global-activity-route-_1mbn6gk.js} +1 -1
  83. package/web/dist/assets/{image-preview-DpaJAUA9.js → image-preview-cn57tA1m.js} +1 -1
  84. package/web/dist/assets/index-Cs-8u_FQ.js +17 -0
  85. package/web/dist/assets/index-WLruDkjz.css +1 -0
  86. package/web/dist/assets/{live-protocol-aMLJJ0MQ.js → live-protocol-DjH6ZQwI.js} +1 -1
  87. package/web/dist/assets/{nav-row-styles-DoZBu-jT.js → nav-row-styles-DSBuSnEE.js} +1 -1
  88. package/web/dist/assets/preview-pane-connected-DgZ5q0xy.js +3 -0
  89. package/web/dist/assets/project-router-iGGf0Wcy.js +1 -0
  90. package/web/dist/assets/project-scope-context-DK2mtfmt.js +4 -0
  91. package/web/dist/assets/{prompt-template-menu-BJlLqUsI.js → prompt-template-menu-D1AqFsnv.js} +1 -1
  92. package/web/dist/assets/queries-CMLTX79n.js +1 -0
  93. package/web/dist/assets/{reference-chip-pp1FgLpK.js → reference-chip-uYFiC2FE.js} +1 -1
  94. package/web/dist/assets/repo-git-B_xucWJR.js +1 -0
  95. package/web/dist/assets/{report-reader-C_r69KvS.js → report-reader-Csv7xOrn.js} +1 -1
  96. package/web/dist/assets/reports-BVp32fGs.js +1 -0
  97. package/web/dist/assets/run-header-C941_3eU.js +2 -0
  98. package/web/dist/assets/skills-PpSAbEYS.js +1 -0
  99. package/web/dist/assets/{tab-link-92W6MWDZ.js → tab-link-dVF0beIK.js} +1 -1
  100. package/web/dist/assets/task-changes-BaCA5Izd.js +1 -0
  101. package/web/dist/assets/task-commits-B4oZHsub.js +1 -0
  102. package/web/dist/assets/task-files-Bg_J255X.js +1 -0
  103. package/web/dist/assets/task-github-item-DyBh5-Q_.js +1 -0
  104. package/web/dist/assets/task-thread-D6wp7G61.js +9 -0
  105. package/web/dist/assets/{thread-state-DBalnt7M.js → thread-state-DA5kehiy.js} +1 -1
  106. package/web/dist/assets/{toaster-2NK3PogQ.js → toaster-CoMJoQvk.js} +1 -1
  107. package/web/dist/assets/use-desktop-BL6xT4Rz.js +1 -0
  108. package/web/dist/assets/use-hand-to-agent-state-CPhF3TRe.js +1 -0
  109. package/web/dist/assets/{useInfiniteQuery-C22IahAC.js → useInfiniteQuery-CYsKbsRE.js} +1 -1
  110. package/web/dist/assets/useQuery-DMywwX-_.js +1 -0
  111. package/web/dist/assets/workflows-CsCKM6GN.js +7 -0
  112. package/web/dist/assets/{ws-D9whCwIN.js → ws-DdguL17F.js} +1 -1
  113. package/web/dist/assets/{zoomable-image-D0zshpve.js → zoomable-image-C7mEDZaS.js} +1 -1
  114. package/web/dist/index.html +24 -25
  115. package/web/dist/live-worker.js +1 -1
  116. package/dist/server/launch-key.d.ts +0 -5
  117. package/dist/server/launch-key.js +0 -35
  118. package/dist/server/launch-key.js.map +0 -1
  119. package/web/dist/assets/activity-motion-CSe8gVgw.js +0 -2
  120. package/web/dist/assets/agent-accounts-BrFoXDpa.js +0 -18
  121. package/web/dist/assets/attention-BeBfNOUJ.js +0 -1
  122. package/web/dist/assets/button-Czdi8NqC.js +0 -3
  123. package/web/dist/assets/diff-DgAd6acp.js +0 -3
  124. package/web/dist/assets/git-toolbar-Db0h7gTI.js +0 -1
  125. package/web/dist/assets/index-De7eAZ5M.js +0 -17
  126. package/web/dist/assets/index-Dps0ABGp.css +0 -1
  127. package/web/dist/assets/input-Dilvz-YI.js +0 -1
  128. package/web/dist/assets/preview-pane-connected-CU_lEf11.js +0 -3
  129. package/web/dist/assets/project-router-ir-bfT5a.js +0 -1
  130. package/web/dist/assets/project-scope-context-BSdXJd3m.js +0 -4
  131. package/web/dist/assets/queries-BXo4WfX0.js +0 -1
  132. package/web/dist/assets/repo-git-BOfsABl4.js +0 -1
  133. package/web/dist/assets/reports-CWIvS-PA.js +0 -1
  134. package/web/dist/assets/run-header-CSEAFAfa.js +0 -2
  135. package/web/dist/assets/skills-jwrn7yXY.js +0 -1
  136. package/web/dist/assets/task-changes-EalDx6wh.js +0 -1
  137. package/web/dist/assets/task-commits-ZWjrQSnF.js +0 -1
  138. package/web/dist/assets/task-files-Cg-INsaD.js +0 -1
  139. package/web/dist/assets/task-github-item-B8yO5uo1.js +0 -1
  140. package/web/dist/assets/task-thread-Bs6ZnRXz.js +0 -9
  141. package/web/dist/assets/use-desktop-BYMCVpyw.js +0 -1
  142. package/web/dist/assets/use-hand-to-agent-state-Bhmmem1E.js +0 -1
  143. package/web/dist/assets/useQuery-C0rYnV6X.js +0 -1
  144. package/web/dist/assets/workflows-BRhGKY_0.js +0 -7
package/README.md CHANGED
@@ -404,8 +404,7 @@ Task and project views share one browser window and live updates over Server-Sen
404
404
 
405
405
  The cockpit is a React app served pre-built from the package — `npx -p @hearsay-tools/squawk hsq`
406
406
  still means no build step and no dev server on your machine — with a dark/light
407
- theme, a ⌘K command palette, and bookmarklets that launch a task straight from
408
- a GitHub page.
407
+ theme and a ⌘K command palette.
409
408
 
410
409
  GitHub issue and PR lists refresh every 60 seconds while mounted in a foreground browser tab.
411
410
  Automatic reads retain the server's 60-second cache: while online and visible, upstream edits
@@ -491,7 +490,7 @@ server stopped, and `HSQ_HOME` (`CEZ_HOME` fallback) selects which workspace the
491
490
 
492
491
  Settings split along the same line: **General** (the project's folder, its
493
492
  registry facts, its parallel-task ceiling, and Remove), **Agents**, **Agent config**,
494
- **Worktrees**, **Sidebar**, **Bookmarklets** and **Prompt templates** describe one
493
+ **Worktrees**, **Sidebar** and **Prompt templates** describe one
495
494
  repo and live under `/p/<projectId>/settings`; **Appearance**,
496
495
  **Notifications**, **Resources**, **Skills**, **Agent accounts** and **Projects**
497
496
  are yours or the machine's and live at `/settings/global`.
@@ -607,7 +606,7 @@ a queue or a routing rule. Removing one changes what you see and nothing else.
607
606
  **Old page URLs keep working.** Every unprefixed page path — `/`, `/tasks/<id>`,
608
607
  `/settings` — still answers, bound to the project Squawk was started in; the
609
608
  cockpit redirects flat paths to their `/p/<boot>/…` twin, so existing bookmarks
610
- and bookmarklets need no change. The HTTP API is the exception: it moved to
609
+ need no change. The HTTP API is the exception: it moved to
611
610
  `/api/v1/…` (see the CHANGELOG), so a script that calls it needs the extra
612
611
  segment.
613
612
 
@@ -1197,6 +1196,7 @@ Useful environment variables:
1197
1196
  | `HSQ_CLAUDE_SETTING_SOURCES`, `CEZ_CLAUDE_SETTING_SOURCES` | When set, Claude agent runs also pass `--setting-sources <value>` (e.g. `user,project,local`). Unset or empty omits the flag. Provider verification is never given this flag. |
1198
1197
  | `HSQ_ARCHIVE_ON_MERGE=1`, `CEZ_ARCHIVE_ON_MERGE=1` | Archive settled task families after all associated pull requests merge. Off by default; only `1` enables this environment default. Saved project settings override global Tasks settings, which override the environment. Runs in the background while the cockpit is open, including unopened projects, without starting agents. Unarchive preserves restored tasks until a later merge. |
1199
1198
  | `HSQ_AUTOMATIONS=0`, `CEZ_AUTOMATIONS=0` | Disable **automations** (GitHub polls and schedules). On by default; only the exact value `0` disables them. Unset, empty, `1` and other values keep them on. The Automations view and agent schedule tools are available by default. New automations start paused; each enabled automation launches an ordinary task per match or occurrence while Squawk is open. Schedules need no GitHub remote. With `0`, nothing polls or fires, automation endpoints answer `409`, and the nav item and schedule tools are hidden. Read at boot: restart after changing it. Existing enabled definitions resume after an upgrade unless you set `HSQ_AUTOMATIONS=0`, `CEZ_AUTOMATIONS=0` before restart. Definitions, receipts and high-watermarks are retained; unset the flag and restart to resume without migration. |
1199
+ | `HSQ_VOICE=1`, `CEZ_VOICE=1` | Turn on **voice mode** (experimental): the ⌘K palette understands a sentence such as “open the next finished task” or “answer yes”, and the server asks Jev (TypeSafe) to turn it into one action that the cockpit shows and runs. Needs `TYPESAFE_API_KEY` (read by the server only; `HSQ_DRY_RUN=1`, `CEZ_DRY_RUN=1` uses a fake engine instead). Off by default, and only the exact value `1` enables it — without it the voice endpoints answer `409` and the palette is unchanged. Read at boot, so restart after changing it. |
1200
1200
  | `HSQ_PREVIEW=1`, `CEZ_PREVIEW=1` | Turn on **live preview** (experimental): agents register a dev server with the `cezar_preview_serve` tool, and the cockpit opens it in a headless Chromium on the host, docked next to the task. Squawk first runs a registered command after you press Run and open. Agents can then use `cezar_preview_stop({ port, restart?: boolean })` to stop or restart their own Squawk-started server with that unchanged approval; changed command, cwd or path needs Run and open again. Adopted servers cannot be stopped by this tool. Each agent session also gets `HSQ_PREVIEW_CDP_URL`, `CEZ_PREVIEW_CDP_URL`, a cockpit address through which it drives the same browser (`agent-browser --cdp "$CEZ_PREVIEW_CDP_URL" --pin-tab …`) while you watch; Chromium itself opens no debug port. Off by default, and only the exact value `1` enables it — without it the tool is not listed, its route and the preview WebSocket refuse, and `capabilities.preview` is `false`. Read at boot, so restart after changing it. |
1201
1201
  | `HSQ_PREVIEW_NO_SANDBOX=1`, `CEZ_PREVIEW_NO_SANDBOX=1` | Launch the preview's Chromium with `--no-sandbox`. Off by default and never added automatically, not even for root or in a container; use it only where Chromium's sandbox cannot start, and only for pages you trust. Only the exact value `1` applies. Read at boot. |
1202
1202
  | `HSQ_AUTOSAVE=1`, `CEZ_AUTOSAVE=1` | Re-enable the periodic (90 s) autosave commit in task worktrees. Off by default (open-mercato/cezar#471) — turn-end and pre-PR flushes always run, so branches still end complete. Every autosave names its trigger in the commit subject (`cezar autosave (periodic)` vs `(turn end)` / `(run finalize)` / `(pre-PR)`), so the flushes you keep are distinguishable from the timer you disabled. The turn-end / run-finalize flushes and the timer commit only while HEAD is the task's own `cez/<id8>` branch; on a branch the agent checked out they leave the work uncommitted, and the closing flush says so in the handoff's Squawk records block, not its Progress log (hearsay-tools/cezarion#1004, hearsay-tools/cezarion#1809). A turn-end / run-finalize commit is reported there too, with its `git reset --soft` fold-back command, and the timer's commits share one line per run of consecutive periodic commits (count, first and latest sha), with no cockpit note. Draft-PR publish refuses while HEAD is not on the task branch and names both branches; its pre-PR flush commits only onto that branch (hearsay-tools/squawk#1110). |
@@ -280,12 +280,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
280
280
  "/api/v1/tools/ask": {
281
281
  $post: {
282
282
  output: {
283
- ok: false;
284
- code: 'unavailable';
283
+ code: 'capability_revoked';
285
284
  message: string;
286
285
  };
287
286
  outputFormat: "json";
288
- status: import("hono/utils/http-status").ContentfulStatusCode;
287
+ status: 401;
289
288
  input: {
290
289
  json: {
291
290
  questions: {
@@ -303,11 +302,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
303
302
  };
304
303
  } | {
305
304
  output: {
306
- code: 'capability_revoked';
305
+ ok: false;
306
+ code: 'unavailable';
307
307
  message: string;
308
308
  };
309
309
  outputFormat: "json";
310
- status: 401;
310
+ status: import("hono/utils/http-status").ContentfulStatusCode;
311
311
  input: {
312
312
  json: {
313
313
  questions: {
@@ -375,12 +375,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
375
375
  "/api/v1/tools/cancel-wait": {
376
376
  $post: {
377
377
  output: {
378
- cancelled: false;
379
- code: 'unavailable';
378
+ code: 'capability_revoked';
380
379
  message: string;
381
380
  };
382
381
  outputFormat: "json";
383
- status: import("hono/utils/http-status").ContentfulStatusCode;
382
+ status: 401;
384
383
  input: {
385
384
  json: {
386
385
  wait_id: string;
@@ -388,11 +387,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
388
387
  };
389
388
  } | {
390
389
  output: {
391
- code: 'capability_revoked';
390
+ cancelled: false;
391
+ code: 'unavailable';
392
392
  message: string;
393
393
  };
394
394
  outputFormat: "json";
395
- status: 401;
395
+ status: import("hono/utils/http-status").ContentfulStatusCode;
396
396
  input: {
397
397
  json: {
398
398
  wait_id: string;
@@ -440,12 +440,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
440
440
  "/api/v1/tools/done": {
441
441
  $post: {
442
442
  output: {
443
- ok: false;
444
- code: 'unavailable';
443
+ code: 'capability_revoked';
445
444
  message: string;
446
445
  };
447
446
  outputFormat: "json";
448
- status: import("hono/utils/http-status").ContentfulStatusCode;
447
+ status: 401;
449
448
  input: {
450
449
  json: {
451
450
  summary?: string | undefined;
@@ -453,11 +452,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
453
452
  };
454
453
  } | {
455
454
  output: {
456
- code: 'capability_revoked';
455
+ ok: false;
456
+ code: 'unavailable';
457
457
  message: string;
458
458
  };
459
459
  outputFormat: "json";
460
- status: 401;
460
+ status: import("hono/utils/http-status").ContentfulStatusCode;
461
461
  input: {
462
462
  json: {
463
463
  summary?: string | undefined;
@@ -525,13 +525,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
525
525
  "/api/v1/tools/preview-stop": {
526
526
  $post: {
527
527
  output: {
528
- ok: boolean;
529
- code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
528
+ code: 'capability_revoked';
530
529
  message: string;
531
- hint: string;
532
530
  };
533
531
  outputFormat: "json";
534
- status: import("hono/utils/http-status").ContentfulStatusCode;
532
+ status: 401;
535
533
  input: {
536
534
  json: {
537
535
  port: number;
@@ -540,11 +538,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
540
538
  };
541
539
  } | {
542
540
  output: {
543
- code: 'capability_revoked';
541
+ ok: boolean;
542
+ code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
544
543
  message: string;
544
+ hint: string;
545
545
  };
546
546
  outputFormat: "json";
547
- status: 401;
547
+ status: import("hono/utils/http-status").ContentfulStatusCode;
548
548
  input: {
549
549
  json: {
550
550
  port: number;
@@ -557,13 +557,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
557
557
  "/api/v1/tools/preview-serve": {
558
558
  $post: {
559
559
  output: {
560
- ok: boolean;
561
- code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
560
+ code: 'capability_revoked';
562
561
  message: string;
563
- hint: string;
564
562
  };
565
563
  outputFormat: "json";
566
- status: import("hono/utils/http-status").ContentfulStatusCode;
564
+ status: 401;
567
565
  input: {
568
566
  json: {
569
567
  command: string;
@@ -575,11 +573,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
575
573
  };
576
574
  } | {
577
575
  output: {
578
- code: 'capability_revoked';
576
+ ok: boolean;
577
+ code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
579
578
  message: string;
579
+ hint: string;
580
580
  };
581
581
  outputFormat: "json";
582
- status: 401;
582
+ status: import("hono/utils/http-status").ContentfulStatusCode;
583
583
  input: {
584
584
  json: {
585
585
  command: string;
@@ -595,12 +595,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
595
595
  "/api/v1/tools/schedule-task": {
596
596
  $post: {
597
597
  output: {
598
- ok: false;
599
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
598
+ code: 'capability_revoked';
600
599
  message: string;
601
600
  };
602
601
  outputFormat: "json";
603
- status: import("hono/utils/http-status").ContentfulStatusCode;
602
+ status: 401;
604
603
  input: {
605
604
  json: {
606
605
  at?: string | undefined;
@@ -617,11 +616,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
617
616
  };
618
617
  } | {
619
618
  output: {
620
- code: 'capability_revoked';
619
+ ok: false;
620
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
621
621
  message: string;
622
622
  };
623
623
  outputFormat: "json";
624
- status: 401;
624
+ status: import("hono/utils/http-status").ContentfulStatusCode;
625
625
  input: {
626
626
  json: {
627
627
  at?: string | undefined;
@@ -676,12 +676,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
676
676
  "/api/v1/tools/scheduled-tasks": {
677
677
  $post: {
678
678
  output: {
679
- ok: false;
680
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
679
+ code: 'capability_revoked';
681
680
  message: string;
682
681
  };
683
682
  outputFormat: "json";
684
- status: import("hono/utils/http-status").ContentfulStatusCode;
683
+ status: 401;
685
684
  input: {
686
685
  json: {
687
686
  at?: string | undefined;
@@ -714,11 +713,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
714
713
  };
715
714
  } | {
716
715
  output: {
717
- code: 'capability_revoked';
716
+ ok: false;
717
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
718
718
  message: string;
719
719
  };
720
720
  outputFormat: "json";
721
- status: 401;
721
+ status: import("hono/utils/http-status").ContentfulStatusCode;
722
722
  input: {
723
723
  json: {
724
724
  at?: string | undefined;
@@ -248,10 +248,6 @@ export declare function invokeScheduleTaskTool(input: unknown): Promise<{
248
248
  }[];
249
249
  isError: boolean;
250
250
  details: {
251
- ok: false;
252
- code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
253
- message: string;
254
- } | {
255
251
  ok: true;
256
252
  task: {
257
253
  id: string;
@@ -263,6 +259,10 @@ export declare function invokeScheduleTaskTool(input: unknown): Promise<{
263
259
  url?: string | undefined;
264
260
  };
265
261
  note: string;
262
+ } | {
263
+ ok: false;
264
+ code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
265
+ message: string;
266
266
  };
267
267
  }>;
268
268
  export declare function invokeScheduledTasksTool(input: unknown): Promise<{
@@ -31,6 +31,7 @@ export declare const capabilitiesSchema: z.ZodObject<{
31
31
  remoteSettingsAdmin: z.ZodBoolean;
32
32
  automations: z.ZodBoolean;
33
33
  preview: z.ZodBoolean;
34
+ voice: z.ZodBoolean;
34
35
  tokenMetrics: z.ZodBoolean;
35
36
  tokenUsageMetrics: z.ZodBoolean;
36
37
  costMetrics: z.ZodBoolean;
@@ -83,6 +84,7 @@ export declare const healthResponseSchema: z.ZodObject<{
83
84
  remoteSettingsAdmin: z.ZodBoolean;
84
85
  automations: z.ZodBoolean;
85
86
  preview: z.ZodBoolean;
87
+ voice: z.ZodBoolean;
86
88
  tokenMetrics: z.ZodBoolean;
87
89
  tokenUsageMetrics: z.ZodBoolean;
88
90
  costMetrics: z.ZodBoolean;
@@ -29,6 +29,7 @@ export * from './automation-schedule.ts';
29
29
  export * from './automations.ts';
30
30
  export * from './scheduled-tasks.ts';
31
31
  export * from './preview.ts';
32
+ export * from './voice.ts';
32
33
  export * from './conversations.ts';
33
34
  export * from './ci-wait.ts';
34
35
  export * from './waits.ts';