@claudexor/schema 4.7.0 → 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 (174) hide show
  1. package/dist/account-resources.d.ts +37 -37
  2. package/dist/account-routing-evidence.d.ts +14 -14
  3. package/dist/attachment.d.ts +178 -0
  4. package/dist/attachment.d.ts.map +1 -1
  5. package/dist/attachment.js +46 -0
  6. package/dist/attachment.js.map +1 -1
  7. package/dist/captured-run-start.d.ts +1105 -0
  8. package/dist/captured-run-start.d.ts.map +1 -0
  9. package/dist/captured-run-start.js +41 -0
  10. package/dist/captured-run-start.js.map +1 -0
  11. package/dist/command-summary.d.ts +1 -1
  12. package/dist/command-summary.d.ts.map +1 -1
  13. package/dist/command-summary.js +1 -0
  14. package/dist/command-summary.js.map +1 -1
  15. package/dist/control-harness-models.js +1 -1
  16. package/dist/control-harness-models.js.map +1 -1
  17. package/dist/control-operation-responses.d.ts +201 -9
  18. package/dist/control-operation-responses.d.ts.map +1 -1
  19. package/dist/control-operation-responses.js +7 -1
  20. package/dist/control-operation-responses.js.map +1 -1
  21. package/dist/control-run-detail.d.ts +277 -19
  22. package/dist/control-run-detail.d.ts.map +1 -1
  23. package/dist/control-run-detail.js +2 -0
  24. package/dist/control-run-detail.js.map +1 -1
  25. package/dist/control-run-failure.d.ts +29 -4
  26. package/dist/control-run-failure.d.ts.map +1 -1
  27. package/dist/control-run-failure.js +3 -0
  28. package/dist/control-run-failure.js.map +1 -1
  29. package/dist/control-run-retry.d.ts +31 -0
  30. package/dist/control-run-retry.d.ts.map +1 -1
  31. package/dist/control-run-retry.js +12 -1
  32. package/dist/control-run-retry.js.map +1 -1
  33. package/dist/control.d.ts +69 -5
  34. package/dist/control.d.ts.map +1 -1
  35. package/dist/control.js +3 -7
  36. package/dist/control.js.map +1 -1
  37. package/dist/credential-profile-snapshot.d.ts +28 -28
  38. package/dist/credential-profile.d.ts +1 -1
  39. package/dist/credential-profile.js +2 -2
  40. package/dist/credential-profile.js.map +1 -1
  41. package/dist/credential-store.d.ts +3 -2
  42. package/dist/credential-store.d.ts.map +1 -1
  43. package/dist/credential-store.js +5 -4
  44. package/dist/credential-store.js.map +1 -1
  45. package/dist/deferred-message.d.ts +2450 -0
  46. package/dist/deferred-message.d.ts.map +1 -0
  47. package/dist/deferred-message.js +186 -0
  48. package/dist/deferred-message.js.map +1 -0
  49. package/dist/events.d.ts +3 -3
  50. package/dist/events.js +1 -1
  51. package/dist/events.js.map +1 -1
  52. package/dist/harness-input.d.ts +15 -0
  53. package/dist/harness-input.d.ts.map +1 -1
  54. package/dist/harness-input.js +10 -1
  55. package/dist/harness-input.js.map +1 -1
  56. package/dist/harness-model.d.ts +65 -0
  57. package/dist/harness-model.d.ts.map +1 -1
  58. package/dist/harness-model.js +42 -0
  59. package/dist/harness-model.js.map +1 -1
  60. package/dist/harness-quota.d.ts +3 -3
  61. package/dist/harness.d.ts +61 -9
  62. package/dist/harness.d.ts.map +1 -1
  63. package/dist/harness.js +2 -2
  64. package/dist/harness.js.map +1 -1
  65. package/dist/index.d.ts +8 -0
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +8 -0
  68. package/dist/index.js.map +1 -1
  69. package/dist/mcp-run-result.d.ts +356 -12
  70. package/dist/mcp-run-result.d.ts.map +1 -1
  71. package/dist/mcp-run-result.js +5 -0
  72. package/dist/mcp-run-result.js.map +1 -1
  73. package/dist/mcp-run-wait.d.ts +133 -0
  74. package/dist/mcp-run-wait.d.ts.map +1 -1
  75. package/dist/mcp-run-wait.js +4 -0
  76. package/dist/mcp-run-wait.js.map +1 -1
  77. package/dist/mcp-upload.d.ts +133 -0
  78. package/dist/mcp-upload.d.ts.map +1 -0
  79. package/dist/mcp-upload.js +40 -0
  80. package/dist/mcp-upload.js.map +1 -0
  81. package/dist/quota-read.d.ts +8 -8
  82. package/dist/quota.d.ts +26 -20
  83. package/dist/quota.d.ts.map +1 -1
  84. package/dist/quota.js +11 -1
  85. package/dist/quota.js.map +1 -1
  86. package/dist/run-observation.d.ts +189 -0
  87. package/dist/run-observation.d.ts.map +1 -0
  88. package/dist/run-observation.js +93 -0
  89. package/dist/run-observation.js.map +1 -0
  90. package/dist/setup-login.d.ts +5 -5
  91. package/dist/setup.d.ts +63 -63
  92. package/dist/setup.d.ts.map +1 -1
  93. package/dist/setup.js +1 -1
  94. package/dist/setup.js.map +1 -1
  95. package/dist/task-group-runs.d.ts +257 -0
  96. package/dist/task-group-runs.d.ts.map +1 -0
  97. package/dist/task-group-runs.js +91 -0
  98. package/dist/task-group-runs.js.map +1 -0
  99. package/dist/task-group.d.ts +23 -0
  100. package/dist/task-group.d.ts.map +1 -0
  101. package/dist/task-group.js +38 -0
  102. package/dist/task-group.js.map +1 -0
  103. package/dist/telemetry.d.ts +136 -8
  104. package/dist/telemetry.d.ts.map +1 -1
  105. package/dist/telemetry.js +2 -5
  106. package/dist/telemetry.js.map +1 -1
  107. package/dist/thread-history.d.ts +12553 -0
  108. package/dist/thread-history.d.ts.map +1 -0
  109. package/dist/thread-history.js +291 -0
  110. package/dist/thread-history.js.map +1 -0
  111. package/generated/ControlAccountResetResponse.schema.json +1 -0
  112. package/generated/ControlAccountResourcesFreshnessResponse.schema.json +1 -0
  113. package/generated/ControlAccountResourcesResponse.schema.json +1 -0
  114. package/generated/ControlCredentialProfileCreateRequest.schema.json +1 -1
  115. package/generated/ControlCredentialProfilesQueryResponse.schema.json +1 -0
  116. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +1 -0
  117. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1 -0
  118. package/generated/ControlQueuedRunInfo.schema.json +10 -0
  119. package/generated/ControlQuotaFreshnessResponse.schema.json +1 -0
  120. package/generated/ControlQuotaQueryResponse.schema.json +1 -0
  121. package/generated/ControlQuotaResponse.schema.json +1 -0
  122. package/generated/ControlRunAgainDraft.schema.json +5 -0
  123. package/generated/ControlRunControlResponse.schema.json +169 -0
  124. package/generated/ControlRunDetail.schema.json +208 -1
  125. package/generated/ControlRunListResponse.schema.json +31 -1
  126. package/generated/ControlRunRetryResponse.schema.json +10 -0
  127. package/generated/ControlRunStartInfo.schema.json +10 -0
  128. package/generated/ControlRunStartRequest.schema.json +5 -0
  129. package/generated/ControlRunStartResponse.schema.json +18 -0
  130. package/generated/ControlRunSummary.schema.json +31 -1
  131. package/generated/ControlSetupJob.schema.json +2 -1
  132. package/generated/ControlSetupJobCreateRequest.schema.json +2 -1
  133. package/generated/ControlSetupJobEvent.schema.json +2 -1
  134. package/generated/ControlSetupJobListFilter.schema.json +2 -1
  135. package/generated/ControlSetupJobListResponse.schema.json +2 -1
  136. package/generated/ControlSetupJobSnapshot.schema.json +2 -1
  137. package/generated/ControlUploadImport.schema.json +124 -0
  138. package/generated/ControlUploadImportRequest.schema.json +66 -0
  139. package/generated/DeferredMessageCall.schema.json +331 -0
  140. package/generated/DeferredMessageDetail.schema.json +917 -0
  141. package/generated/DeferredMessageMutation.schema.json +315 -0
  142. package/generated/DeferredMessageProjection.schema.json +177 -0
  143. package/generated/DeferredMessageReadInput.schema.json +20 -0
  144. package/generated/DeferredMessageReadResult.schema.json +399 -0
  145. package/generated/DeferredMessageReceipt.schema.json +193 -0
  146. package/generated/HarnessEvent.schema.json +75 -1
  147. package/generated/McpAccountsToolResult.schema.json +1 -0
  148. package/generated/McpRunHandleResult.schema.json +226 -19
  149. package/generated/McpRunToolResult.schema.json +228 -11
  150. package/generated/McpRunWaitResult.schema.json +180 -2
  151. package/generated/McpStoreIdentityInput.schema.json +11 -0
  152. package/generated/McpUploadCreateInput.schema.json +54 -0
  153. package/generated/McpUploadFinalizeInput.schema.json +40 -0
  154. package/generated/McpUploadImportInput.schema.json +52 -0
  155. package/generated/McpUploadImportLocalInput.schema.json +27 -0
  156. package/generated/McpUploadImportLocalResult.schema.json +45 -0
  157. package/generated/McpUploadTargetInput.schema.json +20 -0
  158. package/generated/ResourceAttachmentRef.schema.json +21 -0
  159. package/generated/RoutePrimaryDivergedPayload.schema.json +23 -14
  160. package/generated/RunFailure.schema.json +31 -1
  161. package/generated/RunObservationRecord.schema.json +64 -0
  162. package/generated/RunTelemetry.schema.json +83 -1
  163. package/generated/RunWaitManyInput.schema.json +47 -0
  164. package/generated/RunWaitManyResult.schema.json +110 -0
  165. package/generated/RunWaitManySummary.schema.json +75 -0
  166. package/generated/TaskGroupId.schema.json +11 -0
  167. package/generated/TaskGroupReceipt.schema.json +26 -0
  168. package/generated/TaskGroupRunsInput.schema.json +46 -0
  169. package/generated/TaskGroupRunsResult.schema.json +162 -0
  170. package/generated/ThreadHistoryInput.schema.json +48 -0
  171. package/generated/ThreadHistoryPage.schema.json +2857 -0
  172. package/generated/ThreadPromptPart.schema.json +57 -0
  173. package/generated/ThreadPromptPartInput.schema.json +41 -0
  174. package/package.json +2 -2
