@hearsay-tools/squawk 0.18.0-pr4344.8477 → 0.18.0-pr4345.8551

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 (160) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/contract/index.js +23 -2
  3. package/dist/contract/session-context.d.ts +54 -8
  4. package/dist/core/runner-definition.d.ts +6 -0
  5. package/dist/core/runner-definition.js.map +1 -1
  6. package/dist/core/runner-registry.d.ts +6 -0
  7. package/dist/core/runner-registry.js +10 -0
  8. package/dist/core/runner-registry.js.map +1 -1
  9. package/dist/data-gitignore.js +1 -0
  10. package/dist/data-gitignore.js.map +1 -1
  11. package/dist/delegation/provision.d.ts +2 -1
  12. package/dist/delegation/provision.js +45 -26
  13. package/dist/delegation/provision.js.map +1 -1
  14. package/dist/delegation/transport.d.ts +65 -65
  15. package/dist/runners/antigravity/acp/events.d.ts +9 -1
  16. package/dist/runners/antigravity/acp/events.js +52 -11
  17. package/dist/runners/antigravity/acp/events.js.map +1 -1
  18. package/dist/runners/antigravity/acp/protocol.d.ts +12 -1
  19. package/dist/runners/antigravity/acp/protocol.js.map +1 -1
  20. package/dist/runners/antigravity/acp/session.d.ts +10 -0
  21. package/dist/runners/antigravity/acp/session.js +20 -0
  22. package/dist/runners/antigravity/acp/session.js.map +1 -1
  23. package/dist/runners/antigravity/acp/transport.d.ts +1 -0
  24. package/dist/runners/antigravity/acp/transport.js +13 -2
  25. package/dist/runners/antigravity/acp/transport.js.map +1 -1
  26. package/dist/runners/antigravity/antigravity-runner.d.ts +2 -2
  27. package/dist/runners/antigravity/antigravity-session.d.ts +17 -4
  28. package/dist/runners/antigravity/antigravity-session.js +226 -35
  29. package/dist/runners/antigravity/antigravity-session.js.map +1 -1
  30. package/dist/runners/antigravity/antigravity-ui-mapper.d.ts +2 -0
  31. package/dist/runners/antigravity/antigravity-ui-mapper.js +11 -3
  32. package/dist/runners/antigravity/antigravity-ui-mapper.js.map +1 -1
  33. package/dist/runners/antigravity/facts.d.ts +2 -2
  34. package/dist/runners/antigravity/facts.js +7 -5
  35. package/dist/runners/antigravity/facts.js.map +1 -1
  36. package/dist/runners/antigravity/mock.d.ts +4 -2
  37. package/dist/runners/antigravity/mock.js +3 -2
  38. package/dist/runners/antigravity/mock.js.map +1 -1
  39. package/dist/runners/antigravity/models.d.ts +3 -0
  40. package/dist/runners/antigravity/models.js +9 -0
  41. package/dist/runners/antigravity/models.js.map +1 -1
  42. package/dist/runners/antigravity/spec-support.js +1 -1
  43. package/dist/runners/antigravity/spec-support.js.map +1 -1
  44. package/dist/runners/antigravity/subagent-tracker.d.ts +50 -0
  45. package/dist/runners/antigravity/subagent-tracker.js +152 -0
  46. package/dist/runners/antigravity/subagent-tracker.js.map +1 -0
  47. package/dist/runners/antigravity/subagent-transcript.d.ts +41 -0
  48. package/dist/runners/antigravity/subagent-transcript.js +185 -0
  49. package/dist/runners/antigravity/subagent-transcript.js.map +1 -0
  50. package/dist/runners/antigravity/tool-normalization.d.ts +2 -0
  51. package/dist/runners/antigravity/tool-normalization.js +44 -2
  52. package/dist/runners/antigravity/tool-normalization.js.map +1 -1
  53. package/dist/runners/antigravity/tool-transcript.d.ts +24 -50
  54. package/dist/runners/antigravity/tool-transcript.js +88 -192
  55. package/dist/runners/antigravity/tool-transcript.js.map +1 -1
  56. package/dist/runners/antigravity/transcript-tailer.d.ts +56 -0
  57. package/dist/runners/antigravity/transcript-tailer.js +175 -0
  58. package/dist/runners/antigravity/transcript-tailer.js.map +1 -0
  59. package/dist/runners/antigravity/wire-updates.d.ts +4 -6
  60. package/dist/runners/antigravity/wire-updates.js +25 -3
  61. package/dist/runners/antigravity/wire-updates.js.map +1 -1
  62. package/dist/server/automations-routes.d.ts +150 -150
  63. package/dist/server/project-settings-routes.d.ts +107 -107
  64. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  65. package/dist/server/runner-install-routes.d.ts +10 -10
  66. package/dist/server/runs-routes.d.ts +317 -317
  67. package/dist/server/server.d.ts +72 -32
  68. package/dist/server/session-context-routes.d.ts +35 -15
  69. package/dist/server/session-context-routes.js +6 -6
  70. package/dist/server/session-context-routes.js.map +1 -1
  71. package/dist/session-context-file.d.ts +3 -3
  72. package/dist/session-context-file.js +45 -16
  73. package/dist/session-context-file.js.map +1 -1
  74. package/dist/session-context.d.ts +18 -9
  75. package/dist/session-context.js +118 -47
  76. package/dist/session-context.js.map +1 -1
  77. package/dist/workflows/run/continuation-session.js +1 -1
  78. package/dist/workflows/run/continuation-session.js.map +1 -1
  79. package/dist/workflows/run/launch-context.d.ts +1 -1
  80. package/dist/workflows/run/launch-context.js +2 -2
  81. package/dist/workflows/run/launch-context.js.map +1 -1
  82. package/dist/workflows/run/launch-read-resolver.d.ts +7 -2
  83. package/dist/workflows/run/launch-read-resolver.js +5 -3
  84. package/dist/workflows/run/launch-read-resolver.js.map +1 -1
  85. package/dist/workflows/run/run-line.js +1 -1
  86. package/dist/workflows/run/run-line.js.map +1 -1
  87. package/dist/workflows/run/session-events.d.ts +2 -2
  88. package/dist/workflows/run/session-events.js +2 -2
  89. package/dist/workflows/run/session-events.js.map +1 -1
  90. package/dist/workflows/run/step-loop.js +1 -1
  91. package/dist/workflows/run/step-loop.js.map +1 -1
  92. package/dist/workflows/run/step-session.js +1 -1
  93. package/dist/workflows/run/step-session.js.map +1 -1
  94. package/dist/workflows/run/wake-admission.js +1 -1
  95. package/dist/workflows/run/wake-admission.js.map +1 -1
  96. package/dist/workflows/run-scheduling.d.ts +15 -6
  97. package/dist/workflows/run-scheduling.js +62 -10
  98. package/dist/workflows/run-scheduling.js.map +1 -1
  99. package/dist/workflows/run-states.js +1 -1
  100. package/dist/workflows/run-states.js.map +1 -1
  101. package/package.json +4 -4
  102. package/scripts/mock-acp.mjs +203 -18
  103. package/web/dist/assets/{accounts-section-CuihHvuE.js → accounts-section-W97a1ty2.js} +1 -1
  104. package/web/dist/assets/{activity-motion-bKmIl_Ai.js → activity-motion-zWlkG-V_.js} +1 -1
  105. package/web/dist/assets/{activity-route-Bnz_NdUs.js → activity-route-CHfp3gWS.js} +1 -1
  106. package/web/dist/assets/{agent-config-section-uQrQrvBR.js → agent-config-section-Ulvfv3n6.js} +1 -1
  107. package/web/dist/assets/{agent-defaults-section-1UTSo5HV.js → agent-defaults-section-DuReu1Ob.js} +1 -1
  108. package/web/dist/assets/{appearance-CZ0kce28.js → appearance-DpMIBP4Y.js} +1 -1
  109. package/web/dist/assets/{archive-on-merge-field-CEyCpweg.js → archive-on-merge-field-C83q8HKD.js} +1 -1
  110. package/web/dist/assets/{automations-route-Dq90emTh.js → automations-route-Kro31C3p.js} +1 -1
  111. package/web/dist/assets/{commit-diff-panel-Btc38N2Q.js → commit-diff-panel-CE7372Fz.js} +1 -1
  112. package/web/dist/assets/{diff-C3-63Zgu.js → diff-DUljAzi_.js} +2 -2
  113. package/web/dist/assets/{diff-view-D2O2Nm5P.js → diff-view-CYusqV5H.js} +1 -1
  114. package/web/dist/assets/{file-preview-Bnq2OKGK.js → file-preview-Cj3QRSUt.js} +1 -1
  115. package/web/dist/assets/{folder-browser-Bn83Rjyn.js → folder-browser-CbWAXTsX.js} +1 -1
  116. package/web/dist/assets/{git-toolbar-RA8rF90D.js → git-toolbar-B9t94bg6.js} +1 -1
  117. package/web/dist/assets/{github-BRAMTLRU.js → github-D0U0_v8D.js} +1 -1
  118. package/web/dist/assets/{global-activity-route-Ii_-Fqqo.js → global-activity-route-Co9vGT5h.js} +1 -1
  119. package/web/dist/assets/{index-DCw_bX8I.js → index-BNqZkH0S.js} +5 -5
  120. package/web/dist/assets/{label-tOtTf55G.js → label-Dbp-6aiT.js} +1 -1
  121. package/web/dist/assets/{markdown-G8tjpJd_.js → markdown-CzP2Mv9j.js} +1 -1
  122. package/web/dist/assets/{notifications-section-Fk_ebhy_.js → notifications-section-BsHRSzNs.js} +1 -1
  123. package/web/dist/assets/{open-in-menu-xzDJ4_Tv.js → open-in-menu-mDtfa4ES.js} +1 -1
  124. package/web/dist/assets/preview-pane-connected-dvf7gtbB.js +3 -0
  125. package/web/dist/assets/{project-location-C9WLgY3A.js → project-location-c1oHm2yu.js} +1 -1
  126. package/web/dist/assets/{projects-section-Dmj4JFoi.js → projects-section-ds7mvM9K.js} +1 -1
  127. package/web/dist/assets/{prompt-templates-section-DzfD2GES.js → prompt-templates-section-DsBj0E0U.js} +1 -1
  128. package/web/dist/assets/queries-dOBokhuR.js +1 -0
  129. package/web/dist/assets/{reference-chip-zRuFkaGy.js → reference-chip-1BEDWxcS.js} +1 -1
  130. package/web/dist/assets/{remote-settings-notice-CYiMrnys.js → remote-settings-notice-BD9jRcE6.js} +1 -1
  131. package/web/dist/assets/{repo-git-B3tTtvIQ.js → repo-git-j8MdHS3x.js} +1 -1
  132. package/web/dist/assets/{report-reader-DBGA_8LA.js → report-reader-P41jUFxW.js} +1 -1
  133. package/web/dist/assets/{reports-B-Q6u2X6.js → reports-C-Zop07b.js} +1 -1
  134. package/web/dist/assets/{resources-section-C5ndEonC.js → resources-section-Cy0EShrb.js} +1 -1
  135. package/web/dist/assets/{run-header-DK4CZ3hY.js → run-header-Cd6Z_Juw.js} +1 -1
  136. package/web/dist/assets/session-context-section-BsT7MXjZ.js +119 -0
  137. package/web/dist/assets/{settings-agent-picker-fkaIrncp.js → settings-agent-picker-B8jmxleN.js} +1 -1
  138. package/web/dist/assets/{settings-shell-dzuuT5tw.js → settings-shell-f9o6rKSB.js} +1 -1
  139. package/web/dist/assets/{sidebar-section-BIQilcgt.js → sidebar-section-ekWNCGBw.js} +1 -1
  140. package/web/dist/assets/{skills-C-jo20DK.js → skills-DweafQfi.js} +1 -1
  141. package/web/dist/assets/{task-changes-DnG-9vJh.js → task-changes-Db7mjsBc.js} +1 -1
  142. package/web/dist/assets/{task-commits-mqs3nfjk.js → task-commits-A0qKHFEp.js} +1 -1
  143. package/web/dist/assets/{task-files-DKB3Xp3N.js → task-files-Cf4k3GXd.js} +1 -1
  144. package/web/dist/assets/{task-github-item-BA7W64bU.js → task-github-item-aab_QTS3.js} +1 -1
  145. package/web/dist/assets/{task-groups-ClNnAPRA.js → task-groups-Ziytm1Sm.js} +1 -1
  146. package/web/dist/assets/{task-thread-B8zgMgtO.js → task-thread-Di1O-QIZ.js} +1 -1
  147. package/web/dist/assets/{tasks-table-CE_VVk0w.js → tasks-table-wTQZb7nJ.js} +1 -1
  148. package/web/dist/assets/{thread-state-8okW1FLM.js → thread-state-BLpB8owZ.js} +1 -1
  149. package/web/dist/assets/use-hand-to-agent-state-Dkln0aUg.js +1 -0
  150. package/web/dist/assets/{workflows-BhQJM4JW.js → workflows-D0FFSZRo.js} +1 -1
  151. package/web/dist/assets/{workspace-tools-BZs10pQZ.js → workspace-tools-Bc-FDfxj.js} +1 -1
  152. package/web/dist/assets/{worktrees-section-BTNZUVnW.js → worktrees-section-KHsxVu0L.js} +1 -1
  153. package/web/dist/index.html +8 -8
  154. package/dist/runners/antigravity/subagent-guard.d.ts +0 -17
  155. package/dist/runners/antigravity/subagent-guard.js +0 -38
  156. package/dist/runners/antigravity/subagent-guard.js.map +0 -1
  157. package/web/dist/assets/preview-pane-connected-8HkdMxOW.js +0 -3
  158. package/web/dist/assets/queries-DRpvYgai.js +0 -1
  159. package/web/dist/assets/session-context-section-BAw6x6P2.js +0 -119
  160. package/web/dist/assets/use-hand-to-agent-state-BwLk3gNd.js +0 -1
