@claudexor/schema 3.1.2 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) 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 +4 -2
  4. package/dist/agent-capabilities.js.map +1 -1
  5. package/dist/apply-eligibility.d.ts +462 -273
  6. package/dist/apply-eligibility.d.ts.map +1 -1
  7. package/dist/apply-eligibility.js +25 -2
  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 +62 -59
  18. package/dist/budget.d.ts.map +1 -1
  19. package/dist/budget.js +6 -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 +630 -628
  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 +2113 -1578
  46. package/dist/control-run-detail.d.ts.map +1 -1
  47. package/dist/control-run-detail.js +7 -1
  48. package/dist/control-run-detail.js.map +1 -1
  49. package/dist/control-run-retry.d.ts +16 -16
  50. package/dist/control-run-retry.d.ts.map +1 -1
  51. package/dist/control-run-retry.js +1 -1
  52. package/dist/control-run-retry.js.map +1 -1
  53. package/dist/control-run-scope.d.ts +2 -2
  54. package/dist/control-run-scope.d.ts.map +1 -1
  55. package/dist/control-run-scope.js +1 -1
  56. package/dist/control-run-scope.js.map +1 -1
  57. package/dist/control-secret.d.ts +7 -7
  58. package/dist/control-secret.d.ts.map +1 -1
  59. package/dist/control-secret.js +1 -1
  60. package/dist/control-secret.js.map +1 -1
  61. package/dist/control-thread-apply.d.ts +65 -65
  62. package/dist/control-thread-apply.d.ts.map +1 -1
  63. package/dist/control-thread-apply.js +1 -1
  64. package/dist/control-thread-apply.js.map +1 -1
  65. package/dist/control-trust.d.ts +23 -23
  66. package/dist/control-trust.d.ts.map +1 -1
  67. package/dist/control-trust.js +1 -1
  68. package/dist/control-trust.js.map +1 -1
  69. package/dist/control.d.ts +1523 -2354
  70. package/dist/control.d.ts.map +1 -1
  71. package/dist/control.js +23 -45
  72. package/dist/control.js.map +1 -1
  73. package/dist/credential-profile-snapshot.d.ts +3203 -0
  74. package/dist/credential-profile-snapshot.d.ts.map +1 -0
  75. package/dist/credential-profile-snapshot.js +28 -0
  76. package/dist/credential-profile-snapshot.js.map +1 -0
  77. package/dist/credential-profile.d.ts +122 -107
  78. package/dist/credential-profile.d.ts.map +1 -1
  79. package/dist/credential-profile.js +12 -6
  80. package/dist/credential-profile.js.map +1 -1
  81. package/dist/decision.d.ts +121 -121
  82. package/dist/decision.d.ts.map +1 -1
  83. package/dist/decision.js +2 -1
  84. package/dist/decision.js.map +1 -1
  85. package/dist/deep-scan.d.ts +5 -5
  86. package/dist/deep-scan.d.ts.map +1 -1
  87. package/dist/deep-scan.js +1 -1
  88. package/dist/deep-scan.js.map +1 -1
  89. package/dist/delegation.d.ts +13 -13
  90. package/dist/delegation.d.ts.map +1 -1
  91. package/dist/delegation.js +1 -1
  92. package/dist/delegation.js.map +1 -1
  93. package/dist/delivery.d.ts +32 -32
  94. package/dist/delivery.d.ts.map +1 -1
  95. package/dist/delivery.js +1 -1
  96. package/dist/delivery.js.map +1 -1
  97. package/dist/effort.d.ts +1 -1
  98. package/dist/effort.d.ts.map +1 -1
  99. package/dist/effort.js +1 -1
  100. package/dist/effort.js.map +1 -1
  101. package/dist/events.d.ts +55 -35
  102. package/dist/events.d.ts.map +1 -1
  103. package/dist/events.js +20 -1
  104. package/dist/events.js.map +1 -1
  105. package/dist/gate.d.ts +7 -7
  106. package/dist/gate.d.ts.map +1 -1
  107. package/dist/gate.js +1 -1
  108. package/dist/gate.js.map +1 -1
  109. package/dist/git-capability.d.ts +23 -0
  110. package/dist/git-capability.d.ts.map +1 -0
  111. package/dist/git-capability.js +15 -0
  112. package/dist/git-capability.js.map +1 -0
  113. package/dist/harness.d.ts +417 -400
  114. package/dist/harness.d.ts.map +1 -1
  115. package/dist/harness.js +11 -25
  116. package/dist/harness.js.map +1 -1
  117. package/dist/index.d.ts +7 -0
  118. package/dist/index.d.ts.map +1 -1
  119. package/dist/index.js +7 -0
  120. package/dist/index.js.map +1 -1
  121. package/dist/interaction.d.ts +10 -0
  122. package/dist/interaction.d.ts.map +1 -0
  123. package/dist/interaction.js +2 -0
  124. package/dist/interaction.js.map +1 -0
  125. package/dist/operation.d.ts +113 -113
  126. package/dist/operation.d.ts.map +1 -1
  127. package/dist/operation.js +1 -1
  128. package/dist/operation.js.map +1 -1
  129. package/dist/output-schema-dialect.d.ts +1 -1
  130. package/dist/output-schema-dialect.d.ts.map +1 -1
  131. package/dist/output-schema-dialect.js +1 -1
  132. package/dist/output-schema-dialect.js.map +1 -1
  133. package/dist/output-schema.d.ts +2 -2
  134. package/dist/output-schema.js +2 -2
  135. package/dist/plan.d.ts +29 -29
  136. package/dist/plan.d.ts.map +1 -1
  137. package/dist/plan.js +2 -2
  138. package/dist/plan.js.map +1 -1
  139. package/dist/primitives.d.ts +3 -5
  140. package/dist/primitives.d.ts.map +1 -1
  141. package/dist/primitives.js +4 -6
  142. package/dist/primitives.js.map +1 -1
  143. package/dist/problem.d.ts +6 -6
  144. package/dist/problem.d.ts.map +1 -1
  145. package/dist/problem.js +1 -1
  146. package/dist/problem.js.map +1 -1
  147. package/dist/project.d.ts +87 -25
  148. package/dist/project.d.ts.map +1 -1
  149. package/dist/project.js +21 -1
  150. package/dist/project.js.map +1 -1
  151. package/dist/quota.d.ts +72 -48
  152. package/dist/quota.d.ts.map +1 -1
  153. package/dist/quota.js +6 -2
  154. package/dist/quota.js.map +1 -1
  155. package/dist/rate-limit.d.ts +20 -0
  156. package/dist/rate-limit.d.ts.map +1 -0
  157. package/dist/rate-limit.js +24 -0
  158. package/dist/rate-limit.js.map +1 -0
  159. package/dist/raw.d.ts +16 -16
  160. package/dist/raw.d.ts.map +1 -1
  161. package/dist/raw.js +1 -1
  162. package/dist/raw.js.map +1 -1
  163. package/dist/readiness.d.ts +242 -242
  164. package/dist/readiness.d.ts.map +1 -1
  165. package/dist/readiness.js +1 -1
  166. package/dist/readiness.js.map +1 -1
  167. package/dist/recovery.d.ts +106 -106
  168. package/dist/recovery.d.ts.map +1 -1
  169. package/dist/recovery.js +1 -1
  170. package/dist/recovery.js.map +1 -1
  171. package/dist/request-requirements.d.ts +9 -9
  172. package/dist/request-requirements.d.ts.map +1 -1
  173. package/dist/request-requirements.js +1 -1
  174. package/dist/request-requirements.js.map +1 -1
  175. package/dist/review.d.ts +29 -29
  176. package/dist/review.d.ts.map +1 -1
  177. package/dist/review.js +1 -1
  178. package/dist/review.js.map +1 -1
  179. package/dist/route.d.ts +11 -11
  180. package/dist/route.d.ts.map +1 -1
  181. package/dist/route.js +1 -1
  182. package/dist/route.js.map +1 -1
  183. package/dist/run-applicability.d.ts +764 -0
  184. package/dist/run-applicability.d.ts.map +1 -0
  185. package/dist/run-applicability.js +56 -0
  186. package/dist/run-applicability.js.map +1 -0
  187. package/dist/run-facts.d.ts +628 -0
  188. package/dist/run-facts.d.ts.map +1 -0
  189. package/dist/run-facts.js +429 -0
  190. package/dist/run-facts.js.map +1 -0
  191. package/dist/run-strategy.d.ts +40 -0
  192. package/dist/run-strategy.d.ts.map +1 -1
  193. package/dist/run-strategy.js +68 -1
  194. package/dist/run-strategy.js.map +1 -1
  195. package/dist/setup-device-code-envelope.d.ts +67 -0
  196. package/dist/setup-device-code-envelope.d.ts.map +1 -0
  197. package/dist/setup-device-code-envelope.js +25 -0
  198. package/dist/setup-device-code-envelope.js.map +1 -0
  199. package/dist/setup-login-protocol.d.ts +6 -0
  200. package/dist/setup-login-protocol.d.ts.map +1 -0
  201. package/dist/setup-login-protocol.js +12 -0
  202. package/dist/setup-login-protocol.js.map +1 -0
  203. package/dist/setup-transport.d.ts +12 -0
  204. package/dist/setup-transport.d.ts.map +1 -0
  205. package/dist/setup-transport.js +22 -0
  206. package/dist/setup-transport.js.map +1 -0
  207. package/dist/setup.d.ts +12572 -3749
  208. package/dist/setup.d.ts.map +1 -1
  209. package/dist/setup.js +34 -38
  210. package/dist/setup.js.map +1 -1
  211. package/dist/status-projection.d.ts +7 -5
  212. package/dist/status-projection.d.ts.map +1 -1
  213. package/dist/status-projection.js +11 -6
  214. package/dist/status-projection.js.map +1 -1
  215. package/dist/surface-run-controls.d.ts.map +1 -1
  216. package/dist/surface-run-controls.js +10 -1
  217. package/dist/surface-run-controls.js.map +1 -1
  218. package/dist/task.d.ts +303 -303
  219. package/dist/task.d.ts.map +1 -1
  220. package/dist/task.js +1 -1
  221. package/dist/task.js.map +1 -1
  222. package/dist/telemetry.d.ts +1157 -633
  223. package/dist/telemetry.d.ts.map +1 -1
  224. package/dist/telemetry.js +7 -4
  225. package/dist/telemetry.js.map +1 -1
  226. package/dist/thread.d.ts +133 -84
  227. package/dist/thread.d.ts.map +1 -1
  228. package/dist/thread.js +21 -2
  229. package/dist/thread.js.map +1 -1
  230. package/dist/tool-ref.d.ts +7 -7
  231. package/dist/tool-ref.d.ts.map +1 -1
  232. package/dist/tool-ref.js +1 -1
  233. package/dist/tool-ref.js.map +1 -1
  234. package/dist/work-report.d.ts +28 -28
  235. package/dist/work-report.d.ts.map +1 -1
  236. package/dist/work-report.js +3 -3
  237. package/dist/work-report.js.map +1 -1
  238. package/dist/workproduct.d.ts +6 -9
  239. package/dist/workproduct.d.ts.map +1 -1
  240. package/dist/workproduct.js +1 -2
  241. package/dist/workproduct.js.map +1 -1
  242. package/dist/workspace.d.ts +13 -13
  243. package/dist/workspace.d.ts.map +1 -1
  244. package/dist/workspace.js +1 -1
  245. package/dist/workspace.js.map +1 -1
  246. package/generated/AgentCapabilityCatalog.schema.json +43 -2
  247. package/generated/BudgetObservation.schema.json +16 -0
  248. package/generated/ControlCredentialProfilesQueryResponse.schema.json +1346 -0
  249. package/generated/ControlCredentialProfilesResponse.schema.json +10 -2
  250. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1325 -0
  251. package/generated/ControlDirectoryEntry.schema.json +36 -0
  252. package/generated/ControlDirectoryListing.schema.json +77 -0
  253. package/generated/ControlHarnessListResponse.schema.json +41 -1
  254. package/generated/ControlQuotaResponse.schema.json +14 -1
  255. package/generated/ControlRunAgainDraft.schema.json +2 -2
  256. package/generated/ControlRunApplicabilityResponse.schema.json +217 -0
  257. package/generated/ControlRunDetail.schema.json +429 -68
  258. package/generated/ControlRunListResponse.schema.json +12 -3
  259. package/generated/ControlRunStartRequest.schema.json +2 -2
  260. package/generated/ControlRunSummary.schema.json +12 -3
  261. package/generated/ControlSettingsSnapshot.schema.json +12 -3
  262. package/generated/ControlSettingsUpdateRequest.schema.json +12 -3
  263. package/generated/ControlSetupJob.schema.json +9 -0
  264. package/generated/ControlSetupJobCreateRequest.schema.json +9 -0
  265. package/generated/ControlSetupJobEvent.schema.json +858 -758
  266. package/generated/ControlSetupJobListResponse.schema.json +9 -0
  267. package/generated/ControlSetupJobSnapshot.schema.json +811 -736
  268. package/generated/ControlThreadDetail.schema.json +32 -2
  269. package/generated/ControlThreadTurnRequest.schema.json +6 -25
  270. package/generated/DecisionRecord.schema.json +2 -1
  271. package/generated/GitCapability.schema.json +46 -0
  272. package/generated/GlobalConfig.schema.json +13 -4
  273. package/generated/HarnessEvent.schema.json +34 -2
  274. package/generated/HarnessManifest.schema.json +1 -1
  275. package/generated/HarnessStatusDto.schema.json +1 -1
  276. package/generated/McpRunHandleResult.schema.json +165 -1
  277. package/generated/McpRunToolResult.schema.json +165 -1
  278. package/generated/OutputReadyPayload.schema.json +44 -0
  279. package/generated/RunFacts.schema.json +569 -0
  280. package/generated/RunTelemetry.schema.json +493 -3
  281. package/generated/TaskContract.schema.json +1 -1
  282. package/generated/ThreadTurn.schema.json +29 -0
  283. package/generated/WorkProduct.schema.json +0 -4
  284. package/package.json +3 -3