@@ -13,7 +13,7 @@ export declare const SetupLoginManifest: z.ZodEffects<z.ZodObject<{
13
13
  version: z.ZodLiteral<2>;
14
14
  jobId: z.ZodString;
15
15
  executionId: z.ZodString;
16
- harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
16
+ harness: z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>;
17
17
  jobDir: z.ZodString;
18
18
  binary: z.ZodString;
19
19
  args: z.ZodArray<z.ZodString, "many">;
@@ -92,7 +92,7 @@ export declare const SetupLoginManifest: z.ZodEffects<z.ZodObject<{
92
92
  version: 2;
93
93
  jobId: string;
94
94
  executionId: string;
95
- harness: "agy" | "claude" | "codex" | "cursor";
95
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
96
96
  jobDir: string;
97
97
  binary: string;
98
98
  args: string[];
@@ -127,7 +127,7 @@ export declare const SetupLoginManifest: z.ZodEffects<z.ZodObject<{
127
127
  version: 2;
128
128
  jobId: string;
129
129
  executionId: string;
130
- harness: "agy" | "claude" | "codex" | "cursor";
130
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
131
131
  jobDir: string;
132
132
  binary: string;
133
133
  args: string[];
@@ -162,7 +162,7 @@ export declare const SetupLoginManifest: z.ZodEffects<z.ZodObject<{
162
162
  version: 2;
163
163
  jobId: string;
164
164
  executionId: string;
165
- harness: "agy" | "claude" | "codex" | "cursor";
165
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
166
166
  jobDir: string;
167
167
  binary: string;
168
168
  args: string[];
@@ -197,7 +197,7 @@ export declare const SetupLoginManifest: z.ZodEffects<z.ZodObject<{
197
197
  version: 2;
198
198
  jobId: string;
199
199
  executionId: string;
200
- harness: "agy" | "claude" | "codex" | "cursor";
200
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
201
201
  jobDir: string;
202
202
  binary: string;
203
203
  args: string[];
package/dist/setup.d.ts CHANGED
@@ -409,7 +409,7 @@ export declare const SetupNativeCommandReceipt: z.ZodEffects<z.ZodObject<{
409
409
  }>;
410
410
  export type SetupNativeCommandReceipt = z.infer<typeof SetupNativeCommandReceipt>;
411
411
  /** Harness ids with a daemon-managed native-login flow. */
412
- export declare const ControlHarnessSetupHarness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
412
+ export declare const ControlHarnessSetupHarness: z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>;
413
413
  export type ControlHarnessSetupHarness = z.infer<typeof ControlHarnessSetupHarness>;
414
414
  export declare const ControlSetupJobState: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
415
415
  export type ControlSetupJobState = z.infer<typeof ControlSetupJobState>;
@@ -444,7 +444,7 @@ export declare const SetupTerminationReconciliation: z.ZodObject<{
444
444
  }>;
445
445
  export type SetupTerminationReconciliation = z.infer<typeof SetupTerminationReconciliation>;
446
446
  export declare const ControlSetupJobCreateRequest: z.ZodEffects<z.ZodObject<{
447
- harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
447
+ harness: z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>;
448
448
  action: z.ZodLiteral<"login">;
449
449
  authRequest: z.ZodLiteral<"subscription">;
450
450
  /** Target a REGISTERED config-dir credential binding (INV-135): the vendor
@@ -464,28 +464,28 @@ export declare const ControlSetupJobCreateRequest: z.ZodEffects<z.ZodObject<{
464
464
  loginFlow: z.ZodOptional<z.ZodEnum<["device_auth", "browser_callback", "browser_redirect"]>>;
465
465
  transport: z.ZodDefault<z.ZodOptional<z.ZodEnum<["daemon", "client_pty"]>>>;
466
466
  }, "strict", z.ZodTypeAny, {
467
- harness: "agy" | "claude" | "codex" | "cursor";
467
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
468
468
  action: "login";
469
469
  authRequest: "subscription";
470
470
  profileId?: string | undefined;
471
471
  loginFlow?: "browser_callback" | "browser_redirect" | "device_auth" | undefined;
472
472
  transport: "client_pty" | "daemon";
473
473
  }, {
474
- harness: "agy" | "claude" | "codex" | "cursor";
474
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
475
475
  action: "login";
476
476
  authRequest: "subscription";
477
477
  profileId?: string | undefined;
478
478
  loginFlow?: "browser_callback" | "browser_redirect" | "device_auth" | undefined;
479
479
  transport?: "client_pty" | "daemon" | undefined;
480
480
  }>, {
481
- harness: "agy" | "claude" | "codex" | "cursor";
481
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
482
482
  action: "login";
483
483
  authRequest: "subscription";
484
484
  profileId?: string | undefined;
485
485
  loginFlow?: "browser_callback" | "browser_redirect" | "device_auth" | undefined;
486
486
  transport: "client_pty" | "daemon";
487
487
  }, {
488
- harness: "agy" | "claude" | "codex" | "cursor";
488
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
489
489
  action: "login";
490
490
  authRequest: "subscription";
491
491
  profileId?: string | undefined;
@@ -495,7 +495,7 @@ export declare const ControlSetupJobCreateRequest: z.ZodEffects<z.ZodObject<{
495
495
  export type ControlSetupJobCreateRequest = z.infer<typeof ControlSetupJobCreateRequest>;
496
496
  export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
497
497
  jobId: z.ZodString;
498
- harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
498
+ harness: z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>;
499
499
  action: z.ZodLiteral<"login">;
500
500
  transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
501
501
  /** Credential profile this login job targets; null = the default session. */
@@ -1660,7 +1660,7 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
1660
1660
  }>>;
1661
1661
  }, "strict", z.ZodTypeAny, {
1662
1662
  jobId: string;
1663
- harness: "agy" | "claude" | "codex" | "cursor";
1663
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
1664
1664
  action: "login";
1665
1665
  transport: "client_pty" | "daemon";
1666
1666
  profileId: string | null;
@@ -1842,7 +1842,7 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
1842
1842
  } | undefined;
1843
1843
  }, {
1844
1844
  jobId: string;
1845
- harness: "agy" | "claude" | "codex" | "cursor";
1845
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
1846
1846
  action: "login";
1847
1847
  transport?: "client_pty" | "daemon" | undefined;
1848
1848
  profileId?: string | null | undefined;
@@ -2024,7 +2024,7 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
2024
2024
  } | undefined;
2025
2025
  }>, {
2026
2026
  jobId: string;
2027
- harness: "agy" | "claude" | "codex" | "cursor";
2027
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
2028
2028
  action: "login";
2029
2029
  transport: "client_pty" | "daemon";
2030
2030
  profileId: string | null;
@@ -2206,7 +2206,7 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
2206
2206
  } | undefined;
2207
2207
  }, {
2208
2208
  jobId: string;
2209
- harness: "agy" | "claude" | "codex" | "cursor";
2209
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
2210
2210
  action: "login";
2211
2211
  transport?: "client_pty" | "daemon" | undefined;
2212
2212
  profileId?: string | null | undefined;
@@ -2427,17 +2427,17 @@ export declare const SetupDeviceCodeDisclosure: z.ZodObject<{
2427
2427
  }>;
2428
2428
  export type SetupDeviceCodeDisclosure = z.infer<typeof SetupDeviceCodeDisclosure>;
2429
2429
  export declare const ControlSetupJobListFilter: z.ZodObject<{
2430
- harness: z.ZodOptional<z.ZodEnum<["codex", "claude", "cursor", "agy"]>>;
2430
+ harness: z.ZodOptional<z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>>;
2431
2431
  action: z.ZodOptional<z.ZodLiteral<"login">>;
2432
2432
  active: z.ZodOptional<z.ZodBoolean>;
2433
2433
  limit: z.ZodOptional<z.ZodNumber>;
2434
2434
  }, "strict", z.ZodTypeAny, {
2435
- harness?: "agy" | "claude" | "codex" | "cursor" | undefined;
2435
+ harness?: "agy" | "claude" | "codex" | "cursor" | "grok" | undefined;
2436
2436
  action?: "login" | undefined;
2437
2437
  active?: boolean | undefined;
2438
2438
  limit?: number | undefined;
2439
2439
  }, {
2440
- harness?: "agy" | "claude" | "codex" | "cursor" | undefined;
2440
+ harness?: "agy" | "claude" | "codex" | "cursor" | "grok" | undefined;
2441
2441
  action?: "login" | undefined;
2442
2442
  active?: boolean | undefined;
2443
2443
  limit?: number | undefined;
@@ -2454,7 +2454,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
2454
2454
  message: z.ZodString;
2455
2455
  job: z.ZodEffects<z.ZodObject<{
2456
2456
  jobId: z.ZodString;
2457
- harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
2457
+ harness: z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>;
2458
2458
  action: z.ZodLiteral<"login">;
2459
2459
  transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
2460
2460
  /** Credential profile this login job targets; null = the default session. */
@@ -3619,7 +3619,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
3619
3619
  }>>;
3620
3620
  }, "strict", z.ZodTypeAny, {
3621
3621
  jobId: string;
3622
- harness: "agy" | "claude" | "codex" | "cursor";
3622
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
3623
3623
  action: "login";
3624
3624
  transport: "client_pty" | "daemon";
3625
3625
  profileId: string | null;
@@ -3801,7 +3801,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
3801
3801
  } | undefined;
3802
3802
  }, {
3803
3803
  jobId: string;
3804
- harness: "agy" | "claude" | "codex" | "cursor";
3804
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
3805
3805
  action: "login";
3806
3806
  transport?: "client_pty" | "daemon" | undefined;
3807
3807
  profileId?: string | null | undefined;
@@ -3983,7 +3983,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
3983
3983
  } | undefined;
3984
3984
  }>, {
3985
3985
  jobId: string;
3986
- harness: "agy" | "claude" | "codex" | "cursor";
3986
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
3987
3987
  action: "login";
3988
3988
  transport: "client_pty" | "daemon";
3989
3989
  profileId: string | null;
@@ -4165,7 +4165,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
4165
4165
  } | undefined;
