@claudexor/schema 3.1.2 → 3.3.7-rc.0

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 (291) hide show
  1. package/dist/agent-capabilities.d.ts +157 -129
  2. package/dist/agent-capabilities.d.ts.map +1 -1
  3. package/dist/agent-capabilities.js +3 -1
  4. package/dist/agent-capabilities.js.map +1 -1
  5. package/dist/apply-eligibility.d.ts +472 -273
  6. package/dist/apply-eligibility.d.ts.map +1 -1
  7. package/dist/apply-eligibility.js +25 -1
  8. package/dist/apply-eligibility.js.map +1 -1
  9. package/dist/attachment.d.ts +17 -17
  10. package/dist/attachment.d.ts.map +1 -1
  11. package/dist/attachment.js +1 -1
  12. package/dist/attachment.js.map +1 -1
  13. package/dist/auth.d.ts +475 -475
  14. package/dist/auth.d.ts.map +1 -1
  15. package/dist/auth.js +1 -1
  16. package/dist/auth.js.map +1 -1
  17. package/dist/budget.d.ts +59 -59
  18. package/dist/budget.d.ts.map +1 -1
  19. package/dist/budget.js +1 -1
  20. package/dist/budget.js.map +1 -1
  21. package/dist/config.d.ts +320 -316
  22. package/dist/config.d.ts.map +1 -1
  23. package/dist/config.js +26 -19
  24. package/dist/config.js.map +1 -1
  25. package/dist/context.d.ts +38 -38
  26. package/dist/context.d.ts.map +1 -1
  27. package/dist/context.js +1 -1
  28. package/dist/context.js.map +1 -1
  29. package/dist/control-auth-route.d.ts +46 -0
  30. package/dist/control-auth-route.d.ts.map +1 -0
  31. package/dist/control-auth-route.js +24 -0
  32. package/dist/control-auth-route.js.map +1 -0
  33. package/dist/control-gc.d.ts +15 -15
  34. package/dist/control-gc.d.ts.map +1 -1
  35. package/dist/control-gc.js +1 -1
  36. package/dist/control-gc.js.map +1 -1
  37. package/dist/control-harness-list.d.ts +896 -0
  38. package/dist/control-harness-list.d.ts.map +1 -0
  39. package/dist/control-harness-list.js +13 -0
  40. package/dist/control-harness-list.js.map +1 -0
  41. package/dist/control-operation-responses.d.ts +644 -629
  42. package/dist/control-operation-responses.d.ts.map +1 -1
  43. package/dist/control-operation-responses.js +5 -1
  44. package/dist/control-operation-responses.js.map +1 -1
  45. package/dist/control-run-detail.d.ts +2229 -1569
  46. package/dist/control-run-detail.d.ts.map +1 -1
  47. package/dist/control-run-detail.js +46 -2
  48. package/dist/control-run-detail.js.map +1 -1
  49. package/dist/control-run-failure.d.ts +57 -0
  50. package/dist/control-run-failure.d.ts.map +1 -0
  51. package/dist/control-run-failure.js +89 -0
  52. package/dist/control-run-failure.js.map +1 -0
  53. package/dist/control-run-retry.d.ts +16 -16
  54. package/dist/control-run-retry.d.ts.map +1 -1
  55. package/dist/control-run-retry.js +1 -1
  56. package/dist/control-run-retry.js.map +1 -1
  57. package/dist/control-run-scope.d.ts +19 -2
  58. package/dist/control-run-scope.d.ts.map +1 -1
  59. package/dist/control-run-scope.js +22 -1
  60. package/dist/control-run-scope.js.map +1 -1
  61. package/dist/control-secret.d.ts +7 -7
  62. package/dist/control-secret.d.ts.map +1 -1
  63. package/dist/control-secret.js +1 -1
  64. package/dist/control-secret.js.map +1 -1
  65. package/dist/control-thread-apply.d.ts +65 -65
  66. package/dist/control-thread-apply.d.ts.map +1 -1
  67. package/dist/control-thread-apply.js +1 -1
  68. package/dist/control-thread-apply.js.map +1 -1
  69. package/dist/control-trust.d.ts +23 -23
  70. package/dist/control-trust.d.ts.map +1 -1
  71. package/dist/control-trust.js +1 -1
  72. package/dist/control-trust.js.map +1 -1
  73. package/dist/control.d.ts +1551 -2385
  74. package/dist/control.d.ts.map +1 -1
  75. package/dist/control.js +29 -107
  76. package/dist/control.js.map +1 -1
  77. package/dist/credential-profile-snapshot.d.ts +3206 -0
  78. package/dist/credential-profile-snapshot.d.ts.map +1 -0
  79. package/dist/credential-profile-snapshot.js +28 -0
  80. package/dist/credential-profile-snapshot.js.map +1 -0
  81. package/dist/credential-profile.d.ts +170 -107
  82. package/dist/credential-profile.d.ts.map +1 -1
  83. package/dist/credential-profile.js +24 -7
  84. package/dist/credential-profile.js.map +1 -1
  85. package/dist/decision.d.ts +121 -121
  86. package/dist/decision.d.ts.map +1 -1
  87. package/dist/decision.js +2 -1
  88. package/dist/decision.js.map +1 -1
  89. package/dist/deep-scan.d.ts +5 -5
  90. package/dist/deep-scan.d.ts.map +1 -1
  91. package/dist/deep-scan.js +1 -1
  92. package/dist/deep-scan.js.map +1 -1
  93. package/dist/delegation.d.ts +13 -13
  94. package/dist/delegation.d.ts.map +1 -1
  95. package/dist/delegation.js +1 -1
  96. package/dist/delegation.js.map +1 -1
  97. package/dist/delivery.d.ts +32 -32
  98. package/dist/delivery.d.ts.map +1 -1
  99. package/dist/delivery.js +1 -1
  100. package/dist/delivery.js.map +1 -1
  101. package/dist/effort.d.ts +1 -1
  102. package/dist/effort.d.ts.map +1 -1
  103. package/dist/effort.js +1 -1
  104. package/dist/effort.js.map +1 -1
  105. package/dist/events.d.ts +55 -35
  106. package/dist/events.d.ts.map +1 -1
  107. package/dist/events.js +20 -1
  108. package/dist/events.js.map +1 -1
  109. package/dist/gate.d.ts +7 -7
  110. package/dist/gate.d.ts.map +1 -1
  111. package/dist/gate.js +1 -1
  112. package/dist/gate.js.map +1 -1
  113. package/dist/git-capability.d.ts +23 -0
  114. package/dist/git-capability.d.ts.map +1 -0
  115. package/dist/git-capability.js +15 -0
  116. package/dist/git-capability.js.map +1 -0
  117. package/dist/harness-confinement.d.ts +64 -0
  118. package/dist/harness-confinement.d.ts.map +1 -0
  119. package/dist/harness-confinement.js +64 -0
  120. package/dist/harness-confinement.js.map +1 -0
  121. package/dist/harness.d.ts +428 -408
  122. package/dist/harness.d.ts.map +1 -1
  123. package/dist/harness.js +15 -26
  124. package/dist/harness.js.map +1 -1
  125. package/dist/index.d.ts +8 -0
  126. package/dist/index.d.ts.map +1 -1
  127. package/dist/index.js +8 -0
  128. package/dist/index.js.map +1 -1
  129. package/dist/interaction.d.ts +10 -0
  130. package/dist/interaction.d.ts.map +1 -0
  131. package/dist/interaction.js +2 -0
  132. package/dist/interaction.js.map +1 -0
  133. package/dist/operation.d.ts +113 -113
  134. package/dist/operation.d.ts.map +1 -1
  135. package/dist/operation.js +1 -1
  136. package/dist/operation.js.map +1 -1
  137. package/dist/output-schema-dialect.d.ts +1 -1
  138. package/dist/output-schema-dialect.d.ts.map +1 -1
  139. package/dist/output-schema-dialect.js +1 -1
  140. package/dist/output-schema-dialect.js.map +1 -1
  141. package/dist/output-schema.d.ts +2 -2
  142. package/dist/output-schema.js +2 -2
  143. package/dist/plan.d.ts +29 -29
  144. package/dist/plan.d.ts.map +1 -1
  145. package/dist/plan.js +2 -2
  146. package/dist/plan.js.map +1 -1
  147. package/dist/primitives.d.ts +1 -1
  148. package/dist/primitives.d.ts.map +1 -1
  149. package/dist/primitives.js +1 -1
  150. package/dist/primitives.js.map +1 -1
  151. package/dist/problem.d.ts +6 -6
  152. package/dist/problem.d.ts.map +1 -1
  153. package/dist/problem.js +1 -1
  154. package/dist/problem.js.map +1 -1
  155. package/dist/project.d.ts +87 -25
  156. package/dist/project.d.ts.map +1 -1
  157. package/dist/project.js +21 -1
  158. package/dist/project.js.map +1 -1
  159. package/dist/quota.d.ts +51 -51
  160. package/dist/quota.d.ts.map +1 -1
  161. package/dist/quota.js +6 -1
  162. package/dist/quota.js.map +1 -1
  163. package/dist/raw.d.ts +16 -16
  164. package/dist/raw.d.ts.map +1 -1
  165. package/dist/raw.js +1 -1
  166. package/dist/raw.js.map +1 -1
  167. package/dist/readiness.d.ts +242 -242
  168. package/dist/readiness.d.ts.map +1 -1
  169. package/dist/readiness.js +1 -1
  170. package/dist/readiness.js.map +1 -1
  171. package/dist/recovery.d.ts +106 -106
  172. package/dist/recovery.d.ts.map +1 -1
  173. package/dist/recovery.js +1 -1
  174. package/dist/recovery.js.map +1 -1
  175. package/dist/request-requirements.d.ts +9 -9
  176. package/dist/request-requirements.d.ts.map +1 -1
  177. package/dist/request-requirements.js +1 -1
  178. package/dist/request-requirements.js.map +1 -1
  179. package/dist/review.d.ts +29 -29
  180. package/dist/review.d.ts.map +1 -1
  181. package/dist/review.js +1 -1
  182. package/dist/review.js.map +1 -1
  183. package/dist/route.d.ts +11 -11
  184. package/dist/route.d.ts.map +1 -1
  185. package/dist/route.js +1 -1
  186. package/dist/route.js.map +1 -1
  187. package/dist/run-applicability.d.ts +764 -0
  188. package/dist/run-applicability.d.ts.map +1 -0
  189. package/dist/run-applicability.js +56 -0
  190. package/dist/run-applicability.js.map +1 -0
  191. package/dist/run-facts.d.ts +628 -0
  192. package/dist/run-facts.d.ts.map +1 -0
  193. package/dist/run-facts.js +429 -0
  194. package/dist/run-facts.js.map +1 -0
  195. package/dist/run-strategy.d.ts +40 -0
  196. package/dist/run-strategy.d.ts.map +1 -1
  197. package/dist/run-strategy.js +68 -1
  198. package/dist/run-strategy.js.map +1 -1
  199. package/dist/setup-device-code-envelope.d.ts +67 -0
  200. package/dist/setup-device-code-envelope.d.ts.map +1 -0
  201. package/dist/setup-device-code-envelope.js +25 -0
  202. package/dist/setup-device-code-envelope.js.map +1 -0
  203. package/dist/setup-login-protocol.d.ts +6 -0
  204. package/dist/setup-login-protocol.d.ts.map +1 -0
  205. package/dist/setup-login-protocol.js +12 -0
  206. package/dist/setup-login-protocol.js.map +1 -0
  207. package/dist/setup-transport.d.ts +12 -0
  208. package/dist/setup-transport.d.ts.map +1 -0
  209. package/dist/setup-transport.js +22 -0
  210. package/dist/setup-transport.js.map +1 -0
  211. package/dist/setup.d.ts +12572 -3749
  212. package/dist/setup.d.ts.map +1 -1
  213. package/dist/setup.js +34 -38
  214. package/dist/setup.js.map +1 -1
  215. package/dist/status-projection.d.ts +7 -5
  216. package/dist/status-projection.d.ts.map +1 -1
  217. package/dist/status-projection.js +11 -6
  218. package/dist/status-projection.js.map +1 -1
  219. package/dist/surface-run-controls.d.ts.map +1 -1
  220. package/dist/surface-run-controls.js +10 -1
  221. package/dist/surface-run-controls.js.map +1 -1
  222. package/dist/task.d.ts +303 -303
  223. package/dist/task.d.ts.map +1 -1
  224. package/dist/task.js +1 -1
  225. package/dist/task.js.map +1 -1
  226. package/dist/telemetry.d.ts +1157 -633
  227. package/dist/telemetry.d.ts.map +1 -1
  228. package/dist/telemetry.js +7 -4
  229. package/dist/telemetry.js.map +1 -1
  230. package/dist/thread.d.ts +133 -84
  231. package/dist/thread.d.ts.map +1 -1
  232. package/dist/thread.js +21 -2
  233. package/dist/thread.js.map +1 -1
  234. package/dist/tool-ref.d.ts +7 -7
  235. package/dist/tool-ref.d.ts.map +1 -1
  236. package/dist/tool-ref.js +1 -1
  237. package/dist/tool-ref.js.map +1 -1
  238. package/dist/work-report.d.ts +28 -28
  239. package/dist/work-report.d.ts.map +1 -1
  240. package/dist/work-report.js +3 -3
  241. package/dist/work-report.js.map +1 -1
  242. package/dist/workproduct.d.ts +6 -9
  243. package/dist/workproduct.d.ts.map +1 -1
  244. package/dist/workproduct.js +1 -2
  245. package/dist/workproduct.js.map +1 -1
  246. package/dist/workspace.d.ts +13 -13
  247. package/dist/workspace.d.ts.map +1 -1
  248. package/dist/workspace.js +1 -1
  249. package/dist/workspace.js.map +1 -1
  250. package/generated/AgentCapabilityCatalog.schema.json +41 -0
  251. package/generated/ControlCredentialProfileCreateResponse.schema.json +10 -1
  252. package/generated/ControlCredentialProfileUpdateResponse.schema.json +10 -1
  253. package/generated/ControlCredentialProfilesQueryResponse.schema.json +1343 -0
  254. package/generated/ControlCredentialProfilesResponse.schema.json +20 -3
  255. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1322 -0
  256. package/generated/ControlDirectoryEntry.schema.json +36 -0
  257. package/generated/ControlDirectoryListing.schema.json +77 -0
  258. package/generated/ControlHarnessListResponse.schema.json +41 -1
  259. package/generated/ControlQuotaResponse.schema.json +2 -1
  260. package/generated/ControlRunAgainDraft.schema.json +12 -2
  261. package/generated/ControlRunApplicabilityResponse.schema.json +217 -0
  262. package/generated/ControlRunDetail.schema.json +494 -69
  263. package/generated/ControlRunListResponse.schema.json +30 -4
  264. package/generated/ControlRunStartRequest.schema.json +12 -2
  265. package/generated/ControlRunSummary.schema.json +30 -4
  266. package/generated/ControlSettingsSnapshot.schema.json +12 -3
  267. package/generated/ControlSettingsUpdateRequest.schema.json +12 -3
  268. package/generated/ControlSetupJob.schema.json +9 -0
  269. package/generated/ControlSetupJobCreateRequest.schema.json +9 -0
  270. package/generated/ControlSetupJobEvent.schema.json +858 -758
  271. package/generated/ControlSetupJobListResponse.schema.json +9 -0
  272. package/generated/ControlSetupJobSnapshot.schema.json +811 -736
  273. package/generated/ControlThreadCreateRequest.schema.json +5 -0
  274. package/generated/ControlThreadDetail.schema.json +31 -1
  275. package/generated/ControlThreadTurnRequest.schema.json +5 -24
  276. package/generated/CredentialProfileStatus.schema.json +10 -1
  277. package/generated/DecisionRecord.schema.json +2 -1
  278. package/generated/GitCapability.schema.json +46 -0
  279. package/generated/GlobalConfig.schema.json +13 -4
  280. package/generated/HarnessEvent.schema.json +2 -1
  281. package/generated/HarnessManifest.schema.json +1 -1
  282. package/generated/HarnessStatusDto.schema.json +1 -1
  283. package/generated/McpRunHandleResult.schema.json +182 -1
  284. package/generated/McpRunToolResult.schema.json +182 -1
  285. package/generated/OutputReadyPayload.schema.json +44 -0
  286. package/generated/RunFacts.schema.json +569 -0
  287. package/generated/RunFailure.schema.json +19 -2
  288. package/generated/RunTelemetry.schema.json +492 -2
  289. package/generated/ThreadTurn.schema.json +29 -0
  290. package/generated/WorkProduct.schema.json +0 -4
  291. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from "zod/v3";
