@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
@@ -0,0 +1,896 @@
1
+ import { z } from "zod/v3";
2
+ export declare const ControlHarnessListResponse: z.ZodObject<{
3
+ harnesses: z.ZodDefault<z.ZodArray<z.ZodObject<{
4
+ id: z.ZodString;
5
+ status: z.ZodEnum<["ok", "degraded", "unavailable"]>;
6
+ manifest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
+ id: z.ZodString;
8
+ display_name: z.ZodString;
9
+ kind: z.ZodEnum<["local_cli", "remote_api", "fake"]>;
10
+ version: z.ZodOptional<z.ZodString>;
11
+ adapter_version: z.ZodOptional<z.ZodString>;
12
+ provider_family: z.ZodDefault<z.ZodEnum<["openai", "anthropic", "google", "cursor", "opencode", "xai", "local", "unknown"]>>;
13
+ capability_profile: z.ZodDefault<z.ZodObject<{
14
+ auth: z.ZodDefault<z.ZodObject<{
15
+ supported_sources: z.ZodDefault<z.ZodArray<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>, "many">>;
16
+ preferred_source: z.ZodDefault<z.ZodNullable<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>>>;
17
+ credential_transports: z.ZodDefault<z.ZodArray<z.ZodObject<{
18
+ source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
19
+ kind: z.ZodEnum<["config_file", "env_var", "oauth_token_env", "os_keychain", "http_header", "none"]>;
20
+ relocatable_by: z.ZodDefault<z.ZodArray<z.ZodEnum<["HOME", "CONFIG_DIR", "ENV", "none"]>, "many">>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
23
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
24
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
25
+ }, {
26
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
27
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
28
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
29
+ }>, "many">>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
32
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
33
+ credential_transports: {
34
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
35
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
36
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
37
+ }[];
38
+ }, {
39
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
40
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
41
+ credential_transports?: {
42
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
43
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
44
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
45
+ }[] | undefined;
46
+ }>>;
47
+ access_control: z.ZodDefault<z.ZodObject<{
48
+ readonly_mechanism: z.ZodDefault<z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "none"]>>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
51
+ }, {
52
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
53
+ }>>;
54
+ isolation: z.ZodDefault<z.ZodObject<{
55
+ supported_containment: z.ZodDefault<z.ZodArray<z.ZodEnum<["env_or_file_injection", "scoped_home_keychain_bridge", "host_user_context", "process_sandbox", "container"]>, "many">>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
58
+ }, {
59
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
60
+ }>>;
61
+ attachment_inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
62
+ kind: z.ZodEnum<["image", "file"]>;
63
+ mime_types: z.ZodArray<z.ZodString, "many">;
64
+ max_bytes: z.ZodNumber;
65
+ max_count: z.ZodNumber;
66
+ transport: z.ZodEnum<["file_path", "base64_stream", "base64_inline", "text_inline"]>;
67
+ }, "strict", z.ZodTypeAny, {
68
+ kind: "file" | "image";
69
+ mime_types: string[];
70
+ max_bytes: number;
71
+ max_count: number;
72
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
73
+ }, {
74
+ kind: "file" | "image";
75
+ mime_types: string[];
76
+ max_bytes: number;
77
+ max_count: number;
78
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
79
+ }>, "many">>;
80
+ mcp_injection: z.ZodDefault<z.ZodBoolean>;
81
+ mcp_injection_requires_full_access: z.ZodDefault<z.ZodBoolean>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ auth: {
84
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
85
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
86
+ credential_transports: {
87
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
88
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
89
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
90
+ }[];
91
+ };
92
+ access_control: {
93
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
94
+ };
95
+ isolation: {
96
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
97
+ };
98
+ attachment_inputs: {
99
+ kind: "file" | "image";
100
+ mime_types: string[];
101
+ max_bytes: number;
102
+ max_count: number;
103
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
104
+ }[];
105
+ mcp_injection: boolean;
106
+ mcp_injection_requires_full_access: boolean;
107
+ }, {
108
+ auth?: {
109
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
110
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
111
+ credential_transports?: {
112
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
113
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
114
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
115
+ }[] | undefined;
116
+ } | undefined;
117
+ access_control?: {
118
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
119
+ } | undefined;
120
+ isolation?: {
121
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
122
+ } | undefined;
123
+ attachment_inputs?: {
124
+ kind: "file" | "image";
125
+ mime_types: string[];
126
+ max_bytes: number;
127
+ max_count: number;
128
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
129
+ }[] | undefined;
130
+ mcp_injection?: boolean | undefined;
131
+ mcp_injection_requires_full_access?: boolean | undefined;
132
+ }>>;
133
+ capabilities: z.ZodObject<{
134
+ plan: z.ZodDefault<z.ZodBoolean>;
135
+ implement: z.ZodDefault<z.ZodBoolean>;
136
+ implementation_transport: z.ZodDefault<z.ZodEnum<["workspace", "git_patch_envelope"]>>;
137
+ create_from_scratch: z.ZodDefault<z.ZodBoolean>;
138
+ review: z.ZodDefault<z.ZodBoolean>;
139
+ verify: z.ZodDefault<z.ZodBoolean>;
140
+ synthesize: z.ZodDefault<z.ZodBoolean>;
141
+ read_files: z.ZodDefault<z.ZodBoolean>;
142
+ browser_tool: z.ZodDefault<z.ZodBoolean>;
143
+ web_policy: z.ZodDefault<z.ZodEnum<["native", "tools", "uncontrolled", "none"]>>;
144
+ max_turns: z.ZodDefault<z.ZodBoolean>;
145
+ tool_lists: z.ZodDefault<z.ZodBoolean>;
146
+ interactive: z.ZodDefault<z.ZodBoolean>;
147
+ json_schema_output: z.ZodDefault<z.ZodBoolean>;
148
+ work_report_transport: z.ZodDefault<z.ZodEnum<["constrained", "validated", "unsupported"]>>;
149
+ structured_output_channel: z.ZodDefault<z.ZodEnum<["side_tool", "final_message"]>>;
150
+ effort_levels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
151
+ model_effort_levels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
152
+ levels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
153
+ default: z.ZodDefault<z.ZodNullable<z.ZodString>>;
154
+ }, "strict", z.ZodTypeAny, {
155
+ levels: string[];
156
+ default: string | null;
157
+ }, {
158
+ levels?: string[] | undefined;
159
+ default?: string | null | undefined;
160
+ }>>>;
161
+ effort_levels_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
162
+ known_models: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
163
+ id: z.ZodString;
164
+ routes: z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">;
165
+ }, "strict", z.ZodTypeAny, {
166
+ id: string;
167
+ routes: ("api_key" | "local_session")[];
168
+ }, {
169
+ id: string;
170
+ routes: ("api_key" | "local_session")[];
171
+ }>]>, "many">>;
172
+ known_models_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ plan: boolean;
175
+ implement: boolean;
176
+ implementation_transport: "git_patch_envelope" | "workspace";
177
+ create_from_scratch: boolean;
178
+ review: boolean;
179
+ verify: boolean;
180
+ synthesize: boolean;
181
+ read_files: boolean;
182
+ browser_tool: boolean;
183
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
184
+ max_turns: boolean;
185
+ tool_lists: boolean;
186
+ interactive: boolean;
187
+ json_schema_output: boolean;
188
+ work_report_transport: "constrained" | "unsupported" | "validated";
189
+ structured_output_channel: "final_message" | "side_tool";
190
+ effort_levels: string[];
191
+ model_effort_levels: Record<string, {
192
+ levels: string[];
193
+ default: string | null;
194
+ }>;
195
+ effort_levels_verified_against: string | null;
196
+ known_models: (string | {
197
+ id: string;
198
+ routes: ("api_key" | "local_session")[];
199
+ })[];
200
+ known_models_verified_against: string | null;
201
+ }, {
202
+ plan?: boolean | undefined;
203
+ implement?: boolean | undefined;
204
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
205
+ create_from_scratch?: boolean | undefined;
206
+ review?: boolean | undefined;
207
+ verify?: boolean | undefined;
208
+ synthesize?: boolean | undefined;
209
+ read_files?: boolean | undefined;
210
+ browser_tool?: boolean | undefined;
211
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
212
+ max_turns?: boolean | undefined;
213
+ tool_lists?: boolean | undefined;
214
+ interactive?: boolean | undefined;
215
+ json_schema_output?: boolean | undefined;
216
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
217
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
218
+ effort_levels?: string[] | undefined;
219
+ model_effort_levels?: Record<string, {
220
+ levels?: string[] | undefined;
221
+ default?: string | null | undefined;
222
+ }> | undefined;
223
+ effort_levels_verified_against?: string | null | undefined;
224
+ known_models?: (string | {
225
+ id: string;
226
+ routes: ("api_key" | "local_session")[];
227
+ })[] | undefined;
228
+ known_models_verified_against?: string | null | undefined;
229
+ }>;
230
+ auth_modes: z.ZodDefault<z.ZodArray<z.ZodEnum<["local_session", "api_key", "none"]>, "many">>;
231
+ access_profiles_supported: z.ZodDefault<z.ZodArray<z.ZodEnum<["readonly", "workspace_write", "full", "external_sandbox_full", "inherit_native"]>, "many">>;
232
+ }, "strip", z.ZodTypeAny, {
233
+ id: string;
234
+ display_name: string;
235
+ kind: "fake" | "local_cli" | "remote_api";
236
+ version?: string | undefined;
237
+ adapter_version?: string | undefined;
238
+ provider_family: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai";
239
+ capability_profile: {
240
+ auth: {
241
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
242
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
243
+ credential_transports: {
244
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
245
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
246
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
247
+ }[];
248
+ };
249
+ access_control: {
250
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
251
+ };
252
+ isolation: {
253
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
254
+ };
255
+ attachment_inputs: {
256
+ kind: "file" | "image";
257
+ mime_types: string[];
258
+ max_bytes: number;
259
+ max_count: number;
260
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
261
+ }[];
262
+ mcp_injection: boolean;
263
+ mcp_injection_requires_full_access: boolean;
264
+ };
265
+ capabilities: {
266
+ plan: boolean;
267
+ implement: boolean;
268
+ implementation_transport: "git_patch_envelope" | "workspace";
269
+ create_from_scratch: boolean;
270
+ review: boolean;
271
+ verify: boolean;
272
+ synthesize: boolean;
273
+ read_files: boolean;
274
+ browser_tool: boolean;
275
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
276
+ max_turns: boolean;
277
+ tool_lists: boolean;
278
+ interactive: boolean;
279
+ json_schema_output: boolean;
280
+ work_report_transport: "constrained" | "unsupported" | "validated";
281
+ structured_output_channel: "final_message" | "side_tool";
282
+ effort_levels: string[];
283
+ model_effort_levels: Record<string, {
284
+ levels: string[];
285
+ default: string | null;
286
+ }>;
287
+ effort_levels_verified_against: string | null;
288
+ known_models: (string | {
289
+ id: string;
290
+ routes: ("api_key" | "local_session")[];
291
+ })[];
292
+ known_models_verified_against: string | null;
293
+ };
294
+ auth_modes: ("api_key" | "local_session" | "none")[];
295
+ access_profiles_supported: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[];
296
+ }, {
297
+ id: string;
298
+ display_name: string;
299
+ kind: "fake" | "local_cli" | "remote_api";
300
+ version?: string | undefined;
301
+ adapter_version?: string | undefined;
302
+ provider_family?: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai" | undefined;
303
+ capability_profile?: {
304
+ auth?: {
305
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
306
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
307
+ credential_transports?: {
308
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
309
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
310
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
311
+ }[] | undefined;
312
+ } | undefined;
313
+ access_control?: {
314
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
315
+ } | undefined;
316
+ isolation?: {
317
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
318
+ } | undefined;
319
+ attachment_inputs?: {
320
+ kind: "file" | "image";
321
+ mime_types: string[];
322
+ max_bytes: number;
323
+ max_count: number;
324
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
325
+ }[] | undefined;
326
+ mcp_injection?: boolean | undefined;
327
+ mcp_injection_requires_full_access?: boolean | undefined;
328
+ } | undefined;
329
+ capabilities: {
330
+ plan?: boolean | undefined;
331
+ implement?: boolean | undefined;
332
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
333
+ create_from_scratch?: boolean | undefined;
334
+ review?: boolean | undefined;
335
+ verify?: boolean | undefined;
336
+ synthesize?: boolean | undefined;
337
+ read_files?: boolean | undefined;
338
+ browser_tool?: boolean | undefined;
339
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
340
+ max_turns?: boolean | undefined;
341
+ tool_lists?: boolean | undefined;
342
+ interactive?: boolean | undefined;
343
+ json_schema_output?: boolean | undefined;
344
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
345
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
346
+ effort_levels?: string[] | undefined;
347
+ model_effort_levels?: Record<string, {
348
+ levels?: string[] | undefined;
349
+ default?: string | null | undefined;
350
+ }> | undefined;
351
+ effort_levels_verified_against?: string | null | undefined;
352
+ known_models?: (string | {
353
+ id: string;
354
+ routes: ("api_key" | "local_session")[];
355
+ })[] | undefined;
356
+ known_models_verified_against?: string | null | undefined;
357
+ };
358
+ auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
359
+ access_profiles_supported?: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
360
+ }>>>;
361
+ enabledIntents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
362
+ routableIntents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
363
+ disabledIntents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
364
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
365
+ id: z.ZodString;
366
+ status: z.ZodEnum<["pass", "fail", "skip"]>;
367
+ detail: z.ZodOptional<z.ZodString>;
368
+ duration_ms: z.ZodOptional<z.ZodNumber>;
369
+ }, "strip", z.ZodTypeAny, {
370
+ id: string;
371
+ status: "fail" | "pass" | "skip";
372
+ detail?: string | undefined;
373
+ duration_ms?: number | undefined;
374
+ }, {
375
+ id: string;
376
+ status: "fail" | "pass" | "skip";
377
+ detail?: string | undefined;
378
+ duration_ms?: number | undefined;
379
+ }>, "many">>;
380
+ reasons: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
381
+ authSources: z.ZodDefault<z.ZodArray<z.ZodObject<{
382
+ source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
383
+ availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
384
+ verification: z.ZodEnum<["passed", "failed", "not_run"]>;
385
+ detail: z.ZodOptional<z.ZodString>;
386
+ }, "strict", z.ZodTypeAny, {
387
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
388
+ availability: "available" | "unavailable" | "unknown";
389
+ verification: "failed" | "not_run" | "passed";
390
+ detail?: string | undefined;
391
+ }, {
392
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
393
+ availability: "available" | "unavailable" | "unknown";
394
+ verification: "failed" | "not_run" | "passed";
395
+ detail?: string | undefined;
396
+ }>, "many">>;
397
+ readiness: z.ZodDefault<z.ZodArray<z.ZodObject<{
398
+ id: z.ZodString;
399
+ kind: z.ZodEnum<["binary", "auth", "smoke", "model", "probe"]>;
400
+ title: z.ZodString;
401
+ status: z.ZodEnum<["pass", "fail", "skip"]>;
402
+ detail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
403
+ }, "strip", z.ZodTypeAny, {
404
+ id: string;
405
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
406
+ title: string;
407
+ status: "fail" | "pass" | "skip";
408
+ detail: string | null;
409
+ }, {
410
+ id: string;
411
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
412
+ title: string;
413
+ status: "fail" | "pass" | "skip";
414
+ detail?: string | null | undefined;
415
+ }>, "many">>;
416
+ configuredModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
417
+ configuredModelCheck: z.ZodDefault<z.ZodNullable<z.ZodObject<{
418
+ status: z.ZodEnum<["ok", "rejected"]>;
419
+ message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
420
+ }, "strip", z.ZodTypeAny, {
421
+ status: "ok" | "rejected";
422
+ message: string | null;
423
+ }, {
424
+ status: "ok" | "rejected";
425
+ message?: string | null | undefined;
426
+ }>>>;
427
+ delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
428
+ available: z.ZodBoolean;
429
+ reason: z.ZodEnum<["ready", "runtime_unavailable", "manifest_unsupported"]>;
430
+ remediation: z.ZodDefault<z.ZodNullable<z.ZodString>>;
431
+ requiresFullAccess: z.ZodDefault<z.ZodBoolean>;
432
+ }, "strict", z.ZodTypeAny, {
433
+ available: boolean;
434
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
435
+ remediation: string | null;
436
+ requiresFullAccess: boolean;
437
+ }, {
438
+ available: boolean;
439
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
440
+ remediation?: string | null | undefined;
441
+ requiresFullAccess?: boolean | undefined;
442
+ }>, {
443
+ available: boolean;
444
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
445
+ remediation: string | null;
446
+ requiresFullAccess: boolean;
447
+ }, {
448
+ available: boolean;
449
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
450
+ remediation?: string | null | undefined;
451
+ requiresFullAccess?: boolean | undefined;
452
+ }>>>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ id: string;
455
+ status: "degraded" | "ok" | "unavailable";
456
+ manifest?: {
457
+ id: string;
458
+ display_name: string;
459
+ kind: "fake" | "local_cli" | "remote_api";
460
+ version?: string | undefined;
461
+ adapter_version?: string | undefined;
462
+ provider_family: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai";
463
+ capability_profile: {
464
+ auth: {
465
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
466
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
467
+ credential_transports: {
468
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
469
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
470
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
471
+ }[];
472
+ };
473
+ access_control: {
474
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
475
+ };
476
+ isolation: {
477
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
478
+ };
479
+ attachment_inputs: {
480
+ kind: "file" | "image";
481
+ mime_types: string[];
482
+ max_bytes: number;
483
+ max_count: number;
484
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
485
+ }[];
486
+ mcp_injection: boolean;
487
+ mcp_injection_requires_full_access: boolean;
488
+ };
489
+ capabilities: {
490
+ plan: boolean;
491
+ implement: boolean;
492
+ implementation_transport: "git_patch_envelope" | "workspace";
493
+ create_from_scratch: boolean;
494
+ review: boolean;
495
+ verify: boolean;
496
+ synthesize: boolean;
497
+ read_files: boolean;
498
+ browser_tool: boolean;
499
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
500
+ max_turns: boolean;
501
+ tool_lists: boolean;
502
+ interactive: boolean;
503
+ json_schema_output: boolean;
504
+ work_report_transport: "constrained" | "unsupported" | "validated";
505
+ structured_output_channel: "final_message" | "side_tool";
506
+ effort_levels: string[];
507
+ model_effort_levels: Record<string, {
508
+ levels: string[];
509
+ default: string | null;
510
+ }>;
511
+ effort_levels_verified_against: string | null;
512
+ known_models: (string | {
513
+ id: string;
514
+ routes: ("api_key" | "local_session")[];
515
+ })[];
516
+ known_models_verified_against: string | null;
517
+ };
518
+ auth_modes: ("api_key" | "local_session" | "none")[];
519
+ access_profiles_supported: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[];
520
+ } | null | undefined;
521
+ enabledIntents: string[];
522
+ routableIntents: string[];
523
+ disabledIntents: string[];
524
+ checks: {
525
+ id: string;
526
+ status: "fail" | "pass" | "skip";
527
+ detail?: string | undefined;
528
+ duration_ms?: number | undefined;
529
+ }[];
530
+ reasons: string[];
531
+ authSources: {
532
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
533
+ availability: "available" | "unavailable" | "unknown";
534
+ verification: "failed" | "not_run" | "passed";
535
+ detail?: string | undefined;
536
+ }[];
537
+ readiness: {
538
+ id: string;
539
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
540
+ title: string;
541
+ status: "fail" | "pass" | "skip";
542
+ detail: string | null;
543
+ }[];
544
+ configuredModel: string | null;
545
+ configuredModelCheck: {
546
+ status: "ok" | "rejected";
547
+ message: string | null;
548
+ } | null;
549
+ delegation: {
550
+ available: boolean;
551
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
552
+ remediation: string | null;
553
+ requiresFullAccess: boolean;
554
+ } | null;
555
+ }, {
556
+ id: string;
557
+ status: "degraded" | "ok" | "unavailable";
558
+ manifest?: {
559
+ id: string;
560
+ display_name: string;
561
+ kind: "fake" | "local_cli" | "remote_api";
562
+ version?: string | undefined;
563
+ adapter_version?: string | undefined;
564
+ provider_family?: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai" | undefined;
565
+ capability_profile?: {
566
+ auth?: {
567
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
568
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
569
+ credential_transports?: {
570
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
571
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
572
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
573
+ }[] | undefined;
574
+ } | undefined;
575
+ access_control?: {
576
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
577
+ } | undefined;
578
+ isolation?: {
579
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
580
+ } | undefined;
581
+ attachment_inputs?: {
582
+ kind: "file" | "image";
583
+ mime_types: string[];
584
+ max_bytes: number;
585
+ max_count: number;
586
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
587
+ }[] | undefined;
588
+ mcp_injection?: boolean | undefined;
589
+ mcp_injection_requires_full_access?: boolean | undefined;
590
+ } | undefined;
591
+ capabilities: {
592
+ plan?: boolean | undefined;
593
+ implement?: boolean | undefined;
594
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
595
+ create_from_scratch?: boolean | undefined;
596
+ review?: boolean | undefined;
597
+ verify?: boolean | undefined;
598
+ synthesize?: boolean | undefined;
599
+ read_files?: boolean | undefined;
600
+ browser_tool?: boolean | undefined;
601
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
602
+ max_turns?: boolean | undefined;
603
+ tool_lists?: boolean | undefined;
604
+ interactive?: boolean | undefined;
605
+ json_schema_output?: boolean | undefined;
606
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
607
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
608
+ effort_levels?: string[] | undefined;
609
+ model_effort_levels?: Record<string, {
610
+ levels?: string[] | undefined;
611
+ default?: string | null | undefined;
612
+ }> | undefined;
613
+ effort_levels_verified_against?: string | null | undefined;
614
+ known_models?: (string | {
615
+ id: string;
616
+ routes: ("api_key" | "local_session")[];
617
+ })[] | undefined;
618
+ known_models_verified_against?: string | null | undefined;
619
+ };
620
+ auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
621
+ access_profiles_supported?: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
622
+ } | null | undefined;
623
+ enabledIntents?: string[] | undefined;
624
+ routableIntents?: string[] | undefined;
625
+ disabledIntents?: string[] | undefined;
626
+ checks?: {
627
+ id: string;
628
+ status: "fail" | "pass" | "skip";
629
+ detail?: string | undefined;
630
+ duration_ms?: number | undefined;
631
+ }[] | undefined;
632
+ reasons?: string[] | undefined;
633
+ authSources?: {
634
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
635
+ availability: "available" | "unavailable" | "unknown";
636
+ verification: "failed" | "not_run" | "passed";
637
+ detail?: string | undefined;
638
+ }[] | undefined;
639
+ readiness?: {
640
+ id: string;
641
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
642
+ title: string;
643
+ status: "fail" | "pass" | "skip";
644
+ detail?: string | null | undefined;
645
+ }[] | undefined;
646
+ configuredModel?: string | null | undefined;
647
+ configuredModelCheck?: {
648
+ status: "ok" | "rejected";
649
+ message?: string | null | undefined;
650
+ } | null | undefined;
651
+ delegation?: {
652
+ available: boolean;
653
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
654
+ remediation?: string | null | undefined;
655
+ requiresFullAccess?: boolean | undefined;
656
+ } | null | undefined;
657
+ }>, "many">>;
658
+ git: z.ZodOptional<z.ZodObject<{
659
+ status: z.ZodEnum<["available", "missing", "developer_tools_stub", "failed"]>;
660
+ version: z.ZodNullable<z.ZodString>;
661
+ detail: z.ZodNullable<z.ZodString>;
662
+ remediation: z.ZodNullable<z.ZodString>;
663
+ }, "strict", z.ZodTypeAny, {
664
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
665
+ version: string | null;
666
+ detail: string | null;
667
+ remediation: string | null;
668
+ }, {
669
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
670
+ version: string | null;
671
+ detail: string | null;
672
+ remediation: string | null;
673
+ }>>;
674
+ }, "strip", z.ZodTypeAny, {
675
+ harnesses: {
676
+ id: string;
677
+ status: "degraded" | "ok" | "unavailable";
678
+ manifest?: {
679
+ id: string;
680
+ display_name: string;
681
+ kind: "fake" | "local_cli" | "remote_api";
682
+ version?: string | undefined;
683
+ adapter_version?: string | undefined;
684
+ provider_family: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai";
685
+ capability_profile: {
686
+ auth: {
687
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
688
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
689
+ credential_transports: {
690
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
691
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
692
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
693
+ }[];
694
+ };
695
+ access_control: {
696
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
697
+ };
698
+ isolation: {
699
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
700
+ };
701
+ attachment_inputs: {
702
+ kind: "file" | "image";
703
+ mime_types: string[];
704
+ max_bytes: number;
705
+ max_count: number;
706
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
707
+ }[];
708
+ mcp_injection: boolean;
709
+ mcp_injection_requires_full_access: boolean;
710
+ };
711
+ capabilities: {
712
+ plan: boolean;
713
+ implement: boolean;
714
+ implementation_transport: "git_patch_envelope" | "workspace";
715
+ create_from_scratch: boolean;
716
+ review: boolean;
717
+ verify: boolean;
718
+ synthesize: boolean;
719
+ read_files: boolean;
720
+ browser_tool: boolean;
721
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
722
+ max_turns: boolean;
723
+ tool_lists: boolean;
724
+ interactive: boolean;
725
+ json_schema_output: boolean;
726
+ work_report_transport: "constrained" | "unsupported" | "validated";
727
+ structured_output_channel: "final_message" | "side_tool";
728
+ effort_levels: string[];
729
+ model_effort_levels: Record<string, {
730
+ levels: string[];
731
+ default: string | null;
732
+ }>;
733
+ effort_levels_verified_against: string | null;
734
+ known_models: (string | {
735
+ id: string;
736
+ routes: ("api_key" | "local_session")[];
737
+ })[];
738
+ known_models_verified_against: string | null;
739
+ };
740
+ auth_modes: ("api_key" | "local_session" | "none")[];
741
+ access_profiles_supported: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[];
742
+ } | null | undefined;
743
+ enabledIntents: string[];
744
+ routableIntents: string[];
745
+ disabledIntents: string[];
746
+ checks: {
747
+ id: string;
748
+ status: "fail" | "pass" | "skip";
749
+ detail?: string | undefined;
750
+ duration_ms?: number | undefined;
751
+ }[];
752
+ reasons: string[];
753
+ authSources: {
754
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
755
+ availability: "available" | "unavailable" | "unknown";
756
+ verification: "failed" | "not_run" | "passed";
757
+ detail?: string | undefined;
758
+ }[];
759
+ readiness: {
760
+ id: string;
761
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
762
+ title: string;
763
+ status: "fail" | "pass" | "skip";
764
+ detail: string | null;
765
+ }[];
766
+ configuredModel: string | null;
767
+ configuredModelCheck: {
768
+ status: "ok" | "rejected";
769
+ message: string | null;
770
+ } | null;
771
+ delegation: {
772
+ available: boolean;
773
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
774
+ remediation: string | null;
775
+ requiresFullAccess: boolean;
776
+ } | null;
777
+ }[];
778
+ git?: {
779
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
780
+ version: string | null;
781
+ detail: string | null;
782
+ remediation: string | null;
783
+ } | undefined;
784
+ }, {
785
+ harnesses?: {
786
+ id: string;
787
+ status: "degraded" | "ok" | "unavailable";
788
+ manifest?: {
789
+ id: string;
790
+ display_name: string;
791
+ kind: "fake" | "local_cli" | "remote_api";
792
+ version?: string | undefined;
793
+ adapter_version?: string | undefined;
794
+ provider_family?: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai" | undefined;
795
+ capability_profile?: {
796
+ auth?: {
797
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
798
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
799
+ credential_transports?: {
800
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
801
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
802
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
803
+ }[] | undefined;
804
+ } | undefined;
805
+ access_control?: {
806
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
807
+ } | undefined;
808
+ isolation?: {
809
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
810
+ } | undefined;
811
+ attachment_inputs?: {
812
+ kind: "file" | "image";
813
+ mime_types: string[];
814
+ max_bytes: number;
815
+ max_count: number;
816
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
817
+ }[] | undefined;
818
+ mcp_injection?: boolean | undefined;
819
+ mcp_injection_requires_full_access?: boolean | undefined;
820
+ } | undefined;
821
+ capabilities: {
822
+ plan?: boolean | undefined;
823
+ implement?: boolean | undefined;
824
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
825
+ create_from_scratch?: boolean | undefined;
826
+ review?: boolean | undefined;
827
+ verify?: boolean | undefined;
828
+ synthesize?: boolean | undefined;
829
+ read_files?: boolean | undefined;
830
+ browser_tool?: boolean | undefined;
831
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
832
+ max_turns?: boolean | undefined;
833
+ tool_lists?: boolean | undefined;
834
+ interactive?: boolean | undefined;
835
+ json_schema_output?: boolean | undefined;
836
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
837
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
838
+ effort_levels?: string[] | undefined;
839
+ model_effort_levels?: Record<string, {
840
+ levels?: string[] | undefined;
841
+ default?: string | null | undefined;
842
+ }> | undefined;
843
+ effort_levels_verified_against?: string | null | undefined;
844
+ known_models?: (string | {
845
+ id: string;
846
+ routes: ("api_key" | "local_session")[];
847
+ })[] | undefined;
848
+ known_models_verified_against?: string | null | undefined;
849
+ };
850
+ auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
851
+ access_profiles_supported?: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
852
+ } | null | undefined;
853
+ enabledIntents?: string[] | undefined;
854
+ routableIntents?: string[] | undefined;
855
+ disabledIntents?: string[] | undefined;
856
+ checks?: {
857
+ id: string;
858
+ status: "fail" | "pass" | "skip";
859
+ detail?: string | undefined;
860
+ duration_ms?: number | undefined;
861
+ }[] | undefined;
862
+ reasons?: string[] | undefined;
863
+ authSources?: {
864
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
865
+ availability: "available" | "unavailable" | "unknown";
866
+ verification: "failed" | "not_run" | "passed";
867
+ detail?: string | undefined;
868
+ }[] | undefined;
869
+ readiness?: {
870
+ id: string;
871
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
872
+ title: string;
873
+ status: "fail" | "pass" | "skip";
874
+ detail?: string | null | undefined;
875
+ }[] | undefined;
876
+ configuredModel?: string | null | undefined;
877
+ configuredModelCheck?: {
878
+ status: "ok" | "rejected";
879
+ message?: string | null | undefined;
880
+ } | null | undefined;
881
+ delegation?: {
882
+ available: boolean;
883
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
884
+ remediation?: string | null | undefined;
885
+ requiresFullAccess?: boolean | undefined;
886
+ } | null | undefined;
887
+ }[] | undefined;
888
+ git?: {
889
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
890
+ version: string | null;
891
+ detail: string | null;
892
+ remediation: string | null;
893
+ } | undefined;
894
+ }>;
895
+ export type ControlHarnessListResponse = z.infer<typeof ControlHarnessListResponse>;
896
+ //# sourceMappingURL=control-harness-list.d.ts.map