4166
4166
  }, {
4167
4167
  jobId: string;
4168
- harness: "agy" | "claude" | "codex" | "cursor";
4168
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
4169
4169
  action: "login";
4170
4170
  transport?: "client_pty" | "daemon" | undefined;
4171
4171
  profileId?: string | null | undefined;
@@ -4360,7 +4360,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
4360
4360
  message: string;
4361
4361
  job: {
4362
4362
  jobId: string;
4363
- harness: "agy" | "claude" | "codex" | "cursor";
4363
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
4364
4364
  action: "login";
4365
4365
  transport: "client_pty" | "daemon";
4366
4366
  profileId: string | null;
@@ -4553,7 +4553,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
4553
4553
  message: string;
4554
4554
  job: {
4555
4555
  jobId: string;
4556
- harness: "agy" | "claude" | "codex" | "cursor";
4556
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
4557
4557
  action: "login";
4558
4558
  transport?: "client_pty" | "daemon" | undefined;
4559
4559
  profileId?: string | null | undefined;
@@ -4745,7 +4745,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
4745
4745
  message: z.ZodString;
4746
4746
  job: z.ZodEffects<z.ZodObject<{
4747
4747
  jobId: z.ZodString;
4748
- harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
4748
+ harness: z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>;
4749
4749
  action: z.ZodLiteral<"login">;
4750
4750
  transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
4751
4751
  /** Credential profile this login job targets; null = the default session. */
@@ -5910,7 +5910,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
5910
5910
  }>>;
5911
5911
  }, "strict", z.ZodTypeAny, {
5912
5912
  jobId: string;
5913
- harness: "agy" | "claude" | "codex" | "cursor";
5913
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
5914
5914
  action: "login";
5915
5915
  transport: "client_pty" | "daemon";
5916
5916
  profileId: string | null;
@@ -6092,7 +6092,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
6092
6092
  } | undefined;
6093
6093
  }, {
6094
6094
  jobId: string;
6095
- harness: "agy" | "claude" | "codex" | "cursor";
6095
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
6096
6096
  action: "login";
6097
6097
  transport?: "client_pty" | "daemon" | undefined;
6098
6098
  profileId?: string | null | undefined;
@@ -6274,7 +6274,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
6274
6274
  } | undefined;
6275
6275
  }>, {
6276
6276
  jobId: string;
6277
- harness: "agy" | "claude" | "codex" | "cursor";
6277
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
6278
6278
  action: "login";
6279
6279
  transport: "client_pty" | "daemon";
6280
6280
  profileId: string | null;
@@ -6456,7 +6456,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
6456
6456
  } | undefined;
