@claudexor/schema 4.6.2 → 4.8.1

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 (206) hide show
  1. package/dist/account-resources.d.ts +37 -37
  2. package/dist/account-routing-evidence.d.ts +36 -14
  3. package/dist/account-routing-evidence.d.ts.map +1 -1
  4. package/dist/agent-capabilities.d.ts +32 -0
  5. package/dist/agent-capabilities.d.ts.map +1 -1
  6. package/dist/agent-capabilities.js +8 -0
  7. package/dist/agent-capabilities.js.map +1 -1
  8. package/dist/attachment.d.ts +178 -0
  9. package/dist/attachment.d.ts.map +1 -1
  10. package/dist/attachment.js +46 -0
  11. package/dist/attachment.js.map +1 -1
  12. package/dist/auxiliary-writable-roots.d.ts +30 -0
  13. package/dist/auxiliary-writable-roots.d.ts.map +1 -0
  14. package/dist/auxiliary-writable-roots.js +40 -0
  15. package/dist/auxiliary-writable-roots.js.map +1 -0
  16. package/dist/captured-run-start.d.ts +1105 -0
  17. package/dist/captured-run-start.d.ts.map +1 -0
  18. package/dist/captured-run-start.js +41 -0
  19. package/dist/captured-run-start.js.map +1 -0
  20. package/dist/command-summary.d.ts +1 -1
  21. package/dist/command-summary.d.ts.map +1 -1
  22. package/dist/command-summary.js +1 -0
  23. package/dist/command-summary.js.map +1 -1
  24. package/dist/control-harness-list.d.ts +11 -0
  25. package/dist/control-harness-list.d.ts.map +1 -1
  26. package/dist/control-harness-models.js +1 -1
  27. package/dist/control-harness-models.js.map +1 -1
  28. package/dist/control-operation-responses.d.ts +206 -9
  29. package/dist/control-operation-responses.d.ts.map +1 -1
  30. package/dist/control-operation-responses.js +14 -3
  31. package/dist/control-operation-responses.js.map +1 -1
  32. package/dist/control-run-detail.d.ts +277 -19
  33. package/dist/control-run-detail.d.ts.map +1 -1
  34. package/dist/control-run-detail.js +2 -0
  35. package/dist/control-run-detail.js.map +1 -1
  36. package/dist/control-run-execution.d.ts +3 -0
  37. package/dist/control-run-execution.d.ts.map +1 -1
  38. package/dist/control-run-execution.js +2 -0
  39. package/dist/control-run-execution.js.map +1 -1
  40. package/dist/control-run-failure.d.ts +29 -4
  41. package/dist/control-run-failure.d.ts.map +1 -1
  42. package/dist/control-run-failure.js +4 -0
  43. package/dist/control-run-failure.js.map +1 -1
  44. package/dist/control-run-retry.d.ts +31 -0
  45. package/dist/control-run-retry.d.ts.map +1 -1
  46. package/dist/control-run-retry.js +12 -1
  47. package/dist/control-run-retry.js.map +1 -1
  48. package/dist/control.d.ts +86 -5
  49. package/dist/control.d.ts.map +1 -1
  50. package/dist/control.js +3 -7
  51. package/dist/control.js.map +1 -1
  52. package/dist/credential-profile-snapshot.d.ts +72 -28
  53. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  54. package/dist/credential-profile.d.ts +1 -1
  55. package/dist/credential-profile.js +2 -2
  56. package/dist/credential-profile.js.map +1 -1
  57. package/dist/credential-store.d.ts +3 -2
  58. package/dist/credential-store.d.ts.map +1 -1
  59. package/dist/credential-store.js +5 -4
  60. package/dist/credential-store.js.map +1 -1
  61. package/dist/deferred-message.d.ts +2450 -0
  62. package/dist/deferred-message.d.ts.map +1 -0
  63. package/dist/deferred-message.js +186 -0
  64. package/dist/deferred-message.js.map +1 -0
  65. package/dist/events.d.ts +3 -3
  66. package/dist/events.js +1 -1
  67. package/dist/events.js.map +1 -1
  68. package/dist/harness-confinement.d.ts +18 -0
  69. package/dist/harness-confinement.d.ts.map +1 -1
  70. package/dist/harness-confinement.js +18 -0
  71. package/dist/harness-confinement.js.map +1 -1
  72. package/dist/harness-input.d.ts +15 -0
  73. package/dist/harness-input.d.ts.map +1 -1
  74. package/dist/harness-input.js +10 -1
  75. package/dist/harness-input.js.map +1 -1
  76. package/dist/harness-model.d.ts +65 -0
  77. package/dist/harness-model.d.ts.map +1 -1
  78. package/dist/harness-model.js +42 -0
  79. package/dist/harness-model.js.map +1 -1
  80. package/dist/harness-quota.d.ts +3 -3
  81. package/dist/harness.d.ts +77 -24
  82. package/dist/harness.d.ts.map +1 -1
  83. package/dist/harness.js +6 -19
  84. package/dist/harness.js.map +1 -1
  85. package/dist/index.d.ts +9 -0
  86. package/dist/index.d.ts.map +1 -1
  87. package/dist/index.js +9 -0
  88. package/dist/index.js.map +1 -1
  89. package/dist/mcp-run-result.d.ts +356 -12
  90. package/dist/mcp-run-result.d.ts.map +1 -1
  91. package/dist/mcp-run-result.js +5 -0
  92. package/dist/mcp-run-result.js.map +1 -1
  93. package/dist/mcp-run-wait.d.ts +133 -0
  94. package/dist/mcp-run-wait.d.ts.map +1 -1
  95. package/dist/mcp-run-wait.js +4 -0
  96. package/dist/mcp-run-wait.js.map +1 -1
  97. package/dist/mcp-upload.d.ts +133 -0
  98. package/dist/mcp-upload.d.ts.map +1 -0
  99. package/dist/mcp-upload.js +40 -0
  100. package/dist/mcp-upload.js.map +1 -0
  101. package/dist/quota-read.d.ts +8 -8
  102. package/dist/quota.d.ts +26 -20
  103. package/dist/quota.d.ts.map +1 -1
  104. package/dist/quota.js +11 -1
  105. package/dist/quota.js.map +1 -1
  106. package/dist/readiness.d.ts +9 -0
  107. package/dist/readiness.d.ts.map +1 -1
  108. package/dist/run-observation.d.ts +189 -0
  109. package/dist/run-observation.d.ts.map +1 -0
  110. package/dist/run-observation.js +93 -0
  111. package/dist/run-observation.js.map +1 -0
  112. package/dist/setup-login.d.ts +5 -5
  113. package/dist/setup.d.ts +63 -63
  114. package/dist/setup.d.ts.map +1 -1
  115. package/dist/setup.js +1 -1
  116. package/dist/setup.js.map +1 -1
  117. package/dist/task-group-runs.d.ts +257 -0
  118. package/dist/task-group-runs.d.ts.map +1 -0
  119. package/dist/task-group-runs.js +91 -0
  120. package/dist/task-group-runs.js.map +1 -0
  121. package/dist/task-group.d.ts +23 -0
  122. package/dist/task-group.d.ts.map +1 -0
  123. package/dist/task-group.js +38 -0
  124. package/dist/task-group.js.map +1 -0
  125. package/dist/task.d.ts +15 -0
  126. package/dist/task.d.ts.map +1 -1
  127. package/dist/task.js +3 -0
  128. package/dist/task.js.map +1 -1
  129. package/dist/telemetry.d.ts +136 -8
  130. package/dist/telemetry.d.ts.map +1 -1
  131. package/dist/telemetry.js +2 -5
  132. package/dist/telemetry.js.map +1 -1
  133. package/dist/thread-history.d.ts +12553 -0
  134. package/dist/thread-history.d.ts.map +1 -0
  135. package/dist/thread-history.js +291 -0
  136. package/dist/thread-history.js.map +1 -0
  137. package/generated/AgentCapabilityCatalog.schema.json +17 -0
  138. package/generated/ControlAccountResetResponse.schema.json +1 -0
  139. package/generated/ControlAccountResourcesFreshnessResponse.schema.json +1 -0
  140. package/generated/ControlAccountResourcesResponse.schema.json +1 -0
  141. package/generated/ControlCredentialProfileCreateRequest.schema.json +1 -1
  142. package/generated/ControlCredentialProfilesQueryResponse.schema.json +6 -0
  143. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +6 -0
  144. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +6 -0
  145. package/generated/ControlHarnessListResponse.schema.json +5 -0
  146. package/generated/ControlQueuedRunInfo.schema.json +10 -0
  147. package/generated/ControlQuotaFreshnessResponse.schema.json +1 -0
  148. package/generated/ControlQuotaQueryResponse.schema.json +1 -0
  149. package/generated/ControlQuotaResponse.schema.json +1 -0
  150. package/generated/ControlRunAgainDraft.schema.json +13 -0
  151. package/generated/ControlRunControlResponse.schema.json +169 -0
  152. package/generated/ControlRunDetail.schema.json +209 -1
  153. package/generated/ControlRunListResponse.schema.json +32 -1
  154. package/generated/ControlRunRetryResponse.schema.json +10 -0
  155. package/generated/ControlRunStartInfo.schema.json +10 -0
  156. package/generated/ControlRunStartRequest.schema.json +13 -0
  157. package/generated/ControlRunStartResponse.schema.json +18 -0
  158. package/generated/ControlRunSummary.schema.json +32 -1
  159. package/generated/ControlSetupJob.schema.json +2 -1
  160. package/generated/ControlSetupJobCreateRequest.schema.json +2 -1
  161. package/generated/ControlSetupJobEvent.schema.json +2 -1
  162. package/generated/ControlSetupJobListFilter.schema.json +2 -1
  163. package/generated/ControlSetupJobListResponse.schema.json +2 -1
  164. package/generated/ControlSetupJobSnapshot.schema.json +2 -1
  165. package/generated/ControlThreadTurnRequest.schema.json +9 -1
  166. package/generated/ControlUploadImport.schema.json +124 -0
  167. package/generated/ControlUploadImportRequest.schema.json +66 -0
  168. package/generated/DeferredMessageCall.schema.json +331 -0
  169. package/generated/DeferredMessageDetail.schema.json +917 -0
  170. package/generated/DeferredMessageMutation.schema.json +315 -0
  171. package/generated/DeferredMessageProjection.schema.json +177 -0
  172. package/generated/DeferredMessageReadInput.schema.json +20 -0
  173. package/generated/DeferredMessageReadResult.schema.json +399 -0
  174. package/generated/DeferredMessageReceipt.schema.json +193 -0
  175. package/generated/HarnessEvent.schema.json +75 -1
  176. package/generated/HarnessManifest.schema.json +5 -0
  177. package/generated/HarnessStatusDto.schema.json +5 -0
  178. package/generated/McpAccountsToolResult.schema.json +6 -0
  179. package/generated/McpRunHandleResult.schema.json +227 -19
  180. package/generated/McpRunToolResult.schema.json +229 -11
  181. package/generated/McpRunWaitResult.schema.json +180 -2
  182. package/generated/McpStoreIdentityInput.schema.json +11 -0
  183. package/generated/McpUploadCreateInput.schema.json +54 -0
  184. package/generated/McpUploadFinalizeInput.schema.json +40 -0
  185. package/generated/McpUploadImportInput.schema.json +52 -0
  186. package/generated/McpUploadImportLocalInput.schema.json +27 -0
  187. package/generated/McpUploadImportLocalResult.schema.json +45 -0
  188. package/generated/McpUploadTargetInput.schema.json +20 -0
  189. package/generated/ResourceAttachmentRef.schema.json +21 -0
  190. package/generated/RoutePrimaryDivergedPayload.schema.json +23 -14
  191. package/generated/RunFailure.schema.json +32 -1
  192. package/generated/RunObservationRecord.schema.json +64 -0
  193. package/generated/RunTelemetry.schema.json +83 -1
  194. package/generated/RunWaitManyInput.schema.json +47 -0
  195. package/generated/RunWaitManyResult.schema.json +110 -0
  196. package/generated/RunWaitManySummary.schema.json +75 -0
  197. package/generated/TaskContract.schema.json +8 -0
  198. package/generated/TaskGroupId.schema.json +11 -0
  199. package/generated/TaskGroupReceipt.schema.json +26 -0
  200. package/generated/TaskGroupRunsInput.schema.json +46 -0
  201. package/generated/TaskGroupRunsResult.schema.json +162 -0
  202. package/generated/ThreadHistoryInput.schema.json +48 -0
  203. package/generated/ThreadHistoryPage.schema.json +2857 -0
  204. package/generated/ThreadPromptPart.schema.json +57 -0
  205. package/generated/ThreadPromptPartInput.schema.json +41 -0
  206. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"captured-run-start.d.ts","sourceRoot":"","sources":["../src/captured-run-start.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAmB3B,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOrB,CAAC;AACZ,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEtE;0EAC0E;AAC1E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAElB,CAAC;AACZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE;6CAC6C;AAC7C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE1B,CAAC;AAEZ,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGlD"}