@@ -121,12 +121,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
121
121
  } & {
122
122
  "/api/v1/tools/:name": {
123
123
  $post: {
124
- output: {
125
- code: string;
126
- message: string;
127
- };
124
+ output: never;
128
125
  outputFormat: "json";
129
- status: 401;
126
+ status: import("hono/utils/http-status").ContentfulStatusCode;
130
127
  input: {
131
128
  json: unknown;
132
129
  } & {
@@ -149,9 +146,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
149
146
  };
150
147
  };
151
148
  } | {
152
- output: never;
149
+ output: {
150
+ code: string;
151
+ message: string;
152
+ };
153
153
  outputFormat: "json";
154
- status: import("hono/utils/http-status").ContentfulStatusCode;
154
+ status: 401;
155
155
  input: {
156
156
  json: unknown;
157
157
  } & {
@@ -4020,10 +4020,11 @@ var setAgentConfigInputSchema = z30.object({
4020
4020
  import { z as z31 } from "zod";
4021
4021
  var SESSION_CONTEXT_FILE_MAX_BYTES = 256 * 1024;
4022
4022
  var fileContentSchema = z31.string().refine((text) => utf8Bytes(text) <= SESSION_CONTEXT_FILE_MAX_BYTES, {
4023
- error: `context.yaml must be at most ${SESSION_CONTEXT_FILE_MAX_BYTES} bytes`
4023
+ error: `context.local.yaml must be at most ${SESSION_CONTEXT_FILE_MAX_BYTES} bytes`
4024
4024
  });
4025
+ var sessionContextSourceSchema = z31.enum(["built-in", "shared", "local"]);
4025
4026
  var sessionContextFileSchema = z31.object({
4026
- /** Relative to the project root: `.ai/squawk/context.yaml` or `.ai/cezar/context.yaml`. */
4027
+ /** Relative to the project root: `.ai/squawk/context.local.yaml` or `.ai/cezar/context.local.yaml`. */
4027
4028
  path: z31.string(),
4028
4029
  exists: z31.boolean(),
4029
4030
  content: z31.string(),
@@ -4033,6 +4034,20 @@ var sessionContextFileSchema = z31.object({
4033
4034
  writable: z31.boolean(),
4034
4035
  readOnlyReason: z31.string().nullable()
4035
4036
  });
4037
+ var sessionContextSharedFileSchema = z31.object({
4038
+ /** Relative to the project root: `.ai/squawk/context.yaml` or `.ai/cezar/context.yaml`. */
4039
+ path: z31.string(),
4040
+ exists: z31.boolean(),
4041
+ content: z31.string(),
4042
+ /** True when Git tracks this file in the repository index. */
4043
+ tracked: z31.boolean(),
4044
+ /** Non-null when the file cannot be read as UTF-8 text (e.g. symlink, binary, oversized). */
4045
+ unreadableReason: z31.string().nullable()
4046
+ });
4047
+ var sessionContextStateSchema = z31.object({
4048
+ local: sessionContextFileSchema,
4049
+ shared: sessionContextSharedFileSchema
4050
+ });
4036
4051
  var setSessionContextSchema = z31.object({
4037
4052
  content: fileContentSchema,
4038
4053
  version: z31.string().nullable()
@@ -4049,9 +4064,12 @@ var sessionContextProblemSchema = z31.object({
4049
4064
  });
4050
4065
  var sessionContextPreviewBlockSchema = z31.object({
4051
4066
  id: z31.string(),
4067
+ source: sessionContextSourceSchema,
4052
4068
  /** `built-in` for the handoff block; null when the file names no target for the entry. */
4053
4069
  target: z31.enum(["built-in", "parent", "worker", "both"]).nullable(),
4054
4070
  status: z31.enum(["applied", "skipped", "not-for-role"]),
4071
+ /** True when a local rule replaced or muted a shared rule with the same id. */
4072
+ overridesShared: z31.boolean(),
4055
4073
  bytes: z31.number().nullable(),
4056
4074
  reason: z31.string().nullable(),
4057
4075
  sources: z31.array(z31.string()),
@@ -6921,6 +6939,9 @@ export {
6921
6939
  sessionContextPreviewSchema,
6922
6940
  sessionContextProblemSchema,
6923
6941
  sessionContextRoleSchema,
6942
+ sessionContextSharedFileSchema,
6943
+ sessionContextSourceSchema,
6944
+ sessionContextStateSchema,
6924
6945
  sessionRunner,
6925
6946
  setAgentConfigInputSchema,
6926
6947
  setAgentConfigSchema,
@@ -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>;
@@ -184,6 +184,12 @@ export interface RunnerModelData {
184
184
  readonly known: readonly string[];
185
185
  /** How a model id maps to a provider and to the wire (`core/model-identity.ts`). */
186
186
  readonly idMap: BackendModelMap;
187
+ /**
188
+ * The provider quota pool a named model draws on, when one account holds several pools that
189
+ * close apart (hearsay-tools/squawk#4343). A usage-limit hold then closes only that pool.
190
+ * Undefined, or no function: the runner cannot name the pool, so the hold closes the account.
191
+ */
192
+ readonly quotaPool?: (model: string) => string | undefined;
187
193
  }
188
194
  /** A runner's `models` part: its model data and the reader of its native default model. */
189
195
  export interface RunnerModels extends RunnerModelData {
@@ -1 +1 @@
1
- {"version":3,"file":"runner-definition.js","sourceRoot":"","sources":["../../src/core/runner-definition.ts"],"names":[],"mappings":"AAkVA,0BAA0B;AAC1B,MAAM,UAAU,YAAY,CAAC,UAA4B;IACvD,OAAO,UAAU,CAAC;AACpB,CAAC"}
1
+ {"version":3,"file":"runner-definition.js","sourceRoot":"","sources":["../../src/core/runner-definition.ts"],"names":[],"mappings":"AAwVA,0BAA0B;AAC1B,MAAM,UAAU,YAAY,CAAC,UAA4B;IACvD,OAAO,UAAU,CAAC;AACpB,CAAC"}
@@ -43,6 +43,12 @@ export declare function savedRunnerRegistration(id: string): boolean | undefined
43
43
  * read it. Never throws, like `savedRunnerRegistration`.
44
44
  */
45
45
  export declare function knownRunnerIds(): readonly string[];
46
+ /**
47
+ * The quota pool a named model draws on with this runner (`RunnerModelData.quotaPool`), or
48
+ * undefined when the runner cannot name one, the model is unnamed, or the runner is not registered.
49
+ * Never throws: usage-limit holds read it for every saved run.
50
+ */
51
+ export declare function runnerQuotaPool(id: string, model: string | undefined): string | undefined;
46
52
  /** The registered definition of a runner. */
47
53
  export declare function runnerDefinition(id: string): RunnerDefinition;
48
54
  /**
@@ -86,6 +86,16 @@ export function savedRunnerRegistration(id) {
86
86
  export function knownRunnerIds() {
87
87
  return runners.isSealed() ? runners.keys() : [];
88
88
  }
89
+ /**
90
+ * The quota pool a named model draws on with this runner (`RunnerModelData.quotaPool`), or
91
+ * undefined when the runner cannot name one, the model is unnamed, or the runner is not registered.
92
+ * Never throws: usage-limit holds read it for every saved run.
93
+ */
94
+ export function runnerQuotaPool(id, model) {
95
+ if (!model || !runners.isSealed() || !runners.has(id))
96
+ return undefined;
97
+ return runners.get(id)?.models.quotaPool?.(model);
98
+ }
89
99
  /** The registered definition of a runner. */
90
100
  export function runnerDefinition(id) {
91
101
  const definition = runners.get(id);
@@ -1 +1 @@
1
- {"version":3,"file":"runner-registry.js","sourceRoot":"","sources":["../../src/core/runner-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAGpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEvE,+EAA+E;AAC/E,MAAM,OAAO,GAAG,mBAAmB,CAA2B;IAC5D,IAAI,EAAE,iBAAiB;IACvB,QAAQ,EAAE,0EAA0E;IACpF,YAAY,EAAE,CAAC,GAAG,iBAAiB,CAAC,IAAI,EAAE,CAAC;CAC5C,CAAC,CAAC;AAEH,wDAAwD;AACxD,MAAM,UAAU,WAAW,KAAW,OAAO,CAAC,IA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AgB,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;AAClE,CAAC"}
@@ -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,gEAAgE;QAC1F,SAAS;QACT,aAAa;QACb,aAAa;QACb,OAAO;QACP,YAAY;QACZ,MAAM,EAAE,gDAAgD;QACxD,IAAI,EAAE,0FAA0F;QAChG,eAAe;QACf,kBAAkB;Q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AAC;AACH,CAAC"}
@@ -8,7 +8,7 @@ export type DelegationSession = {
8
8
  instructions: string;
9
9
  revoke(): void;
10
10
  };
11
- export type DelegationProvisioner = (runId: string) => DelegationSession | undefined;
11
+ export type DelegationProvisioner = (runId: string, runner?: string) => DelegationSession | undefined;
12
12
  export declare function bundledWorkerInvocation(command?: 'worker' | 'discover' | 'message'): string;
13
13
  export declare function provisionDelegationSession(options: {
14
14
  projectId: string;
@@ -16,6 +16,7 @@ export declare function provisionDelegationSession(options: {
16
16
  store: RunStore;
17
17
  credentials: CredentialRegistry;
18
18
  url: string;
19
+ runner?: string;
19
20
  }): DelegationSession | undefined;
20
21
  /** Owns one invisible loopback listener in this controller, for cockpit AND headless use. */
21
22
  export declare class DelegationController {
@@ -1,6 +1,7 @@
1
1
  import { commandText } from '../home/command.js';
2
2
  import { productEnvEntries } from '../core/product-env.js';
3
- import { knownRunnerIds } from '../core/runner-registry.js';
3
+ import { RUNNER_FACTS } from '../core/runner-facts.js';
4
+ import { isRegisteredRunner, knownRunnerIds, runnersSealed } from '../core/runner-registry.js';
4
5
  import { randomUUID } from 'node:crypto';
5
6
  import { fileURLToPath } from 'node:url';
6
7
  import { CredentialRegistry } from './credentials.js';
@@ -20,6 +21,37 @@ export function bundledWorkerInvocation(command = 'worker') {
20
21
  const entry = fileURLToPath(new URL(source ? '../index.ts' : '../index.js', import.meta.url));
21
22
  return [process.execPath, ...(source ? ['--import', import.meta.resolve('tsx')] : []), entry].map(quote).join(' ') + ` ${command}`;
22
23
  }
24
+ function nativeSubagentsEnabled(runner) {
25
+ if (!runner || !runnersSealed() || !isRegisteredRunner(runner))
26
+ return true;
27
+ return RUNNER_FACTS[runner]?.nativeSubagents !== 'none';
28
+ }
29
+ function nativeSubagentCopy(allow, messaging) {
30
+ const only = allow
31
+ ? `You may use native subagents and message them with your runner's tools. No agent channel to another task exists: tell the user instead.`
32
+ : `No agent channel to another task exists: tell the user instead.`;
33
+ const channel = [
34
+ ...(allow ? [`You may message your own native subagents with your runner's tools.`] : []),
35
+ `Reach another Squawk task only through ${messaging}; never use your runner's native tools for that.`,
36
+ ].join(' ');
37
+ return { only, channel };
38
+ }
39
+ function workerSessionInstructions(run, invocation, conversationGuidance, allowNativeSubagents, subagentMessaging) {
40
+ const notice = run.delegation?.role === 'worker' ? workspaceKind(run.delegation.workspace).workerNotice : undefined;
41
+ return [
42
+ `You are an owned Squawk worker. Your parent run ID is ${supervisorIdOf(run)}.`,
43
+ ...(notice ? [notice] : []),
44
+ conversationGuidance,
45
+ `${maySpawn(run) ? `You may start one shared-workspace Squawk worker at a time; destroy it before you start the next. Run ${invocation} spawn --help first.` : `You cannot spawn Squawk workers.`} You cannot control peers, merge automatically, or accept your own review.`,
46
+ commandText(supervisedByFamilyRecord(run)
47
+ ? `Follow your assigned task and selected input context. Ask your parent with cez message request; any question you raise goes to your parent too, never to a human. Your parent answers or asks the human itself; do not wait for a human.`
48
+ : `Follow your assigned task and selected input context. Send every question to your parent as a request with cez message request and wait for its reply: no question card reaches your parent or a human. Do not wait for a human.`),
49
+ ...(allowNativeSubagents ? [`You may use native subagents for research, code reading and focused analysis.`] : []),
50
+ subagentMessaging,
51
+ `Commit reviewed work before your parent deliberately integrates it; report the summary, commits, tests and remaining concerns.`,
52
+ `When you park before finishing while your parent waits on you, Squawk tells your parent what you wait on and quotes your last message: end such a turn by saying what you wait on and what you have done.`,
53
+ ].join(' ');
54
+ }
23
55
  export function provisionDelegationSession(options) {
24
56
  delegationEndpoint(options.url);
25
57
  const run = options.store.getRun(options.runId);
@@ -27,6 +59,7 @@ export function provisionDelegationSession(options) {
27
59
  return;
28
60
  const invocation = bundledWorkerInvocation();
29
61
  const messaging = bundledWorkerInvocation('message');
62
+ const allowNativeSubagents = nativeSubagentsEnabled(options.runner ?? run.runner);
30
63
  const conversationGuidance = [
31
64
  `For task conversations, use ${messaging}. Root tasks can message peer root tasks in the same project and their owned workers; a worker may address only its parent and a worker it started. Use ${messaging} tasks [--all] [--offset <n>] to discover peers (32 per page); workers cannot list peers. Peer review/terminal tasks need their human to continue them; messages never resume a peer.`,
32
65
  `Use ${messaging} request <recipient-run-id> '<text>' --id <message-UUID> to request an explicit reply; use ${messaging} progress <recipient-run-id> '<text>' --id <message-UUID> for an update without an obligation.`,
@@ -45,12 +78,8 @@ export function provisionDelegationSession(options) {
45
78
  `Controller persistence prevents duplicate queue entries; a crash between provider acceptance and its delivery checkpoint can still make delivery ambiguous.`,
46
79
  `Credentials stay in the environment: never read, echo, forward, or persist them.`,
47
80
  ].join(' ');
48
- // hearsay-tools/cezarion#2279: native subagents are allowed; tasks talk only through cez message.
49
- const subagentOnly = `You may use native subagents and message them with your runner's tools. No agent channel to another task exists: tell the user instead.`;
50
- const subagentMessaging = [
51
- `You may message your own native subagents with your runner's tools.`,
52
- `Reach another Squawk task only through ${messaging}; never use your runner's native tools for that.`,
53
- ].join(' ');
81
+ // hearsay-tools/cezarion#2279: native subagents are allowed where the runner supports them; tasks talk only through cez message.
82
+ const { only: subagentOnly, channel: subagentMessaging } = nativeSubagentCopy(allowNativeSubagents, messaging);
54
83
  /** What the task may do only to workers it started itself: both the workers-on and the workers-off prompt say it. */
55
84
  const ownWorkersOnly = 'Message, steer and diff apply to workers you started yourself; a worker that one of your workers started is reached through that worker.';
56
85
  const worker = run.delegation?.role === 'worker';
@@ -73,11 +102,13 @@ export function provisionDelegationSession(options) {
73
102
  options.store.commitDelegation([{ id: run.id, delegation: rootDelegation() }]);
74
103
  const messagingOff = messagingOn ? [] : [`Task messaging is off for this task: you cannot list, message or wait on peer tasks; a human can turn it on in the task menu. Messages with your own workers, and replies to peer requests accepted earlier, still work.`];
75
104
  const rootInstructions = () => workersOn ? [
76
- `Use native subagents for work that needs no separate worktree: research, code reading and focused analysis.`,
77
- `For example, a subagent reads the parser and summarizes how it handles errors.`,
105
+ ...(allowNativeSubagents ? [
106
+ `Use native subagents for work that needs no separate worktree: research, code reading and focused analysis.`,
107
+ `For example, a subagent reads the parser and summarizes how it handles errors.`,
108
+ ] : []),
78
109
  `Use Squawk workers for work that needs its own worktree, its own commits or a lifecycle Squawk tracks.`,
79
110
  `Also use a Squawk worker when the task needs a model available only through another runner, even if the work is research or analysis.`,
80
- `Native subagents need no Squawk worker, worktree, collection or destruction.`,
111
+ ...(allowNativeSubagents ? [`Native subagents need no Squawk worker, worktree, collection or destruction.`] : []),
81
112
  subagentMessaging,
82
113
  `Owned workers are available through the bundled command ${invocation}.`,
83
114
  `Commands return JSON.`,
@@ -127,7 +158,7 @@ export function provisionDelegationSession(options) {
127
158
  `A worker may start one shared-workspace worker of its own at a time. ${ownWorkersOnly} Workers cannot message peers.`,
128
159
  `This is cooperative local supervision, not process isolation.`,
129
160
  ] : [
130
- `Use native subagents for research, code reading and focused analysis.`,
161
+ ...(allowNativeSubagents ? [`Use native subagents for research, code reading and focused analysis.`] : []),
131
162
  subagentMessaging,
132
163
  WORKERS_OFF,
133
164
  ...(owned ? [`You still manage the workers you own with ${invocation} list, inspect, collect, steer, stop, destroy, diff and wait. ${ownWorkersOnly} Collect the latest settled revision of every worker before completing.`] : []),
@@ -141,19 +172,7 @@ export function provisionDelegationSession(options) {
141
172
  restrictCrossSessionMessaging: true,
142
173
  env: { ...productEnvEntries('DELEGATION_URL', options.url), ...productEnvEntries('DELEGATION_TOKEN', token) },
143
174
  instructions: run.delegation?.role === 'worker'
144
- ? [
145
- `You are an owned Squawk worker. Your parent run ID is ${supervisorIdOf(run)}.`,
146
- ...(workspaceKind(run.delegation.workspace).workerNotice ? [workspaceKind(run.delegation.workspace).workerNotice] : []),
147
- conversationGuidance,
148
- `${maySpawn(run) ? `You may start one shared-workspace Squawk worker at a time; destroy it before you start the next. Run ${invocation} spawn --help first.` : `You cannot spawn Squawk workers.`} You cannot control peers, merge automatically, or accept your own review.`,
149
- commandText(supervisedByFamilyRecord(run)
150
- ? `Follow your assigned task and selected input context. Ask your parent with cez message request; any question you raise goes to your parent too, never to a human. Your parent answers or asks the human itself; do not wait for a human.`
151
- : `Follow your assigned task and selected input context. Send every question to your parent as a request with cez message request and wait for its reply: no question card reaches your parent or a human. Do not wait for a human.`),
152
- `You may use native subagents for research, code reading and focused analysis.`,
153
- subagentMessaging,
154
- `Commit reviewed work before your parent deliberately integrates it; report the summary, commits, tests and remaining concerns.`,
155
- `When you park before finishing while your parent waits on you, Squawk tells your parent what you wait on and quotes your last message: end such a turn by saying what you wait on and what you have done.`,
156
- ].join(' ')
175
+ ? workerSessionInstructions(run, invocation, conversationGuidance, allowNativeSubagents, subagentMessaging)
157
176
  : rootInstructions().join(' '),
158
177
  revoke: () => options.credentials.revoke(run.id, generation),
159
178
  };
@@ -191,11 +210,11 @@ export class DelegationController {
191
210
  return () => { };
192
211
  this.projects.get(project.id)?.detach();
193
212
  const unregister = this.service.registerProject(project);
194
- const clear = project.manager.setDelegationProvisioner(runId => {
213
+ const clear = project.manager.setDelegationProvisioner((runId, runner) => {
195
214
  if (this.closed || !this.transport)
196
215
  return;
197
216
  try {
198
- return provisionDelegationSession({ projectId: project.id, runId, store: project.store, credentials: this.credentials, url: this.transport.url });
217
+ return provisionDelegationSession({ projectId: project.id, runId, store: project.store, credentials: this.credentials, url: this.transport.url, ...(runner ? { runner } : {}) });
199
218
  }
200
219
  catch {
201
220
  this.credentials.revoke(runId);
@@ -1 +1 @@
1
- {"version":3,"file":"provision.js","sourceRoot":"","sources":["../../src/delegation/provision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,2CA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