2
2
  /**
3
3
  * ONE display-ready readiness check (W4.7 sol #18): the daemon normalizes raw
4
4
  * doctor probes, auth-source readiness, and the configured-model verdict into
@@ -14,16 +14,16 @@ export declare const ReadinessCheckDto: z.ZodObject<{
14
14
  status: z.ZodEnum<["pass", "fail", "skip"]>;
15
15
  detail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- status: "pass" | "fail" | "skip";
18
- detail: string | null;
19
- kind: "binary" | "auth" | "model" | "smoke" | "probe";
20
17
  id: string;
18
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
21
19
  title: string;
20
+ status: "fail" | "pass" | "skip";
21
+ detail: string | null;
22
22
  }, {
23
- status: "pass" | "fail" | "skip";
24
- kind: "binary" | "auth" | "model" | "smoke" | "probe";
25
23
  id: string;
24
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
26
25
  title: string;
26
+ status: "fail" | "pass" | "skip";
27
27
  detail?: string | null | undefined;
28
28
  }>;
29
29
  export type ReadinessCheckDto = z.infer<typeof ReadinessCheckDto>;
@@ -46,44 +46,44 @@ export declare const HarnessStatusDto: z.ZodObject<{
46
46
  kind: z.ZodEnum<["config_file", "env_var", "oauth_token_env", "os_keychain", "http_header", "none"]>;
47
47
  relocatable_by: z.ZodDefault<z.ZodArray<z.ZodEnum<["HOME", "CONFIG_DIR", "ENV", "none"]>, "many">>;
48
48
  }, "strip", z.ZodTypeAny, {
49
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
50
- kind: "oauth_token_env" | "none" | "config_file" | "env_var" | "os_keychain" | "http_header";
51
- relocatable_by: ("none" | "HOME" | "CONFIG_DIR" | "ENV")[];
49
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
50
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
51
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
52
52
  }, {
53
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
54
- kind: "oauth_token_env" | "none" | "config_file" | "env_var" | "os_keychain" | "http_header";
55
- relocatable_by?: ("none" | "HOME" | "CONFIG_DIR" | "ENV")[] | undefined;
53
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
54
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
55
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
56
56
  }>, "many">>;
57
57
  }, "strip", z.ZodTypeAny, {
58
- supported_sources: ("native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none")[];
59
- preferred_source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null;
58
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
59
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
60
60
  credential_transports: {
61
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
62
- kind: "oauth_token_env" | "none" | "config_file" | "env_var" | "os_keychain" | "http_header";
63
- relocatable_by: ("none" | "HOME" | "CONFIG_DIR" | "ENV")[];
61
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
62
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
63
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
64
64
  }[];
65
65
  }, {
66
- supported_sources?: ("native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none")[] | undefined;
67
- preferred_source?: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null | undefined;
66
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
67
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
68
68
  credential_transports?: {
69
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
70
- kind: "oauth_token_env" | "none" | "config_file" | "env_var" | "os_keychain" | "http_header";
71
- relocatable_by?: ("none" | "HOME" | "CONFIG_DIR" | "ENV")[] | undefined;
69
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
70
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
71
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
72
72
  }[] | undefined;
73
73
  }>>;
74
74
  access_control: z.ZodDefault<z.ZodObject<{
75
75
  readonly_mechanism: z.ZodDefault<z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "none"]>>;
76
76
  }, "strip", z.ZodTypeAny, {
77
- readonly_mechanism: "none" | "fs_sandbox" | "permission_deny" | "tool_allowlist";
77
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
78
78
  }, {
79
- readonly_mechanism?: "none" | "fs_sandbox" | "permission_deny" | "tool_allowlist" | undefined;
79
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
80
80
  }>>;
81
81
  isolation: z.ZodDefault<z.ZodObject<{
82
82
  supported_containment: z.ZodDefault<z.ZodArray<z.ZodEnum<["env_or_file_injection", "scoped_home_keychain_bridge", "host_user_context", "process_sandbox", "container"]>, "many">>;
83
83
  }, "strip", z.ZodTypeAny, {
84
- supported_containment: ("env_or_file_injection" | "scoped_home_keychain_bridge" | "host_user_context" | "process_sandbox" | "container")[];
84
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
85
85
  }, {
86
- supported_containment?: ("env_or_file_injection" | "scoped_home_keychain_bridge" | "host_user_context" | "process_sandbox" | "container")[] | undefined;
86
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
87
87
  }>>;
88
88
  attachment_inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
89
89
  kind: z.ZodEnum<["image", "file"]>;
@@ -96,63 +96,63 @@ export declare const HarnessStatusDto: z.ZodObject<{
96
96
  mime_types: string[];
97
97
  max_bytes: number;
98
98
  max_count: number;
99
- transport: "file_path" | "base64_stream" | "base64_inline" | "text_inline";
99
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
100
100
  }, {
101
101
  kind: "file" | "image";
102
102
  mime_types: string[];
103
103
  max_bytes: number;
104
104
  max_count: number;
105
- transport: "file_path" | "base64_stream" | "base64_inline" | "text_inline";
105
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
106
106
  }>, "many">>;
107
107
  mcp_injection: z.ZodDefault<z.ZodBoolean>;
108
108
  mcp_injection_requires_full_access: z.ZodDefault<z.ZodBoolean>;
109
109
  }, "strip", z.ZodTypeAny, {
110
110
  auth: {
111
- supported_sources: ("native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none")[];
112
- preferred_source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null;
111
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
112
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
113
113
  credential_transports: {
114
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
115
- kind: "oauth_token_env" | "none" | "config_file" | "env_var" | "os_keychain" | "http_header";
116
- relocatable_by: ("none" | "HOME" | "CONFIG_DIR" | "ENV")[];
114
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
115
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
116
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
117
117
  }[];
118
118
  };
119
119
  access_control: {
120
- readonly_mechanism: "none" | "fs_sandbox" | "permission_deny" | "tool_allowlist";
120
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
121
121
  };
122
122
  isolation: {
123
- supported_containment: ("env_or_file_injection" | "scoped_home_keychain_bridge" | "host_user_context" | "process_sandbox" | "container")[];
123
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
124
124
  };
125
125
  attachment_inputs: {
126
126
  kind: "file" | "image";
127
127
  mime_types: string[];
128
128
  max_bytes: number;
129
129
  max_count: number;
130
- transport: "file_path" | "base64_stream" | "base64_inline" | "text_inline";
130
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
131
131
  }[];
132
132
  mcp_injection: boolean;
133
133
  mcp_injection_requires_full_access: boolean;
134
134
  }, {
135
135
  auth?: {
136
- supported_sources?: ("native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none")[] | undefined;
137
- preferred_source?: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null | undefined;
136
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
137
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
138
138
  credential_transports?: {
139
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
140
- kind: "oauth_token_env" | "none" | "config_file" | "env_var" | "os_keychain" | "http_header";
141
- relocatable_by?: ("none" | "HOME" | "CONFIG_DIR" | "ENV")[] | undefined;
139
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
140
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
141
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
142
142
  }[] | undefined;
143
143
  } | undefined;
144
144
  access_control?: {
145
- readonly_mechanism?: "none" | "fs_sandbox" | "permission_deny" | "tool_allowlist" | undefined;
145
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
146
146
  } | undefined;
147
147
  isolation?: {
148
- supported_containment?: ("env_or_file_injection" | "scoped_home_keychain_bridge" | "host_user_context" | "process_sandbox" | "container")[] | undefined;
148
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
149
149
  } | undefined;
150
150
  attachment_inputs?: {
151
151
  kind: "file" | "image";
152
152
  mime_types: string[];
153
153
  max_bytes: number;
154
154
  max_count: number;
155
- transport: "file_path" | "base64_stream" | "base64_inline" | "text_inline";
155
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
156
156
  }[] | undefined;
157
157
  mcp_injection?: boolean | undefined;
158
158
  mcp_injection_requires_full_access?: boolean | undefined;
@@ -200,20 +200,20 @@ export declare const HarnessStatusDto: z.ZodObject<{
200
200
  }, "strip", z.ZodTypeAny, {
201
201
  plan: boolean;
202
202
  implement: boolean;
203
+ implementation_transport: "git_patch_envelope" | "workspace";
203
204
  create_from_scratch: boolean;
204
205
  review: boolean;
205
206
  verify: boolean;
206
207
  synthesize: boolean;
207
- implementation_transport: "workspace" | "git_patch_envelope";
208
208
  read_files: boolean;
209
209
  browser_tool: boolean;
210
- web_policy: "none" | "native" | "tools" | "uncontrolled";
210
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
211
211
  max_turns: boolean;
212
212
  tool_lists: boolean;
213
213
  interactive: boolean;
214
214
  json_schema_output: boolean;
215
- work_report_transport: "constrained" | "validated" | "unsupported";
216
- structured_output_channel: "side_tool" | "final_message";
215
+ work_report_transport: "constrained" | "unsupported" | "validated";
216
+ structured_output_channel: "final_message" | "side_tool";
217
217
  effort_levels: string[];
218
218
  model_effort_levels: Record<string, {
219
219
  levels: string[];
@@ -228,20 +228,20 @@ export declare const HarnessStatusDto: z.ZodObject<{
228
228
  }, {
229
229
  plan?: boolean | undefined;
230
230
  implement?: boolean | undefined;
231
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
231
232
  create_from_scratch?: boolean | undefined;
232
233
  review?: boolean | undefined;
233
234
  verify?: boolean | undefined;
234
235
  synthesize?: boolean | undefined;
235
- implementation_transport?: "workspace" | "git_patch_envelope" | undefined;
236
236
  read_files?: boolean | undefined;
237
237
  browser_tool?: boolean | undefined;
238
- web_policy?: "none" | "native" | "tools" | "uncontrolled" | undefined;
238
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
239
239
  max_turns?: boolean | undefined;
240
240
  tool_lists?: boolean | undefined;
241
241
  interactive?: boolean | undefined;
242
242
  json_schema_output?: boolean | undefined;
243
- work_report_transport?: "constrained" | "validated" | "unsupported" | undefined;
244
- structured_output_channel?: "side_tool" | "final_message" | undefined;
243
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
244
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
245
245
  effort_levels?: string[] | undefined;
246
246
  model_effort_levels?: Record<string, {
247
247
  levels?: string[] | undefined;
@@ -257,32 +257,34 @@ export declare const HarnessStatusDto: z.ZodObject<{
257
257
  auth_modes: z.ZodDefault<z.ZodArray<z.ZodEnum<["local_session", "api_key", "none"]>, "many">>;
258
258
  access_profiles_supported: z.ZodDefault<z.ZodArray<z.ZodEnum<["readonly", "workspace_write", "full", "external_sandbox_full", "inherit_native"]>, "many">>;
259
259
  }, "strip", z.ZodTypeAny, {
260
- display_name: string;
261
- kind: "local_cli" | "remote_api" | "fake";
262
260
  id: string;
263
- provider_family: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown";
261
+ display_name: string;
262
+ kind: "fake" | "local_cli" | "remote_api";
263
+ version?: string | undefined;
264
+ adapter_version?: string | undefined;
265
+ provider_family: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai";
264
266
  capability_profile: {
265
267
  auth: {
266
- supported_sources: ("native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none")[];
267
- preferred_source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null;
268
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
269
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
268
270
  credential_transports: {
269
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
270
- kind: "oauth_token_env" | "none" | "config_file" | "env_var" | "os_keychain" | "http_header";
271
- relocatable_by: ("none" | "HOME" | "CONFIG_DIR" | "ENV")[];
271
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
272
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
273
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
272
274
  }[];
273
275
  };
274
276
  access_control: {
275
- readonly_mechanism: "none" | "fs_sandbox" | "permission_deny" | "tool_allowlist";
277
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
276
278
  };
277
279
  isolation: {
278
- supported_containment: ("env_or_file_injection" | "scoped_home_keychain_bridge" | "host_user_context" | "process_sandbox" | "container")[];
280
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
279
281
  };
280
282
  attachment_inputs: {
281
283
  kind: "file" | "image";
282
284
  mime_types: string[];
283
285
  max_bytes: number;
284
286
  max_count: number;
285
- transport: "file_path" | "base64_stream" | "base64_inline" | "text_inline";
287
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
286
288
  }[];
287
289
  mcp_injection: boolean;
288
290
  mcp_injection_requires_full_access: boolean;
@@ -290,20 +292,20 @@ export declare const HarnessStatusDto: z.ZodObject<{
290
292
  capabilities: {
291
293
  plan: boolean;
292
294
  implement: boolean;
295
+ implementation_transport: "git_patch_envelope" | "workspace";
293
296
  create_from_scratch: boolean;
294
297
  review: boolean;
295
298
  verify: boolean;
296
299
  synthesize: boolean;
297
- implementation_transport: "workspace" | "git_patch_envelope";
298
300
  read_files: boolean;
299
301
  browser_tool: boolean;
300
- web_policy: "none" | "native" | "tools" | "uncontrolled";
302
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
301
303
  max_turns: boolean;
302
304
  tool_lists: boolean;
303
305
  interactive: boolean;
304
306
  json_schema_output: boolean;
305
- work_report_transport: "constrained" | "validated" | "unsupported";
306
- structured_output_channel: "side_tool" | "final_message";
307
+ work_report_transport: "constrained" | "unsupported" | "validated";
308
+ structured_output_channel: "final_message" | "side_tool";
307
309
  effort_levels: string[];
308
310
  model_effort_levels: Record<string, {
309
311
  levels: string[];
@@ -316,31 +318,58 @@ export declare const HarnessStatusDto: z.ZodObject<{
316
318
  })[];
317
319
  known_models_verified_against: string | null;
318
320
  };
319
- auth_modes: ("api_key" | "none" | "local_session")[];
320
- access_profiles_supported: ("readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native")[];
321
- version?: string | undefined;
322
- adapter_version?: string | undefined;
321
+ auth_modes: ("api_key" | "local_session" | "none")[];
322
+ access_profiles_supported: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[];
323
323
  }, {
324
- display_name: string;
325
- kind: "local_cli" | "remote_api" | "fake";
326
324
  id: string;
325
+ display_name: string;
326
+ kind: "fake" | "local_cli" | "remote_api";
327
+ version?: string | undefined;
328
+ adapter_version?: string | undefined;
329
+ provider_family?: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai" | undefined;
330
+ capability_profile?: {
331
+ auth?: {
332
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
333
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
334
+ credential_transports?: {
335
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
336
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
337
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
338
+ }[] | undefined;
339
+ } | undefined;
340
+ access_control?: {
341
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
342
+ } | undefined;
343
+ isolation?: {
344
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
345
+ } | undefined;
346
+ attachment_inputs?: {
347
+ kind: "file" | "image";
348
+ mime_types: string[];
349
+ max_bytes: number;
350
+ max_count: number;
351
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
352
+ }[] | undefined;
353
+ mcp_injection?: boolean | undefined;
354
+ mcp_injection_requires_full_access?: boolean | undefined;
355
+ } | undefined;
327
356
  capabilities: {
328
357
  plan?: boolean | undefined;
329
358
  implement?: boolean | undefined;
359
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
330
360
  create_from_scratch?: boolean | undefined;
331
361
  review?: boolean | undefined;
332
362
  verify?: boolean | undefined;
333
363
  synthesize?: boolean | undefined;
334
- implementation_transport?: "workspace" | "git_patch_envelope" | undefined;
335
364
  read_files?: boolean | undefined;
336
365
  browser_tool?: boolean | undefined;
337
- web_policy?: "none" | "native" | "tools" | "uncontrolled" | undefined;
366
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
338
367
  max_turns?: boolean | undefined;
339
368
  tool_lists?: boolean | undefined;
340
369
  interactive?: boolean | undefined;
341
370
  json_schema_output?: boolean | undefined;
342
- work_report_transport?: "constrained" | "validated" | "unsupported" | undefined;
343
- structured_output_channel?: "side_tool" | "final_message" | undefined;
371
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
372
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
344
373
  effort_levels?: string[] | undefined;
345
374
  model_effort_levels?: Record<string, {
346
375
  levels?: string[] | undefined;
@@ -353,37 +382,8 @@ export declare const HarnessStatusDto: z.ZodObject<{
353
382
  })[] | undefined;
354
383
  known_models_verified_against?: string | null | undefined;
355
384
  };
356
- version?: string | undefined;
357
- adapter_version?: string | undefined;
358
- provider_family?: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown" | undefined;
359
- capability_profile?: {
360
- auth?: {
361
- supported_sources?: ("native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none")[] | undefined;
362
- preferred_source?: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null | undefined;
363
- credential_transports?: {
364
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
365
- kind: "oauth_token_env" | "none" | "config_file" | "env_var" | "os_keychain" | "http_header";
366
- relocatable_by?: ("none" | "HOME" | "CONFIG_DIR" | "ENV")[] | undefined;
367
- }[] | undefined;
368
- } | undefined;
369
- access_control?: {
370
- readonly_mechanism?: "none" | "fs_sandbox" | "permission_deny" | "tool_allowlist" | undefined;
371
- } | undefined;
372
- isolation?: {
373
- supported_containment?: ("env_or_file_injection" | "scoped_home_keychain_bridge" | "host_user_context" | "process_sandbox" | "container")[] | undefined;
374
- } | undefined;
375
- attachment_inputs?: {
376
- kind: "file" | "image";
377
- mime_types: string[];
378
- max_bytes: number;
379
- max_count: number;
380
- transport: "file_path" | "base64_stream" | "base64_inline" | "text_inline";
381
- }[] | undefined;
382
- mcp_injection?: boolean | undefined;
383
- mcp_injection_requires_full_access?: boolean | undefined;
384
- } | undefined;
385
- auth_modes?: ("api_key" | "none" | "local_session")[] | undefined;
386
- access_profiles_supported?: ("readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native")[] | undefined;
385
+ auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
386
+ access_profiles_supported?: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
387
387
  }>>>;
388
388
  enabledIntents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
389
389
  /** Intents this harness is ACTUALLY routable for right now: enabledIntents
@@ -398,13 +398,13 @@ export declare const HarnessStatusDto: z.ZodObject<{
398
398
  detail: z.ZodOptional<z.ZodString>;
399
399
  duration_ms: z.ZodOptional<z.ZodNumber>;
400
400
  }, "strip", z.ZodTypeAny, {
401
- status: "pass" | "fail" | "skip";
402
401
  id: string;
402
+ status: "fail" | "pass" | "skip";
403
403
  detail?: string | undefined;
404
404
  duration_ms?: number | undefined;
405
405
  }, {
406
- status: "pass" | "fail" | "skip";
407
406
  id: string;
407
+ status: "fail" | "pass" | "skip";
408
408
  detail?: string | undefined;
409
409
  duration_ms?: number | undefined;
410
410
  }>, "many">>;
@@ -415,14 +415,14 @@ export declare const HarnessStatusDto: z.ZodObject<{
415
415
  verification: z.ZodEnum<["passed", "failed", "not_run"]>;
416
416
  detail: z.ZodOptional<z.ZodString>;
417
417
  }, "strict", z.ZodTypeAny, {
418
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
419
- availability: "unknown" | "available" | "unavailable";
420
- verification: "passed" | "failed" | "not_run";
418
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
419
+ availability: "available" | "unavailable" | "unknown";
420
+ verification: "failed" | "not_run" | "passed";
421
421
  detail?: string | undefined;
422
422
  }, {
423
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
424
- availability: "unknown" | "available" | "unavailable";
425
- verification: "passed" | "failed" | "not_run";
423
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
424
+ availability: "available" | "unavailable" | "unknown";
425
+ verification: "failed" | "not_run" | "passed";
426
426
  detail?: string | undefined;
427
427
  }>, "many">>;
428
428
  /** Daemon-normalized display list (W4.7): what surfaces RENDER. Derived
@@ -434,16 +434,16 @@ export declare const HarnessStatusDto: z.ZodObject<{
434
434
  status: z.ZodEnum<["pass", "fail", "skip"]>;
435
435
  detail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
436
436
  }, "strip", z.ZodTypeAny, {
437
- status: "pass" | "fail" | "skip";
438
- detail: string | null;
439
- kind: "binary" | "auth" | "model" | "smoke" | "probe";
440
437
  id: string;
438
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
441
439
  title: string;
440
+ status: "fail" | "pass" | "skip";
441
+ detail: string | null;
442
442
  }, {
443
- status: "pass" | "fail" | "skip";
444
- kind: "binary" | "auth" | "model" | "smoke" | "probe";
445
443
  id: string;
444
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
446
445
  title: string;
446
+ status: "fail" | "pass" | "skip";
447
447
  detail?: string | null | undefined;
448
448
  }>, "many">>;
449
449
  /** The user's configured per-harness default model, if any. */