@@ -0,0 +1,41 @@
1
+ import { z } from "zod/v3";
2
+ import { GlobalConfig } from "./config.js";
3
+ import { ControlRunStartRequest, RecordedControlRunStartRequest } from "./control.js";
4
+ import { AuthPreference, NonBlankString } from "./primitives.js";
5
+ /** Execution preferences only. Tool permissions, enabled accounts/harnesses,
6
+ * trust, quotas, capabilities and paid-fallback policy are read afresh. */
7
+ const HarnessDefaults = GlobalConfig.shape.harnesses
8
+ .removeDefault()
9
+ .valueSchema.pick({
10
+ default_model: true,
11
+ effort: true,
12
+ max_turns: true,
13
+ max_rounds: true,
14
+ fallback_model: true,
15
+ web: true,
16
+ auth_preference: true,
17
+ })
18
+ .strip();
19
+ export const RunDefaultsSnapshot = z
20
+ .object({
21
+ harnesses: z.record(HarnessDefaults),
22
+ eligibleHarnesses: z.array(NonBlankString),
23
+ primaryHarness: NonBlankString.nullable(),
24
+ authPreference: AuthPreference,
25
+ })
26
+ .strict();
27
+ /** Internal accepted-command carrier. Public run-start schemas deliberately
28
+ * reject deferredDefaults; only engine owners can accept this payload. */
29
+ export const CapturedRunStart = ControlRunStartRequest.extend({
30
+ deferredDefaults: RunDefaultsSnapshot.optional(),
31
+ }).strict();
32
+ /** Decode engine-owned accepted bodies, including historical access profiles.
33
+ * This is never an active ingress schema. */
34
+ export const RecordedCapturedRunStart = RecordedControlRunStartRequest.extend({
35
+ deferredDefaults: RunDefaultsSnapshot.optional(),
36
+ }).strict();
37
+ export function decodeAcceptedRunStart(raw) {
38
+ const { deferredDefaults, ...request } = RecordedCapturedRunStart.parse(raw);
39
+ return { request, deferredDefaults };
40
+ }
41
+ //# sourceMappingURL=captured-run-start.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"captured-run-start.js","sourceRoot":"","sources":["../src/captured-run-start.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjE;2EAC2E;AAC3E,MAAM,eAAe,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS;KACjD,aAAa,EAAE;KACf,WAAW,CAAC,IAAI,CAAC;IAChB,aAAa,EAAE,IAAI;IACnB,MAAM,EAAE,IAAI;IACZ,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,IAAI;IACpB,GAAG,EAAE,IAAI;IACT,eAAe,EAAE,IAAI;CACtB,CAAC;KACD,KAAK,EAAE,CAAC;AACX,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,eAAe,CAAC;IACpC,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC;IAC1C,cAAc,EAAE,cAAc,CAAC,QAAQ,EAAE;IACzC,cAAc,EAAE,cAAc;CAC/B,CAAC;KACD,MAAM,EAAE,CAAC;AAGZ;0EAC0E;AAC1E,MAAM,CAAC,MAAM,gBAAgB,GAAG,sBAAsB,CAAC,MAAM,CAAC;IAC5D,gBAAgB,EAAE,mBAAmB,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ;6CAC6C;AAC7C,MAAM,CAAC,MAAM,wBAAwB,GAAG,8BAA8B,CAAC,MAAM,CAAC;IAC5E,gBAAgB,EAAE,mBAAmB,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC,MAAM,EAAE,CAAC;AAEZ,MAAM,UAAU,sBAAsB,CAAC,GAAY;IACjD,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,EAAE,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC7E,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC;AACvC,CAAC"}
@@ -3,6 +3,6 @@ import type { RecordedControlRunStartRequest } from "./control.js";
3
3
  * activity/delivery and continuation admission. Prompts, instructions and