6457
6457
  }, {
6458
6458
  jobId: string;
6459
- harness: "agy" | "claude" | "codex" | "cursor";
6459
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
6460
6460
  action: "login";
6461
6461
  transport?: "client_pty" | "daemon" | undefined;
6462
6462
  profileId?: string | null | undefined;
@@ -6640,7 +6640,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
6640
6640
  } & {
6641
6641
  job: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
6642
6642
  jobId: z.ZodString;
6643
- harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
6643
+ harness: z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>;
6644
6644
  action: z.ZodLiteral<"login">;
6645
6645
  transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
6646
6646
  /** Credential profile this login job targets; null = the default session. */
@@ -7805,7 +7805,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
7805
7805
  }>>;
7806
7806
  }, "strict", z.ZodTypeAny, {
7807
7807
  jobId: string;
7808
- harness: "agy" | "claude" | "codex" | "cursor";
7808
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
7809
7809
  action: "login";
7810
7810
  transport: "client_pty" | "daemon";
7811
7811
  profileId: string | null;
@@ -7987,7 +7987,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
7987
7987
  } | undefined;
7988
7988
  }, {
7989
7989
  jobId: string;
7990
- harness: "agy" | "claude" | "codex" | "cursor";
7990
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
7991
7991
  action: "login";
7992
7992
  transport?: "client_pty" | "daemon" | undefined;
7993
7993
  profileId?: string | null | undefined;
@@ -8169,7 +8169,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
8169
8169
  } | undefined;
