@hearsay-tools/squawk 0.18.0-pr4372.8550 → 0.18.0-pr4393.8574

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 (195) hide show
  1. package/dist/ci-wait/errors.js +2 -1
  2. package/dist/ci-wait/errors.js.map +1 -1
  3. package/dist/ci-wait/pr-wait-kind.d.ts +1 -0
  4. package/dist/ci-wait/pr-wait-kind.js +5 -4
  5. package/dist/ci-wait/pr-wait-kind.js.map +1 -1
  6. package/dist/ci-wait/supervisor.js +51 -15
  7. package/dist/ci-wait/supervisor.js.map +1 -1
  8. package/dist/ci-wait/tool-catalog.js +1 -1
  9. package/dist/ci-wait/tool-catalog.js.map +1 -1
  10. package/dist/contract/ci-wait.d.ts +17 -0
  11. package/dist/contract/index.js +31 -2
  12. package/dist/contract/runs.d.ts +36 -0
  13. package/dist/contract/session-context.d.ts +54 -8
  14. package/dist/contract/wait-tools.d.ts +8 -0
  15. package/dist/contract/waits.d.ts +12 -0
  16. package/dist/data-gitignore.js +1 -0
  17. package/dist/data-gitignore.js.map +1 -1
  18. package/dist/delegation/routes.d.ts +65 -65
  19. package/dist/delegation/transport.d.ts +65 -65
  20. package/dist/runners/claude/config-files.js +1 -1
  21. package/dist/runners/claude/config-files.js.map +1 -1
  22. package/dist/runners/pi/display.d.ts +1 -1
  23. package/dist/runners/pi/display.js +1 -1
  24. package/dist/runs/run-archive.d.ts +3 -0
  25. package/dist/runs/run-decode.d.ts +15 -0
  26. package/dist/runs/run-exits.d.ts +14 -0
  27. package/dist/server/activity-routes.d.ts +23 -23
  28. package/dist/server/models-routes.d.ts +12 -12
  29. package/dist/server/projects-routes.d.ts +45 -45
  30. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  31. package/dist/server/providers-routes.d.ts +57 -57
  32. package/dist/server/repo-routes.d.ts +34 -34
  33. package/dist/server/reports-api.d.ts +2 -2
  34. package/dist/server/runners-routes.d.ts +10 -10
  35. package/dist/server/runs-routes.d.ts +331 -304
  36. package/dist/server/server.d.ts +1548 -1454
  37. package/dist/server/session-context-routes.d.ts +35 -15
  38. package/dist/server/session-context-routes.js +6 -6
  39. package/dist/server/session-context-routes.js.map +1 -1
  40. package/dist/server/workspace-routes.d.ts +84 -84
  41. package/dist/session-context-file.d.ts +3 -3
  42. package/dist/session-context-file.js +45 -16
  43. package/dist/session-context-file.js.map +1 -1
  44. package/dist/session-context.d.ts +18 -9
  45. package/dist/session-context.js +118 -47
  46. package/dist/session-context.js.map +1 -1
  47. package/dist/workflows/continuation-admission.d.ts +3 -0
  48. package/dist/workflows/input-acknowledgement.d.ts +1 -0
  49. package/dist/workflows/run/wait-engine.d.ts +3 -0
  50. package/dist/workflows/run/wait-input-descriptors.js +1 -0
  51. package/dist/workflows/run/wait-input-descriptors.js.map +1 -1
  52. package/dist/workflows/run/wait-kinds.d.ts +2 -0
  53. package/dist/workflows/waits.js +2 -2
  54. package/dist/workflows/waits.js.map +1 -1
  55. package/package.json +4 -4
  56. package/web/dist/assets/accounts-section-COizLyTO.js +1 -0
  57. package/web/dist/assets/{activity-motion-0wHCeUs7.css → activity-motion-DcKVM8fM.css} +1 -1
  58. package/web/dist/assets/activity-motion-DfI5xoMG.js +2 -0
  59. package/web/dist/assets/activity-route-BQs2vBeo.js +1 -0
  60. package/web/dist/assets/agent-config-section-BwBo-HRw.js +7 -0
  61. package/web/dist/assets/agent-defaults-section-h-Gjb_gh.js +1 -0
  62. package/web/dist/assets/appearance-Bcl2amXv.js +1 -0
  63. package/web/dist/assets/archive-on-merge-field-Bm8miJjt.js +1 -0
  64. package/web/dist/assets/attention-8bNiiAFt.js +1 -0
  65. package/web/dist/assets/automations-route-CutF-cGn.css +1 -0
  66. package/web/dist/assets/automations-route-rSezHxBp.js +2 -0
  67. package/web/dist/assets/{badge-D9JrXe0o.js → badge-DQ3U69Ht.js} +1 -1
  68. package/web/dist/assets/{button-BQ2y4XRB.js → button-B7MKxYjT.js} +1 -1
  69. package/web/dist/assets/change-counts-CW7O8g5Y.js +1 -0
  70. package/web/dist/assets/check-OP-CVgZG.js +1 -0
  71. package/web/dist/assets/circle-x-7nTlobAF.js +1 -0
  72. package/web/dist/assets/{command-CDt1BsZy.js → command-KdW7aO0N.js} +1 -1
  73. package/web/dist/assets/commit-list-DtEqtn9o.js +1 -0
  74. package/web/dist/assets/{dialog-BVF6dIeS.js → dialog-B531GGAo.js} +1 -1
  75. package/web/dist/assets/diff-BK789dS0.js +3 -0
  76. package/web/dist/assets/diff-controls-BFqQNxRu.js +1 -0
  77. package/web/dist/assets/diff-view-BEgQ7jZV.js +11 -0
  78. package/web/dist/assets/dist-Czz3Y5qH.js +1 -0
  79. package/web/dist/assets/file-preview-CDWTFZ4P.js +2 -0
  80. package/web/dist/assets/{folder-browser-Bn83Rjyn.js → folder-browser-BfclRPcX.js} +1 -1
  81. package/web/dist/assets/format-BU7D3IfE.js +1 -0
  82. package/web/dist/assets/git-toolbar-Pugtjt-9.js +1 -0
  83. package/web/dist/assets/github-CvpaGHe6.js +1 -0
  84. package/web/dist/assets/global-activity-route-Di_ICsRI.js +1 -0
  85. package/web/dist/assets/hourglass-CikYdGGQ.js +1 -0
  86. package/web/dist/assets/image-preview-Dx2w5oIn.js +1 -0
  87. package/web/dist/assets/index-CGjknHnV.css +1 -0
  88. package/web/dist/assets/index-CJFT0IZP.js +21 -0
  89. package/web/dist/assets/{label-tOtTf55G.js → label-DEH7fJN4.js} +1 -1
  90. package/web/dist/assets/{live-reads-CR3-q01w.js → live-reads-BJ9eDISf.js} +1 -1
  91. package/web/dist/assets/live-refetch-VoLPvzhe.js +1 -0
  92. package/web/dist/assets/loader-circle-CPBhhDbB.js +1 -0
  93. package/web/dist/assets/{markdown-C6YMilQS.js → markdown-Dv0r75AX.js} +1 -1
  94. package/web/dist/assets/{notifications-section-Ceh7_qob.js → notifications-section-DCiqPl3M.js} +1 -1
  95. package/web/dist/assets/open-in-menu-HM5l7Bwk.js +1 -0
  96. package/web/dist/assets/{preview-pane-connected-Ca9btxCQ.js → preview-pane-connected-WV9oolnn.js} +3 -3
  97. package/web/dist/assets/{project-location-C9WLgY3A.js → project-location-CfJLc6aJ.js} +1 -1
  98. package/web/dist/assets/{project-router-DucFIl_x.js → project-router-Bii3ofOk.js} +1 -1
  99. package/web/dist/assets/{project-scope-context-C912rTJP.js → project-scope-context-BdqKyBHa.js} +3 -3
  100. package/web/dist/assets/projects-section-D2cACaaG.js +1 -0
  101. package/web/dist/assets/prompt-templates-section-toLPd5u2.js +1 -0
  102. package/web/dist/assets/queries-C7VNk-nW.js +1 -0
  103. package/web/dist/assets/{reference-chip-zRuFkaGy.js → reference-chip-rylFalfg.js} +1 -1
  104. package/web/dist/assets/{remote-settings-notice-mnASAu6Z.js → remote-settings-notice-N9vtBTIK.js} +1 -1
  105. package/web/dist/assets/repo-git-DJym0aRY.js +1 -0
  106. package/web/dist/assets/{report-reader-CAi5A1hx.js → report-reader-CjskGtxS.js} +1 -1
  107. package/web/dist/assets/reports-B-G9HA48.js +1 -0
  108. package/web/dist/assets/reports-CNFNb36Z.css +1 -0
  109. package/web/dist/assets/resources-section-B88h1y0Q.js +1 -0
  110. package/web/dist/assets/run-header-B-olCSdg.js +2 -0
  111. package/web/dist/assets/{run-header-CC7VUTg9.css → run-header-Ccnr9k0X.css} +1 -1
  112. package/web/dist/assets/save-cue-Cd3ZAPBS.js +1 -0
  113. package/web/dist/assets/select-BaydzE-I.js +1 -0
  114. package/web/dist/assets/session-context-section-BJKRXbss.js +119 -0
  115. package/web/dist/assets/settings-agent-picker-6xZMIC_D.js +1 -0
  116. package/web/dist/assets/settings-field-DP9sYv5a.js +1 -0
  117. package/web/dist/assets/settings-select-CCIMGnyA.js +1 -0
  118. package/web/dist/assets/settings-shell-BkTgs1S9.js +1 -0
  119. package/web/dist/assets/settings-shell-iSd4xMWS.css +1 -0
  120. package/web/dist/assets/{sidebar-section-D9xKMCxo.js → sidebar-section-B57HIEgv.js} +1 -1
  121. package/web/dist/assets/skills-pBrfwrKF.js +1 -0
  122. package/web/dist/assets/{status-dot-DtAOFiIi.js → status-dot-BRzVlF2X.js} +1 -1
  123. package/web/dist/assets/switch-SP8pw5uU.js +1 -0
  124. package/web/dist/assets/{tab-link-Bh6CcIR7.js → tab-link-B1CULYRs.js} +1 -1
  125. package/web/dist/assets/task-changes-CXldTh93.js +1 -0
  126. package/web/dist/assets/task-commits-BZ3B_GPB.js +1 -0
  127. package/web/dist/assets/task-files-BSfmCkJc.js +1 -0
  128. package/web/dist/assets/{task-github-item-trHnGX_B.js → task-github-item-v2bygvdO.js} +1 -1
  129. package/web/dist/assets/{task-groups-ClNnAPRA.js → task-groups-BbnYlkYj.js} +1 -1
  130. package/web/dist/assets/task-thread-BPWnJ7Qx.js +9 -0
  131. package/web/dist/assets/task-thread-DzADOhZd.css +1 -0
  132. package/web/dist/assets/{tasks-table-CE_VVk0w.js → tasks-table-Cx7AM7lZ.js} +1 -1
  133. package/web/dist/assets/thread-state-R0MTvwlo.js +4 -0
  134. package/web/dist/assets/use-hand-to-agent-state-B6h6kcQg.css +1 -0
  135. package/web/dist/assets/use-hand-to-agent-state-BckHuhr8.js +1 -0
  136. package/web/dist/assets/{useInfiniteQuery-CPEWc6dl.js → useInfiniteQuery--iQKfpUQ.js} +1 -1
  137. package/web/dist/assets/useQuery-BSyhc3l3.js +1 -0
  138. package/web/dist/assets/workflows-BBc2PFDB.js +7 -0
  139. package/web/dist/assets/workflows-C6suai0L.css +1 -0
  140. package/web/dist/assets/workspace-tools-CiTG-ArW.js +1 -0
  141. package/web/dist/assets/worktrees-section-C07tNayi.js +4 -0
  142. package/web/dist/index.html +26 -24
  143. package/web/dist/assets/accounts-section-C4cUskp7.js +0 -1
  144. package/web/dist/assets/activity-motion-DIX3bcyB.js +0 -2
  145. package/web/dist/assets/activity-route-a6v44jSV.js +0 -1
  146. package/web/dist/assets/agent-config-section-CazTT2mr.js +0 -1
  147. package/web/dist/assets/agent-defaults-section-CsAvxnzW.js +0 -1
  148. package/web/dist/assets/appearance-Bk8WVWHF.js +0 -1
  149. package/web/dist/assets/archive-on-merge-field-CEyCpweg.js +0 -1
  150. package/web/dist/assets/attention-BFUaj1mU.js +0 -1
  151. package/web/dist/assets/automations-route--30oSCSi.js +0 -1
  152. package/web/dist/assets/commit-diff-panel-B5u3nzBH.js +0 -1
  153. package/web/dist/assets/diff-CVqwOFJx.js +0 -3
  154. package/web/dist/assets/diff-controls-BSWICnsb.js +0 -1
  155. package/web/dist/assets/diff-view-CfDyBNLk.js +0 -11
  156. package/web/dist/assets/dist-C28wFbz0.js +0 -1
  157. package/web/dist/assets/file-preview-BXBSy4MR.js +0 -2
  158. package/web/dist/assets/format-BNCkW110.js +0 -1
  159. package/web/dist/assets/git-toolbar-CKOW2Bjf.js +0 -1
  160. package/web/dist/assets/github-A2sjbmuv.js +0 -1
  161. package/web/dist/assets/global-activity-route-CZY9ssbt.js +0 -1
  162. package/web/dist/assets/hourglass-B0lPAJvT.js +0 -1
  163. package/web/dist/assets/image-preview-CNBuRrK5.js +0 -1
  164. package/web/dist/assets/index-2DP8fWMQ.css +0 -1
  165. package/web/dist/assets/index-Clu9VXJs.js +0 -21
  166. package/web/dist/assets/live-refetch-CZb2VOyu.js +0 -1
  167. package/web/dist/assets/open-in-menu-xzDJ4_Tv.js +0 -1
  168. package/web/dist/assets/projects-section-C6TNM8uI.js +0 -1
  169. package/web/dist/assets/prompt-templates-section-DHqBQdL-.js +0 -1
  170. package/web/dist/assets/queries-DRpvYgai.js +0 -1
  171. package/web/dist/assets/repo-git-Dc7y1A-S.js +0 -1
  172. package/web/dist/assets/reports-B7QAzibP.css +0 -1
  173. package/web/dist/assets/reports-C8NVgUwM.js +0 -1
  174. package/web/dist/assets/resources-section-CcCHCo4b.js +0 -1
  175. package/web/dist/assets/run-header-Dpr7e1J3.js +0 -2
  176. package/web/dist/assets/session-context-section-Ga1E-Y_8.js +0 -119
  177. package/web/dist/assets/settings-agent-picker-DTDM4RXo.js +0 -1
  178. package/web/dist/assets/settings-field-Bl6WuvGX.js +0 -1
  179. package/web/dist/assets/settings-shell-CTuW5ilp.js +0 -1
  180. package/web/dist/assets/settings-shell-xK8txSJo.css +0 -1
  181. package/web/dist/assets/skills-QSp2j0Ei.js +0 -1
  182. package/web/dist/assets/switch-Bv2Zf1uU.js +0 -1
  183. package/web/dist/assets/task-changes-C_1yQ3pc.js +0 -1
  184. package/web/dist/assets/task-commits-B156s4Br.js +0 -1
  185. package/web/dist/assets/task-files-DQyZkvNF.js +0 -1
  186. package/web/dist/assets/task-thread-B4DPy4Lk.js +0 -9
  187. package/web/dist/assets/task-thread-DtQ6uGfQ.css +0 -1
  188. package/web/dist/assets/thread-state-BsUveC05.js +0 -4
  189. package/web/dist/assets/use-hand-to-agent-state-C7esPJ-N.css +0 -1
  190. package/web/dist/assets/use-hand-to-agent-state-CtDcLIHc.js +0 -1
  191. package/web/dist/assets/useQuery-BOEhMTCg.js +0 -1
  192. package/web/dist/assets/workflows-BQkr2ayW.js +0 -7
  193. package/web/dist/assets/workflows-C21NystW.css +0 -1
  194. package/web/dist/assets/workspace-tools-aucXH9WE.js +0 -1
  195. package/web/dist/assets/worktrees-section-A8b6TByx.js +0 -4