4
4
  * arbitrary request extensions never travel with collection answers.
5
5
  * Historical malformed values remain readable by the consumer's safe parsers. */
6
- export declare const COMMAND_SUMMARY_PARAM_KEYS: readonly ["mode", "routingGoal", "access", "reviewerPanel", "protectedPathApprovals", "tests", "untilClean", "attempts", "create", "deepScan", "n", "council", "delegate", "harnesses", "primaryHarness", "model", "models", "review", "paidBudget", "parentRunId", "delegatedFromRunId", "continueFrom", "threadId", "turnId", "scope", "execution"];
6
+ export declare const COMMAND_SUMMARY_PARAM_KEYS: readonly ["mode", "taskGroupId", "routingGoal", "access", "reviewerPanel", "protectedPathApprovals", "tests", "untilClean", "attempts", "create", "deepScan", "n", "council", "delegate", "harnesses", "primaryHarness", "model", "models", "review", "paidBudget", "parentRunId", "delegatedFromRunId", "continueFrom", "threadId", "turnId", "scope", "execution"];
7
7
  export type CommandSummaryParams = Partial<Pick<RecordedControlRunStartRequest, (typeof COMMAND_SUMMARY_PARAM_KEYS)[number]>>;
8
8
  //# sourceMappingURL=command-summary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"command-summary.d.ts","sourceRoot":"","sources":["../src/command-summary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAEnE;;;iFAGiF;AACjF,eAAO,MAAM,0BAA0B,uVA2B+B,CAAC;AACvE,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC,IAAI,CAAC,8BAA8B,EAAE,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC,CAClF,CAAC"}