8170
8170
  }>, {
8171
8171
  jobId: string;
8172
- harness: "agy" | "claude" | "codex" | "cursor";
8172
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
8173
8173
  action: "login";
8174
8174
  transport: "client_pty" | "daemon";
8175
8175
  profileId: string | null;
@@ -8351,7 +8351,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
8351
8351
  } | undefined;
8352
8352
  }, {
8353
8353
  jobId: string;
8354
- harness: "agy" | "claude" | "codex" | "cursor";
8354
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
8355
8355
  action: "login";
8356
8356
  transport?: "client_pty" | "daemon" | undefined;
8357
8357
  profileId?: string | null | undefined;
@@ -8573,7 +8573,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
8573
8573
  message: string;
8574
8574
  job: {
8575
8575
  jobId: string;
8576
- harness: "agy" | "claude" | "codex" | "cursor";
8576
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
8577
8577
  action: "login";
8578
8578
  transport: "client_pty" | "daemon";
8579
8579
  profileId: string | null;
@@ -8776,7 +8776,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
8776
8776
  message: string;
8777
8777
  job: {
8778
8778
  jobId: string;
8779
- harness: "agy" | "claude" | "codex" | "cursor";
8779
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
8780
8780
  action: "login";
8781
8781
  transport?: "client_pty" | "daemon" | undefined;
8782
8782
  profileId?: string | null | undefined;
@@ -8975,7 +8975,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
8975
8975
  message: string;
8976
8976
  job: {
8977
8977
  jobId: string;
8978
- harness: "agy" | "claude" | "codex" | "cursor";
8978
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
8979
8979
  action: "login";
8980
8980
  transport: "client_pty" | "daemon";
8981
8981
  profileId: string | null;
@@ -9172,7 +9172,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
9172
9172
  message: string;
9173
9173
  job: {
9174
9174
  jobId: string;
9175
- harness: "agy" | "claude" | "codex" | "cursor";
9175
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
9176
9176
  action: "login";
9177
9177
  transport: "client_pty" | "daemon";
9178
9178
  profileId: string | null;
@@ -9371,7 +9371,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
9371
9371
  message: string;
9372
9372
  job: {
9373
9373
  jobId: string;
9374
- harness: "agy" | "claude" | "codex" | "cursor";
9374
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
9375
9375
  action: "login";
9376
9376
  transport?: "client_pty" | "daemon" | undefined;
9377
9377
  profileId?: string | null | undefined;
@@ -9568,7 +9568,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
9568
9568
  message: string;
9569
9569
  job: {
9570
9570
  jobId: string;
9571
- harness: "agy" | "claude" | "codex" | "cursor";
9571
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
9572
9572
  action: "login";
9573
9573
  transport?: "client_pty" | "daemon" | undefined;
9574
9574
  profileId?: string | null | undefined;
@@ -9760,7 +9760,7 @@ export type ControlSetupJobEvent = z.infer<typeof ControlSetupJobEvent>;
9760
9760
  export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
9761
9761
  job: z.ZodEffects<z.ZodObject<{
9762
9762
  jobId: z.ZodString;
9763
- harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
9763
+ harness: z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>;
9764
9764
  action: z.ZodLiteral<"login">;
9765
9765
  transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
9766
9766
  /** Credential profile this login job targets; null = the default session. */
@@ -10925,7 +10925,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
10925
10925
  }>>;
10926
10926
  }, "strict", z.ZodTypeAny, {
10927
10927
  jobId: string;
10928
- harness: "agy" | "claude" | "codex" | "cursor";
10928
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
10929
10929
  action: "login";
10930
10930
  transport: "client_pty" | "daemon";
10931
10931
  profileId: string | null;
@@ -11107,7 +11107,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
11107
11107
  } | undefined;
11108
11108
  }, {
11109
11109
  jobId: string;
11110
- harness: "agy" | "claude" | "codex" | "cursor";
11110
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
11111
11111
  action: "login";
11112
11112
  transport?: "client_pty" | "daemon" | undefined;
11113
11113
  profileId?: string | null | undefined;
@@ -11289,7 +11289,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
11289
11289
  } | undefined;
11290
11290
  }>, {
11291
11291
  jobId: string;
11292
- harness: "agy" | "claude" | "codex" | "cursor";
11292
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
11293
11293
  action: "login";
11294
11294
  transport: "client_pty" | "daemon";
11295
11295
  profileId: string | null;
@@ -11471,7 +11471,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
11471
11471
  } | undefined;
11472
11472
  }, {
11473
11473
  jobId: string;
11474
- harness: "agy" | "claude" | "codex" | "cursor";
11474
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
11475
11475
  action: "login";
11476
11476
  transport?: "client_pty" | "daemon" | undefined;
11477
11477
  profileId?: string | null | undefined;
@@ -11660,7 +11660,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
11660
11660
  deviceCode?: undefined;
11661
11661
  job: {
11662
11662
  jobId: string;
11663
- harness: "agy" | "claude" | "codex" | "cursor";
11663
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
11664
11664
  action: "login";
11665
11665
  transport: "client_pty" | "daemon";
11666
11666
  profileId: string | null;
@@ -11847,7 +11847,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
11847
11847
  deviceCode?: undefined;
11848
11848
  job: {
11849
11849
  jobId: string;
11850
- harness: "agy" | "claude" | "codex" | "cursor";
11850
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
11851
11851
  action: "login";
11852
11852
  transport?: "client_pty" | "daemon" | undefined;
11853
11853
  profileId?: string | null | undefined;
@@ -12033,7 +12033,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
12033
12033
  }>, z.ZodObject<{
12034
12034
  job: z.ZodEffects<z.ZodObject<{
12035
12035
  jobId: z.ZodString;
12036
- harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
12036
+ harness: z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>;
12037
12037
  action: z.ZodLiteral<"login">;
12038
12038
  transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
12039
12039
  /** Credential profile this login job targets; null = the default session. */
@@ -13198,7 +13198,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
13198
13198
  }>>;
13199
13199
  }, "strict", z.ZodTypeAny, {
13200
13200
  jobId: string;
13201
- harness: "agy" | "claude" | "codex" | "cursor";
13201
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
13202
13202
  action: "login";
13203
13203
  transport: "client_pty" | "daemon";
13204
13204
  profileId: string | null;
@@ -13380,7 +13380,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
13380
13380
  } | undefined;
13381
13381
  }, {
13382
13382
  jobId: string;
13383
- harness: "agy" | "claude" | "codex" | "cursor";
13383
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
13384
13384
  action: "login";
13385
13385
  transport?: "client_pty" | "daemon" | undefined;
13386
13386
  profileId?: string | null | undefined;
@@ -13562,7 +13562,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
13562
13562
  } | undefined;
13563
13563
  }>, {
13564
13564
  jobId: string;
13565
- harness: "agy" | "claude" | "codex" | "cursor";
13565
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
13566
13566
  action: "login";
13567
13567
  transport: "client_pty" | "daemon";
13568
13568
  profileId: string | null;
@@ -13744,7 +13744,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
13744
13744
  } | undefined;
13745
13745
  }, {
13746
13746
  jobId: string;
13747
- harness: "agy" | "claude" | "codex" | "cursor";
13747
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
13748
13748
  action: "login";
13749
13749
  transport?: "client_pty" | "daemon" | undefined;
13750
13750
  profileId?: string | null | undefined;
@@ -13930,7 +13930,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
13930
13930
  } & {
13931
13931
  job: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
13932
13932
  jobId: z.ZodString;
13933
- harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
13933
+ harness: z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>;
13934
13934
  action: z.ZodLiteral<"login">;
13935
13935
  transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
13936
13936
  /** Credential profile this login job targets; null = the default session. */
@@ -15095,7 +15095,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
15095
15095
  }>>;
15096
15096
  }, "strict", z.ZodTypeAny, {
15097
15097
  jobId: string;
15098
- harness: "agy" | "claude" | "codex" | "cursor";
15098
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
15099
15099
  action: "login";
15100
15100
  transport: "client_pty" | "daemon";
15101
15101
  profileId: string | null;
@@ -15277,7 +15277,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
15277
15277
  } | undefined;
15278
15278
  }, {
15279
15279
  jobId: string;
15280
- harness: "agy" | "claude" | "codex" | "cursor";
15280
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
15281
15281
  action: "login";
15282
15282
  transport?: "client_pty" | "daemon" | undefined;
15283
15283
  profileId?: string | null | undefined;
@@ -15459,7 +15459,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
15459
15459
  } | undefined;