@@ -455,8 +455,8 @@ export declare const HarnessStatusDto: z.ZodObject<{
455
455
  status: z.ZodEnum<["ok", "rejected"]>;
456
456
  message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
457
457
  }, "strip", z.ZodTypeAny, {
458
- message: string | null;
459
458
  status: "ok" | "rejected";
459
+ message: string | null;
460
460
  }, {
461
461
  status: "ok" | "rejected";
462
462
  message?: string | null | undefined;
@@ -468,89 +468,57 @@ export declare const HarnessStatusDto: z.ZodObject<{
468
468
  requiresFullAccess: z.ZodDefault<z.ZodBoolean>;
469
469
  }, "strict", z.ZodTypeAny, {
470
470
  available: boolean;
471
- reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
471
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
472
472
  remediation: string | null;
473
473
  requiresFullAccess: boolean;
474
474
  }, {
475
475
  available: boolean;
476
- reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
476
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
477
477
  remediation?: string | null | undefined;
478
478
  requiresFullAccess?: boolean | undefined;
479
479
  }>, {
480
480
  available: boolean;
481
- reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
481
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
482
482
  remediation: string | null;
483
483
  requiresFullAccess: boolean;
484
484
  }, {
485
485
  available: boolean;
486
- reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
486
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
487
487
  remediation?: string | null | undefined;
488
488
  requiresFullAccess?: boolean | undefined;
489
489
  }>>>;
490
490
  }, "strip", z.ZodTypeAny, {
491
- status: "unavailable" | "ok" | "degraded";
492
- readiness: {
493
- status: "pass" | "fail" | "skip";
494
- detail: string | null;
495
- kind: "binary" | "auth" | "model" | "smoke" | "probe";
496
- id: string;
497
- title: string;
498
- }[];
499
491
  id: string;
500
- checks: {
501
- status: "pass" | "fail" | "skip";
502
- id: string;
503
- detail?: string | undefined;
504
- duration_ms?: number | undefined;
505
- }[];
506
- reasons: string[];
507
- enabledIntents: string[];
508
- disabledIntents: string[];
509
- configuredModel: string | null;
510
- delegation: {
511
- available: boolean;
512
- reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
513
- remediation: string | null;
514
- requiresFullAccess: boolean;
515
- } | null;
516
- routableIntents: string[];
517
- authSources: {
518
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
519
- availability: "unknown" | "available" | "unavailable";
520
- verification: "passed" | "failed" | "not_run";
521
- detail?: string | undefined;
522
- }[];
523
- configuredModelCheck: {
524
- message: string | null;
525
- status: "ok" | "rejected";
526
- } | null;
492
+ status: "degraded" | "ok" | "unavailable";
527
493
  manifest?: {
528
- display_name: string;
529
- kind: "local_cli" | "remote_api" | "fake";
530
494
  id: string;
531
- provider_family: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown";
495
+ display_name: string;
496
+ kind: "fake" | "local_cli" | "remote_api";
497
+ version?: string | undefined;
498
+ adapter_version?: string | undefined;
499
+ provider_family: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai";
532
500
  capability_profile: {
533
501
  auth: {
534
- supported_sources: ("native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none")[];
535
- preferred_source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null;
502
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
503
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
536
504
  credential_transports: {
537
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
538
- kind: "oauth_token_env" | "none" | "config_file" | "env_var" | "os_keychain" | "http_header";
539
- relocatable_by: ("none" | "HOME" | "CONFIG_DIR" | "ENV")[];
505
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
506
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
507
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
540
508
  }[];
541
509
  };
542
510
  access_control: {
543
- readonly_mechanism: "none" | "fs_sandbox" | "permission_deny" | "tool_allowlist";
511
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
544
512
  };
545
513
  isolation: {
546
- supported_containment: ("env_or_file_injection" | "scoped_home_keychain_bridge" | "host_user_context" | "process_sandbox" | "container")[];
514
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
547
515
  };
548
516
  attachment_inputs: {
549
517
  kind: "file" | "image";
550
518
  mime_types: string[];
551
519
  max_bytes: number;
552
520
  max_count: number;
553
- transport: "file_path" | "base64_stream" | "base64_inline" | "text_inline";
521
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
554
522
  }[];
555
523
  mcp_injection: boolean;
556
524
  mcp_injection_requires_full_access: boolean;
@@ -558,20 +526,20 @@ export declare const HarnessStatusDto: z.ZodObject<{
558
526
  capabilities: {
559
527
  plan: boolean;
560
528
  implement: boolean;
529
+ implementation_transport: "git_patch_envelope" | "workspace";
561
530
  create_from_scratch: boolean;
562
531
  review: boolean;
563
532
  verify: boolean;
564
533
  synthesize: boolean;
565
- implementation_transport: "workspace" | "git_patch_envelope";
566
534
  read_files: boolean;
567
535
  browser_tool: boolean;
568
- web_policy: "none" | "native" | "tools" | "uncontrolled";
536
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
569
537
  max_turns: boolean;
570
538
  tool_lists: boolean;
571
539
  interactive: boolean;
572
540
  json_schema_output: boolean;
573
- work_report_transport: "constrained" | "validated" | "unsupported";
574
- structured_output_channel: "side_tool" | "final_message";
541
+ work_report_transport: "constrained" | "unsupported" | "validated";
542
+ structured_output_channel: "final_message" | "side_tool";
575
543
  effort_levels: string[];
576
544
  model_effort_levels: Record<string, {
577
545
  levels: string[];
@@ -584,49 +552,96 @@ export declare const HarnessStatusDto: z.ZodObject<{
584
552
  })[];
585
553
  known_models_verified_against: string | null;
586
554
  };
587
- auth_modes: ("api_key" | "none" | "local_session")[];
588
- access_profiles_supported: ("readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native")[];
589
- version?: string | undefined;
590
- adapter_version?: string | undefined;
555
+ auth_modes: ("api_key" | "local_session" | "none")[];
556
+ access_profiles_supported: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[];
591
557
  } | null | undefined;
592
- }, {
593
- status: "unavailable" | "ok" | "degraded";
594
- id: string;
595
- readiness?: {
596
- status: "pass" | "fail" | "skip";
597
- kind: "binary" | "auth" | "model" | "smoke" | "probe";
598
- id: string;
599
- title: string;
600
- detail?: string | null | undefined;
601
- }[] | undefined;
602
- checks?: {
603
- status: "pass" | "fail" | "skip";
558
+ enabledIntents: string[];
559
+ routableIntents: string[];
560
+ disabledIntents: string[];
561
+ checks: {
604
562
  id: string;
563
+ status: "fail" | "pass" | "skip";
605
564
  detail?: string | undefined;
606
565
  duration_ms?: number | undefined;
607
- }[] | undefined;
608
- reasons?: string[] | undefined;
566
+ }[];
567
+ reasons: string[];
568
+ authSources: {
569
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
570
+ availability: "available" | "unavailable" | "unknown";
571
+ verification: "failed" | "not_run" | "passed";
572
+ detail?: string | undefined;
573
+ }[];
574
+ readiness: {
575
+ id: string;
576
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
577
+ title: string;
578
+ status: "fail" | "pass" | "skip";
579
+ detail: string | null;
580
+ }[];
581
+ configuredModel: string | null;
582
+ configuredModelCheck: {
583
+ status: "ok" | "rejected";
584
+ message: string | null;
585
+ } | null;
586
+ delegation: {
587
+ available: boolean;
588
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
589
+ remediation: string | null;
590
+ requiresFullAccess: boolean;
591
+ } | null;
592
+ }, {
593
+ id: string;
594
+ status: "degraded" | "ok" | "unavailable";
609
595
  manifest?: {
610
- display_name: string;
611
- kind: "local_cli" | "remote_api" | "fake";
612
596
  id: string;
597
+ display_name: string;
598
+ kind: "fake" | "local_cli" | "remote_api";
599
+ version?: string | undefined;
600
+ adapter_version?: string | undefined;
601
+ provider_family?: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai" | undefined;
602
+ capability_profile?: {
603
+ auth?: {
604
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
605
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
606
+ credential_transports?: {
607
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
608
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
609
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
610
+ }[] | undefined;
611
+ } | undefined;
612
+ access_control?: {
613
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
614
+ } | undefined;
615
+ isolation?: {
616
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
617
+ } | undefined;
618
+ attachment_inputs?: {
619
+ kind: "file" | "image";
620
+ mime_types: string[];
621
+ max_bytes: number;
622
+ max_count: number;
623
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
624
+ }[] | undefined;
625
+ mcp_injection?: boolean | undefined;
626
+ mcp_injection_requires_full_access?: boolean | undefined;
627
+ } | undefined;
613
628
  capabilities: {
614
629
  plan?: boolean | undefined;
615
630
  implement?: boolean | undefined;
631
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
616
632
  create_from_scratch?: boolean | undefined;
617
633
  review?: boolean | undefined;
618
634
  verify?: boolean | undefined;
619
635
  synthesize?: boolean | undefined;
620
- implementation_transport?: "workspace" | "git_patch_envelope" | undefined;
621
636
  read_files?: boolean | undefined;
622
637
  browser_tool?: boolean | undefined;
623
- web_policy?: "none" | "native" | "tools" | "uncontrolled" | undefined;
638
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
624
639
  max_turns?: boolean | undefined;
625
640
  tool_lists?: boolean | undefined;
626
641
  interactive?: boolean | undefined;
627
642
  json_schema_output?: boolean | undefined;
628
- work_report_transport?: "constrained" | "validated" | "unsupported" | undefined;
629
- structured_output_channel?: "side_tool" | "final_message" | undefined;
643
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
644
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
630
645
  effort_levels?: string[] | undefined;
631
646
  model_effort_levels?: Record<string, {
632
647
  levels?: string[] | undefined;
@@ -639,58 +654,43 @@ export declare const HarnessStatusDto: z.ZodObject<{
639
654
  })[] | undefined;
640
655
  known_models_verified_against?: string | null | undefined;
641
656
  };
642
- version?: string | undefined;
643
- adapter_version?: string | undefined;
644
- provider_family?: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown" | undefined;
645
- capability_profile?: {
646
- auth?: {
647
- supported_sources?: ("native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none")[] | undefined;
648
- preferred_source?: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none" | null | undefined;
649
- credential_transports?: {
650
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
651
- kind: "oauth_token_env" | "none" | "config_file" | "env_var" | "os_keychain" | "http_header";
652
- relocatable_by?: ("none" | "HOME" | "CONFIG_DIR" | "ENV")[] | undefined;
653
- }[] | undefined;
654
- } | undefined;
655
- access_control?: {
656
- readonly_mechanism?: "none" | "fs_sandbox" | "permission_deny" | "tool_allowlist" | undefined;
657
- } | undefined;
658
- isolation?: {
659
- supported_containment?: ("env_or_file_injection" | "scoped_home_keychain_bridge" | "host_user_context" | "process_sandbox" | "container")[] | undefined;
660
- } | undefined;
661
- attachment_inputs?: {
662
- kind: "file" | "image";
663
- mime_types: string[];
664
- max_bytes: number;
665
- max_count: number;
666
- transport: "file_path" | "base64_stream" | "base64_inline" | "text_inline";
667
- }[] | undefined;
668
- mcp_injection?: boolean | undefined;
669
- mcp_injection_requires_full_access?: boolean | undefined;
670
- } | undefined;
671
- auth_modes?: ("api_key" | "none" | "local_session")[] | undefined;
672
- access_profiles_supported?: ("readonly" | "workspace_write" | "full" | "external_sandbox_full" | "inherit_native")[] | undefined;
657
+ auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
658
+ access_profiles_supported?: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
673
659
  } | null | undefined;
674
660
  enabledIntents?: string[] | undefined;
675
- disabledIntents?: string[] | undefined;
676
- configuredModel?: string | null | undefined;
677
- delegation?: {
678
- available: boolean;
679
- reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
680
- remediation?: string | null | undefined;
681
- requiresFullAccess?: boolean | undefined;
682
- } | null | undefined;
683
661
  routableIntents?: string[] | undefined;
662
+ disabledIntents?: string[] | undefined;
663
+ checks?: {
664
+ id: string;
665
+ status: "fail" | "pass" | "skip";
666
+ detail?: string | undefined;
667
+ duration_ms?: number | undefined;
668
+ }[] | undefined;
669
+ reasons?: string[] | undefined;
684
670
  authSources?: {
685
- source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
686
- availability: "unknown" | "available" | "unavailable";
687
- verification: "passed" | "failed" | "not_run";
671
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
672
+ availability: "available" | "unavailable" | "unknown";
673
+ verification: "failed" | "not_run" | "passed";
688
674
  detail?: string | undefined;
689
675
  }[] | undefined;
676
+ readiness?: {
677
+ id: string;
678
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
679
+ title: string;
680
+ status: "fail" | "pass" | "skip";
681
+ detail?: string | null | undefined;
682
+ }[] | undefined;
683
+ configuredModel?: string | null | undefined;
690
684
  configuredModelCheck?: {
691
685
  status: "ok" | "rejected";
692
686
  message?: string | null | undefined;
693
687
  } | null | undefined;
688
+ delegation?: {
689
+ available: boolean;
690
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
691
+ remediation?: string | null | undefined;
692
+ requiresFullAccess?: boolean | undefined;
693
+ } | null | undefined;
694
694
  }>;
695
695
  export type HarnessStatusDto = z.infer<typeof HarnessStatusDto>;
696
696
  //# sourceMappingURL=readiness.d.ts.map