1
+ {"version":3,"file":"command-summary.d.ts","sourceRoot":"","sources":["../src/command-summary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAEnE;;;iFAGiF;AACjF,eAAO,MAAM,0BAA0B,sWA4B+B,CAAC;AACvE,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC,IAAI,CAAC,8BAA8B,EAAE,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC,CAClF,CAAC"}
@@ -4,6 +4,7 @@
4
4
  * Historical malformed values remain readable by the consumer's safe parsers. */
5
5
  export const COMMAND_SUMMARY_PARAM_KEYS = [
6
6
  "mode",
7
+ "taskGroupId",
7
8
  "routingGoal",
8
9
  "access",
9
10
  "reviewerPanel",
@@ -1 +1 @@
1
- {"version":3,"file":"command-summary.js","sourceRoot":"","sources":["../src/command-summary.ts"],"names":[],"mappings":"AAEA;;;iFAGiF;AACjF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,MAAM;IACN,aAAa;IACb,QAAQ;IACR,eAAe;IACf,wBAAwB;IACxB,OAAO;IACP,YAAY;IACZ,UAAU;IACV,QAAQ;IACR,UAAU;IACV,GAAG;IACH,SAAS;IACT,UAAU;IACV,WAAW;IACX,gBAAgB;IAChB,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,YAAY;IACZ,aAAa;IACb,oBAAoB;IACpB,cAAc;IACd,UAAU;IACV,QAAQ;IACR,OAAO;IACP,WAAW;CACyD,CAAC"}
1
+ {"version":3,"file":"command-summary.js","sourceRoot":"","sources":["../src/command-summary.ts"],"names":[],"mappings":"AAEA;;;iFAGiF;AACjF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,MAAM;IACN,aAAa;IACb,aAAa;IACb,QAAQ;IACR,eAAe;IACf,wBAAwB;IACxB,OAAO;IACP,YAAY;IACZ,UAAU;IACV,QAAQ;IACR,UAAU;IACV,GAAG;IACH,SAAS;IACT,UAAU;IACV,WAAW;IACX,gBAAgB;IAChB,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,YAAY;IACZ,aAAa;IACb,oBAAoB;IACpB,cAAc;IACd,UAAU;IACV,QAAQ;IACR,OAAO;IACP,WAAW;CACyD,CAAC"}
@@ -136,12 +136,15 @@ export declare const ControlHarnessListResponse: z.ZodObject<{
136
136
  access_control: z.ZodDefault<z.ZodObject<{
137
137
  readonly_mechanism: z.ZodDefault<z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "none"]>>;
138
138
  write_mechanism: z.ZodDefault<z.ZodEnum<["fs_sandbox", "tool_policy", "none"]>>;
139
+ auxiliary_writable_roots: z.ZodDefault<z.ZodBoolean>;
139
140
  }, "strip", z.ZodTypeAny, {
140
141
  readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
141
142
  write_mechanism: "fs_sandbox" | "none" | "tool_policy";
143
+ auxiliary_writable_roots: boolean;
142
144
  }, {
143
145
  readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
144
146
  write_mechanism?: "fs_sandbox" | "none" | "tool_policy" | undefined;
147
+ auxiliary_writable_roots?: boolean | undefined;
145
148
  }>>;
146
149
  isolation: z.ZodDefault<z.ZodObject<{
147
150
  supported_containment: z.ZodDefault<z.ZodArray<z.ZodEnum<["env_or_file_injection", "scoped_home_keychain_bridge", "private_per_profile_keychain", "host_user_context", "process_sandbox", "container"]>, "many">>;
@@ -217,6 +220,7 @@ export declare const ControlHarnessListResponse: z.ZodObject<{
217
220
  access_control: {
218
221
  readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
219
222
  write_mechanism: "fs_sandbox" | "none" | "tool_policy";
223
+ auxiliary_writable_roots: boolean;
220
224
  };
221
225
  isolation: {
222
226
  supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[];
@@ -263,6 +267,7 @@ export declare const ControlHarnessListResponse: z.ZodObject<{
263
267
  access_control?: {
264
268
  readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
265
269
  write_mechanism?: "fs_sandbox" | "none" | "tool_policy" | undefined;
270
+ auxiliary_writable_roots?: boolean | undefined;
266
271
  } | undefined;
267
272
  isolation?: {
268
273
  supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
@@ -425,6 +430,7 @@ export declare const ControlHarnessListResponse: z.ZodObject<{
425
430
  access_control: {
426
431
  readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
427
432
  write_mechanism: "fs_sandbox" | "none" | "tool_policy";
433
+ auxiliary_writable_roots: boolean;
428
434
  };
429
435
  isolation: {
430
436
  supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[];
@@ -513,6 +519,7 @@ export declare const ControlHarnessListResponse: z.ZodObject<{
513
519
  access_control?: {
514
520
  readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
515
521
  write_mechanism?: "fs_sandbox" | "none" | "tool_policy" | undefined;
522
+ auxiliary_writable_roots?: boolean | undefined;
516
523
  } | undefined;
517
524
  isolation?: {
518
525
  supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
@@ -704,6 +711,7 @@ export declare const ControlHarnessListResponse: z.ZodObject<{
704
711
  access_control: {
705
712
  readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
706
713
  write_mechanism: "fs_sandbox" | "none" | "tool_policy";
714
+ auxiliary_writable_roots: boolean;
707
715
  };
708
716
  isolation: {
709
717
  supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[];
@@ -833,6 +841,7 @@ export declare const ControlHarnessListResponse: z.ZodObject<{
833
841
  access_control?: {
834
842
  readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
835
843
  write_mechanism?: "fs_sandbox" | "none" | "tool_policy" | undefined;
844
+ auxiliary_writable_roots?: boolean | undefined;
836
845
  } | undefined;
837
846
  isolation?: {
838
847
  supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
@@ -980,6 +989,7 @@ export declare const ControlHarnessListResponse: z.ZodObject<{
980
989
  access_control: {
981
990
  readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
982
991
  write_mechanism: "fs_sandbox" | "none" | "tool_policy";
992
+ auxiliary_writable_roots: boolean;
983
993
  };
984
994
  isolation: {
985
995
  supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[];
@@ -1117,6 +1127,7 @@ export declare const ControlHarnessListResponse: z.ZodObject<{
1117
1127
  access_control?: {
1118
1128
  readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
1119
1129
  write_mechanism?: "fs_sandbox" | "none" | "tool_policy" | undefined;
1130
+ auxiliary_writable_roots?: boolean | undefined;
1120
1131
  } | undefined;
1121
1132
  isolation?: {
1122
1133
  supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "private_per_profile_keychain" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"control-harness-list.d.ts","sourceRoot":"","sources":["../src/control-harness-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUI,CAAC;AAC5C,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod/v3";
2
2
  import { Id, IsoTimestamp, NonBlankString } from "./primitives.js";
3
- import { HarnessModel } from "./harness.js";
3
+ import { HarnessModel } from "./harness-model.js";
4
4
  import { AccountCatalogAvailability } from "./model-operation.js";
5
5
  /**
6
6
  * Models enumerable for one harness. `source` is honest about provenance:
@@ -1 +1 @@
1
- {"version":3,"file":"control-harness-models.js","sourceRoot":"","sources":["../src/control-harness-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC;KAC1C,MAAM,CAAC;IACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IAC/D,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,YAAY,CAAC;SACnB,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,sEAAsE,CAAC;IACnF,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;SACjC,QAAQ,CACP,uKAAuK,CACxK;IACH;2EACuE;IACvE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SAC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AAC,YAAY,CAAC;SACnB,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,sEAAsE,CAAC;IACnF,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;SACjC,QAAQ,CACP,uKAAuK,CACxK;IACH;2EACuE;IACvE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACP,8FAA8F,CAC/F;CACJ,CAAC;KACD,QAAQ,CAAC,4DAA4D,CAAC,CAAC;AAG1E,MAAM,CAAC,MAAM,4BAA4B,GAAG,4BAA4B,CAAC,MAAM,CAAC;IAC9E,mBAAmB,EAAE,EAAE;IACvB,UAAU,EAAE,YAAY,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1C,qGAAqG,CACtG;IACD,UAAU,EAAE,cAAc;CAC3B,CAAC,CAAC,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC;KACjD,MAAM,CAAC;IACN,SAAS,EAAE,EAAE;IACb,QAAQ,EAAE,CAAC,CAAC,KAAK,CACf,0BAA0B,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,4BAA4B,CAAC,QAAQ,EAAE,EAAE,CAAC,CACxF;IACD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CACrB,CAAC;KACD,MAAM,EAAE,CAAC;AAIZ,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC;IACvD,4BAA4B,CAAC,MAAM,EAAE;IACrC,mCAAmC;CACpC,CAAC,CAAC"}
@@ -1,28 +1,40 @@
1
1
  import { z } from "zod/v3";
2
2
  export declare const ControlRunStartResponse: z.ZodUnion<[z.ZodObject<{
3
+ taskGroupId: z.ZodOptional<z.ZodString>;
4
+ storeId: z.ZodOptional<z.ZodString>;
3
5
  jobId: z.ZodOptional<z.ZodString>;
4
6
  runId: z.ZodString;
5
7
  taskId: z.ZodOptional<z.ZodString>;
6
8
  runDir: z.ZodString;
7
9
  }, "strip", z.ZodTypeAny, {
10
+ taskGroupId?: string | undefined;
11
+ storeId?: string | undefined;
8
12
  jobId?: string | undefined;
9
13
  runId: string;
10
14
  taskId?: string | undefined;
11
15
  runDir: string;
12
16
  }, {
17
+ taskGroupId?: string | undefined;
18
+ storeId?: string | undefined;
13
19
  jobId?: string | undefined;
14
20
  runId: string;
15
21
  taskId?: string | undefined;
16
22
  runDir: string;
17
23
  }>, z.ZodObject<{
24
+ taskGroupId: z.ZodOptional<z.ZodString>;
25
+ storeId: z.ZodOptional<z.ZodString>;
18
26
  jobId: z.ZodString;
19
27
  state: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled", "interrupted"]>;
20
28
  error: z.ZodOptional<z.ZodString>;
21
29
  }, "strip", z.ZodTypeAny, {
30
+ taskGroupId?: string | undefined;
31
+ storeId?: string | undefined;
22
32
  jobId: string;
23
33
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
24
34
  error?: string | undefined;
25
35
  }, {
36
+ taskGroupId?: string | undefined;
37
+ storeId?: string | undefined;
26
38
  jobId: string;
27
39
  state: "cancelled" | "failed" | "interrupted" | "queued" | "running" | "succeeded";
28
40
  error?: string | undefined;
@@ -48,18 +60,151 @@ export declare const ControlRunControlResponse: z.ZodObject<{
48
60
  runId: z.ZodOptional<z.ZodString>;
49
61
  cascadeRunIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
50
62
  message: z.ZodOptional<z.ZodString>;
63
+ deferredMessage: z.ZodOptional<z.ZodObject<{
64
+ draftId: z.ZodString;
65
+ revision: z.ZodNumber;
66
+ state: z.ZodEnum<["waiting", "held", "dispatched", "cleared"]>;
67
+ predecessorJobId: z.ZodString;
68
+ predecessorRunId: z.ZodNullable<z.ZodString>;
69
+ predecessorResult: z.ZodString;
70
+ hold: z.ZodNullable<z.ZodObject<{
71
+ code: z.ZodEnum<["predecessor_failed", "predecessor_cancelled", "predecessor_interrupted", "predecessor_needs_input", "predecessor_incomplete", "predecessor_facts_unavailable", "predecessor_work_unverified", "predecessor_checks_failed", "predecessor_review_blocked", "predecessor_output_unavailable", "settlement_unknown", "stop_requested", "shutdown", "restart_requires_controller", "partition_retired", "admission_refused"]>;
72
+ problem: z.ZodOptional<z.ZodObject<{
73
+ message: z.ZodString;
74
+ code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
75
+ retryable: z.ZodDefault<z.ZodBoolean>;
76
+ required_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
77
+ context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
78
+ }, "strict", z.ZodTypeAny, {
79
+ message: string;
80
+ code: string | null;
81
+ retryable: boolean;
82
+ required_actions: string[];
83
+ context: Record<string, unknown>;
84
+ }, {
85
+ message: string;
86
+ code?: string | null | undefined;
87
+ retryable?: boolean | undefined;
88
+ required_actions?: string[] | undefined;
89
+ context?: Record<string, unknown> | undefined;
90
+ }>>;
91
+ }, "strict", z.ZodTypeAny, {
92
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
93
+ problem?: {
94
+ message: string;
95
+ code: string | null;
96
+ retryable: boolean;
97
+ required_actions: string[];
98
+ context: Record<string, unknown>;
99
+ } | undefined;
100
+ }, {
101
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
102
+ problem?: {
103
+ message: string;
104
+ code?: string | null | undefined;
105
+ retryable?: boolean | undefined;
106
+ required_actions?: string[] | undefined;
107
+ context?: Record<string, unknown> | undefined;
108
+ } | undefined;
109
+ }>>;
110
+ dispatchedRevision: z.ZodNullable<z.ZodNumber>;
111
+ successorJobId: z.ZodNullable<z.ZodString>;
112
+ successorRunId: z.ZodNullable<z.ZodString>;
113
+ }, "strict", z.ZodTypeAny, {
114
+ draftId: string;
115
+ revision: number;
116
+ state: "cleared" | "dispatched" | "held" | "waiting";
117
+ predecessorJobId: string;
118
+ predecessorRunId: string | null;
119
+ predecessorResult: string;
120
+ hold: {
121
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
122
+ problem?: {
123
+ message: string;
124
+ code: string | null;
125
+ retryable: boolean;
126
+ required_actions: string[];
127
+ context: Record<string, unknown>;
128
+ } | undefined;
129
+ } | null;
130
+ dispatchedRevision: number | null;
131
+ successorJobId: string | null;
132
+ successorRunId: string | null;
133
+ }, {
134
+ draftId: string;
135
+ revision: number;
136
+ state: "cleared" | "dispatched" | "held" | "waiting";
137
+ predecessorJobId: string;
138
+ predecessorRunId: string | null;
139
+ predecessorResult: string;
140
+ hold: {
141
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
142
+ problem?: {
143
+ message: string;
144
+ code?: string | null | undefined;
145
+ retryable?: boolean | undefined;
146
+ required_actions?: string[] | undefined;
147
+ context?: Record<string, unknown> | undefined;
148
+ } | undefined;
149
+ } | null;
150
+ dispatchedRevision: number | null;
151
+ successorJobId: string | null;
152
+ successorRunId: string | null;
153
+ }>>;
51
154
  }, "strip", z.ZodTypeAny, {
52
155
  accepted: boolean;
53
156
  status: "applied" | "queued" | "rejected" | "unsupported";
54
157
  runId?: string | undefined;
55
158
  cascadeRunIds: string[];
56
159
  message?: string | undefined;
160
+ deferredMessage?: {
161
+ draftId: string;
162
+ revision: number;
163
+ state: "cleared" | "dispatched" | "held" | "waiting";
164
+ predecessorJobId: string;
165
+ predecessorRunId: string | null;
166
+ predecessorResult: string;
167
+ hold: {
168
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
169
+ problem?: {
170
+ message: string;
171
+ code: string | null;
172
+ retryable: boolean;
173
+ required_actions: string[];
174
+ context: Record<string, unknown>;
175
+ } | undefined;
176
+ } | null;
177
+ dispatchedRevision: number | null;
178
+ successorJobId: string | null;
179
+ successorRunId: string | null;
180
+ } | undefined;
57
181
  }, {
58
182
  accepted: boolean;
59
183
  status?: "applied" | "queued" | "rejected" | "unsupported" | undefined;
60
184
  runId?: string | undefined;
61
185
  cascadeRunIds?: string[] | undefined;
62
186
  message?: string | undefined;
187
+ deferredMessage?: {
188
+ draftId: string;
189
+ revision: number;
190
+ state: "cleared" | "dispatched" | "held" | "waiting";
191
+ predecessorJobId: string;
192
+ predecessorRunId: string | null;
193
+ predecessorResult: string;
194
+ hold: {
195
+ code: "admission_refused" | "partition_retired" | "predecessor_cancelled" | "predecessor_checks_failed" | "predecessor_facts_unavailable" | "predecessor_failed" | "predecessor_incomplete" | "predecessor_interrupted" | "predecessor_needs_input" | "predecessor_output_unavailable" | "predecessor_review_blocked" | "predecessor_work_unverified" | "restart_requires_controller" | "settlement_unknown" | "shutdown" | "stop_requested";
196
+ problem?: {
197
+ message: string;
198
+ code?: string | null | undefined;
199
+ retryable?: boolean | undefined;
200
+ required_actions?: string[] | undefined;
201
+ context?: Record<string, unknown> | undefined;
202
+ } | undefined;
203
+ } | null;
204
+ dispatchedRevision: number | null;
205
+ successorJobId: string | null;
206
+ successorRunId: string | null;
207
+ } | undefined;
63
208
  }>;
64
209
  export type ControlRunControlResponse = z.infer<typeof ControlRunControlResponse>;
65
210
  export declare const ControlRunListResponse: z.ZodObject<{
@@ -303,6 +448,21 @@ export declare const ControlRunListResponse: z.ZodObject<{
303
448
  source: "claude_stdout";
304
449
  binary_path: string | null;
305
450
  installed_version: string | null;
451
+ }>, z.ZodObject<{
452
+ kind: z.ZodLiteral<"credential_source_unconfirmed">;
453
+ native_code: z.ZodLiteral<"grok_credential_source_unconfirmed">;
454
+ source: z.ZodLiteral<"grok_init">;
455
+ reported_source: z.ZodString;
456
+ }, "strip", z.ZodTypeAny, {
457
+ kind: "credential_source_unconfirmed";
458
+ native_code: "grok_credential_source_unconfirmed";
459
+ source: "grok_init";
460
+ reported_source: string;
461
+ }, {
462
+ kind: "credential_source_unconfirmed";
463
+ native_code: "grok_credential_source_unconfirmed";
464
+ source: "grok_init";
465
+ reported_source: string;
306
466
  }>]>>;
307
467
  captureFailure: z.ZodOptional<z.ZodObject<{
308
468
  code: z.ZodEnum<["capture_output_exceeded", "capture_output_incomplete", "capture_preview_truncated", "capture_failed"]>;
@@ -346,7 +506,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
346
506
  }>>;
347
507
  phase: z.ZodDefault<z.ZodString>;
348
508
  category: z.ZodDefault<z.ZodEnum<["validation", "project", "auth", "harness_unavailable", "harness_error", "config_error", "budget", "policy", "cancelled", "internal", "unknown"]>>;
349
- code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "vendor_cli_too_old", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "retired_access_profile"]>>>;
509
+ code: z.ZodDefault<z.ZodNullable<z.ZodEnum<["finite_zero", "hard_cap", "estimate_headroom", "unknown_paid_in_flight", "budget_overshoot", "cost_unverifiable", "delegation_child_drain_timeout", "subscription_window_exhausted", "credential_pool_exhausted", "input_too_large", "vendor_cli_too_old", "credential_source_unconfirmed", "delegated_home_unavailable", "delegated_confinement_unavailable", "delegated_evidence_incomplete", "access_profile_incompatible", "auxiliary_writable_roots_unsupported", "retired_access_profile"]>>>;
350
510
  harnessId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
351
511
  attemptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
352
512
  safeMessage: z.ZodString;
@@ -441,6 +601,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
441
601
  source: "claude_stdout";
442
602
  binary_path: string | null;
443
603
  installed_version: string | null;
604
+ } | {
605
+ kind: "credential_source_unconfirmed";
606
+ native_code: "grok_credential_source_unconfirmed";
607
+ source: "grok_init";
608
+ reported_source: string;
444
609
  } | undefined;
445
610
  captureFailure?: {
446
611
  code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
@@ -456,7 +621,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
456
621
  } | undefined;
457
622
  phase: string;
458
623
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
459
- code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
624
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
460
625
  harnessId: string | null;
461
626
  attemptId: string | null;
462
627
  safeMessage: string;
@@ -503,6 +668,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
503
668
  source: "claude_stdout";
504
669
  binary_path: string | null;
505
670
  installed_version: string | null;
671
+ } | {
672
+ kind: "credential_source_unconfirmed";
673
+ native_code: "grok_credential_source_unconfirmed";
674
+ source: "grok_init";
675
+ reported_source: string;
506
676
  } | undefined;
507
677
  captureFailure?: {
508
678
  code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
@@ -518,7 +688,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
518
688
  } | undefined;
519
689
  phase?: string | undefined;
520
690
  category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
521
- code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
691
+ code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
522
692
  harnessId?: string | null | undefined;
523
693
  attemptId?: string | null | undefined;
524
694
  safeMessage: string;
@@ -1066,6 +1236,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
1066
1236
  source: "claude_stdout";
1067
1237
  binary_path: string | null;
1068
1238
  installed_version: string | null;
1239
+ } | {
1240
+ kind: "credential_source_unconfirmed";
1241
+ native_code: "grok_credential_source_unconfirmed";
1242
+ source: "grok_init";
1243
+ reported_source: string;
1069
1244
  } | undefined;
1070
1245
  captureFailure?: {
1071
1246
  code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
@@ -1081,7 +1256,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1081
1256
  } | undefined;
1082
1257
  phase: string;
1083
1258
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
1084
- code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
1259
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
1085
1260
  harnessId: string | null;
1086
1261
  attemptId: string | null;
1087
1262
  safeMessage: string;
@@ -1349,6 +1524,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
1349
1524
  source: "claude_stdout";
1350
1525
  binary_path: string | null;
1351
1526
  installed_version: string | null;
1527
+ } | {
1528
+ kind: "credential_source_unconfirmed";
1529
+ native_code: "grok_credential_source_unconfirmed";
1530
+ source: "grok_init";
1531
+ reported_source: string;
1352
1532
  } | undefined;
1353
1533
  captureFailure?: {
1354
1534
  code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
@@ -1364,7 +1544,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1364
1544
  } | undefined;
1365
1545
  phase?: string | undefined;
1366
1546
  category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
1367
- code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
1547
+ code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
1368
1548
  harnessId?: string | null | undefined;
1369
1549
  attemptId?: string | null | undefined;
1370
1550
  safeMessage: string;
@@ -1642,6 +1822,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
1642
1822
  source: "claude_stdout";
1643
1823
  binary_path: string | null;
1644
1824
  installed_version: string | null;
1825
+ } | {
1826
+ kind: "credential_source_unconfirmed";
1827
+ native_code: "grok_credential_source_unconfirmed";
1828
+ source: "grok_init";
1829
+ reported_source: string;
1645
1830
  } | undefined;
1646
1831
  captureFailure?: {
1647
1832
  code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
@@ -1657,7 +1842,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1657
1842
  } | undefined;
1658
1843
  phase: string;
1659
1844
  category: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation";
1660
- code: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
1845
+ code: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null;
1661
1846
  harnessId: string | null;
1662
1847
  attemptId: string | null;
1663
1848
  safeMessage: string;
@@ -1929,6 +2114,11 @@ export declare const ControlRunListResponse: z.ZodObject<{
1929
2114
  source: "claude_stdout";
1930
2115
  binary_path: string | null;
1931
2116
  installed_version: string | null;
2117
+ } | {
2118
+ kind: "credential_source_unconfirmed";
2119
+ native_code: "grok_credential_source_unconfirmed";
2120
+ source: "grok_init";
2121
+ reported_source: string;
1932
2122
  } | undefined;
1933
2123
  captureFailure?: {
1934
2124
  code: "capture_failed" | "capture_output_exceeded" | "capture_output_incomplete" | "capture_preview_truncated";
@@ -1944,7 +2134,7 @@ export declare const ControlRunListResponse: z.ZodObject<{
1944
2134
  } | undefined;
1945
2135
  phase?: string | undefined;
1946
2136
  category?: "auth" | "budget" | "cancelled" | "config_error" | "harness_error" | "harness_unavailable" | "internal" | "policy" | "project" | "unknown" | "validation" | undefined;
1947
- code?: "access_profile_incompatible" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
2137
+ code?: "access_profile_incompatible" | "auxiliary_writable_roots_unsupported" | "budget_overshoot" | "cost_unverifiable" | "credential_pool_exhausted" | "credential_source_unconfirmed" | "delegated_confinement_unavailable" | "delegated_evidence_incomplete" | "delegated_home_unavailable" | "delegation_child_drain_timeout" | "estimate_headroom" | "finite_zero" | "hard_cap" | "input_too_large" | "retired_access_profile" | "subscription_window_exhausted" | "unknown_paid_in_flight" | "vendor_cli_too_old" | null | undefined;
1948
2138
  harnessId?: string | null | undefined;
1949
2139
  attemptId?: string | null | undefined;
1950
2140
  safeMessage: string;
@@ -2454,14 +2644,17 @@ export declare const ControlThreadTurnRequest: z.ZodObject<{
2454
2644
  isolation: z.ZodOptional<z.ZodDefault<z.ZodEnum<["envelope", "live"]>>>;
2455
2645
  workspaceKind: z.ZodOptional<z.ZodOptional<z.ZodEnum<["git", "directory"]>>>;
2456
2646
  scopePaths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>>;
2647
+ auxiliaryWritableRoots: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2457
2648
  }, "strict", z.ZodTypeAny, {
2458
2649
  isolation?: "envelope" | "live" | undefined;
2459
2650
  workspaceKind?: "directory" | "git" | undefined;
2460
2651
  scopePaths?: string[] | undefined;
2652
+ auxiliaryWritableRoots?: string[] | undefined;
2461
2653
  }, {
2462
2654
  isolation?: "envelope" | "live" | undefined;
2463
2655
  workspaceKind?: "directory" | "git" | undefined;
2464
2656
  scopePaths?: string[] | undefined;
2657
+ auxiliaryWritableRoots?: string[] | undefined;
2465
2658
  }>>;
2466
2659
  answersPlanRunId: z.ZodOptional<z.ZodString>;
2467
2660
  overridePlanReadiness: z.ZodOptional<z.ZodBoolean>;
@@ -2532,6 +2725,7 @@ export declare const ControlThreadTurnRequest: z.ZodObject<{
2532
2725
  isolation?: "envelope" | "live" | undefined;
2533
2726
  workspaceKind?: "directory" | "git" | undefined;
2534
2727
  scopePaths?: string[] | undefined;
2728
+ auxiliaryWritableRoots?: string[] | undefined;
2535
2729
  } | undefined;
2536
2730
  answersPlanRunId?: string | undefined;
2537
2731
  overridePlanReadiness?: boolean | undefined;
@@ -2602,17 +2796,20 @@ export declare const ControlThreadTurnRequest: z.ZodObject<{
2602
2796
  isolation?: "envelope" | "live" | undefined;
2603
2797
  workspaceKind?: "directory" | "git" | undefined;
2604
2798
  scopePaths?: string[] | undefined;
2799
+ auxiliaryWritableRoots?: string[] | undefined;
2605
2800
  } | undefined;
2606
2801
  answersPlanRunId?: string | undefined;
2607
2802
  overridePlanReadiness?: boolean | undefined;
2608
2803
  }>;
2609
2804
  export type ControlThreadTurnRequest = z.infer<typeof ControlThreadTurnRequest>;
2610
- export declare const ControlThreadTurnResponse: z.ZodUnion<[z.ZodObject<{
2805
+ export declare const ControlThreadTurnResponse: z.ZodUnion<[z.ZodObject<Omit<{
2806
+ taskGroupId: z.ZodOptional<z.ZodString>;
2807
+ storeId: z.ZodOptional<z.ZodString>;
2611
2808
  jobId: z.ZodOptional<z.ZodString>;
2612
2809
  runId: z.ZodString;
2613
2810
  taskId: z.ZodOptional<z.ZodString>;
2614
2811
  runDir: z.ZodString;
2615
- } & {
2812
+ }, "storeId" | "taskGroupId"> & {
2616
2813
  threadId: z.ZodString;
2617
2814
  turnId: z.ZodString;
2618
2815
  }, "strip", z.ZodTypeAny, {
@@ -1 +1 @@
1
- {"version":3,"file":"control-operation-responses.d.ts","sourceRoot":"","sources":["../src/control-operation-responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAY3B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEqC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,gCAAgC;;;;;;;;;;;;EAUI,CAAC;AAClD,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAEhG,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAcW,CAAC;AAClD,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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