15460
15460
  }>, {
15461
15461
  jobId: string;
15462
- harness: "agy" | "claude" | "codex" | "cursor";
15462
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
15463
15463
  action: "login";
15464
15464
  transport: "client_pty" | "daemon";
15465
15465
  profileId: string | null;
@@ -15641,7 +15641,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
15641
15641
  } | undefined;
15642
15642
  }, {
15643
15643
  jobId: string;
15644
- harness: "agy" | "claude" | "codex" | "cursor";
15644
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
15645
15645
  action: "login";
15646
15646
  transport?: "client_pty" | "daemon" | undefined;
15647
15647
  profileId?: string | null | undefined;
@@ -15855,7 +15855,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
15855
15855
  };
15856
15856
  job: {
15857
15857
  jobId: string;
15858
- harness: "agy" | "claude" | "codex" | "cursor";
15858
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
15859
15859
  action: "login";
15860
15860
  transport: "client_pty" | "daemon";
15861
15861
  profileId: string | null;
@@ -16052,7 +16052,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
16052
16052
  };
16053
16053
  job: {
16054
16054
  jobId: string;
16055
- harness: "agy" | "claude" | "codex" | "cursor";
16055
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
16056
16056
  action: "login";
16057
16057
  transport?: "client_pty" | "daemon" | undefined;
16058
16058
  profileId?: string | null | undefined;
@@ -16246,7 +16246,7 @@ export type ControlSetupJobSnapshot = z.infer<typeof ControlSetupJobSnapshot>;
16246
16246
  export declare const ControlSetupJobListResponse: z.ZodObject<{
16247
16247
  jobs: z.ZodArray<z.ZodEffects<z.ZodObject<{
16248
16248
  jobId: z.ZodString;
16249
- harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
16249
+ harness: z.ZodEnum<["codex", "claude", "cursor", "agy", "grok"]>;
16250
16250
  action: z.ZodLiteral<"login">;
16251
16251
  transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
16252
16252
  /** Credential profile this login job targets; null = the default session. */
@@ -17411,7 +17411,7 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
17411
17411
  }>>;
17412
17412
  }, "strict", z.ZodTypeAny, {
17413
17413
  jobId: string;
17414
- harness: "agy" | "claude" | "codex" | "cursor";
17414
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
17415
17415
  action: "login";
17416
17416
  transport: "client_pty" | "daemon";
17417
17417
  profileId: string | null;
@@ -17593,7 +17593,7 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
17593
17593
  } | undefined;
17594
17594
  }, {
17595
17595
  jobId: string;
17596
- harness: "agy" | "claude" | "codex" | "cursor";
17596
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
17597
17597
  action: "login";
17598
17598
  transport?: "client_pty" | "daemon" | undefined;
17599
17599
  profileId?: string | null | undefined;
@@ -17775,7 +17775,7 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
17775
17775
  } | undefined;