@@ -0,0 +1,3203 @@
1
+ import { z } from "zod/v3";
2
+ /** Opt-in atomic Accounts snapshot (`GET /credential-profiles?snapshot=true`).
3
+ * The legacy response stays byte/shape compatible for older strict clients. */
4
+ export declare const ControlCredentialProfilesSnapshotResponse: z.ZodObject<{
5
+ profiles: z.ZodArray<z.ZodObject<{
6
+ profile: z.ZodEffects<z.ZodObject<{
7
+ profile_id: z.ZodString;
8
+ harness_id: z.ZodString;
9
+ display_name: z.ZodString;
10
+ credential_kind: z.ZodEnum<["config_dir_login", "oauth_token", "api_key"]>;
11
+ isolation_locator: z.ZodDefault<z.ZodNullable<z.ZodString>>;
12
+ secret_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
13
+ enabled: z.ZodDefault<z.ZodBoolean>;
14
+ created_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
15
+ }, "strict", z.ZodTypeAny, {
16
+ profile_id: string;
17
+ harness_id: string;
18
+ display_name: string;
19
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
20
+ isolation_locator: string | null;
21
+ secret_ref: string | null;
22
+ enabled: boolean;
23
+ created_at: string | null;
24
+ }, {
25
+ profile_id: string;
26
+ harness_id: string;
27
+ display_name: string;
28
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
29
+ isolation_locator?: string | null | undefined;
30
+ secret_ref?: string | null | undefined;
31
+ enabled?: boolean | undefined;
32
+ created_at?: string | null | undefined;
33
+ }>, {
34
+ profile_id: string;
35
+ harness_id: string;
36
+ display_name: string;
37
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
38
+ isolation_locator: string | null;
39
+ secret_ref: string | null;
40
+ enabled: boolean;
41
+ created_at: string | null;
42
+ }, {
43
+ profile_id: string;
44
+ harness_id: string;
45
+ display_name: string;
46
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
47
+ isolation_locator?: string | null | undefined;
48
+ secret_ref?: string | null | undefined;
49
+ enabled?: boolean | undefined;
50
+ created_at?: string | null | undefined;
51
+ }>;
52
+ status: z.ZodObject<{
53
+ profile_id: z.ZodString;
54
+ harness_id: z.ZodString;
55
+ availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
56
+ verification: z.ZodEnum<["passed", "failed", "not_run"]>;
57
+ detail: z.ZodOptional<z.ZodString>;
58
+ last_verified_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
59
+ }, "strict", z.ZodTypeAny, {
60
+ profile_id: string;
61
+ harness_id: string;
62
+ availability: "available" | "unavailable" | "unknown";
63
+ verification: "failed" | "not_run" | "passed";
64
+ detail?: string | undefined;
65
+ last_verified_at: string | null;
66
+ }, {
67
+ profile_id: string;
68
+ harness_id: string;
69
+ availability: "available" | "unavailable" | "unknown";
70
+ verification: "failed" | "not_run" | "passed";
71
+ detail?: string | undefined;
72
+ last_verified_at?: string | null | undefined;
73
+ }>;
74
+ identity: z.ZodDefault<z.ZodNullable<z.ZodObject<{
75
+ email: z.ZodOptional<z.ZodString>;
76
+ plan: z.ZodOptional<z.ZodString>;
77
+ }, "strict", z.ZodTypeAny, {
78
+ email?: string | undefined;
79
+ plan?: string | undefined;
80
+ }, {
81
+ email?: string | undefined;
82
+ plan?: string | undefined;
83
+ }>>>;
84
+ }, "strict", z.ZodTypeAny, {
85
+ profile: {
86
+ profile_id: string;
87
+ harness_id: string;
88
+ display_name: string;
89
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
90
+ isolation_locator: string | null;
91
+ secret_ref: string | null;
92
+ enabled: boolean;
93
+ created_at: string | null;
94
+ };
95
+ status: {
96
+ profile_id: string;
97
+ harness_id: string;
98
+ availability: "available" | "unavailable" | "unknown";
99
+ verification: "failed" | "not_run" | "passed";
100
+ detail?: string | undefined;
101
+ last_verified_at: string | null;
102
+ };
103
+ identity: {
104
+ email?: string | undefined;
105
+ plan?: string | undefined;
106
+ } | null;
107
+ }, {
108
+ profile: {
109
+ profile_id: string;
110
+ harness_id: string;
111
+ display_name: string;
112
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
113
+ isolation_locator?: string | null | undefined;
114
+ secret_ref?: string | null | undefined;
115
+ enabled?: boolean | undefined;
116
+ created_at?: string | null | undefined;
117
+ };
118
+ status: {
119
+ profile_id: string;
120
+ harness_id: string;
121
+ availability: "available" | "unavailable" | "unknown";
122
+ verification: "failed" | "not_run" | "passed";
123
+ detail?: string | undefined;
124
+ last_verified_at?: string | null | undefined;
125
+ };
126
+ identity?: {
127
+ email?: string | undefined;
128
+ plan?: string | undefined;
129
+ } | null | undefined;
130
+ }>, "many">;
131
+ harnessAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
132
+ harness_id: z.ZodString;
133
+ native_credentials_enabled: z.ZodBoolean;
134
+ native_login_detected: z.ZodBoolean;
135
+ identity: z.ZodDefault<z.ZodNullable<z.ZodObject<{
136
+ email: z.ZodOptional<z.ZodString>;
137
+ plan: z.ZodOptional<z.ZodString>;
138
+ }, "strict", z.ZodTypeAny, {
139
+ email?: string | undefined;
140
+ plan?: string | undefined;
141
+ }, {
142
+ email?: string | undefined;
143
+ plan?: string | undefined;
144
+ }>>>;
145
+ next_up: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
146
+ kind: z.ZodLiteral<"profile">;
147
+ profileId: z.ZodString;
148
+ }, "strict", z.ZodTypeAny, {
149
+ kind: "profile";
150
+ profileId: string;
151
+ }, {
152
+ kind: "profile";
153
+ profileId: string;
154
+ }>, z.ZodObject<{
155
+ kind: z.ZodLiteral<"native">;
156
+ route: z.ZodOptional<z.ZodEnum<["local_session", "api_key"]>>;
157
+ }, "strict", z.ZodTypeAny, {
158
+ kind: "native";
159
+ route?: "api_key" | "local_session" | undefined;
160
+ }, {
161
+ kind: "native";
162
+ route?: "api_key" | "local_session" | undefined;
163
+ }>, z.ZodObject<{
164
+ kind: z.ZodLiteral<"none">;
165
+ reason: z.ZodString;
166
+ }, "strict", z.ZodTypeAny, {
167
+ kind: "none";
168
+ reason: string;
169
+ }, {
170
+ kind: "none";
171
+ reason: string;
172
+ }>]>;
173
+ }, "strict", z.ZodTypeAny, {
174
+ harness_id: string;
175
+ native_credentials_enabled: boolean;
176
+ native_login_detected: boolean;
177
+ identity: {
178
+ email?: string | undefined;
179
+ plan?: string | undefined;
180
+ } | null;
181
+ next_up: {
182
+ kind: "profile";
183
+ profileId: string;
184
+ } | {
185
+ kind: "native";
186
+ route?: "api_key" | "local_session" | undefined;
187
+ } | {
188
+ kind: "none";
189
+ reason: string;
190
+ };
191
+ }, {
192
+ harness_id: string;
193
+ native_credentials_enabled: boolean;
194
+ native_login_detected: boolean;
195
+ identity?: {
196
+ email?: string | undefined;
197
+ plan?: string | undefined;
198
+ } | null | undefined;
199
+ next_up: {
200
+ kind: "profile";
201
+ profileId: string;
202
+ } | {
203
+ kind: "native";
204
+ route?: "api_key" | "local_session" | undefined;
205
+ } | {
206
+ kind: "none";
207
+ reason: string;
208
+ };
209
+ }>, "many">>;
210
+ } & {
211
+ harnesses: z.ZodArray<z.ZodObject<{
212
+ id: z.ZodString;
213
+ status: z.ZodEnum<["ok", "degraded", "unavailable"]>;
214
+ manifest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
215
+ id: z.ZodString;
216
+ display_name: z.ZodString;
217
+ kind: z.ZodEnum<["local_cli", "remote_api", "fake"]>;
218
+ version: z.ZodOptional<z.ZodString>;
219
+ adapter_version: z.ZodOptional<z.ZodString>;
220
+ provider_family: z.ZodDefault<z.ZodEnum<["openai", "anthropic", "google", "cursor", "opencode", "xai", "local", "unknown"]>>;
221
+ capability_profile: z.ZodDefault<z.ZodObject<{
222
+ auth: z.ZodDefault<z.ZodObject<{
223
+ supported_sources: z.ZodDefault<z.ZodArray<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>, "many">>;
224
+ preferred_source: z.ZodDefault<z.ZodNullable<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>>>;
225
+ credential_transports: z.ZodDefault<z.ZodArray<z.ZodObject<{
226
+ source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
227
+ kind: z.ZodEnum<["config_file", "env_var", "oauth_token_env", "os_keychain", "http_header", "none"]>;
228
+ relocatable_by: z.ZodDefault<z.ZodArray<z.ZodEnum<["HOME", "CONFIG_DIR", "ENV", "none"]>, "many">>;
229
+ }, "strip", z.ZodTypeAny, {
230
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
231
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
232
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
233
+ }, {
234
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
235
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
236
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
237
+ }>, "many">>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
240
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
241
+ credential_transports: {
242
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
243
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
244
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
245
+ }[];
246
+ }, {
247
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
248
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
249
+ credential_transports?: {
250
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
251
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
252
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
253
+ }[] | undefined;
254
+ }>>;
255
+ access_control: z.ZodDefault<z.ZodObject<{
256
+ readonly_mechanism: z.ZodDefault<z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "none"]>>;
257
+ }, "strip", z.ZodTypeAny, {
258
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
259
+ }, {
260
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
261
+ }>>;
262
+ isolation: z.ZodDefault<z.ZodObject<{
263
+ supported_containment: z.ZodDefault<z.ZodArray<z.ZodEnum<["env_or_file_injection", "scoped_home_keychain_bridge", "host_user_context", "process_sandbox", "container"]>, "many">>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
266
+ }, {
267
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
268
+ }>>;
269
+ attachment_inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
270
+ kind: z.ZodEnum<["image", "file"]>;
271
+ mime_types: z.ZodArray<z.ZodString, "many">;
272
+ max_bytes: z.ZodNumber;
273
+ max_count: z.ZodNumber;
274
+ transport: z.ZodEnum<["file_path", "base64_stream", "base64_inline", "text_inline"]>;
275
+ }, "strict", z.ZodTypeAny, {
276
+ kind: "file" | "image";
277
+ mime_types: string[];
278
+ max_bytes: number;
279
+ max_count: number;
280
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
281
+ }, {
282
+ kind: "file" | "image";
283
+ mime_types: string[];
284
+ max_bytes: number;
285
+ max_count: number;
286
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
287
+ }>, "many">>;
288
+ mcp_injection: z.ZodDefault<z.ZodBoolean>;
289
+ mcp_injection_requires_full_access: z.ZodDefault<z.ZodBoolean>;
290
+ }, "strip", z.ZodTypeAny, {
291
+ auth: {
292
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
293
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
294
+ credential_transports: {
295
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
296
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
297
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
298
+ }[];
299
+ };
300
+ access_control: {
301
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
302
+ };
303
+ isolation: {
304
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
305
+ };
306
+ attachment_inputs: {
307
+ kind: "file" | "image";
308
+ mime_types: string[];
309
+ max_bytes: number;
310
+ max_count: number;
311
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
312
+ }[];
313
+ mcp_injection: boolean;
314
+ mcp_injection_requires_full_access: boolean;
315
+ }, {
316
+ auth?: {
317
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
318
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
319
+ credential_transports?: {
320
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
321
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
322
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
323
+ }[] | undefined;
324
+ } | undefined;
325
+ access_control?: {
326
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
327
+ } | undefined;
328
+ isolation?: {
329
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
330
+ } | undefined;
331
+ attachment_inputs?: {
332
+ kind: "file" | "image";
333
+ mime_types: string[];
334
+ max_bytes: number;
335
+ max_count: number;
336
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
337
+ }[] | undefined;
338
+ mcp_injection?: boolean | undefined;
339
+ mcp_injection_requires_full_access?: boolean | undefined;
340
+ }>>;
341
+ capabilities: z.ZodObject<{
342
+ plan: z.ZodDefault<z.ZodBoolean>;
343
+ implement: z.ZodDefault<z.ZodBoolean>;
344
+ implementation_transport: z.ZodDefault<z.ZodEnum<["workspace", "git_patch_envelope"]>>;
345
+ create_from_scratch: z.ZodDefault<z.ZodBoolean>;
346
+ review: z.ZodDefault<z.ZodBoolean>;
347
+ verify: z.ZodDefault<z.ZodBoolean>;
348
+ synthesize: z.ZodDefault<z.ZodBoolean>;
349
+ read_files: z.ZodDefault<z.ZodBoolean>;
350
+ browser_tool: z.ZodDefault<z.ZodBoolean>;
351
+ web_policy: z.ZodDefault<z.ZodEnum<["native", "tools", "uncontrolled", "none"]>>;
352
+ max_turns: z.ZodDefault<z.ZodBoolean>;
353
+ tool_lists: z.ZodDefault<z.ZodBoolean>;
354
+ interactive: z.ZodDefault<z.ZodBoolean>;
355
+ json_schema_output: z.ZodDefault<z.ZodBoolean>;
356
+ work_report_transport: z.ZodDefault<z.ZodEnum<["constrained", "validated", "unsupported"]>>;
357
+ structured_output_channel: z.ZodDefault<z.ZodEnum<["side_tool", "final_message"]>>;
358
+ effort_levels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
359
+ model_effort_levels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
360
+ levels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
361
+ default: z.ZodDefault<z.ZodNullable<z.ZodString>>;
362
+ }, "strict", z.ZodTypeAny, {
363
+ levels: string[];
364
+ default: string | null;
365
+ }, {
366
+ levels?: string[] | undefined;
367
+ default?: string | null | undefined;
368
+ }>>>;
369
+ effort_levels_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
370
+ known_models: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
371
+ id: z.ZodString;
372
+ routes: z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">;
373
+ }, "strict", z.ZodTypeAny, {
374
+ id: string;
375
+ routes: ("api_key" | "local_session")[];
376
+ }, {
377
+ id: string;
378
+ routes: ("api_key" | "local_session")[];
379
+ }>]>, "many">>;
380
+ known_models_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
381
+ }, "strip", z.ZodTypeAny, {
382
+ plan: boolean;
383
+ implement: boolean;
384
+ implementation_transport: "git_patch_envelope" | "workspace";
385
+ create_from_scratch: boolean;
386
+ review: boolean;
387
+ verify: boolean;
388
+ synthesize: boolean;
389
+ read_files: boolean;
390
+ browser_tool: boolean;
391
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
392
+ max_turns: boolean;
393
+ tool_lists: boolean;
394
+ interactive: boolean;
395
+ json_schema_output: boolean;
396
+ work_report_transport: "constrained" | "unsupported" | "validated";
397
+ structured_output_channel: "final_message" | "side_tool";
398
+ effort_levels: string[];
399
+ model_effort_levels: Record<string, {
400
+ levels: string[];
401
+ default: string | null;
402
+ }>;
403
+ effort_levels_verified_against: string | null;
404
+ known_models: (string | {
405
+ id: string;
406
+ routes: ("api_key" | "local_session")[];
407
+ })[];
408
+ known_models_verified_against: string | null;
409
+ }, {
410
+ plan?: boolean | undefined;
411
+ implement?: boolean | undefined;
412
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
413
+ create_from_scratch?: boolean | undefined;
414
+ review?: boolean | undefined;
415
+ verify?: boolean | undefined;
416
+ synthesize?: boolean | undefined;
417
+ read_files?: boolean | undefined;
418
+ browser_tool?: boolean | undefined;
419
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
420
+ max_turns?: boolean | undefined;
421
+ tool_lists?: boolean | undefined;
422
+ interactive?: boolean | undefined;
423
+ json_schema_output?: boolean | undefined;
424
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
425
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
426
+ effort_levels?: string[] | undefined;
427
+ model_effort_levels?: Record<string, {
428
+ levels?: string[] | undefined;
429
+ default?: string | null | undefined;
430
+ }> | undefined;
431
+ effort_levels_verified_against?: string | null | undefined;
432
+ known_models?: (string | {
433
+ id: string;
434
+ routes: ("api_key" | "local_session")[];
435
+ })[] | undefined;
436
+ known_models_verified_against?: string | null | undefined;
437
+ }>;
438
+ auth_modes: z.ZodDefault<z.ZodArray<z.ZodEnum<["local_session", "api_key", "none"]>, "many">>;
439
+ access_profiles_supported: z.ZodDefault<z.ZodArray<z.ZodEnum<["readonly", "workspace_write", "full", "external_sandbox_full", "inherit_native"]>, "many">>;
440
+ }, "strip", z.ZodTypeAny, {
441
+ id: string;
442
+ display_name: string;
443
+ kind: "fake" | "local_cli" | "remote_api";
444
+ version?: string | undefined;
445
+ adapter_version?: string | undefined;
446
+ provider_family: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai";
447
+ capability_profile: {
448
+ auth: {
449
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
450
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
451
+ credential_transports: {
452
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
453
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
454
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
455
+ }[];
456
+ };
457
+ access_control: {
458
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
459
+ };
460
+ isolation: {
461
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
462
+ };
463
+ attachment_inputs: {
464
+ kind: "file" | "image";
465
+ mime_types: string[];
466
+ max_bytes: number;
467
+ max_count: number;
468
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
469
+ }[];
470
+ mcp_injection: boolean;
471
+ mcp_injection_requires_full_access: boolean;
472
+ };
473
+ capabilities: {
474
+ plan: boolean;
475
+ implement: boolean;
476
+ implementation_transport: "git_patch_envelope" | "workspace";
477
+ create_from_scratch: boolean;
478
+ review: boolean;
479
+ verify: boolean;
480
+ synthesize: boolean;
481
+ read_files: boolean;
482
+ browser_tool: boolean;
483
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
484
+ max_turns: boolean;
485
+ tool_lists: boolean;
486
+ interactive: boolean;
487
+ json_schema_output: boolean;
488
+ work_report_transport: "constrained" | "unsupported" | "validated";
489
+ structured_output_channel: "final_message" | "side_tool";
490
+ effort_levels: string[];
491
+ model_effort_levels: Record<string, {
492
+ levels: string[];
493
+ default: string | null;
494
+ }>;
495
+ effort_levels_verified_against: string | null;
496
+ known_models: (string | {
497
+ id: string;
498
+ routes: ("api_key" | "local_session")[];
499
+ })[];
500
+ known_models_verified_against: string | null;
501
+ };
502
+ auth_modes: ("api_key" | "local_session" | "none")[];
503
+ access_profiles_supported: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[];
504
+ }, {
505
+ id: string;
506
+ display_name: string;
507
+ kind: "fake" | "local_cli" | "remote_api";
508
+ version?: string | undefined;
509
+ adapter_version?: string | undefined;
510
+ provider_family?: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai" | undefined;
511
+ capability_profile?: {
512
+ auth?: {
513
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
514
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
515
+ credential_transports?: {
516
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
517
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
518
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
519
+ }[] | undefined;
520
+ } | undefined;
521
+ access_control?: {
522
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
523
+ } | undefined;
524
+ isolation?: {
525
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
526
+ } | undefined;
527
+ attachment_inputs?: {
528
+ kind: "file" | "image";
529
+ mime_types: string[];
530
+ max_bytes: number;
531
+ max_count: number;
532
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
533
+ }[] | undefined;
534
+ mcp_injection?: boolean | undefined;
535
+ mcp_injection_requires_full_access?: boolean | undefined;
536
+ } | undefined;
537
+ capabilities: {
538
+ plan?: boolean | undefined;
539
+ implement?: boolean | undefined;
540
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
541
+ create_from_scratch?: boolean | undefined;
542
+ review?: boolean | undefined;
543
+ verify?: boolean | undefined;
544
+ synthesize?: boolean | undefined;
545
+ read_files?: boolean | undefined;
546
+ browser_tool?: boolean | undefined;
547
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
548
+ max_turns?: boolean | undefined;
549
+ tool_lists?: boolean | undefined;
550
+ interactive?: boolean | undefined;
551
+ json_schema_output?: boolean | undefined;
552
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
553
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
554
+ effort_levels?: string[] | undefined;
555
+ model_effort_levels?: Record<string, {
556
+ levels?: string[] | undefined;
557
+ default?: string | null | undefined;
558
+ }> | undefined;
559
+ effort_levels_verified_against?: string | null | undefined;
560
+ known_models?: (string | {
561
+ id: string;
562
+ routes: ("api_key" | "local_session")[];
563
+ })[] | undefined;
564
+ known_models_verified_against?: string | null | undefined;
565
+ };
566
+ auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
567
+ access_profiles_supported?: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
568
+ }>>>;
569
+ enabledIntents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
570
+ routableIntents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
571
+ disabledIntents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
572
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
573
+ id: z.ZodString;
574
+ status: z.ZodEnum<["pass", "fail", "skip"]>;
575
+ detail: z.ZodOptional<z.ZodString>;
576
+ duration_ms: z.ZodOptional<z.ZodNumber>;
577
+ }, "strip", z.ZodTypeAny, {
578
+ id: string;
579
+ status: "fail" | "pass" | "skip";
580
+ detail?: string | undefined;
581
+ duration_ms?: number | undefined;
582
+ }, {
583
+ id: string;
584
+ status: "fail" | "pass" | "skip";
585
+ detail?: string | undefined;
586
+ duration_ms?: number | undefined;
587
+ }>, "many">>;
588
+ reasons: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
589
+ authSources: z.ZodDefault<z.ZodArray<z.ZodObject<{
590
+ source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
591
+ availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
592
+ verification: z.ZodEnum<["passed", "failed", "not_run"]>;
593
+ detail: z.ZodOptional<z.ZodString>;
594
+ }, "strict", z.ZodTypeAny, {
595
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
596
+ availability: "available" | "unavailable" | "unknown";
597
+ verification: "failed" | "not_run" | "passed";
598
+ detail?: string | undefined;
599
+ }, {
600
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
601
+ availability: "available" | "unavailable" | "unknown";
602
+ verification: "failed" | "not_run" | "passed";
603
+ detail?: string | undefined;
604
+ }>, "many">>;
605
+ readiness: z.ZodDefault<z.ZodArray<z.ZodObject<{
606
+ id: z.ZodString;
607
+ kind: z.ZodEnum<["binary", "auth", "smoke", "model", "probe"]>;
608
+ title: z.ZodString;
609
+ status: z.ZodEnum<["pass", "fail", "skip"]>;
610
+ detail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
611
+ }, "strip", z.ZodTypeAny, {
612
+ id: string;
613
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
614
+ title: string;
615
+ status: "fail" | "pass" | "skip";
616
+ detail: string | null;
617
+ }, {
618
+ id: string;
619
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
620
+ title: string;
621
+ status: "fail" | "pass" | "skip";
622
+ detail?: string | null | undefined;
623
+ }>, "many">>;
624
+ configuredModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
625
+ configuredModelCheck: z.ZodDefault<z.ZodNullable<z.ZodObject<{
626
+ status: z.ZodEnum<["ok", "rejected"]>;
627
+ message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
628
+ }, "strip", z.ZodTypeAny, {
629
+ status: "ok" | "rejected";
630
+ message: string | null;
631
+ }, {
632
+ status: "ok" | "rejected";
633
+ message?: string | null | undefined;
634
+ }>>>;
635
+ delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
636
+ available: z.ZodBoolean;
637
+ reason: z.ZodEnum<["ready", "runtime_unavailable", "manifest_unsupported"]>;
638
+ remediation: z.ZodDefault<z.ZodNullable<z.ZodString>>;
639
+ requiresFullAccess: z.ZodDefault<z.ZodBoolean>;
640
+ }, "strict", z.ZodTypeAny, {
641
+ available: boolean;
642
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
643
+ remediation: string | null;
644
+ requiresFullAccess: boolean;
645
+ }, {
646
+ available: boolean;
647
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
648
+ remediation?: string | null | undefined;
649
+ requiresFullAccess?: boolean | undefined;
650
+ }>, {
651
+ available: boolean;
652
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
653
+ remediation: string | null;
654
+ requiresFullAccess: boolean;
655
+ }, {
656
+ available: boolean;
657
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
658
+ remediation?: string | null | undefined;
659
+ requiresFullAccess?: boolean | undefined;
660
+ }>>>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ id: string;
663
+ status: "degraded" | "ok" | "unavailable";
664
+ manifest?: {
665
+ id: string;
666
+ display_name: string;
667
+ kind: "fake" | "local_cli" | "remote_api";
668
+ version?: string | undefined;
669
+ adapter_version?: string | undefined;
670
+ provider_family: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai";
671
+ capability_profile: {
672
+ auth: {
673
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
674
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
675
+ credential_transports: {
676
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
677
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
678
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
679
+ }[];
680
+ };
681
+ access_control: {
682
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
683
+ };
684
+ isolation: {
685
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
686
+ };
687
+ attachment_inputs: {
688
+ kind: "file" | "image";
689
+ mime_types: string[];
690
+ max_bytes: number;
691
+ max_count: number;
692
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
693
+ }[];
694
+ mcp_injection: boolean;
695
+ mcp_injection_requires_full_access: boolean;
696
+ };
697
+ capabilities: {
698
+ plan: boolean;
699
+ implement: boolean;
700
+ implementation_transport: "git_patch_envelope" | "workspace";
701
+ create_from_scratch: boolean;
702
+ review: boolean;
703
+ verify: boolean;
704
+ synthesize: boolean;
705
+ read_files: boolean;
706
+ browser_tool: boolean;
707
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
708
+ max_turns: boolean;
709
+ tool_lists: boolean;
710
+ interactive: boolean;
711
+ json_schema_output: boolean;
712
+ work_report_transport: "constrained" | "unsupported" | "validated";
713
+ structured_output_channel: "final_message" | "side_tool";
714
+ effort_levels: string[];
715
+ model_effort_levels: Record<string, {
716
+ levels: string[];
717
+ default: string | null;
718
+ }>;
719
+ effort_levels_verified_against: string | null;
720
+ known_models: (string | {
721
+ id: string;
722
+ routes: ("api_key" | "local_session")[];
723
+ })[];
724
+ known_models_verified_against: string | null;
725
+ };
726
+ auth_modes: ("api_key" | "local_session" | "none")[];
727
+ access_profiles_supported: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[];
728
+ } | null | undefined;
729
+ enabledIntents: string[];
730
+ routableIntents: string[];
731
+ disabledIntents: string[];
732
+ checks: {
733
+ id: string;
734
+ status: "fail" | "pass" | "skip";
735
+ detail?: string | undefined;
736
+ duration_ms?: number | undefined;
737
+ }[];
738
+ reasons: string[];
739
+ authSources: {
740
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
741
+ availability: "available" | "unavailable" | "unknown";
742
+ verification: "failed" | "not_run" | "passed";
743
+ detail?: string | undefined;
744
+ }[];
745
+ readiness: {
746
+ id: string;
747
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
748
+ title: string;
749
+ status: "fail" | "pass" | "skip";
750
+ detail: string | null;
751
+ }[];
752
+ configuredModel: string | null;
753
+ configuredModelCheck: {
754
+ status: "ok" | "rejected";
755
+ message: string | null;
756
+ } | null;
757
+ delegation: {
758
+ available: boolean;
759
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
760
+ remediation: string | null;
761
+ requiresFullAccess: boolean;
762
+ } | null;
763
+ }, {
764
+ id: string;
765
+ status: "degraded" | "ok" | "unavailable";
766
+ manifest?: {
767
+ id: string;
768
+ display_name: string;
769
+ kind: "fake" | "local_cli" | "remote_api";
770
+ version?: string | undefined;
771
+ adapter_version?: string | undefined;
772
+ provider_family?: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai" | undefined;
773
+ capability_profile?: {
774
+ auth?: {
775
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
776
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
777
+ credential_transports?: {
778
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
779
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
780
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
781
+ }[] | undefined;
782
+ } | undefined;
783
+ access_control?: {
784
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
785
+ } | undefined;
786
+ isolation?: {
787
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
788
+ } | undefined;
789
+ attachment_inputs?: {
790
+ kind: "file" | "image";
791
+ mime_types: string[];
792
+ max_bytes: number;
793
+ max_count: number;
794
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
795
+ }[] | undefined;
796
+ mcp_injection?: boolean | undefined;
797
+ mcp_injection_requires_full_access?: boolean | undefined;
798
+ } | undefined;
799
+ capabilities: {
800
+ plan?: boolean | undefined;
801
+ implement?: boolean | undefined;
802
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
803
+ create_from_scratch?: boolean | undefined;
804
+ review?: boolean | undefined;
805
+ verify?: boolean | undefined;
806
+ synthesize?: boolean | undefined;
807
+ read_files?: boolean | undefined;
808
+ browser_tool?: boolean | undefined;
809
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
810
+ max_turns?: boolean | undefined;
811
+ tool_lists?: boolean | undefined;
812
+ interactive?: boolean | undefined;
813
+ json_schema_output?: boolean | undefined;
814
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
815
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
816
+ effort_levels?: string[] | undefined;
817
+ model_effort_levels?: Record<string, {
818
+ levels?: string[] | undefined;
819
+ default?: string | null | undefined;
820
+ }> | undefined;
821
+ effort_levels_verified_against?: string | null | undefined;
822
+ known_models?: (string | {
823
+ id: string;
824
+ routes: ("api_key" | "local_session")[];
825
+ })[] | undefined;
826
+ known_models_verified_against?: string | null | undefined;
827
+ };
828
+ auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
829
+ access_profiles_supported?: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
830
+ } | null | undefined;
831
+ enabledIntents?: string[] | undefined;
832
+ routableIntents?: string[] | undefined;
833
+ disabledIntents?: string[] | undefined;
834
+ checks?: {
835
+ id: string;
836
+ status: "fail" | "pass" | "skip";
837
+ detail?: string | undefined;
838
+ duration_ms?: number | undefined;
839
+ }[] | undefined;
840
+ reasons?: string[] | undefined;
841
+ authSources?: {
842
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
843
+ availability: "available" | "unavailable" | "unknown";
844
+ verification: "failed" | "not_run" | "passed";
845
+ detail?: string | undefined;
846
+ }[] | undefined;
847
+ readiness?: {
848
+ id: string;
849
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
850
+ title: string;
851
+ status: "fail" | "pass" | "skip";
852
+ detail?: string | null | undefined;
853
+ }[] | undefined;
854
+ configuredModel?: string | null | undefined;
855
+ configuredModelCheck?: {
856
+ status: "ok" | "rejected";
857
+ message?: string | null | undefined;
858
+ } | null | undefined;
859
+ delegation?: {
860
+ available: boolean;
861
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
862
+ remediation?: string | null | undefined;
863
+ requiresFullAccess?: boolean | undefined;
864
+ } | null | undefined;
865
+ }>, "many">;
866
+ git: z.ZodObject<{
867
+ status: z.ZodEnum<["available", "missing", "developer_tools_stub", "failed"]>;
868
+ version: z.ZodNullable<z.ZodString>;
869
+ detail: z.ZodNullable<z.ZodString>;
870
+ remediation: z.ZodNullable<z.ZodString>;
871
+ }, "strict", z.ZodTypeAny, {
872
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
873
+ version: string | null;
874
+ detail: string | null;
875
+ remediation: string | null;
876
+ }, {
877
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
878
+ version: string | null;
879
+ detail: string | null;
880
+ remediation: string | null;
881
+ }>;
882
+ quota: z.ZodObject<{
883
+ snapshots: z.ZodArray<z.ZodObject<{
884
+ subject: z.ZodObject<{
885
+ harness: z.ZodString;
886
+ credential_route: z.ZodEnum<["vendor_native", "managed_api_key", "local"]>;
887
+ plan_label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
888
+ subject_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
889
+ }, "strict", z.ZodTypeAny, {
890
+ harness: string;
891
+ credential_route: "local" | "managed_api_key" | "vendor_native";
892
+ plan_label: string | null;
893
+ subject_id: string | null;
894
+ }, {
895
+ harness: string;
896
+ credential_route: "local" | "managed_api_key" | "vendor_native";
897
+ plan_label?: string | null | undefined;
898
+ subject_id?: string | null | undefined;
899
+ }>;
900
+ constraints: z.ZodArray<z.ZodObject<{
901
+ id: z.ZodString;
902
+ label: z.ZodString;
903
+ applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
904
+ used_ratio: z.ZodNullable<z.ZodNumber>;
905
+ window_seconds: z.ZodNullable<z.ZodNumber>;
906
+ resets_at: z.ZodNullable<z.ZodString>;
907
+ cooldown_until: z.ZodDefault<z.ZodNullable<z.ZodString>>;
908
+ }, "strict", z.ZodTypeAny, {
909
+ id: string;
910
+ label: string;
911
+ applies_to_models?: string[] | null | undefined;
912
+ used_ratio: number | null;
913
+ window_seconds: number | null;
914
+ resets_at: string | null;
915
+ cooldown_until: string | null;
916
+ }, {
917
+ id: string;
918
+ label: string;
919
+ applies_to_models?: string[] | null | undefined;
920
+ used_ratio: number | null;
921
+ window_seconds: number | null;
922
+ resets_at: string | null;
923
+ cooldown_until?: string | null | undefined;
924
+ }>, "many">;
925
+ source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage"]>;
926
+ observed_at: z.ZodString;
927
+ freshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
928
+ }, "strict", z.ZodTypeAny, {
929
+ subject: {
930
+ harness: string;
931
+ credential_route: "local" | "managed_api_key" | "vendor_native";
932
+ plan_label: string | null;
933
+ subject_id: string | null;
934
+ };
935
+ constraints: {
936
+ id: string;
937
+ label: string;
938
+ applies_to_models?: string[] | null | undefined;
939
+ used_ratio: number | null;
940
+ window_seconds: number | null;
941
+ resets_at: string | null;
942
+ cooldown_until: string | null;
943
+ }[];
944
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
945
+ observed_at: string;
946
+ freshness: "fresh" | "stale" | "unknown";
947
+ }, {
948
+ subject: {
949
+ harness: string;
950
+ credential_route: "local" | "managed_api_key" | "vendor_native";
951
+ plan_label?: string | null | undefined;
952
+ subject_id?: string | null | undefined;
953
+ };
954
+ constraints: {
955
+ id: string;
956
+ label: string;
957
+ applies_to_models?: string[] | null | undefined;
958
+ used_ratio: number | null;
959
+ window_seconds: number | null;
960
+ resets_at: string | null;
961
+ cooldown_until?: string | null | undefined;
962
+ }[];
963
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
964
+ observed_at: string;
965
+ freshness: "fresh" | "stale" | "unknown";
966
+ }>, "many">;
967
+ absences: z.ZodDefault<z.ZodArray<z.ZodObject<{
968
+ subject: z.ZodObject<{
969
+ harness: z.ZodString;
970
+ credential_route: z.ZodEnum<["vendor_native", "managed_api_key", "local"]>;
971
+ plan_label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
972
+ subject_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
973
+ }, "strict", z.ZodTypeAny, {
974
+ harness: string;
975
+ credential_route: "local" | "managed_api_key" | "vendor_native";
976
+ plan_label: string | null;
977
+ subject_id: string | null;
978
+ }, {
979
+ harness: string;
980
+ credential_route: "local" | "managed_api_key" | "vendor_native";
981
+ plan_label?: string | null | undefined;
982
+ subject_id?: string | null | undefined;
983
+ }>;
984
+ reason: z.ZodEnum<["not_logged_in", "transport_unavailable", "platform_unsupported", "refresh_failed", "no_source"]>;
985
+ detail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
986
+ observed_at: z.ZodString;
987
+ }, "strict", z.ZodTypeAny, {
988
+ subject: {
989
+ harness: string;
990
+ credential_route: "local" | "managed_api_key" | "vendor_native";
991
+ plan_label: string | null;
992
+ subject_id: string | null;
993
+ };
994
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
995
+ detail: string | null;
996
+ observed_at: string;
997
+ }, {
998
+ subject: {
999
+ harness: string;
1000
+ credential_route: "local" | "managed_api_key" | "vendor_native";
1001
+ plan_label?: string | null | undefined;
1002
+ subject_id?: string | null | undefined;
1003
+ };
1004
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
1005
+ detail?: string | null | undefined;
1006
+ observed_at: string;
1007
+ }>, "many">>;
1008
+ refreshed_at: z.ZodNullable<z.ZodString>;
1009
+ }, "strict", z.ZodTypeAny, {
1010
+ snapshots: {
1011
+ subject: {
1012
+ harness: string;
1013
+ credential_route: "local" | "managed_api_key" | "vendor_native";
1014
+ plan_label: string | null;
1015
+ subject_id: string | null;
1016
+ };
1017
+ constraints: {
1018
+ id: string;
1019
+ label: string;
1020
+ applies_to_models?: string[] | null | undefined;
1021
+ used_ratio: number | null;
1022
+ window_seconds: number | null;
1023
+ resets_at: string | null;
1024
+ cooldown_until: string | null;
1025
+ }[];
1026
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
1027
+ observed_at: string;
1028
+ freshness: "fresh" | "stale" | "unknown";
1029
+ }[];
1030
+ absences: {
1031
+ subject: {
1032
+ harness: string;
1033
+ credential_route: "local" | "managed_api_key" | "vendor_native";
1034
+ plan_label: string | null;
1035
+ subject_id: string | null;
1036
+ };
1037
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
1038
+ detail: string | null;
1039
+ observed_at: string;
1040
+ }[];
1041
+ refreshed_at: string | null;
1042
+ }, {
1043
+ snapshots: {
1044
+ subject: {
1045
+ harness: string;
1046
+ credential_route: "local" | "managed_api_key" | "vendor_native";
1047
+ plan_label?: string | null | undefined;
1048
+ subject_id?: string | null | undefined;
1049
+ };
1050
+ constraints: {
1051
+ id: string;
1052
+ label: string;
1053
+ applies_to_models?: string[] | null | undefined;
1054
+ used_ratio: number | null;
1055
+ window_seconds: number | null;
1056
+ resets_at: string | null;
1057
+ cooldown_until?: string | null | undefined;
1058
+ }[];
1059
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
1060
+ observed_at: string;
1061
+ freshness: "fresh" | "stale" | "unknown";
1062
+ }[];
1063
+ absences?: {
1064
+ subject: {
1065
+ harness: string;
1066
+ credential_route: "local" | "managed_api_key" | "vendor_native";
1067
+ plan_label?: string | null | undefined;
1068
+ subject_id?: string | null | undefined;
1069
+ };
1070
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
1071
+ detail?: string | null | undefined;
1072
+ observed_at: string;
1073
+ }[] | undefined;
1074
+ refreshed_at: string | null;
1075
+ }>;
1076
+ quotaEventCursor: z.ZodString;
1077
+ }, "strict", z.ZodTypeAny, {
1078
+ profiles: {
1079
+ profile: {
1080
+ profile_id: string;
1081
+ harness_id: string;
1082
+ display_name: string;
1083
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1084
+ isolation_locator: string | null;
1085
+ secret_ref: string | null;
1086
+ enabled: boolean;
1087
+ created_at: string | null;
1088
+ };
1089
+ status: {
1090
+ profile_id: string;
1091
+ harness_id: string;
1092
+ availability: "available" | "unavailable" | "unknown";
1093
+ verification: "failed" | "not_run" | "passed";
1094
+ detail?: string | undefined;
1095
+ last_verified_at: string | null;
1096
+ };
1097
+ identity: {
1098
+ email?: string | undefined;
1099
+ plan?: string | undefined;
1100
+ } | null;
1101
+ }[];
1102
+ harnessAccounts: {
1103
+ harness_id: string;
1104
+ native_credentials_enabled: boolean;
1105
+ native_login_detected: boolean;
1106
+ identity: {
1107
+ email?: string | undefined;
1108
+ plan?: string | undefined;
1109
+ } | null;
1110
+ next_up: {
1111
+ kind: "profile";
1112
+ profileId: string;
1113
+ } | {
1114
+ kind: "native";
1115
+ route?: "api_key" | "local_session" | undefined;
1116
+ } | {
1117
+ kind: "none";
1118
+ reason: string;
1119
+ };
1120
+ }[];
1121
+ harnesses: {
1122
+ id: string;
1123
+ status: "degraded" | "ok" | "unavailable";
1124
+ manifest?: {
1125
+ id: string;
1126
+ display_name: string;
1127
+ kind: "fake" | "local_cli" | "remote_api";
1128
+ version?: string | undefined;
1129
+ adapter_version?: string | undefined;
1130
+ provider_family: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai";
1131
+ capability_profile: {
1132
+ auth: {
1133
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
1134
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
1135
+ credential_transports: {
1136
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
1137
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
1138
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
1139
+ }[];
1140
+ };
1141
+ access_control: {
1142
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
1143
+ };
1144
+ isolation: {
1145
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
1146
+ };
1147
+ attachment_inputs: {
1148
+ kind: "file" | "image";
1149
+ mime_types: string[];
1150
+ max_bytes: number;
1151
+ max_count: number;
1152
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
1153
+ }[];
1154
+ mcp_injection: boolean;
1155
+ mcp_injection_requires_full_access: boolean;
1156
+ };
1157
+ capabilities: {
1158
+ plan: boolean;
1159
+ implement: boolean;
1160
+ implementation_transport: "git_patch_envelope" | "workspace";
1161
+ create_from_scratch: boolean;
1162
+ review: boolean;
1163
+ verify: boolean;
1164
+ synthesize: boolean;
1165
+ read_files: boolean;
1166
+ browser_tool: boolean;
1167
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
1168
+ max_turns: boolean;
1169
+ tool_lists: boolean;
1170
+ interactive: boolean;
1171
+ json_schema_output: boolean;
1172
+ work_report_transport: "constrained" | "unsupported" | "validated";
1173
+ structured_output_channel: "final_message" | "side_tool";
1174
+ effort_levels: string[];
1175
+ model_effort_levels: Record<string, {
1176
+ levels: string[];
1177
+ default: string | null;
1178
+ }>;
1179
+ effort_levels_verified_against: string | null;
1180
+ known_models: (string | {
1181
+ id: string;
1182
+ routes: ("api_key" | "local_session")[];
1183
+ })[];
1184
+ known_models_verified_against: string | null;
1185
+ };
1186
+ auth_modes: ("api_key" | "local_session" | "none")[];
1187
+ access_profiles_supported: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[];
1188
+ } | null | undefined;
1189
+ enabledIntents: string[];
1190
+ routableIntents: string[];
1191
+ disabledIntents: string[];
1192
+ checks: {
1193
+ id: string;
1194
+ status: "fail" | "pass" | "skip";
1195
+ detail?: string | undefined;
1196
+ duration_ms?: number | undefined;
1197
+ }[];
1198
+ reasons: string[];
1199
+ authSources: {
1200
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
1201
+ availability: "available" | "unavailable" | "unknown";
1202
+ verification: "failed" | "not_run" | "passed";
1203
+ detail?: string | undefined;
1204
+ }[];
1205
+ readiness: {
1206
+ id: string;
1207
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
1208
+ title: string;
1209
+ status: "fail" | "pass" | "skip";
1210
+ detail: string | null;
1211
+ }[];
1212
+ configuredModel: string | null;
1213
+ configuredModelCheck: {
1214
+ status: "ok" | "rejected";
1215
+ message: string | null;
1216
+ } | null;
1217
+ delegation: {
1218
+ available: boolean;
1219
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
1220
+ remediation: string | null;
1221
+ requiresFullAccess: boolean;
1222
+ } | null;
1223
+ }[];
1224
+ git: {
1225
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
1226
+ version: string | null;
1227
+ detail: string | null;
1228
+ remediation: string | null;
1229
+ };
1230
+ quota: {
1231
+ snapshots: {
1232
+ subject: {
1233
+ harness: string;
1234
+ credential_route: "local" | "managed_api_key" | "vendor_native";
1235
+ plan_label: string | null;
1236
+ subject_id: string | null;
1237
+ };
1238
+ constraints: {
1239
+ id: string;
1240
+ label: string;
1241
+ applies_to_models?: string[] | null | undefined;
1242
+ used_ratio: number | null;
1243
+ window_seconds: number | null;
1244
+ resets_at: string | null;
1245
+ cooldown_until: string | null;
1246
+ }[];
1247
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
1248
+ observed_at: string;
1249
+ freshness: "fresh" | "stale" | "unknown";
1250
+ }[];
1251
+ absences: {
1252
+ subject: {
1253
+ harness: string;
1254
+ credential_route: "local" | "managed_api_key" | "vendor_native";
1255
+ plan_label: string | null;
1256
+ subject_id: string | null;
1257
+ };
1258
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
1259
+ detail: string | null;
1260
+ observed_at: string;
1261
+ }[];
1262
+ refreshed_at: string | null;
1263
+ };
1264
+ quotaEventCursor: string;
1265
+ }, {
1266
+ profiles: {
1267
+ profile: {
1268
+ profile_id: string;
1269
+ harness_id: string;
1270
+ display_name: string;
1271
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1272
+ isolation_locator?: string | null | undefined;
1273
+ secret_ref?: string | null | undefined;
1274
+ enabled?: boolean | undefined;
1275
+ created_at?: string | null | undefined;
1276
+ };
1277
+ status: {
1278
+ profile_id: string;
1279
+ harness_id: string;
1280
+ availability: "available" | "unavailable" | "unknown";
1281
+ verification: "failed" | "not_run" | "passed";
1282
+ detail?: string | undefined;
1283
+ last_verified_at?: string | null | undefined;
1284
+ };
1285
+ identity?: {
1286
+ email?: string | undefined;
1287
+ plan?: string | undefined;
1288
+ } | null | undefined;
1289
+ }[];
1290
+ harnessAccounts?: {
1291
+ harness_id: string;
1292
+ native_credentials_enabled: boolean;
1293
+ native_login_detected: boolean;
1294
+ identity?: {
1295
+ email?: string | undefined;
1296
+ plan?: string | undefined;
1297
+ } | null | undefined;
1298
+ next_up: {
1299
+ kind: "profile";
1300
+ profileId: string;
1301
+ } | {
1302
+ kind: "native";
1303
+ route?: "api_key" | "local_session" | undefined;
1304
+ } | {
1305
+ kind: "none";
1306
+ reason: string;
1307
+ };
1308
+ }[] | undefined;
1309
+ harnesses: {
1310
+ id: string;
1311
+ status: "degraded" | "ok" | "unavailable";
1312
+ manifest?: {
1313
+ id: string;
1314
+ display_name: string;
1315
+ kind: "fake" | "local_cli" | "remote_api";
1316
+ version?: string | undefined;
1317
+ adapter_version?: string | undefined;
1318
+ provider_family?: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai" | undefined;
1319
+ capability_profile?: {
1320
+ auth?: {
1321
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
1322
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
1323
+ credential_transports?: {
1324
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
1325
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
1326
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
1327
+ }[] | undefined;
1328
+ } | undefined;
1329
+ access_control?: {
1330
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
1331
+ } | undefined;
1332
+ isolation?: {
1333
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
1334
+ } | undefined;
1335
+ attachment_inputs?: {
1336
+ kind: "file" | "image";
1337
+ mime_types: string[];
1338
+ max_bytes: number;
1339
+ max_count: number;
1340
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
1341
+ }[] | undefined;
1342
+ mcp_injection?: boolean | undefined;
1343
+ mcp_injection_requires_full_access?: boolean | undefined;
1344
+ } | undefined;
1345
+ capabilities: {
1346
+ plan?: boolean | undefined;
1347
+ implement?: boolean | undefined;
1348
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
1349
+ create_from_scratch?: boolean | undefined;
1350
+ review?: boolean | undefined;
1351
+ verify?: boolean | undefined;
1352
+ synthesize?: boolean | undefined;
1353
+ read_files?: boolean | undefined;
1354
+ browser_tool?: boolean | undefined;
1355
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
1356
+ max_turns?: boolean | undefined;
1357
+ tool_lists?: boolean | undefined;
1358
+ interactive?: boolean | undefined;
1359
+ json_schema_output?: boolean | undefined;
1360
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
1361
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
1362
+ effort_levels?: string[] | undefined;
1363
+ model_effort_levels?: Record<string, {
1364
+ levels?: string[] | undefined;
1365
+ default?: string | null | undefined;
1366
+ }> | undefined;
1367
+ effort_levels_verified_against?: string | null | undefined;
1368
+ known_models?: (string | {
1369
+ id: string;
1370
+ routes: ("api_key" | "local_session")[];
1371
+ })[] | undefined;
1372
+ known_models_verified_against?: string | null | undefined;
1373
+ };
1374
+ auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
1375
+ access_profiles_supported?: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
1376
+ } | null | undefined;
1377
+ enabledIntents?: string[] | undefined;
1378
+ routableIntents?: string[] | undefined;
1379
+ disabledIntents?: string[] | undefined;
1380
+ checks?: {
1381
+ id: string;
1382
+ status: "fail" | "pass" | "skip";
1383
+ detail?: string | undefined;
1384
+ duration_ms?: number | undefined;
1385
+ }[] | undefined;
1386
+ reasons?: string[] | undefined;
1387
+ authSources?: {
1388
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
1389
+ availability: "available" | "unavailable" | "unknown";
1390
+ verification: "failed" | "not_run" | "passed";
1391
+ detail?: string | undefined;
1392
+ }[] | undefined;
1393
+ readiness?: {
1394
+ id: string;
1395
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
1396
+ title: string;
1397
+ status: "fail" | "pass" | "skip";
1398
+ detail?: string | null | undefined;
1399
+ }[] | undefined;
1400
+ configuredModel?: string | null | undefined;
1401
+ configuredModelCheck?: {
1402
+ status: "ok" | "rejected";
1403
+ message?: string | null | undefined;
1404
+ } | null | undefined;
1405
+ delegation?: {
1406
+ available: boolean;
1407
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
1408
+ remediation?: string | null | undefined;
1409
+ requiresFullAccess?: boolean | undefined;
1410
+ } | null | undefined;
1411
+ }[];
1412
+ git: {
1413
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
1414
+ version: string | null;
1415
+ detail: string | null;
1416
+ remediation: string | null;
1417
+ };
1418
+ quota: {
1419
+ snapshots: {
1420
+ subject: {
1421
+ harness: string;
1422
+ credential_route: "local" | "managed_api_key" | "vendor_native";
1423
+ plan_label?: string | null | undefined;
1424
+ subject_id?: string | null | undefined;
1425
+ };
1426
+ constraints: {
1427
+ id: string;
1428
+ label: string;
1429
+ applies_to_models?: string[] | null | undefined;
1430
+ used_ratio: number | null;
1431
+ window_seconds: number | null;
1432
+ resets_at: string | null;
1433
+ cooldown_until?: string | null | undefined;
1434
+ }[];
1435
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
1436
+ observed_at: string;
1437
+ freshness: "fresh" | "stale" | "unknown";
1438
+ }[];
1439
+ absences?: {
1440
+ subject: {
1441
+ harness: string;
1442
+ credential_route: "local" | "managed_api_key" | "vendor_native";
1443
+ plan_label?: string | null | undefined;
1444
+ subject_id?: string | null | undefined;
1445
+ };
1446
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
1447
+ detail?: string | null | undefined;
1448
+ observed_at: string;
1449
+ }[] | undefined;
1450
+ refreshed_at: string | null;
1451
+ };
1452
+ quotaEventCursor: string;
1453
+ }>;
1454
+ export type ControlCredentialProfilesSnapshotResponse = z.infer<typeof ControlCredentialProfilesSnapshotResponse>;
1455
+ /** Operation-catalog response contract for the query-shaped endpoint. The
1456
+ * actual route selects exactly one member from the validated `snapshot` query;
1457
+ * this union keeps discovery/docs honest without changing the legacy shape. */
1458
+ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodObject<{
1459
+ profiles: z.ZodArray<z.ZodObject<{
1460
+ profile: z.ZodEffects<z.ZodObject<{
1461
+ profile_id: z.ZodString;
1462
+ harness_id: z.ZodString;
1463
+ display_name: z.ZodString;
1464
+ credential_kind: z.ZodEnum<["config_dir_login", "oauth_token", "api_key"]>;
1465
+ isolation_locator: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1466
+ secret_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1467
+ enabled: z.ZodDefault<z.ZodBoolean>;
1468
+ created_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1469
+ }, "strict", z.ZodTypeAny, {
1470
+ profile_id: string;
1471
+ harness_id: string;
1472
+ display_name: string;
1473
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1474
+ isolation_locator: string | null;
1475
+ secret_ref: string | null;
1476
+ enabled: boolean;
1477
+ created_at: string | null;
1478
+ }, {
1479
+ profile_id: string;
1480
+ harness_id: string;
1481
+ display_name: string;
1482
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1483
+ isolation_locator?: string | null | undefined;
1484
+ secret_ref?: string | null | undefined;
1485
+ enabled?: boolean | undefined;
1486
+ created_at?: string | null | undefined;
1487
+ }>, {
1488
+ profile_id: string;
1489
+ harness_id: string;
1490
+ display_name: string;
1491
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1492
+ isolation_locator: string | null;
1493
+ secret_ref: string | null;
1494
+ enabled: boolean;
1495
+ created_at: string | null;
1496
+ }, {
1497
+ profile_id: string;
1498
+ harness_id: string;
1499
+ display_name: string;
1500
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1501
+ isolation_locator?: string | null | undefined;
1502
+ secret_ref?: string | null | undefined;
1503
+ enabled?: boolean | undefined;
1504
+ created_at?: string | null | undefined;
1505
+ }>;
1506
+ status: z.ZodObject<{
1507
+ profile_id: z.ZodString;
1508
+ harness_id: z.ZodString;
1509
+ availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
1510
+ verification: z.ZodEnum<["passed", "failed", "not_run"]>;
1511
+ detail: z.ZodOptional<z.ZodString>;
1512
+ last_verified_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1513
+ }, "strict", z.ZodTypeAny, {
1514
+ profile_id: string;
1515
+ harness_id: string;
1516
+ availability: "available" | "unavailable" | "unknown";
1517
+ verification: "failed" | "not_run" | "passed";
1518
+ detail?: string | undefined;
1519
+ last_verified_at: string | null;
1520
+ }, {
1521
+ profile_id: string;
1522
+ harness_id: string;
1523
+ availability: "available" | "unavailable" | "unknown";
1524
+ verification: "failed" | "not_run" | "passed";
1525
+ detail?: string | undefined;
1526
+ last_verified_at?: string | null | undefined;
1527
+ }>;
1528
+ identity: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1529
+ email: z.ZodOptional<z.ZodString>;
1530
+ plan: z.ZodOptional<z.ZodString>;
1531
+ }, "strict", z.ZodTypeAny, {
1532
+ email?: string | undefined;
1533
+ plan?: string | undefined;
1534
+ }, {
1535
+ email?: string | undefined;
1536
+ plan?: string | undefined;
1537
+ }>>>;
1538
+ }, "strict", z.ZodTypeAny, {
1539
+ profile: {
1540
+ profile_id: string;
1541
+ harness_id: string;
1542
+ display_name: string;
1543
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1544
+ isolation_locator: string | null;
1545
+ secret_ref: string | null;
1546
+ enabled: boolean;
1547
+ created_at: string | null;
1548
+ };
1549
+ status: {
1550
+ profile_id: string;
1551
+ harness_id: string;
1552
+ availability: "available" | "unavailable" | "unknown";
1553
+ verification: "failed" | "not_run" | "passed";
1554
+ detail?: string | undefined;
1555
+ last_verified_at: string | null;
1556
+ };
1557
+ identity: {
1558
+ email?: string | undefined;
1559
+ plan?: string | undefined;
1560
+ } | null;
1561
+ }, {
1562
+ profile: {
1563
+ profile_id: string;
1564
+ harness_id: string;
1565
+ display_name: string;
1566
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1567
+ isolation_locator?: string | null | undefined;
1568
+ secret_ref?: string | null | undefined;
1569
+ enabled?: boolean | undefined;
1570
+ created_at?: string | null | undefined;
1571
+ };
1572
+ status: {
1573
+ profile_id: string;
1574
+ harness_id: string;
1575
+ availability: "available" | "unavailable" | "unknown";
1576
+ verification: "failed" | "not_run" | "passed";
1577
+ detail?: string | undefined;
1578
+ last_verified_at?: string | null | undefined;
1579
+ };
1580
+ identity?: {
1581
+ email?: string | undefined;
1582
+ plan?: string | undefined;
1583
+ } | null | undefined;
1584
+ }>, "many">;
1585
+ harnessAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1586
+ harness_id: z.ZodString;
1587
+ native_credentials_enabled: z.ZodBoolean;
1588
+ native_login_detected: z.ZodBoolean;
1589
+ identity: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1590
+ email: z.ZodOptional<z.ZodString>;
1591
+ plan: z.ZodOptional<z.ZodString>;
1592
+ }, "strict", z.ZodTypeAny, {
1593
+ email?: string | undefined;
1594
+ plan?: string | undefined;
1595
+ }, {
1596
+ email?: string | undefined;
1597
+ plan?: string | undefined;
1598
+ }>>>;
1599
+ next_up: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1600
+ kind: z.ZodLiteral<"profile">;
1601
+ profileId: z.ZodString;
1602
+ }, "strict", z.ZodTypeAny, {
1603
+ kind: "profile";
1604
+ profileId: string;
1605
+ }, {
1606
+ kind: "profile";
1607
+ profileId: string;
1608
+ }>, z.ZodObject<{
1609
+ kind: z.ZodLiteral<"native">;
1610
+ route: z.ZodOptional<z.ZodEnum<["local_session", "api_key"]>>;
1611
+ }, "strict", z.ZodTypeAny, {
1612
+ kind: "native";
1613
+ route?: "api_key" | "local_session" | undefined;
1614
+ }, {
1615
+ kind: "native";
1616
+ route?: "api_key" | "local_session" | undefined;
1617
+ }>, z.ZodObject<{
1618
+ kind: z.ZodLiteral<"none">;
1619
+ reason: z.ZodString;
1620
+ }, "strict", z.ZodTypeAny, {
1621
+ kind: "none";
1622
+ reason: string;
1623
+ }, {
1624
+ kind: "none";
1625
+ reason: string;
1626
+ }>]>;
1627
+ }, "strict", z.ZodTypeAny, {
1628
+ harness_id: string;
1629
+ native_credentials_enabled: boolean;
1630
+ native_login_detected: boolean;
1631
+ identity: {
1632
+ email?: string | undefined;
1633
+ plan?: string | undefined;
1634
+ } | null;
1635
+ next_up: {
1636
+ kind: "profile";
1637
+ profileId: string;
1638
+ } | {
1639
+ kind: "native";
1640
+ route?: "api_key" | "local_session" | undefined;
1641
+ } | {
1642
+ kind: "none";
1643
+ reason: string;
1644
+ };
1645
+ }, {
1646
+ harness_id: string;
1647
+ native_credentials_enabled: boolean;
1648
+ native_login_detected: boolean;
1649
+ identity?: {
1650
+ email?: string | undefined;
1651
+ plan?: string | undefined;
1652
+ } | null | undefined;
1653
+ next_up: {
1654
+ kind: "profile";
1655
+ profileId: string;
1656
+ } | {
1657
+ kind: "native";
1658
+ route?: "api_key" | "local_session" | undefined;
1659
+ } | {
1660
+ kind: "none";
1661
+ reason: string;
1662
+ };
1663
+ }>, "many">>;
1664
+ }, "strict", z.ZodTypeAny, {
1665
+ profiles: {
1666
+ profile: {
1667
+ profile_id: string;
1668
+ harness_id: string;
1669
+ display_name: string;
1670
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1671
+ isolation_locator: string | null;
1672
+ secret_ref: string | null;
1673
+ enabled: boolean;
1674
+ created_at: string | null;
1675
+ };
1676
+ status: {
1677
+ profile_id: string;
1678
+ harness_id: string;
1679
+ availability: "available" | "unavailable" | "unknown";
1680
+ verification: "failed" | "not_run" | "passed";
1681
+ detail?: string | undefined;
1682
+ last_verified_at: string | null;
1683
+ };
1684
+ identity: {
1685
+ email?: string | undefined;
1686
+ plan?: string | undefined;
1687
+ } | null;
1688
+ }[];
1689
+ harnessAccounts: {
1690
+ harness_id: string;
1691
+ native_credentials_enabled: boolean;
1692
+ native_login_detected: boolean;
1693
+ identity: {
1694
+ email?: string | undefined;
1695
+ plan?: string | undefined;
1696
+ } | null;
1697
+ next_up: {
1698
+ kind: "profile";
1699
+ profileId: string;
1700
+ } | {
1701
+ kind: "native";
1702
+ route?: "api_key" | "local_session" | undefined;
1703
+ } | {
1704
+ kind: "none";
1705
+ reason: string;
1706
+ };
1707
+ }[];
1708
+ }, {
1709
+ profiles: {
1710
+ profile: {
1711
+ profile_id: string;
1712
+ harness_id: string;
1713
+ display_name: string;
1714
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1715
+ isolation_locator?: string | null | undefined;
1716
+ secret_ref?: string | null | undefined;
1717
+ enabled?: boolean | undefined;
1718
+ created_at?: string | null | undefined;
1719
+ };
1720
+ status: {
1721
+ profile_id: string;
1722
+ harness_id: string;
1723
+ availability: "available" | "unavailable" | "unknown";
1724
+ verification: "failed" | "not_run" | "passed";
1725
+ detail?: string | undefined;
1726
+ last_verified_at?: string | null | undefined;
1727
+ };
1728
+ identity?: {
1729
+ email?: string | undefined;
1730
+ plan?: string | undefined;
1731
+ } | null | undefined;
1732
+ }[];
1733
+ harnessAccounts?: {
1734
+ harness_id: string;
1735
+ native_credentials_enabled: boolean;
1736
+ native_login_detected: boolean;
1737
+ identity?: {
1738
+ email?: string | undefined;
1739
+ plan?: string | undefined;
1740
+ } | null | undefined;
1741
+ next_up: {
1742
+ kind: "profile";
1743
+ profileId: string;
1744
+ } | {
1745
+ kind: "native";
1746
+ route?: "api_key" | "local_session" | undefined;
1747
+ } | {
1748
+ kind: "none";
1749
+ reason: string;
1750
+ };
1751
+ }[] | undefined;
1752
+ }>, z.ZodObject<{
1753
+ profiles: z.ZodArray<z.ZodObject<{
1754
+ profile: z.ZodEffects<z.ZodObject<{
1755
+ profile_id: z.ZodString;
1756
+ harness_id: z.ZodString;
1757
+ display_name: z.ZodString;
1758
+ credential_kind: z.ZodEnum<["config_dir_login", "oauth_token", "api_key"]>;
1759
+ isolation_locator: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1760
+ secret_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1761
+ enabled: z.ZodDefault<z.ZodBoolean>;
1762
+ created_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1763
+ }, "strict", z.ZodTypeAny, {
1764
+ profile_id: string;
1765
+ harness_id: string;
1766
+ display_name: string;
1767
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1768
+ isolation_locator: string | null;
1769
+ secret_ref: string | null;
1770
+ enabled: boolean;
1771
+ created_at: string | null;
1772
+ }, {
1773
+ profile_id: string;
1774
+ harness_id: string;
1775
+ display_name: string;
1776
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1777
+ isolation_locator?: string | null | undefined;
1778
+ secret_ref?: string | null | undefined;
1779
+ enabled?: boolean | undefined;
1780
+ created_at?: string | null | undefined;
1781
+ }>, {
1782
+ profile_id: string;
1783
+ harness_id: string;
1784
+ display_name: string;
1785
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1786
+ isolation_locator: string | null;
1787
+ secret_ref: string | null;
1788
+ enabled: boolean;
1789
+ created_at: string | null;
1790
+ }, {
1791
+ profile_id: string;
1792
+ harness_id: string;
1793
+ display_name: string;
1794
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1795
+ isolation_locator?: string | null | undefined;
1796
+ secret_ref?: string | null | undefined;
1797
+ enabled?: boolean | undefined;
1798
+ created_at?: string | null | undefined;
1799
+ }>;
1800
+ status: z.ZodObject<{
1801
+ profile_id: z.ZodString;
1802
+ harness_id: z.ZodString;
1803
+ availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
1804
+ verification: z.ZodEnum<["passed", "failed", "not_run"]>;
1805
+ detail: z.ZodOptional<z.ZodString>;
1806
+ last_verified_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1807
+ }, "strict", z.ZodTypeAny, {
1808
+ profile_id: string;
1809
+ harness_id: string;
1810
+ availability: "available" | "unavailable" | "unknown";
1811
+ verification: "failed" | "not_run" | "passed";
1812
+ detail?: string | undefined;
1813
+ last_verified_at: string | null;
1814
+ }, {
1815
+ profile_id: string;
1816
+ harness_id: string;
1817
+ availability: "available" | "unavailable" | "unknown";
1818
+ verification: "failed" | "not_run" | "passed";
1819
+ detail?: string | undefined;
1820
+ last_verified_at?: string | null | undefined;
1821
+ }>;
1822
+ identity: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1823
+ email: z.ZodOptional<z.ZodString>;
1824
+ plan: z.ZodOptional<z.ZodString>;
1825
+ }, "strict", z.ZodTypeAny, {
1826
+ email?: string | undefined;
1827
+ plan?: string | undefined;
1828
+ }, {
1829
+ email?: string | undefined;
1830
+ plan?: string | undefined;
1831
+ }>>>;
1832
+ }, "strict", z.ZodTypeAny, {
1833
+ profile: {
1834
+ profile_id: string;
1835
+ harness_id: string;
1836
+ display_name: string;
1837
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1838
+ isolation_locator: string | null;
1839
+ secret_ref: string | null;
1840
+ enabled: boolean;
1841
+ created_at: string | null;
1842
+ };
1843
+ status: {
1844
+ profile_id: string;
1845
+ harness_id: string;
1846
+ availability: "available" | "unavailable" | "unknown";
1847
+ verification: "failed" | "not_run" | "passed";
1848
+ detail?: string | undefined;
1849
+ last_verified_at: string | null;
1850
+ };
1851
+ identity: {
1852
+ email?: string | undefined;
1853
+ plan?: string | undefined;
1854
+ } | null;
1855
+ }, {
1856
+ profile: {
1857
+ profile_id: string;
1858
+ harness_id: string;
1859
+ display_name: string;
1860
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
1861
+ isolation_locator?: string | null | undefined;
1862
+ secret_ref?: string | null | undefined;
1863
+ enabled?: boolean | undefined;
1864
+ created_at?: string | null | undefined;
1865
+ };
1866
+ status: {
1867
+ profile_id: string;
1868
+ harness_id: string;
1869
+ availability: "available" | "unavailable" | "unknown";
1870
+ verification: "failed" | "not_run" | "passed";
1871
+ detail?: string | undefined;
1872
+ last_verified_at?: string | null | undefined;
1873
+ };
1874
+ identity?: {
1875
+ email?: string | undefined;
1876
+ plan?: string | undefined;
1877
+ } | null | undefined;
1878
+ }>, "many">;
1879
+ harnessAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1880
+ harness_id: z.ZodString;
1881
+ native_credentials_enabled: z.ZodBoolean;
1882
+ native_login_detected: z.ZodBoolean;
1883
+ identity: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1884
+ email: z.ZodOptional<z.ZodString>;
1885
+ plan: z.ZodOptional<z.ZodString>;
1886
+ }, "strict", z.ZodTypeAny, {
1887
+ email?: string | undefined;
1888
+ plan?: string | undefined;
1889
+ }, {
1890
+ email?: string | undefined;
1891
+ plan?: string | undefined;
1892
+ }>>>;
1893
+ next_up: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1894
+ kind: z.ZodLiteral<"profile">;
1895
+ profileId: z.ZodString;
1896
+ }, "strict", z.ZodTypeAny, {
1897
+ kind: "profile";
1898
+ profileId: string;
1899
+ }, {
1900
+ kind: "profile";
1901
+ profileId: string;
1902
+ }>, z.ZodObject<{
1903
+ kind: z.ZodLiteral<"native">;
1904
+ route: z.ZodOptional<z.ZodEnum<["local_session", "api_key"]>>;
1905
+ }, "strict", z.ZodTypeAny, {
1906
+ kind: "native";
1907
+ route?: "api_key" | "local_session" | undefined;
1908
+ }, {
1909
+ kind: "native";
1910
+ route?: "api_key" | "local_session" | undefined;
1911
+ }>, z.ZodObject<{
1912
+ kind: z.ZodLiteral<"none">;
1913
+ reason: z.ZodString;
1914
+ }, "strict", z.ZodTypeAny, {
1915
+ kind: "none";
1916
+ reason: string;
1917
+ }, {
1918
+ kind: "none";
1919
+ reason: string;
1920
+ }>]>;
1921
+ }, "strict", z.ZodTypeAny, {
1922
+ harness_id: string;
1923
+ native_credentials_enabled: boolean;
1924
+ native_login_detected: boolean;
1925
+ identity: {
1926
+ email?: string | undefined;
1927
+ plan?: string | undefined;
1928
+ } | null;
1929
+ next_up: {
1930
+ kind: "profile";
1931
+ profileId: string;
1932
+ } | {
1933
+ kind: "native";
1934
+ route?: "api_key" | "local_session" | undefined;
1935
+ } | {
1936
+ kind: "none";
1937
+ reason: string;
1938
+ };
1939
+ }, {
1940
+ harness_id: string;
1941
+ native_credentials_enabled: boolean;
1942
+ native_login_detected: boolean;
1943
+ identity?: {
1944
+ email?: string | undefined;
1945
+ plan?: string | undefined;
1946
+ } | null | undefined;
1947
+ next_up: {
1948
+ kind: "profile";
1949
+ profileId: string;
1950
+ } | {
1951
+ kind: "native";
1952
+ route?: "api_key" | "local_session" | undefined;
1953
+ } | {
1954
+ kind: "none";
1955
+ reason: string;
1956
+ };
1957
+ }>, "many">>;
1958
+ } & {
1959
+ harnesses: z.ZodArray<z.ZodObject<{
1960
+ id: z.ZodString;
1961
+ status: z.ZodEnum<["ok", "degraded", "unavailable"]>;
1962
+ manifest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1963
+ id: z.ZodString;
1964
+ display_name: z.ZodString;
1965
+ kind: z.ZodEnum<["local_cli", "remote_api", "fake"]>;
1966
+ version: z.ZodOptional<z.ZodString>;
1967
+ adapter_version: z.ZodOptional<z.ZodString>;
1968
+ provider_family: z.ZodDefault<z.ZodEnum<["openai", "anthropic", "google", "cursor", "opencode", "xai", "local", "unknown"]>>;
1969
+ capability_profile: z.ZodDefault<z.ZodObject<{
1970
+ auth: z.ZodDefault<z.ZodObject<{
1971
+ supported_sources: z.ZodDefault<z.ZodArray<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>, "many">>;
1972
+ preferred_source: z.ZodDefault<z.ZodNullable<z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>>>;
1973
+ credential_transports: z.ZodDefault<z.ZodArray<z.ZodObject<{
1974
+ source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
1975
+ kind: z.ZodEnum<["config_file", "env_var", "oauth_token_env", "os_keychain", "http_header", "none"]>;
1976
+ relocatable_by: z.ZodDefault<z.ZodArray<z.ZodEnum<["HOME", "CONFIG_DIR", "ENV", "none"]>, "many">>;
1977
+ }, "strip", z.ZodTypeAny, {
1978
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
1979
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
1980
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
1981
+ }, {
1982
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
1983
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
1984
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
1985
+ }>, "many">>;
1986
+ }, "strip", z.ZodTypeAny, {
1987
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
1988
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
1989
+ credential_transports: {
1990
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
1991
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
1992
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
1993
+ }[];
1994
+ }, {
1995
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
1996
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
1997
+ credential_transports?: {
1998
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
1999
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
2000
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
2001
+ }[] | undefined;
2002
+ }>>;
2003
+ access_control: z.ZodDefault<z.ZodObject<{
2004
+ readonly_mechanism: z.ZodDefault<z.ZodEnum<["fs_sandbox", "permission_deny", "tool_allowlist", "none"]>>;
2005
+ }, "strip", z.ZodTypeAny, {
2006
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
2007
+ }, {
2008
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
2009
+ }>>;
2010
+ isolation: z.ZodDefault<z.ZodObject<{
2011
+ supported_containment: z.ZodDefault<z.ZodArray<z.ZodEnum<["env_or_file_injection", "scoped_home_keychain_bridge", "host_user_context", "process_sandbox", "container"]>, "many">>;
2012
+ }, "strip", z.ZodTypeAny, {
2013
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
2014
+ }, {
2015
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
2016
+ }>>;
2017
+ attachment_inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
2018
+ kind: z.ZodEnum<["image", "file"]>;
2019
+ mime_types: z.ZodArray<z.ZodString, "many">;
2020
+ max_bytes: z.ZodNumber;
2021
+ max_count: z.ZodNumber;
2022
+ transport: z.ZodEnum<["file_path", "base64_stream", "base64_inline", "text_inline"]>;
2023
+ }, "strict", z.ZodTypeAny, {
2024
+ kind: "file" | "image";
2025
+ mime_types: string[];
2026
+ max_bytes: number;
2027
+ max_count: number;
2028
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
2029
+ }, {
2030
+ kind: "file" | "image";
2031
+ mime_types: string[];
2032
+ max_bytes: number;
2033
+ max_count: number;
2034
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
2035
+ }>, "many">>;
2036
+ mcp_injection: z.ZodDefault<z.ZodBoolean>;
2037
+ mcp_injection_requires_full_access: z.ZodDefault<z.ZodBoolean>;
2038
+ }, "strip", z.ZodTypeAny, {
2039
+ auth: {
2040
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
2041
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
2042
+ credential_transports: {
2043
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2044
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
2045
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
2046
+ }[];
2047
+ };
2048
+ access_control: {
2049
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
2050
+ };
2051
+ isolation: {
2052
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
2053
+ };
2054
+ attachment_inputs: {
2055
+ kind: "file" | "image";
2056
+ mime_types: string[];
2057
+ max_bytes: number;
2058
+ max_count: number;
2059
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
2060
+ }[];
2061
+ mcp_injection: boolean;
2062
+ mcp_injection_requires_full_access: boolean;
2063
+ }, {
2064
+ auth?: {
2065
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
2066
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
2067
+ credential_transports?: {
2068
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2069
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
2070
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
2071
+ }[] | undefined;
2072
+ } | undefined;
2073
+ access_control?: {
2074
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
2075
+ } | undefined;
2076
+ isolation?: {
2077
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
2078
+ } | undefined;
2079
+ attachment_inputs?: {
2080
+ kind: "file" | "image";
2081
+ mime_types: string[];
2082
+ max_bytes: number;
2083
+ max_count: number;
2084
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
2085
+ }[] | undefined;
2086
+ mcp_injection?: boolean | undefined;
2087
+ mcp_injection_requires_full_access?: boolean | undefined;
2088
+ }>>;
2089
+ capabilities: z.ZodObject<{
2090
+ plan: z.ZodDefault<z.ZodBoolean>;
2091
+ implement: z.ZodDefault<z.ZodBoolean>;
2092
+ implementation_transport: z.ZodDefault<z.ZodEnum<["workspace", "git_patch_envelope"]>>;
2093
+ create_from_scratch: z.ZodDefault<z.ZodBoolean>;
2094
+ review: z.ZodDefault<z.ZodBoolean>;
2095
+ verify: z.ZodDefault<z.ZodBoolean>;
2096
+ synthesize: z.ZodDefault<z.ZodBoolean>;
2097
+ read_files: z.ZodDefault<z.ZodBoolean>;
2098
+ browser_tool: z.ZodDefault<z.ZodBoolean>;
2099
+ web_policy: z.ZodDefault<z.ZodEnum<["native", "tools", "uncontrolled", "none"]>>;
2100
+ max_turns: z.ZodDefault<z.ZodBoolean>;
2101
+ tool_lists: z.ZodDefault<z.ZodBoolean>;
2102
+ interactive: z.ZodDefault<z.ZodBoolean>;
2103
+ json_schema_output: z.ZodDefault<z.ZodBoolean>;
2104
+ work_report_transport: z.ZodDefault<z.ZodEnum<["constrained", "validated", "unsupported"]>>;
2105
+ structured_output_channel: z.ZodDefault<z.ZodEnum<["side_tool", "final_message"]>>;
2106
+ effort_levels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2107
+ model_effort_levels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2108
+ levels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2109
+ default: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2110
+ }, "strict", z.ZodTypeAny, {
2111
+ levels: string[];
2112
+ default: string | null;
2113
+ }, {
2114
+ levels?: string[] | undefined;
2115
+ default?: string | null | undefined;
2116
+ }>>>;
2117
+ effort_levels_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2118
+ known_models: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
2119
+ id: z.ZodString;
2120
+ routes: z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">;
2121
+ }, "strict", z.ZodTypeAny, {
2122
+ id: string;
2123
+ routes: ("api_key" | "local_session")[];
2124
+ }, {
2125
+ id: string;
2126
+ routes: ("api_key" | "local_session")[];
2127
+ }>]>, "many">>;
2128
+ known_models_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2129
+ }, "strip", z.ZodTypeAny, {
2130
+ plan: boolean;
2131
+ implement: boolean;
2132
+ implementation_transport: "git_patch_envelope" | "workspace";
2133
+ create_from_scratch: boolean;
2134
+ review: boolean;
2135
+ verify: boolean;
2136
+ synthesize: boolean;
2137
+ read_files: boolean;
2138
+ browser_tool: boolean;
2139
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
2140
+ max_turns: boolean;
2141
+ tool_lists: boolean;
2142
+ interactive: boolean;
2143
+ json_schema_output: boolean;
2144
+ work_report_transport: "constrained" | "unsupported" | "validated";
2145
+ structured_output_channel: "final_message" | "side_tool";
2146
+ effort_levels: string[];
2147
+ model_effort_levels: Record<string, {
2148
+ levels: string[];
2149
+ default: string | null;
2150
+ }>;
2151
+ effort_levels_verified_against: string | null;
2152
+ known_models: (string | {
2153
+ id: string;
2154
+ routes: ("api_key" | "local_session")[];
2155
+ })[];
2156
+ known_models_verified_against: string | null;
2157
+ }, {
2158
+ plan?: boolean | undefined;
2159
+ implement?: boolean | undefined;
2160
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
2161
+ create_from_scratch?: boolean | undefined;
2162
+ review?: boolean | undefined;
2163
+ verify?: boolean | undefined;
2164
+ synthesize?: boolean | undefined;
2165
+ read_files?: boolean | undefined;
2166
+ browser_tool?: boolean | undefined;
2167
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
2168
+ max_turns?: boolean | undefined;
2169
+ tool_lists?: boolean | undefined;
2170
+ interactive?: boolean | undefined;
2171
+ json_schema_output?: boolean | undefined;
2172
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
2173
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
2174
+ effort_levels?: string[] | undefined;
2175
+ model_effort_levels?: Record<string, {
2176
+ levels?: string[] | undefined;
2177
+ default?: string | null | undefined;
2178
+ }> | undefined;
2179
+ effort_levels_verified_against?: string | null | undefined;
2180
+ known_models?: (string | {
2181
+ id: string;
2182
+ routes: ("api_key" | "local_session")[];
2183
+ })[] | undefined;
2184
+ known_models_verified_against?: string | null | undefined;
2185
+ }>;
2186
+ auth_modes: z.ZodDefault<z.ZodArray<z.ZodEnum<["local_session", "api_key", "none"]>, "many">>;
2187
+ access_profiles_supported: z.ZodDefault<z.ZodArray<z.ZodEnum<["readonly", "workspace_write", "full", "external_sandbox_full", "inherit_native"]>, "many">>;
2188
+ }, "strip", z.ZodTypeAny, {
2189
+ id: string;
2190
+ display_name: string;
2191
+ kind: "fake" | "local_cli" | "remote_api";
2192
+ version?: string | undefined;
2193
+ adapter_version?: string | undefined;
2194
+ provider_family: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai";
2195
+ capability_profile: {
2196
+ auth: {
2197
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
2198
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
2199
+ credential_transports: {
2200
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2201
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
2202
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
2203
+ }[];
2204
+ };
2205
+ access_control: {
2206
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
2207
+ };
2208
+ isolation: {
2209
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
2210
+ };
2211
+ attachment_inputs: {
2212
+ kind: "file" | "image";
2213
+ mime_types: string[];
2214
+ max_bytes: number;
2215
+ max_count: number;
2216
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
2217
+ }[];
2218
+ mcp_injection: boolean;
2219
+ mcp_injection_requires_full_access: boolean;
2220
+ };
2221
+ capabilities: {
2222
+ plan: boolean;
2223
+ implement: boolean;
2224
+ implementation_transport: "git_patch_envelope" | "workspace";
2225
+ create_from_scratch: boolean;
2226
+ review: boolean;
2227
+ verify: boolean;
2228
+ synthesize: boolean;
2229
+ read_files: boolean;
2230
+ browser_tool: boolean;
2231
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
2232
+ max_turns: boolean;
2233
+ tool_lists: boolean;
2234
+ interactive: boolean;
2235
+ json_schema_output: boolean;
2236
+ work_report_transport: "constrained" | "unsupported" | "validated";
2237
+ structured_output_channel: "final_message" | "side_tool";
2238
+ effort_levels: string[];
2239
+ model_effort_levels: Record<string, {
2240
+ levels: string[];
2241
+ default: string | null;
2242
+ }>;
2243
+ effort_levels_verified_against: string | null;
2244
+ known_models: (string | {
2245
+ id: string;
2246
+ routes: ("api_key" | "local_session")[];
2247
+ })[];
2248
+ known_models_verified_against: string | null;
2249
+ };
2250
+ auth_modes: ("api_key" | "local_session" | "none")[];
2251
+ access_profiles_supported: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[];
2252
+ }, {
2253
+ id: string;
2254
+ display_name: string;
2255
+ kind: "fake" | "local_cli" | "remote_api";
2256
+ version?: string | undefined;
2257
+ adapter_version?: string | undefined;
2258
+ provider_family?: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai" | undefined;
2259
+ capability_profile?: {
2260
+ auth?: {
2261
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
2262
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
2263
+ credential_transports?: {
2264
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2265
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
2266
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
2267
+ }[] | undefined;
2268
+ } | undefined;
2269
+ access_control?: {
2270
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
2271
+ } | undefined;
2272
+ isolation?: {
2273
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
2274
+ } | undefined;
2275
+ attachment_inputs?: {
2276
+ kind: "file" | "image";
2277
+ mime_types: string[];
2278
+ max_bytes: number;
2279
+ max_count: number;
2280
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
2281
+ }[] | undefined;
2282
+ mcp_injection?: boolean | undefined;
2283
+ mcp_injection_requires_full_access?: boolean | undefined;
2284
+ } | undefined;
2285
+ capabilities: {
2286
+ plan?: boolean | undefined;
2287
+ implement?: boolean | undefined;
2288
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
2289
+ create_from_scratch?: boolean | undefined;
2290
+ review?: boolean | undefined;
2291
+ verify?: boolean | undefined;
2292
+ synthesize?: boolean | undefined;
2293
+ read_files?: boolean | undefined;
2294
+ browser_tool?: boolean | undefined;
2295
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
2296
+ max_turns?: boolean | undefined;
2297
+ tool_lists?: boolean | undefined;
2298
+ interactive?: boolean | undefined;
2299
+ json_schema_output?: boolean | undefined;
2300
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
2301
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
2302
+ effort_levels?: string[] | undefined;
2303
+ model_effort_levels?: Record<string, {
2304
+ levels?: string[] | undefined;
2305
+ default?: string | null | undefined;
2306
+ }> | undefined;
2307
+ effort_levels_verified_against?: string | null | undefined;
2308
+ known_models?: (string | {
2309
+ id: string;
2310
+ routes: ("api_key" | "local_session")[];
2311
+ })[] | undefined;
2312
+ known_models_verified_against?: string | null | undefined;
2313
+ };
2314
+ auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
2315
+ access_profiles_supported?: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
2316
+ }>>>;
2317
+ enabledIntents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2318
+ routableIntents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2319
+ disabledIntents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2320
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2321
+ id: z.ZodString;
2322
+ status: z.ZodEnum<["pass", "fail", "skip"]>;
2323
+ detail: z.ZodOptional<z.ZodString>;
2324
+ duration_ms: z.ZodOptional<z.ZodNumber>;
2325
+ }, "strip", z.ZodTypeAny, {
2326
+ id: string;
2327
+ status: "fail" | "pass" | "skip";
2328
+ detail?: string | undefined;
2329
+ duration_ms?: number | undefined;
2330
+ }, {
2331
+ id: string;
2332
+ status: "fail" | "pass" | "skip";
2333
+ detail?: string | undefined;
2334
+ duration_ms?: number | undefined;
2335
+ }>, "many">>;
2336
+ reasons: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2337
+ authSources: z.ZodDefault<z.ZodArray<z.ZodObject<{
2338
+ source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
2339
+ availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
2340
+ verification: z.ZodEnum<["passed", "failed", "not_run"]>;
2341
+ detail: z.ZodOptional<z.ZodString>;
2342
+ }, "strict", z.ZodTypeAny, {
2343
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2344
+ availability: "available" | "unavailable" | "unknown";
2345
+ verification: "failed" | "not_run" | "passed";
2346
+ detail?: string | undefined;
2347
+ }, {
2348
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2349
+ availability: "available" | "unavailable" | "unknown";
2350
+ verification: "failed" | "not_run" | "passed";
2351
+ detail?: string | undefined;
2352
+ }>, "many">>;
2353
+ readiness: z.ZodDefault<z.ZodArray<z.ZodObject<{
2354
+ id: z.ZodString;
2355
+ kind: z.ZodEnum<["binary", "auth", "smoke", "model", "probe"]>;
2356
+ title: z.ZodString;
2357
+ status: z.ZodEnum<["pass", "fail", "skip"]>;
2358
+ detail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2359
+ }, "strip", z.ZodTypeAny, {
2360
+ id: string;
2361
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
2362
+ title: string;
2363
+ status: "fail" | "pass" | "skip";
2364
+ detail: string | null;
2365
+ }, {
2366
+ id: string;
2367
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
2368
+ title: string;
2369
+ status: "fail" | "pass" | "skip";
2370
+ detail?: string | null | undefined;
2371
+ }>, "many">>;
2372
+ configuredModel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2373
+ configuredModelCheck: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2374
+ status: z.ZodEnum<["ok", "rejected"]>;
2375
+ message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2376
+ }, "strip", z.ZodTypeAny, {
2377
+ status: "ok" | "rejected";
2378
+ message: string | null;
2379
+ }, {
2380
+ status: "ok" | "rejected";
2381
+ message?: string | null | undefined;
2382
+ }>>>;
2383
+ delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
2384
+ available: z.ZodBoolean;
2385
+ reason: z.ZodEnum<["ready", "runtime_unavailable", "manifest_unsupported"]>;
2386
+ remediation: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2387
+ requiresFullAccess: z.ZodDefault<z.ZodBoolean>;
2388
+ }, "strict", z.ZodTypeAny, {
2389
+ available: boolean;
2390
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
2391
+ remediation: string | null;
2392
+ requiresFullAccess: boolean;
2393
+ }, {
2394
+ available: boolean;
2395
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
2396
+ remediation?: string | null | undefined;
2397
+ requiresFullAccess?: boolean | undefined;
2398
+ }>, {
2399
+ available: boolean;
2400
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
2401
+ remediation: string | null;
2402
+ requiresFullAccess: boolean;
2403
+ }, {
2404
+ available: boolean;
2405
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
2406
+ remediation?: string | null | undefined;
2407
+ requiresFullAccess?: boolean | undefined;
2408
+ }>>>;
2409
+ }, "strip", z.ZodTypeAny, {
2410
+ id: string;
2411
+ status: "degraded" | "ok" | "unavailable";
2412
+ manifest?: {
2413
+ id: string;
2414
+ display_name: string;
2415
+ kind: "fake" | "local_cli" | "remote_api";
2416
+ version?: string | undefined;
2417
+ adapter_version?: string | undefined;
2418
+ provider_family: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai";
2419
+ capability_profile: {
2420
+ auth: {
2421
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
2422
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
2423
+ credential_transports: {
2424
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2425
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
2426
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
2427
+ }[];
2428
+ };
2429
+ access_control: {
2430
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
2431
+ };
2432
+ isolation: {
2433
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
2434
+ };
2435
+ attachment_inputs: {
2436
+ kind: "file" | "image";
2437
+ mime_types: string[];
2438
+ max_bytes: number;
2439
+ max_count: number;
2440
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
2441
+ }[];
2442
+ mcp_injection: boolean;
2443
+ mcp_injection_requires_full_access: boolean;
2444
+ };
2445
+ capabilities: {
2446
+ plan: boolean;
2447
+ implement: boolean;
2448
+ implementation_transport: "git_patch_envelope" | "workspace";
2449
+ create_from_scratch: boolean;
2450
+ review: boolean;
2451
+ verify: boolean;
2452
+ synthesize: boolean;
2453
+ read_files: boolean;
2454
+ browser_tool: boolean;
2455
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
2456
+ max_turns: boolean;
2457
+ tool_lists: boolean;
2458
+ interactive: boolean;
2459
+ json_schema_output: boolean;
2460
+ work_report_transport: "constrained" | "unsupported" | "validated";
2461
+ structured_output_channel: "final_message" | "side_tool";
2462
+ effort_levels: string[];
2463
+ model_effort_levels: Record<string, {
2464
+ levels: string[];
2465
+ default: string | null;
2466
+ }>;
2467
+ effort_levels_verified_against: string | null;
2468
+ known_models: (string | {
2469
+ id: string;
2470
+ routes: ("api_key" | "local_session")[];
2471
+ })[];
2472
+ known_models_verified_against: string | null;
2473
+ };
2474
+ auth_modes: ("api_key" | "local_session" | "none")[];
2475
+ access_profiles_supported: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[];
2476
+ } | null | undefined;
2477
+ enabledIntents: string[];
2478
+ routableIntents: string[];
2479
+ disabledIntents: string[];
2480
+ checks: {
2481
+ id: string;
2482
+ status: "fail" | "pass" | "skip";
2483
+ detail?: string | undefined;
2484
+ duration_ms?: number | undefined;
2485
+ }[];
2486
+ reasons: string[];
2487
+ authSources: {
2488
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2489
+ availability: "available" | "unavailable" | "unknown";
2490
+ verification: "failed" | "not_run" | "passed";
2491
+ detail?: string | undefined;
2492
+ }[];
2493
+ readiness: {
2494
+ id: string;
2495
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
2496
+ title: string;
2497
+ status: "fail" | "pass" | "skip";
2498
+ detail: string | null;
2499
+ }[];
2500
+ configuredModel: string | null;
2501
+ configuredModelCheck: {
2502
+ status: "ok" | "rejected";
2503
+ message: string | null;
2504
+ } | null;
2505
+ delegation: {
2506
+ available: boolean;
2507
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
2508
+ remediation: string | null;
2509
+ requiresFullAccess: boolean;
2510
+ } | null;
2511
+ }, {
2512
+ id: string;
2513
+ status: "degraded" | "ok" | "unavailable";
2514
+ manifest?: {
2515
+ id: string;
2516
+ display_name: string;
2517
+ kind: "fake" | "local_cli" | "remote_api";
2518
+ version?: string | undefined;
2519
+ adapter_version?: string | undefined;
2520
+ provider_family?: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai" | undefined;
2521
+ capability_profile?: {
2522
+ auth?: {
2523
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
2524
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
2525
+ credential_transports?: {
2526
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2527
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
2528
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
2529
+ }[] | undefined;
2530
+ } | undefined;
2531
+ access_control?: {
2532
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
2533
+ } | undefined;
2534
+ isolation?: {
2535
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
2536
+ } | undefined;
2537
+ attachment_inputs?: {
2538
+ kind: "file" | "image";
2539
+ mime_types: string[];
2540
+ max_bytes: number;
2541
+ max_count: number;
2542
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
2543
+ }[] | undefined;
2544
+ mcp_injection?: boolean | undefined;
2545
+ mcp_injection_requires_full_access?: boolean | undefined;
2546
+ } | undefined;
2547
+ capabilities: {
2548
+ plan?: boolean | undefined;
2549
+ implement?: boolean | undefined;
2550
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
2551
+ create_from_scratch?: boolean | undefined;
2552
+ review?: boolean | undefined;
2553
+ verify?: boolean | undefined;
2554
+ synthesize?: boolean | undefined;
2555
+ read_files?: boolean | undefined;
2556
+ browser_tool?: boolean | undefined;
2557
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
2558
+ max_turns?: boolean | undefined;
2559
+ tool_lists?: boolean | undefined;
2560
+ interactive?: boolean | undefined;
2561
+ json_schema_output?: boolean | undefined;
2562
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
2563
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
2564
+ effort_levels?: string[] | undefined;
2565
+ model_effort_levels?: Record<string, {
2566
+ levels?: string[] | undefined;
2567
+ default?: string | null | undefined;
2568
+ }> | undefined;
2569
+ effort_levels_verified_against?: string | null | undefined;
2570
+ known_models?: (string | {
2571
+ id: string;
2572
+ routes: ("api_key" | "local_session")[];
2573
+ })[] | undefined;
2574
+ known_models_verified_against?: string | null | undefined;
2575
+ };
2576
+ auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
2577
+ access_profiles_supported?: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
2578
+ } | null | undefined;
2579
+ enabledIntents?: string[] | undefined;
2580
+ routableIntents?: string[] | undefined;
2581
+ disabledIntents?: string[] | undefined;
2582
+ checks?: {
2583
+ id: string;
2584
+ status: "fail" | "pass" | "skip";
2585
+ detail?: string | undefined;
2586
+ duration_ms?: number | undefined;
2587
+ }[] | undefined;
2588
+ reasons?: string[] | undefined;
2589
+ authSources?: {
2590
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2591
+ availability: "available" | "unavailable" | "unknown";
2592
+ verification: "failed" | "not_run" | "passed";
2593
+ detail?: string | undefined;
2594
+ }[] | undefined;
2595
+ readiness?: {
2596
+ id: string;
2597
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
2598
+ title: string;
2599
+ status: "fail" | "pass" | "skip";
2600
+ detail?: string | null | undefined;
2601
+ }[] | undefined;
2602
+ configuredModel?: string | null | undefined;
2603
+ configuredModelCheck?: {
2604
+ status: "ok" | "rejected";
2605
+ message?: string | null | undefined;
2606
+ } | null | undefined;
2607
+ delegation?: {
2608
+ available: boolean;
2609
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
2610
+ remediation?: string | null | undefined;
2611
+ requiresFullAccess?: boolean | undefined;
2612
+ } | null | undefined;
2613
+ }>, "many">;
2614
+ git: z.ZodObject<{
2615
+ status: z.ZodEnum<["available", "missing", "developer_tools_stub", "failed"]>;
2616
+ version: z.ZodNullable<z.ZodString>;
2617
+ detail: z.ZodNullable<z.ZodString>;
2618
+ remediation: z.ZodNullable<z.ZodString>;
2619
+ }, "strict", z.ZodTypeAny, {
2620
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
2621
+ version: string | null;
2622
+ detail: string | null;
2623
+ remediation: string | null;
2624
+ }, {
2625
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
2626
+ version: string | null;
2627
+ detail: string | null;
2628
+ remediation: string | null;
2629
+ }>;
2630
+ quota: z.ZodObject<{
2631
+ snapshots: z.ZodArray<z.ZodObject<{
2632
+ subject: z.ZodObject<{
2633
+ harness: z.ZodString;
2634
+ credential_route: z.ZodEnum<["vendor_native", "managed_api_key", "local"]>;
2635
+ plan_label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2636
+ subject_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2637
+ }, "strict", z.ZodTypeAny, {
2638
+ harness: string;
2639
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2640
+ plan_label: string | null;
2641
+ subject_id: string | null;
2642
+ }, {
2643
+ harness: string;
2644
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2645
+ plan_label?: string | null | undefined;
2646
+ subject_id?: string | null | undefined;
2647
+ }>;
2648
+ constraints: z.ZodArray<z.ZodObject<{
2649
+ id: z.ZodString;
2650
+ label: z.ZodString;
2651
+ applies_to_models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2652
+ used_ratio: z.ZodNullable<z.ZodNumber>;
2653
+ window_seconds: z.ZodNullable<z.ZodNumber>;
2654
+ resets_at: z.ZodNullable<z.ZodString>;
2655
+ cooldown_until: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2656
+ }, "strict", z.ZodTypeAny, {
2657
+ id: string;
2658
+ label: string;
2659
+ applies_to_models?: string[] | null | undefined;
2660
+ used_ratio: number | null;
2661
+ window_seconds: number | null;
2662
+ resets_at: string | null;
2663
+ cooldown_until: string | null;
2664
+ }, {
2665
+ id: string;
2666
+ label: string;
2667
+ applies_to_models?: string[] | null | undefined;
2668
+ used_ratio: number | null;
2669
+ window_seconds: number | null;
2670
+ resets_at: string | null;
2671
+ cooldown_until?: string | null | undefined;
2672
+ }>, "many">;
2673
+ source: z.ZodEnum<["codex_app_server", "codex_rollout", "claude_statusline", "claude_api_retry", "claude_oauth_usage"]>;
2674
+ observed_at: z.ZodString;
2675
+ freshness: z.ZodEnum<["fresh", "stale", "unknown"]>;
2676
+ }, "strict", z.ZodTypeAny, {
2677
+ subject: {
2678
+ harness: string;
2679
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2680
+ plan_label: string | null;
2681
+ subject_id: string | null;
2682
+ };
2683
+ constraints: {
2684
+ id: string;
2685
+ label: string;
2686
+ applies_to_models?: string[] | null | undefined;
2687
+ used_ratio: number | null;
2688
+ window_seconds: number | null;
2689
+ resets_at: string | null;
2690
+ cooldown_until: string | null;
2691
+ }[];
2692
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
2693
+ observed_at: string;
2694
+ freshness: "fresh" | "stale" | "unknown";
2695
+ }, {
2696
+ subject: {
2697
+ harness: string;
2698
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2699
+ plan_label?: string | null | undefined;
2700
+ subject_id?: string | null | undefined;
2701
+ };
2702
+ constraints: {
2703
+ id: string;
2704
+ label: string;
2705
+ applies_to_models?: string[] | null | undefined;
2706
+ used_ratio: number | null;
2707
+ window_seconds: number | null;
2708
+ resets_at: string | null;
2709
+ cooldown_until?: string | null | undefined;
2710
+ }[];
2711
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
2712
+ observed_at: string;
2713
+ freshness: "fresh" | "stale" | "unknown";
2714
+ }>, "many">;
2715
+ absences: z.ZodDefault<z.ZodArray<z.ZodObject<{
2716
+ subject: z.ZodObject<{
2717
+ harness: z.ZodString;
2718
+ credential_route: z.ZodEnum<["vendor_native", "managed_api_key", "local"]>;
2719
+ plan_label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2720
+ subject_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2721
+ }, "strict", z.ZodTypeAny, {
2722
+ harness: string;
2723
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2724
+ plan_label: string | null;
2725
+ subject_id: string | null;
2726
+ }, {
2727
+ harness: string;
2728
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2729
+ plan_label?: string | null | undefined;
2730
+ subject_id?: string | null | undefined;
2731
+ }>;
2732
+ reason: z.ZodEnum<["not_logged_in", "transport_unavailable", "platform_unsupported", "refresh_failed", "no_source"]>;
2733
+ detail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2734
+ observed_at: z.ZodString;
2735
+ }, "strict", z.ZodTypeAny, {
2736
+ subject: {
2737
+ harness: string;
2738
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2739
+ plan_label: string | null;
2740
+ subject_id: string | null;
2741
+ };
2742
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
2743
+ detail: string | null;
2744
+ observed_at: string;
2745
+ }, {
2746
+ subject: {
2747
+ harness: string;
2748
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2749
+ plan_label?: string | null | undefined;
2750
+ subject_id?: string | null | undefined;
2751
+ };
2752
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
2753
+ detail?: string | null | undefined;
2754
+ observed_at: string;
2755
+ }>, "many">>;
2756
+ refreshed_at: z.ZodNullable<z.ZodString>;
2757
+ }, "strict", z.ZodTypeAny, {
2758
+ snapshots: {
2759
+ subject: {
2760
+ harness: string;
2761
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2762
+ plan_label: string | null;
2763
+ subject_id: string | null;
2764
+ };
2765
+ constraints: {
2766
+ id: string;
2767
+ label: string;
2768
+ applies_to_models?: string[] | null | undefined;
2769
+ used_ratio: number | null;
2770
+ window_seconds: number | null;
2771
+ resets_at: string | null;
2772
+ cooldown_until: string | null;
2773
+ }[];
2774
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
2775
+ observed_at: string;
2776
+ freshness: "fresh" | "stale" | "unknown";
2777
+ }[];
2778
+ absences: {
2779
+ subject: {
2780
+ harness: string;
2781
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2782
+ plan_label: string | null;
2783
+ subject_id: string | null;
2784
+ };
2785
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
2786
+ detail: string | null;
2787
+ observed_at: string;
2788
+ }[];
2789
+ refreshed_at: string | null;
2790
+ }, {
2791
+ snapshots: {
2792
+ subject: {
2793
+ harness: string;
2794
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2795
+ plan_label?: string | null | undefined;
2796
+ subject_id?: string | null | undefined;
2797
+ };
2798
+ constraints: {
2799
+ id: string;
2800
+ label: string;
2801
+ applies_to_models?: string[] | null | undefined;
2802
+ used_ratio: number | null;
2803
+ window_seconds: number | null;
2804
+ resets_at: string | null;
2805
+ cooldown_until?: string | null | undefined;
2806
+ }[];
2807
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
2808
+ observed_at: string;
2809
+ freshness: "fresh" | "stale" | "unknown";
2810
+ }[];
2811
+ absences?: {
2812
+ subject: {
2813
+ harness: string;
2814
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2815
+ plan_label?: string | null | undefined;
2816
+ subject_id?: string | null | undefined;
2817
+ };
2818
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
2819
+ detail?: string | null | undefined;
2820
+ observed_at: string;
2821
+ }[] | undefined;
2822
+ refreshed_at: string | null;
2823
+ }>;
2824
+ quotaEventCursor: z.ZodString;
2825
+ }, "strict", z.ZodTypeAny, {
2826
+ profiles: {
2827
+ profile: {
2828
+ profile_id: string;
2829
+ harness_id: string;
2830
+ display_name: string;
2831
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
2832
+ isolation_locator: string | null;
2833
+ secret_ref: string | null;
2834
+ enabled: boolean;
2835
+ created_at: string | null;
2836
+ };
2837
+ status: {
2838
+ profile_id: string;
2839
+ harness_id: string;
2840
+ availability: "available" | "unavailable" | "unknown";
2841
+ verification: "failed" | "not_run" | "passed";
2842
+ detail?: string | undefined;
2843
+ last_verified_at: string | null;
2844
+ };
2845
+ identity: {
2846
+ email?: string | undefined;
2847
+ plan?: string | undefined;
2848
+ } | null;
2849
+ }[];
2850
+ harnessAccounts: {
2851
+ harness_id: string;
2852
+ native_credentials_enabled: boolean;
2853
+ native_login_detected: boolean;
2854
+ identity: {
2855
+ email?: string | undefined;
2856
+ plan?: string | undefined;
2857
+ } | null;
2858
+ next_up: {
2859
+ kind: "profile";
2860
+ profileId: string;
2861
+ } | {
2862
+ kind: "native";
2863
+ route?: "api_key" | "local_session" | undefined;
2864
+ } | {
2865
+ kind: "none";
2866
+ reason: string;
2867
+ };
2868
+ }[];
2869
+ harnesses: {
2870
+ id: string;
2871
+ status: "degraded" | "ok" | "unavailable";
2872
+ manifest?: {
2873
+ id: string;
2874
+ display_name: string;
2875
+ kind: "fake" | "local_cli" | "remote_api";
2876
+ version?: string | undefined;
2877
+ adapter_version?: string | undefined;
2878
+ provider_family: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai";
2879
+ capability_profile: {
2880
+ auth: {
2881
+ supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
2882
+ preferred_source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
2883
+ credential_transports: {
2884
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2885
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
2886
+ relocatable_by: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[];
2887
+ }[];
2888
+ };
2889
+ access_control: {
2890
+ readonly_mechanism: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist";
2891
+ };
2892
+ isolation: {
2893
+ supported_containment: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[];
2894
+ };
2895
+ attachment_inputs: {
2896
+ kind: "file" | "image";
2897
+ mime_types: string[];
2898
+ max_bytes: number;
2899
+ max_count: number;
2900
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
2901
+ }[];
2902
+ mcp_injection: boolean;
2903
+ mcp_injection_requires_full_access: boolean;
2904
+ };
2905
+ capabilities: {
2906
+ plan: boolean;
2907
+ implement: boolean;
2908
+ implementation_transport: "git_patch_envelope" | "workspace";
2909
+ create_from_scratch: boolean;
2910
+ review: boolean;
2911
+ verify: boolean;
2912
+ synthesize: boolean;
2913
+ read_files: boolean;
2914
+ browser_tool: boolean;
2915
+ web_policy: "native" | "none" | "tools" | "uncontrolled";
2916
+ max_turns: boolean;
2917
+ tool_lists: boolean;
2918
+ interactive: boolean;
2919
+ json_schema_output: boolean;
2920
+ work_report_transport: "constrained" | "unsupported" | "validated";
2921
+ structured_output_channel: "final_message" | "side_tool";
2922
+ effort_levels: string[];
2923
+ model_effort_levels: Record<string, {
2924
+ levels: string[];
2925
+ default: string | null;
2926
+ }>;
2927
+ effort_levels_verified_against: string | null;
2928
+ known_models: (string | {
2929
+ id: string;
2930
+ routes: ("api_key" | "local_session")[];
2931
+ })[];
2932
+ known_models_verified_against: string | null;
2933
+ };
2934
+ auth_modes: ("api_key" | "local_session" | "none")[];
2935
+ access_profiles_supported: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[];
2936
+ } | null | undefined;
2937
+ enabledIntents: string[];
2938
+ routableIntents: string[];
2939
+ disabledIntents: string[];
2940
+ checks: {
2941
+ id: string;
2942
+ status: "fail" | "pass" | "skip";
2943
+ detail?: string | undefined;
2944
+ duration_ms?: number | undefined;
2945
+ }[];
2946
+ reasons: string[];
2947
+ authSources: {
2948
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
2949
+ availability: "available" | "unavailable" | "unknown";
2950
+ verification: "failed" | "not_run" | "passed";
2951
+ detail?: string | undefined;
2952
+ }[];
2953
+ readiness: {
2954
+ id: string;
2955
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
2956
+ title: string;
2957
+ status: "fail" | "pass" | "skip";
2958
+ detail: string | null;
2959
+ }[];
2960
+ configuredModel: string | null;
2961
+ configuredModelCheck: {
2962
+ status: "ok" | "rejected";
2963
+ message: string | null;
2964
+ } | null;
2965
+ delegation: {
2966
+ available: boolean;
2967
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
2968
+ remediation: string | null;
2969
+ requiresFullAccess: boolean;
2970
+ } | null;
2971
+ }[];
2972
+ git: {
2973
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
2974
+ version: string | null;
2975
+ detail: string | null;
2976
+ remediation: string | null;
2977
+ };
2978
+ quota: {
2979
+ snapshots: {
2980
+ subject: {
2981
+ harness: string;
2982
+ credential_route: "local" | "managed_api_key" | "vendor_native";
2983
+ plan_label: string | null;
2984
+ subject_id: string | null;
2985
+ };
2986
+ constraints: {
2987
+ id: string;
2988
+ label: string;
2989
+ applies_to_models?: string[] | null | undefined;
2990
+ used_ratio: number | null;
2991
+ window_seconds: number | null;
2992
+ resets_at: string | null;
2993
+ cooldown_until: string | null;
2994
+ }[];
2995
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
2996
+ observed_at: string;
2997
+ freshness: "fresh" | "stale" | "unknown";
2998
+ }[];
2999
+ absences: {
3000
+ subject: {
3001
+ harness: string;
3002
+ credential_route: "local" | "managed_api_key" | "vendor_native";
3003
+ plan_label: string | null;
3004
+ subject_id: string | null;
3005
+ };
3006
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
3007
+ detail: string | null;
3008
+ observed_at: string;
3009
+ }[];
3010
+ refreshed_at: string | null;
3011
+ };
3012
+ quotaEventCursor: string;
3013
+ }, {
3014
+ profiles: {
3015
+ profile: {
3016
+ profile_id: string;
3017
+ harness_id: string;
3018
+ display_name: string;
3019
+ credential_kind: "api_key" | "config_dir_login" | "oauth_token";
3020
+ isolation_locator?: string | null | undefined;
3021
+ secret_ref?: string | null | undefined;
3022
+ enabled?: boolean | undefined;
3023
+ created_at?: string | null | undefined;
3024
+ };
3025
+ status: {
3026
+ profile_id: string;
3027
+ harness_id: string;
3028
+ availability: "available" | "unavailable" | "unknown";
3029
+ verification: "failed" | "not_run" | "passed";
3030
+ detail?: string | undefined;
3031
+ last_verified_at?: string | null | undefined;
3032
+ };
3033
+ identity?: {
3034
+ email?: string | undefined;
3035
+ plan?: string | undefined;
3036
+ } | null | undefined;
3037
+ }[];
3038
+ harnessAccounts?: {
3039
+ harness_id: string;
3040
+ native_credentials_enabled: boolean;
3041
+ native_login_detected: boolean;
3042
+ identity?: {
3043
+ email?: string | undefined;
3044
+ plan?: string | undefined;
3045
+ } | null | undefined;
3046
+ next_up: {
3047
+ kind: "profile";
3048
+ profileId: string;
3049
+ } | {
3050
+ kind: "native";
3051
+ route?: "api_key" | "local_session" | undefined;
3052
+ } | {
3053
+ kind: "none";
3054
+ reason: string;
3055
+ };
3056
+ }[] | undefined;
3057
+ harnesses: {
3058
+ id: string;
3059
+ status: "degraded" | "ok" | "unavailable";
3060
+ manifest?: {
3061
+ id: string;
3062
+ display_name: string;
3063
+ kind: "fake" | "local_cli" | "remote_api";
3064
+ version?: string | undefined;
3065
+ adapter_version?: string | undefined;
3066
+ provider_family?: "anthropic" | "cursor" | "google" | "local" | "openai" | "opencode" | "unknown" | "xai" | undefined;
3067
+ capability_profile?: {
3068
+ auth?: {
3069
+ supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
3070
+ preferred_source?: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null | undefined;
3071
+ credential_transports?: {
3072
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
3073
+ kind: "config_file" | "env_var" | "http_header" | "none" | "oauth_token_env" | "os_keychain";
3074
+ relocatable_by?: ("CONFIG_DIR" | "ENV" | "HOME" | "none")[] | undefined;
3075
+ }[] | undefined;
3076
+ } | undefined;
3077
+ access_control?: {
3078
+ readonly_mechanism?: "fs_sandbox" | "none" | "permission_deny" | "tool_allowlist" | undefined;
3079
+ } | undefined;
3080
+ isolation?: {
3081
+ supported_containment?: ("container" | "env_or_file_injection" | "host_user_context" | "process_sandbox" | "scoped_home_keychain_bridge")[] | undefined;
3082
+ } | undefined;
3083
+ attachment_inputs?: {
3084
+ kind: "file" | "image";
3085
+ mime_types: string[];
3086
+ max_bytes: number;
3087
+ max_count: number;
3088
+ transport: "base64_inline" | "base64_stream" | "file_path" | "text_inline";
3089
+ }[] | undefined;
3090
+ mcp_injection?: boolean | undefined;
3091
+ mcp_injection_requires_full_access?: boolean | undefined;
3092
+ } | undefined;
3093
+ capabilities: {
3094
+ plan?: boolean | undefined;
3095
+ implement?: boolean | undefined;
3096
+ implementation_transport?: "git_patch_envelope" | "workspace" | undefined;
3097
+ create_from_scratch?: boolean | undefined;
3098
+ review?: boolean | undefined;
3099
+ verify?: boolean | undefined;
3100
+ synthesize?: boolean | undefined;
3101
+ read_files?: boolean | undefined;
3102
+ browser_tool?: boolean | undefined;
3103
+ web_policy?: "native" | "none" | "tools" | "uncontrolled" | undefined;
3104
+ max_turns?: boolean | undefined;
3105
+ tool_lists?: boolean | undefined;
3106
+ interactive?: boolean | undefined;
3107
+ json_schema_output?: boolean | undefined;
3108
+ work_report_transport?: "constrained" | "unsupported" | "validated" | undefined;
3109
+ structured_output_channel?: "final_message" | "side_tool" | undefined;
3110
+ effort_levels?: string[] | undefined;
3111
+ model_effort_levels?: Record<string, {
3112
+ levels?: string[] | undefined;
3113
+ default?: string | null | undefined;
3114
+ }> | undefined;
3115
+ effort_levels_verified_against?: string | null | undefined;
3116
+ known_models?: (string | {
3117
+ id: string;
3118
+ routes: ("api_key" | "local_session")[];
3119
+ })[] | undefined;
3120
+ known_models_verified_against?: string | null | undefined;
3121
+ };
3122
+ auth_modes?: ("api_key" | "local_session" | "none")[] | undefined;
3123
+ access_profiles_supported?: ("external_sandbox_full" | "full" | "inherit_native" | "readonly" | "workspace_write")[] | undefined;
3124
+ } | null | undefined;
3125
+ enabledIntents?: string[] | undefined;
3126
+ routableIntents?: string[] | undefined;
3127
+ disabledIntents?: string[] | undefined;
3128
+ checks?: {
3129
+ id: string;
3130
+ status: "fail" | "pass" | "skip";
3131
+ detail?: string | undefined;
3132
+ duration_ms?: number | undefined;
3133
+ }[] | undefined;
3134
+ reasons?: string[] | undefined;
3135
+ authSources?: {
3136
+ source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
3137
+ availability: "available" | "unavailable" | "unknown";
3138
+ verification: "failed" | "not_run" | "passed";
3139
+ detail?: string | undefined;
3140
+ }[] | undefined;
3141
+ readiness?: {
3142
+ id: string;
3143
+ kind: "auth" | "binary" | "model" | "probe" | "smoke";
3144
+ title: string;
3145
+ status: "fail" | "pass" | "skip";
3146
+ detail?: string | null | undefined;
3147
+ }[] | undefined;
3148
+ configuredModel?: string | null | undefined;
3149
+ configuredModelCheck?: {
3150
+ status: "ok" | "rejected";
3151
+ message?: string | null | undefined;
3152
+ } | null | undefined;
3153
+ delegation?: {
3154
+ available: boolean;
3155
+ reason: "manifest_unsupported" | "ready" | "runtime_unavailable";
3156
+ remediation?: string | null | undefined;
3157
+ requiresFullAccess?: boolean | undefined;
3158
+ } | null | undefined;
3159
+ }[];
3160
+ git: {
3161
+ status: "available" | "developer_tools_stub" | "failed" | "missing";
3162
+ version: string | null;
3163
+ detail: string | null;
3164
+ remediation: string | null;
3165
+ };
3166
+ quota: {
3167
+ snapshots: {
3168
+ subject: {
3169
+ harness: string;
3170
+ credential_route: "local" | "managed_api_key" | "vendor_native";
3171
+ plan_label?: string | null | undefined;
3172
+ subject_id?: string | null | undefined;
3173
+ };
3174
+ constraints: {
3175
+ id: string;
3176
+ label: string;
3177
+ applies_to_models?: string[] | null | undefined;
3178
+ used_ratio: number | null;
3179
+ window_seconds: number | null;
3180
+ resets_at: string | null;
3181
+ cooldown_until?: string | null | undefined;
3182
+ }[];
3183
+ source: "claude_api_retry" | "claude_oauth_usage" | "claude_statusline" | "codex_app_server" | "codex_rollout";
3184
+ observed_at: string;
3185
+ freshness: "fresh" | "stale" | "unknown";
3186
+ }[];
3187
+ absences?: {
3188
+ subject: {
3189
+ harness: string;
3190
+ credential_route: "local" | "managed_api_key" | "vendor_native";
3191
+ plan_label?: string | null | undefined;
3192
+ subject_id?: string | null | undefined;
3193
+ };
3194
+ reason: "no_source" | "not_logged_in" | "platform_unsupported" | "refresh_failed" | "transport_unavailable";
3195
+ detail?: string | null | undefined;
3196
+ observed_at: string;
3197
+ }[] | undefined;
3198
+ refreshed_at: string | null;
3199
+ };
3200
+ quotaEventCursor: string;
3201
+ }>]>;
3202
+ export type ControlCredentialProfilesQueryResponse = z.infer<typeof ControlCredentialProfilesQueryResponse>;
3203
+ //# sourceMappingURL=credential-profile-snapshot.d.ts.map