@@ -1,12 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
- * Settings → Session context (hearsay-tools/squawk#4308): read, preview and save the project's
4
- * `context.yaml` rules (docs/context-injection.md) through
5
- * `GET/PUT /session-context` and `POST /session-context/preview`.
3
+ * Settings → Session context (hearsay-tools/squawk#4308, hearsay-tools/squawk#4341): read shared
4
+ * `context.yaml` and local `context.local.yaml`, preview their combined launch output, and save
5
+ * `context.local.yaml` through `GET/PUT /session-context` and `POST /session-context/preview`.
6
6
  */
7
- /** The largest `context.yaml` a launch reads, in UTF-8 bytes. The editor cannot save a larger one. */
7
+ /** The largest context YAML file a launch reads, in UTF-8 bytes. The editor cannot save a larger one. */
8
8
  export declare const SESSION_CONTEXT_FILE_MAX_BYTES: number;
9
- /** `GET /session-context` and the `PUT` answer: the file as it is on disk, with its stale-write token. */
9
+ export declare const sessionContextSourceSchema: z.ZodEnum<{
10
+ "built-in": "built-in";
11
+ local: "local";
12
+ shared: "shared";
13
+ }>;
14
+ export type SessionContextSource = z.infer<typeof sessionContextSourceSchema>;
15
+ /** The editable local file (`context.local.yaml`) as it is on disk, with its stale-write token. */
10
16
  export declare const sessionContextFileSchema: z.ZodObject<{
11
17
  path: z.ZodString;
12
18
  exists: z.ZodBoolean;
@@ -16,7 +22,35 @@ export declare const sessionContextFileSchema: z.ZodObject<{
16
22
  readOnlyReason: z.ZodNullable<z.ZodString>;
17
23
  }, z.core.$strip>;
18
24
  export type SessionContextFile = z.infer<typeof sessionContextFileSchema>;
19
- /** `PUT /session-context`. `version` is the token the editor read; null creates the file. */
25
+ /** The shared repository file (`context.yaml`), shown read-only in Project Settings. */
26
+ export declare const sessionContextSharedFileSchema: z.ZodObject<{
27
+ path: z.ZodString;
28
+ exists: z.ZodBoolean;
29
+ content: z.ZodString;
30
+ tracked: z.ZodBoolean;
31
+ unreadableReason: z.ZodNullable<z.ZodString>;
32
+ }, z.core.$strip>;
33
+ export type SessionContextSharedFile = z.infer<typeof sessionContextSharedFileSchema>;
34
+ /** `GET /session-context` and the `PUT` answer: both local and shared layers as they stand on disk. */
35
+ export declare const sessionContextStateSchema: z.ZodObject<{
36
+ local: z.ZodObject<{
37
+ path: z.ZodString;
38
+ exists: z.ZodBoolean;
39
+ content: z.ZodString;
40
+ version: z.ZodNullable<z.ZodString>;
41
+ writable: z.ZodBoolean;
42
+ readOnlyReason: z.ZodNullable<z.ZodString>;
43
+ }, z.core.$strip>;
44
+ shared: z.ZodObject<{
45
+ path: z.ZodString;
46
+ exists: z.ZodBoolean;
47
+ content: z.ZodString;
48
+ tracked: z.ZodBoolean;
49
+ unreadableReason: z.ZodNullable<z.ZodString>;
50
+ }, z.core.$strip>;
51
+ }, z.core.$strip>;
52
+ export type SessionContextState = z.infer<typeof sessionContextStateSchema>;
53
+ /** `PUT /session-context`. Saves `context.local.yaml`; `version` is the token the editor read (null creates it). */
20
54
  export declare const setSessionContextSchema: z.ZodObject<{
21
55
  content: z.ZodString;
22
56
  version: z.ZodNullable<z.ZodString>;
@@ -27,7 +61,7 @@ export declare const sessionContextRoleSchema: z.ZodEnum<{
27
61
  worker: "worker";
28
62
  }>;
29
63
  export type SessionContextRole = z.infer<typeof sessionContextRoleSchema>;
30
- /** `POST /session-context/preview`: render a draft for one role. */
64
+ /** `POST /session-context/preview`: render the combined launch output for one role with an unsaved local draft. */
31
65
  export declare const sessionContextPreviewRequestSchema: z.ZodObject<{
32
66
  content: z.ZodString;
33
67
  role: z.ZodEnum<{
@@ -36,7 +70,7 @@ export declare const sessionContextPreviewRequestSchema: z.ZodObject<{
36
70
  }>;
37
71
  }, z.core.$strip>;
38
72
  export type SessionContextPreviewRequest = z.infer<typeof sessionContextPreviewRequestSchema>;
39
- /** One thing the draft must fix before it saves. `line` and `rule` count from 1. */
73
+ /** One thing the local draft must fix before it saves. `line` and `rule` count from 1. */
40
74
  export declare const sessionContextProblemSchema: z.ZodObject<{
41
75
  line: z.ZodNullable<z.ZodNumber>;
42
76
  rule: z.ZodNullable<z.ZodNumber>;
@@ -45,6 +79,11 @@ export declare const sessionContextProblemSchema: z.ZodObject<{
45
79
  export type SessionContextProblem = z.infer<typeof sessionContextProblemSchema>;
46
80
  export declare const sessionContextPreviewBlockSchema: z.ZodObject<{
47
81
  id: z.ZodString;
82
+ source: z.ZodEnum<{
83
+ "built-in": "built-in";
84
+ local: "local";
85
+ shared: "shared";
86
+ }>;
48
87
  target: z.ZodNullable<z.ZodEnum<{
49
88
  both: "both";
50
89
  "built-in": "built-in";
@@ -56,6 +95,7 @@ export declare const sessionContextPreviewBlockSchema: z.ZodObject<{
56
95
  "not-for-role": "not-for-role";
57
96
  skipped: "skipped";
58
97
  }>;
98
+ overridesShared: z.ZodBoolean;
59
99
  bytes: z.ZodNullable<z.ZodNumber>;
60
100
  reason: z.ZodNullable<z.ZodString>;
61
101
  sources: z.ZodArray<z.ZodString>;
@@ -71,6 +111,11 @@ export declare const sessionContextPreviewSchema: z.ZodObject<{
71
111
  }, z.core.$strip>>;
72
112
  blocks: z.ZodArray<z.ZodObject<{
73
113
  id: z.ZodString;
114
+ source: z.ZodEnum<{
115
+ "built-in": "built-in";
116
+ local: "local";
117
+ shared: "shared";
118
+ }>;
74
119
  target: z.ZodNullable<z.ZodEnum<{
75
120
  both: "both";
76
121
  "built-in": "built-in";
@@ -82,6 +127,7 @@ export declare const sessionContextPreviewSchema: z.ZodObject<{
82
127
  "not-for-role": "not-for-role";
83
128
  skipped: "skipped";
84
129
  }>;
130
+ overridesShared: z.ZodBoolean;
85
131
  bytes: z.ZodNullable<z.ZodNumber>;
86
132
  reason: z.ZodNullable<z.ZodString>;
87
133
  sources: z.ZodArray<z.ZodString>;
@@ -7,6 +7,10 @@ export declare const builtInSquawkWaitRequestSchema: z.ZodDiscriminatedUnion<[z.
7
7
  merge_or_blocked: "merge_or_blocked";
8
8
  }>>;
9
9
  wake_on_conflict: z.ZodDefault<z.ZodBoolean>;
10
+ checks: z.ZodDefault<z.ZodEnum<{
11
+ all: "all";
12
+ required: "required";
13
+ }>>;
10
14
  timeout_seconds: z.ZodDefault<z.ZodNumber>;
11
15
  head_sha: z.ZodOptional<z.ZodString>;
12
16
  operation_id: z.ZodOptional<z.ZodUUID>;
@@ -56,6 +60,7 @@ export declare const squawkWaitRequestSchema: z.ZodPipe<z.ZodCustom<{
56
60
  pr: string;
57
61
  until?: "checks" | "merge" | "merge_or_blocked" | undefined;
58
62
  wake_on_conflict?: boolean | undefined;
63
+ checks?: "all" | "required" | undefined;
59
64
  timeout_seconds?: number | undefined;
60
65
  head_sha?: string | undefined;
61
66
  operation_id?: string | undefined;
@@ -97,6 +102,7 @@ export declare const squawkWaitRequestSchema: z.ZodPipe<z.ZodCustom<{
97
102
  pr: string;
98
103
  until?: "checks" | "merge" | "merge_or_blocked" | undefined;
99
104
  wake_on_conflict?: boolean | undefined;
105
+ checks?: "all" | "required" | undefined;
100
106
  timeout_seconds?: number | undefined;
101
107
  head_sha?: string | undefined;
102
108
  operation_id?: string | undefined;
@@ -150,6 +156,7 @@ export declare const squawkWaitRequestSchema: z.ZodPipe<z.ZodCustom<{
150
156
  pr: string;
151
157
  until: "checks" | "merge" | "merge_or_blocked";
152
158
  wake_on_conflict: boolean;
159
+ checks: "all" | "required";
153
160
  timeout_seconds: number;
154
161
  head_sha?: string | undefined;
155
162
  operation_id?: string | undefined;
@@ -179,6 +186,7 @@ export declare const squawkWaitRequestSchema: z.ZodPipe<z.ZodCustom<{
179
186
  pr: string;
180
187
  until?: "checks" | "merge" | "merge_or_blocked" | undefined;
181
188
  wake_on_conflict?: boolean | undefined;
189
+ checks?: "all" | "required" | undefined;
182
190
  timeout_seconds?: number | undefined;
183
191
  head_sha?: string | undefined;
184
192
  operation_id?: string | undefined;
@@ -85,6 +85,10 @@ export declare const prWaitEntrySchema: z.ZodObject<{
85
85
  merge_or_blocked: "merge_or_blocked";
86
86
  }>;
87
87
  wakeOnConflict: z.ZodBoolean;
88
+ checks: z.ZodOptional<z.ZodEnum<{
89
+ all: "all";
90
+ required: "required";
91
+ }>>;
88
92
  callerHead: z.ZodOptional<z.ZodLiteral<true>>;
89
93
  result: z.ZodOptional<z.ZodObject<{
90
94
  outcome: z.ZodEnum<{
@@ -606,6 +610,10 @@ export declare const waitSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
606
610
  merge_or_blocked: "merge_or_blocked";
607
611
  }>;
608
612
  wakeOnConflict: z.ZodBoolean;
613
+ checks: z.ZodOptional<z.ZodEnum<{
614
+ all: "all";
615
+ required: "required";
616
+ }>>;
609
617
  callerHead: z.ZodOptional<z.ZodLiteral<true>>;
610
618
  result: z.ZodOptional<z.ZodObject<{
611
619
  outcome: z.ZodEnum<{
@@ -1097,6 +1105,10 @@ export declare const waitRegistrationReceiptSchema: z.ZodObject<{
1097
1105
  merge_or_blocked: "merge_or_blocked";
1098
1106
  }>;
1099
1107
  wakeOnConflict: z.ZodBoolean;
1108
+ checks: z.ZodOptional<z.ZodEnum<{
1109
+ all: "all";
1110
+ required: "required";
1111
+ }>>;
1100
1112
  callerHead: z.ZodOptional<z.ZodLiteral<true>>;
1101
1113
  result: z.ZodOptional<z.ZodObject<{
1102
1114
  outcome: z.ZodEnum<{
@@ -44,6 +44,7 @@ export function ensureDataGitignore(repoRoot) {
44
44
  'automations.reclaim*/',
45
45
  'automation-state.lock',
46
46
  'automation-state.reclaim*/',
47
+ 'context.local.yaml', // host-local session context overrides (hearsay-tools/squawk#4341)
47
48
  ];
48
49
  try {
49
50
  // A tracked copy left in the fallback directory awaits the user's `git mv`: a new file at its
@@ -1 +1 @@
1
- {"version":3,"file":"data-gitignore.js","sourceRoot":"","sources":["../src/data-gitignore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,QAAgB;IAClD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IAChD,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAE,CAAC;IAC3B,IAAI,mBAAmB,CAAC,KAAK,CAAC;QAAE,OAAO;IACvC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;IACvC,MAAM,MAAM,GAAG;QACb,WAAW;QACX,eAAe;QACf,0BAA0B,EAAE,gEAAgE;QAC5F,wBAAwB,EAAE,gE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AAC,CAAC,CAAC,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACzI,CAAC;IAAC,MAAM,CAAC;QACP,YAAY;IACd,CAAC;AACH,CAAC"}
@@ -27,18 +27,6 @@ export declare function delegationFailure(error: unknown): {
27
27
  export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
28
28
  "/list": {
29
29
  $get: {
30
- output: {
31
- error: string;
32
- code?: "invalid_input" | undefined;
33
- };
34
- outputFormat: "json";
35
- status: 400;
36
- input: {
37
- query: {
38
- offset?: string | undefined;
39
- };
40
- };
41
- } | {
42
30
  output: {
43
31
  workers: {
44
32
  workerId: string;
@@ -91,6 +79,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
91
79
  offset?: string | undefined;
92
80
  };
93
81
  };
82
+ } | {
83
+ output: {
84
+ error: string;
85
+ code?: "invalid_input" | undefined;
86
+ };
87
+ outputFormat: "json";
88
+ status: 400;
89
+ input: {
90
+ query: {
91
+ offset?: string | undefined;
92
+ };
93
+ };
94
94
  };
95
95
  };
96
96
  } & {
@@ -677,18 +677,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
677
677
  } & {
678
678
  "/:workerId": {
679
679
  $get: {
680
- output: {
681
- error: string;
682
- code?: "invalid_input" | undefined;
683
- };
684
- outputFormat: "json";
685
- status: 400;
686
- input: {
687
- param: {
688
- workerId: string;
689
- };
690
- };
691
- } | {
692
680
  output: {
693
681
  workerId: string;
694
682
  settled: boolean;
@@ -813,11 +801,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
813
801
  workerId: string;
814
802
  };
815
803
  };
816
- };
817
- };
818
- } & {
819
- "/:workerId/collect": {
820
- $post: {
804
+ } | {
821
805
  output: {
822
806
  error: string;
823
807
  code?: "invalid_input" | undefined;
@@ -828,10 +812,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
828
812
  param: {
829
813
  workerId: string;
830
814
  };
831
- } & {
832
- json: Record<string, never>;
833
815
  };
834
- } | {
816
+ };
817
+ };
818
+ } & {
819
+ "/:workerId/collect": {
820
+ $post: {
835
821
  output: {
836
822
  workerId: string;
837
823
  parentRunId: string;
@@ -954,11 +940,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
954
940
  } & {
955
941
  json: Record<string, never>;
956
942
  };
957
- };
958
- };
959
- } & {
960
- "/:workerId/steer": {
961
- $post: {
943
+ } | {
962
944
  output: {
963
945
  error: string;
964
946
  code?: "invalid_input" | undefined;
@@ -970,11 +952,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
970
952
  workerId: string;
971
953
  };
972
954
  } & {
973
- json: {
974
- text: string;
975
- };
955
+ json: Record<string, never>;
976
956
  };
977
- } | {
957
+ };
958
+ };
959
+ } & {
960
+ "/:workerId/steer": {
961
+ $post: {
978
962
  output: {
979
963
  workerId: string;
980
964
  state: "delivered" | "queued";
@@ -990,11 +974,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
990
974
  text: string;
991
975
  };
992
976
  };
993
- };
994
- };
995
- } & {
996
- "/:workerId/stop": {
997
- $post: {
977
+ } | {
998
978
  output: {
999
979
  error: string;
1000
980
  code?: "invalid_input" | undefined;
@@ -1006,9 +986,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1006
986
  workerId: string;
1007
987
  };
1008
988
  } & {
1009
- json: Record<string, never>;
989
+ json: {
990
+ text: string;
991
+ };
1010
992
  };
1011
- } | {
993
+ };
994
+ };
995
+ } & {
996
+ "/:workerId/stop": {
997
+ $post: {
1012
998
  output: {
1013
999
  workerId: string;
1014
1000
  state: "stopping" | "terminated";
@@ -1022,11 +1008,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1022
1008
  } & {
1023
1009
  json: Record<string, never>;
1024
1010
  };
1025
- };
1026
- };
1027
- } & {
1028
- "/:workerId/destroy": {
1029
- $post: {
1011
+ } | {
1030
1012
  output: {
1031
1013
  error: string;
1032
1014
  code?: "invalid_input" | undefined;
@@ -1038,11 +1020,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1038
1020
  workerId: string;
1039
1021
  };
1040
1022
  } & {
1041
- json: {
1042
- discardWork?: true | undefined;
1043
- };
1023
+ json: Record<string, never>;
1044
1024
  };
1045
- } | {
1025
+ };
1026
+ };
1027
+ } & {
1028
+ "/:workerId/destroy": {
1029
+ $post: {
1046
1030
  output: {
1047
1031
  workerId: string;
1048
1032
  state: "complete" | "incomplete";
@@ -1071,6 +1055,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1071
1055
  discardWork?: true | undefined;
1072
1056
  };
1073
1057
  };
1058
+ } | {
1059
+ output: {
1060
+ error: string;
1061
+ code?: "invalid_input" | undefined;
1062
+ };
1063
+ outputFormat: "json";
1064
+ status: 400;
1065
+ input: {
1066
+ param: {
1067
+ workerId: string;
1068
+ };
1069
+ } & {
1070
+ json: {
1071
+ discardWork?: true | undefined;
1072
+ };
1073
+ };
1074
1074
  } | {
1075
1075
  output: {
1076
1076
  workerId: string;
@@ -1106,11 +1106,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1106
1106
  "/:workerId/diff": {
1107
1107
  $get: {
1108
1108
  output: {
1109
- error: string;
1110
- code?: "invalid_input" | undefined;
1109
+ workerId: string;
1110
+ baselineSha: string;
1111
+ diff: string;
1112
+ truncated: boolean;
1111
1113
  };
1112
1114
  outputFormat: "json";
1113
- status: 400;
1115
+ status: 200;
1114
1116
  input: {
1115
1117
  param: {
1116
1118
  workerId: string;
@@ -1118,13 +1120,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1118
1120
  };
1119
1121
  } | {
1120
1122
  output: {
1121
- workerId: string;
1122
- baselineSha: string;
1123
- diff: string;
1124
- truncated: boolean;
1123
+ error: string;
1124
+ code?: "invalid_input" | undefined;
1125
1125
  };
1126
1126
  outputFormat: "json";
1127
- status: 200;
1127
+ status: 400;
1128
1128
  input: {
1129
1129
  param: {
1130
1130
  workerId: string;
@@ -2,18 +2,6 @@ import type { DelegationRoutes } from './routes.ts';
2
2
  export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
3
3
  "/list": {
4
4
  $get: {
5
- output: {
6
- error: string;
7
- code?: "invalid_input" | undefined;
8
- };
9
- outputFormat: "json";
10
- status: 400;
11
- input: {
12
- query: {
13
- offset?: string | undefined;
14
- };
15
- };
16
- } | {
17
5
  output: {
18
6
  workers: {
19
7
  workerId: string;
@@ -66,6 +54,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
66
54
  offset?: string | undefined;
67
55
  };
68
56
  };
57
+ } | {
58
+ output: {
59
+ error: string;
60
+ code?: "invalid_input" | undefined;
61
+ };
62
+ outputFormat: "json";
63
+ status: 400;
64
+ input: {
65
+ query: {
66
+ offset?: string | undefined;
67
+ };
68
+ };
69
69
  };
70
70
  };
71
71
  } & {
@@ -652,18 +652,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
652
652
  } & {
653
653
  "/:workerId": {
654
654
  $get: {
655
- output: {
656
- error: string;
657
- code?: "invalid_input" | undefined;
658
- };
659
- outputFormat: "json";
660
- status: 400;
661
- input: {
662
- param: {
663
- workerId: string;
664
- };
665
- };
666
- } | {
667
655
  output: {
668
656
  workerId: string;
669
657
  settled: boolean;
@@ -788,11 +776,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
788
776
  workerId: string;
789
777
  };
790
778
  };
791
- };
792
- };
793
- } & {
794
- "/:workerId/collect": {
795
- $post: {
779
+ } | {
796
780
  output: {
797
781
  error: string;
798
782
  code?: "invalid_input" | undefined;
@@ -803,10 +787,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
803
787
  param: {
804
788
  workerId: string;
805
789
  };
806
- } & {
807
- json: Record<string, never>;
808
790
  };
809
- } | {
791
+ };
792
+ };
793
+ } & {
794
+ "/:workerId/collect": {
795
+ $post: {
810
796
  output: {
811
797
  workerId: string;
812
798
  parentRunId: string;
@@ -929,11 +915,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
929
915
  } & {
930
916
  json: Record<string, never>;
931
917
  };
932
- };
933
- };
934
- } & {
935
- "/:workerId/steer": {
936
- $post: {
918
+ } | {
937
919
  output: {
938
920
  error: string;
939
921
  code?: "invalid_input" | undefined;
@@ -945,11 +927,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
945
927
  workerId: string;
946
928
  };
947
929
  } & {
948
- json: {
949
- text: string;
950
- };
930
+ json: Record<string, never>;
951
931
  };
952
- } | {
932
+ };
933
+ };
934
+ } & {
935
+ "/:workerId/steer": {
936
+ $post: {
953
937
  output: {
954
938
  workerId: string;
955
939
  state: "delivered" | "queued";
@@ -965,11 +949,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
965
949
  text: string;
966
950
  };
967
951
  };
968
- };
969
- };
970
- } & {
971
- "/:workerId/stop": {
972
- $post: {
952
+ } | {
973
953
  output: {
974
954
  error: string;
975
955
  code?: "invalid_input" | undefined;
@@ -981,9 +961,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
981
961
  workerId: string;
982
962
  };
983
963
  } & {
984
- json: Record<string, never>;
964
+ json: {
965
+ text: string;
966
+ };
985
967
  };
986
- } | {
968
+ };
969
+ };
970
+ } & {
971
+ "/:workerId/stop": {
972
+ $post: {
987
973
  output: {
988
974
  workerId: string;
989
975
  state: "stopping" | "terminated";
@@ -997,11 +983,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
997
983
  } & {
998
984
  json: Record<string, never>;
999
985
  };
1000
- };
1001
- };
1002
- } & {
1003
- "/:workerId/destroy": {
1004
- $post: {
986
+ } | {
1005
987
  output: {
1006
988
  error: string;
1007
989
  code?: "invalid_input" | undefined;
@@ -1013,11 +995,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1013
995
  workerId: string;
1014
996
  };
1015
997
  } & {
1016
- json: {
1017
- discardWork?: true | undefined;
1018
- };
998
+ json: Record<string, never>;
1019
999
  };
1020
- } | {
1000
+ };
1001
+ };
1002
+ } & {
1003
+ "/:workerId/destroy": {
1004
+ $post: {
1021
1005
  output: {
1022
1006
  workerId: string;
1023
1007
  state: "complete" | "incomplete";
@@ -1046,6 +1030,22 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1046
1030
  discardWork?: true | undefined;
1047
1031
  };
1048
1032
  };
1033
+ } | {
1034
+ output: {
1035
+ error: string;
1036
+ code?: "invalid_input" | undefined;
1037
+ };
1038
+ outputFormat: "json";
1039
+ status: 400;
1040
+ input: {
1041
+ param: {
1042
+ workerId: string;
1043
+ };
1044
+ } & {
1045
+ json: {
1046
+ discardWork?: true | undefined;
1047
+ };
1048
+ };
1049
1049
  } | {
1050
1050
  output: {
1051
1051
  workerId: string;
@@ -1081,11 +1081,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1081
1081
  "/:workerId/diff": {
1082
1082
  $get: {
1083
1083
  output: {
1084
- error: string;
1085
- code?: "invalid_input" | undefined;
1084
+ workerId: string;
1085
+ baselineSha: string;
1086
+ diff: string;
1087
+ truncated: boolean;
1086
1088
  };
1087
1089
  outputFormat: "json";
1088
- status: 400;
1090
+ status: 200;
1089
1091
  input: {
1090
1092
  param: {
1091
1093
  workerId: string;
@@ -1093,13 +1095,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1093
1095
  };
1094
1096
  } | {
1095
1097
  output: {
1096
- workerId: string;
1097
- baselineSha: string;
1098
- diff: string;
1099
- truncated: boolean;
1098
+ error: string;
1099
+ code?: "invalid_input" | undefined;
1100
1100
  };
1101
1101
  outputFormat: "json";
1102
- status: 200;
1102
+ status: 400;
1103
1103
  input: {
1104
1104
  param: {
1105
1105
  workerId: string;