17776
17776
  }>, {
17777
17777
  jobId: string;
17778
- harness: "agy" | "claude" | "codex" | "cursor";
17778
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
17779
17779
  action: "login";
17780
17780
  transport: "client_pty" | "daemon";
17781
17781
  profileId: string | null;
@@ -17957,7 +17957,7 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
17957
17957
  } | undefined;
17958
17958
  }, {
17959
17959
  jobId: string;
17960
- harness: "agy" | "claude" | "codex" | "cursor";
17960
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
17961
17961
  action: "login";
17962
17962
  transport?: "client_pty" | "daemon" | undefined;
17963
17963
  profileId?: string | null | undefined;
@@ -18141,7 +18141,7 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
18141
18141
  }, "strip", z.ZodTypeAny, {
18142
18142
  jobs: {
18143
18143
  jobId: string;
18144
- harness: "agy" | "claude" | "codex" | "cursor";
18144
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
18145
18145
  action: "login";
18146
18146
  transport: "client_pty" | "daemon";
18147
18147
  profileId: string | null;
@@ -18325,7 +18325,7 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
18325
18325
  }, {
18326
18326
  jobs: {
18327
18327
  jobId: string;
18328
- harness: "agy" | "claude" | "codex" | "cursor";
18328
+ harness: "agy" | "claude" | "codex" | "cursor" | "grok";
18329
18329
  action: "login";
18330
18330
  transport?: "client_pty" | "daemon" | undefined;
18331
18331
  profileId?: string | null | undefined;