@hearsay-tools/squawk 0.18.0-pr3580.6456 → 0.18.0-pr3583.6460

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 (110) hide show
  1. package/README.md +0 -1
  2. package/dist/ci-wait/tools.d.ts +4 -4
  3. package/dist/contract/health.d.ts +0 -2
  4. package/dist/contract/index.d.ts +0 -1
  5. package/dist/contract/index.js +457 -591
  6. package/dist/data-gitignore.js +0 -1
  7. package/dist/data-gitignore.js.map +1 -1
  8. package/dist/delegation/routes.d.ts +73 -73
  9. package/dist/delegation/transport.d.ts +66 -66
  10. package/dist/server/activity-routes.d.ts +23 -23
  11. package/dist/server/capabilities.d.ts +0 -1
  12. package/dist/server/capabilities.js +0 -3
  13. package/dist/server/capabilities.js.map +1 -1
  14. package/dist/server/forge/github-merge-state.d.ts +1 -1
  15. package/dist/server/forge/github-merge-state.js +9 -4
  16. package/dist/server/forge/github-merge-state.js.map +1 -1
  17. package/dist/server/server.d.ts +116 -311
  18. package/dist/server/server.js +1 -11
  19. package/dist/server/server.js.map +1 -1
  20. package/dist/workflows/continuation-admission.d.ts +72 -72
  21. package/dist/workflows/run/wait-engine.d.ts +72 -72
  22. package/package.json +4 -4
  23. package/web/dist/assets/activity-motion-CSe8gVgw.js +2 -0
  24. package/web/dist/assets/{activity-route-su3KawLr.js → activity-route-DURvhLQf.js} +1 -1
  25. package/web/dist/assets/agent-accounts-BrFoXDpa.js +18 -0
  26. package/web/dist/assets/attention-BeBfNOUJ.js +1 -0
  27. package/web/dist/assets/{cez-idle-xv7f96fc.js → cez-idle-TVRD1sce.js} +1 -1
  28. package/web/dist/assets/{commit-diff-panel-DmhrguZk.js → commit-diff-panel-BbM4GEgm.js} +1 -1
  29. package/web/dist/assets/{diff-DDwr1gUX.js → diff-DgAd6acp.js} +2 -2
  30. package/web/dist/assets/{diff-view-BNL7l7Vp.js → diff-view--NwKwseV.js} +3 -3
  31. package/web/dist/assets/{file-preview-Cm1jWwBy.js → file-preview-B36xoAJ8.js} +1 -1
  32. package/web/dist/assets/git-toolbar-Db0h7gTI.js +1 -0
  33. package/web/dist/assets/{github-wWGhoE3O.js → github-CA0qpTLt.js} +1 -1
  34. package/web/dist/assets/{global-activity-route-DpQr_eU9.js → global-activity-route-DRc_wjkF.js} +1 -1
  35. package/web/dist/assets/index-De7eAZ5M.js +17 -0
  36. package/web/dist/assets/index-Dps0ABGp.css +1 -0
  37. package/web/dist/assets/{live-protocol-DjH6ZQwI.js → live-protocol-aMLJJ0MQ.js} +1 -1
  38. package/web/dist/assets/preview-pane-connected-CU_lEf11.js +3 -0
  39. package/web/dist/assets/{project-router-uJ3SkX70.js → project-router-ir-bfT5a.js} +1 -1
  40. package/web/dist/assets/project-scope-context-BSdXJd3m.js +4 -0
  41. package/web/dist/assets/{prompt-template-menu-D5T9W-K3.js → prompt-template-menu-BJlLqUsI.js} +1 -1
  42. package/web/dist/assets/queries-BXo4WfX0.js +1 -0
  43. package/web/dist/assets/{reference-chip-AZWOlSRV.js → reference-chip-pp1FgLpK.js} +1 -1
  44. package/web/dist/assets/{repo-git-DJPSn50o.js → repo-git-BOfsABl4.js} +1 -1
  45. package/web/dist/assets/{report-reader-kzlovTso.js → report-reader-C_r69KvS.js} +1 -1
  46. package/web/dist/assets/reports-CWIvS-PA.js +1 -0
  47. package/web/dist/assets/run-header-CSEAFAfa.js +2 -0
  48. package/web/dist/assets/skills-jwrn7yXY.js +1 -0
  49. package/web/dist/assets/{tab-link-h4IjTsRH.js → tab-link-92W6MWDZ.js} +1 -1
  50. package/web/dist/assets/{task-changes-Db3dmYAT.js → task-changes-EalDx6wh.js} +1 -1
  51. package/web/dist/assets/{task-commits-D4HdW5xE.js → task-commits-ZWjrQSnF.js} +1 -1
  52. package/web/dist/assets/{task-files-sdaEBCfr.js → task-files-Cg-INsaD.js} +1 -1
  53. package/web/dist/assets/task-github-item-B8yO5uo1.js +1 -0
  54. package/web/dist/assets/task-thread-Bs6ZnRXz.js +9 -0
  55. package/web/dist/assets/{thread-state-hhRCETQT.js → thread-state-DBalnt7M.js} +1 -1
  56. package/web/dist/assets/use-desktop-BYMCVpyw.js +1 -0
  57. package/web/dist/assets/use-hand-to-agent-state-Bhmmem1E.js +1 -0
  58. package/web/dist/assets/{useInfiniteQuery-BcY0ra-k.js → useInfiniteQuery-C22IahAC.js} +1 -1
  59. package/web/dist/assets/useQuery-C0rYnV6X.js +1 -0
  60. package/web/dist/assets/{workflows-DRO8PcD-.js → workflows-BRhGKY_0.js} +2 -2
  61. package/web/dist/assets/ws-D9whCwIN.js +1 -0
  62. package/web/dist/index.html +15 -15
  63. package/web/dist/live-worker.js +1 -1
  64. package/dist/contract/voice.d.ts +0 -213
  65. package/dist/voice/decide.d.ts +0 -35
  66. package/dist/voice/decide.js +0 -329
  67. package/dist/voice/decide.js.map +0 -1
  68. package/dist/voice/decision-log.d.ts +0 -48
  69. package/dist/voice/decision-log.js +0 -117
  70. package/dist/voice/decision-log.js.map +0 -1
  71. package/dist/voice/engine.d.ts +0 -119
  72. package/dist/voice/engine.js +0 -61
  73. package/dist/voice/engine.js.map +0 -1
  74. package/dist/voice/fake-engine.d.ts +0 -10
  75. package/dist/voice/fake-engine.js +0 -192
  76. package/dist/voice/fake-engine.js.map +0 -1
  77. package/dist/voice/jev-engine.d.ts +0 -17
  78. package/dist/voice/jev-engine.js +0 -110
  79. package/dist/voice/jev-engine.js.map +0 -1
  80. package/dist/voice/pending-ask.d.ts +0 -17
  81. package/dist/voice/pending-ask.js +0 -51
  82. package/dist/voice/pending-ask.js.map +0 -1
  83. package/dist/voice/routes.d.ts +0 -115
  84. package/dist/voice/routes.js +0 -92
  85. package/dist/voice/routes.js.map +0 -1
  86. package/dist/voice/sentence.d.ts +0 -21
  87. package/dist/voice/sentence.js +0 -61
  88. package/dist/voice/sentence.js.map +0 -1
  89. package/dist/voice/thresholds.d.ts +0 -28
  90. package/dist/voice/thresholds.js +0 -29
  91. package/dist/voice/thresholds.js.map +0 -1
  92. package/scripts/voice-replay.ts +0 -50
  93. package/web/dist/assets/activity-motion-BeswQRe1.js +0 -2
  94. package/web/dist/assets/agent-accounts-DseqHuGY.js +0 -18
  95. package/web/dist/assets/attention-DlfFfWoj.js +0 -1
  96. package/web/dist/assets/git-toolbar-Dya9briW.js +0 -1
  97. package/web/dist/assets/index-DS1HIBHa.css +0 -1
  98. package/web/dist/assets/index-DYx21hr3.js +0 -17
  99. package/web/dist/assets/preview-pane-connected-DSStovll.js +0 -3
  100. package/web/dist/assets/project-scope-context-X6-LgbYE.js +0 -4
  101. package/web/dist/assets/queries-00V5jnAV.js +0 -1
  102. package/web/dist/assets/reports-Ds7nog_M.js +0 -1
  103. package/web/dist/assets/run-header-skVwUvR-.js +0 -2
  104. package/web/dist/assets/skills-BJPLRZL5.js +0 -1
  105. package/web/dist/assets/task-github-item-DyZdbhco.js +0 -1
  106. package/web/dist/assets/task-thread-QKAKHYiJ.js +0 -9
  107. package/web/dist/assets/use-desktop-C3yCutND.js +0 -1
  108. package/web/dist/assets/use-hand-to-agent-state-wGtVosbN.js +0 -1
  109. package/web/dist/assets/useQuery-C96hAjNV.js +0 -1
  110. package/web/dist/assets/ws-BD6s7UXb.js +0 -1
package/README.md CHANGED
@@ -1197,7 +1197,6 @@ Useful environment variables:
1197
1197
  | `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
1198
  | `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
1199
  | `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. |
1200
- | `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. |
1201
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. |
1202
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. |
1203
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). |
@@ -248,6 +248,10 @@ 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
+ } | {
251
255
  ok: true;
252
256
  task: {
253
257
  id: string;
@@ -259,10 +263,6 @@ export declare function invokeScheduleTaskTool(input: unknown): Promise<{
259
263
  url?: string | undefined;
260
264
  };
261
265
  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,7 +31,6 @@ 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;
35
34
  tokenMetrics: z.ZodBoolean;
36
35
  tokenUsageMetrics: z.ZodBoolean;
37
36
  costMetrics: z.ZodBoolean;
@@ -85,7 +84,6 @@ export declare const healthResponseSchema: z.ZodObject<{
85
84
  remoteSettingsAdmin: z.ZodBoolean;
86
85
  automations: z.ZodBoolean;
87
86
  preview: z.ZodBoolean;
88
- voice: z.ZodBoolean;
89
87
  tokenMetrics: z.ZodBoolean;
90
88
  tokenUsageMetrics: z.ZodBoolean;
91
89
  costMetrics: z.ZodBoolean;
@@ -29,7 +29,6 @@ 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';
33
32
  export * from './conversations.ts';
34
33
  export * from './ci-wait.ts';
35
34
  export * from './waits.ts';