@claudexor/schema 3.10.4 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/dist/agent-capabilities.d.ts +24 -0
  2. package/dist/agent-capabilities.d.ts.map +1 -1
  3. package/dist/agent-capabilities.js +5 -0
  4. package/dist/agent-capabilities.js.map +1 -1
  5. package/dist/attempt-execution.d.ts +112 -0
  6. package/dist/attempt-execution.d.ts.map +1 -0
  7. package/dist/attempt-execution.js +15 -0
  8. package/dist/attempt-execution.js.map +1 -0
  9. package/dist/budget.d.ts +76 -0
  10. package/dist/budget.d.ts.map +1 -1
  11. package/dist/budget.js +12 -0
  12. package/dist/budget.js.map +1 -1
  13. package/dist/control-harness-list.d.ts +18 -0
  14. package/dist/control-harness-list.d.ts.map +1 -1
  15. package/dist/control-harness-models.d.ts +1042 -0
  16. package/dist/control-harness-models.d.ts.map +1 -0
  17. package/dist/control-harness-models.js +47 -0
  18. package/dist/control-harness-models.js.map +1 -0
  19. package/dist/control-operation-responses.d.ts +73 -21
  20. package/dist/control-operation-responses.d.ts.map +1 -1
  21. package/dist/control-operation-responses.js +6 -0
  22. package/dist/control-operation-responses.js.map +1 -1
  23. package/dist/control-run-detail.d.ts +270 -85
  24. package/dist/control-run-detail.d.ts.map +1 -1
  25. package/dist/control-run-detail.js +12 -1
  26. package/dist/control-run-detail.js.map +1 -1
  27. package/dist/control-run-execution.d.ts +6 -0
  28. package/dist/control-run-execution.d.ts.map +1 -1
  29. package/dist/control-run-execution.js +6 -0
  30. package/dist/control-run-execution.js.map +1 -1
  31. package/dist/control-thread-apply.d.ts +12 -0
  32. package/dist/control-thread-apply.d.ts.map +1 -1
  33. package/dist/control.d.ts +181 -146
  34. package/dist/control.d.ts.map +1 -1
  35. package/dist/control.js +25 -33
  36. package/dist/control.js.map +1 -1
  37. package/dist/credential-profile-snapshot.d.ts +36 -0
  38. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  39. package/dist/decision.d.ts +16 -8
  40. package/dist/decision.d.ts.map +1 -1
  41. package/dist/decision.js +5 -0
  42. package/dist/decision.js.map +1 -1
  43. package/dist/delivery.d.ts +8 -0
  44. package/dist/delivery.d.ts.map +1 -1
  45. package/dist/delivery.js +1 -0
  46. package/dist/delivery.js.map +1 -1
  47. package/dist/files-manifest.d.ts +501 -0
  48. package/dist/files-manifest.d.ts.map +1 -0
  49. package/dist/files-manifest.js +77 -0
  50. package/dist/files-manifest.js.map +1 -0
  51. package/dist/harness-model.d.ts +86 -0
  52. package/dist/harness-model.d.ts.map +1 -0
  53. package/dist/harness-model.js +34 -0
  54. package/dist/harness-model.js.map +1 -0
  55. package/dist/harness.d.ts +183 -27
  56. package/dist/harness.d.ts.map +1 -1
  57. package/dist/harness.js +19 -31
  58. package/dist/harness.js.map +1 -1
  59. package/dist/index.d.ts +3 -0
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.js +3 -0
  62. package/dist/index.js.map +1 -1
  63. package/dist/mcp-run-result.d.ts +379 -56
  64. package/dist/mcp-run-result.d.ts.map +1 -1
  65. package/dist/mcp-run-result.js +3 -0
  66. package/dist/mcp-run-result.js.map +1 -1
  67. package/dist/model-operation.d.ts +1371 -0
  68. package/dist/model-operation.d.ts.map +1 -1
  69. package/dist/model-operation.js +36 -0
  70. package/dist/model-operation.js.map +1 -1
  71. package/dist/processing.d.ts +94 -0
  72. package/dist/processing.d.ts.map +1 -0
  73. package/dist/processing.js +45 -0
  74. package/dist/processing.js.map +1 -0
  75. package/dist/readiness.d.ts +14 -0
  76. package/dist/readiness.d.ts.map +1 -1
  77. package/dist/run-facts.d.ts +28 -28
  78. package/dist/run-facts.js +4 -4
  79. package/dist/run-facts.js.map +1 -1
  80. package/dist/run-strategy.d.ts +1 -0
  81. package/dist/run-strategy.d.ts.map +1 -1
  82. package/dist/run-strategy.js +2 -0
  83. package/dist/run-strategy.js.map +1 -1
  84. package/dist/status-projection.d.ts.map +1 -1
  85. package/dist/status-projection.js +3 -1
  86. package/dist/status-projection.js.map +1 -1
  87. package/dist/surface-run-controls.d.ts.map +1 -1
  88. package/dist/surface-run-controls.js +22 -1
  89. package/dist/surface-run-controls.js.map +1 -1
  90. package/dist/task.d.ts +9 -0
  91. package/dist/task.d.ts.map +1 -1
  92. package/dist/task.js +2 -0
  93. package/dist/task.js.map +1 -1
  94. package/dist/telemetry.d.ts +263 -41
  95. package/dist/telemetry.d.ts.map +1 -1
  96. package/dist/telemetry.js +5 -8
  97. package/dist/telemetry.js.map +1 -1
  98. package/dist/workproduct.d.ts +4 -4
  99. package/dist/workproduct.d.ts.map +1 -1
  100. package/dist/workproduct.js +4 -4
  101. package/dist/workproduct.js.map +1 -1
  102. package/dist/workspace.d.ts +14 -11
  103. package/dist/workspace.d.ts.map +1 -1
  104. package/dist/workspace.js +14 -9
  105. package/dist/workspace.js.map +1 -1
  106. package/generated/AgentCapabilityCatalog.schema.json +25 -0
  107. package/generated/AttemptExecutionEvidence.schema.json +187 -0
  108. package/generated/BudgetLease.schema.json +39 -0
  109. package/generated/ControlApplyCheckRequest.schema.json +7 -0
  110. package/generated/ControlApplyRequest.schema.json +7 -0
  111. package/generated/ControlCredentialProfilesQueryResponse.schema.json +25 -0
  112. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +25 -0
  113. package/generated/ControlDeliveryResponse.schema.json +10 -0
  114. package/generated/ControlHarnessAccountCatalog.schema.json +208 -0
  115. package/generated/ControlHarnessAccountModelsResponse.schema.json +320 -0
  116. package/generated/ControlHarnessListResponse.schema.json +25 -0
  117. package/generated/ControlHarnessModelsQueryResponse.schema.json +347 -0
  118. package/generated/ControlHarnessModelsResponse.schema.json +89 -0
  119. package/generated/ControlModelAccountCatalogResponse.schema.json +339 -0
  120. package/generated/ControlModelCatalogQueryResponse.schema.json +346 -0
  121. package/generated/ControlModelCatalogResponse.schema.json +86 -0
  122. package/generated/ControlModelOperationDetail.schema.json +39 -0
  123. package/generated/ControlModelSourcesAccountsResponse.schema.json +61 -0
  124. package/generated/ControlModelSourcesQueryResponse.schema.json +98 -0
  125. package/generated/ControlRunAgainDraft.schema.json +29 -0
  126. package/generated/ControlRunDecisionRequest.schema.json +4 -3
  127. package/generated/ControlRunDecisionResponse.schema.json +2 -1
  128. package/generated/ControlRunDetail.schema.json +234 -28
  129. package/generated/ControlRunListResponse.schema.json +18 -4
  130. package/generated/ControlRunStartRequest.schema.json +29 -0
  131. package/generated/ControlRunSummary.schema.json +18 -4
  132. package/generated/ControlThreadApplyResponse.schema.json +10 -0
  133. package/generated/ControlThreadDetail.schema.json +9 -4
  134. package/generated/ControlThreadTurnRequest.schema.json +45 -0
  135. package/generated/DecisionRecord.schema.json +8 -1
  136. package/generated/HarnessEvent.schema.json +146 -0
  137. package/generated/HarnessManifest.schema.json +25 -0
  138. package/generated/HarnessModel.schema.json +89 -0
  139. package/generated/HarnessStatusDto.schema.json +25 -0
  140. package/generated/McpRunHandleResult.schema.json +205 -9
  141. package/generated/McpRunToolResult.schema.json +196 -9
  142. package/generated/ModelCallRequest.schema.json +9 -0
  143. package/generated/ModelCallResult.schema.json +124 -0
  144. package/generated/ProcessingCapability.schema.json +95 -0
  145. package/generated/ProcessingCostBasis.schema.json +45 -0
  146. package/generated/ProcessingPreference.schema.json +15 -0
  147. package/generated/ProcessingReceipt.schema.json +94 -0
  148. package/generated/RunFacts.schema.json +6 -1
  149. package/generated/RunTelemetry.schema.json +168 -1
  150. package/generated/TaskContract.schema.json +9 -0
  151. package/generated/UsageCostBasis.schema.json +31 -0
  152. package/generated/UsageCostSummary.schema.json +44 -0
  153. package/generated/WorkProduct.schema.json +4 -3
  154. package/generated/WorkspaceEnvelope.schema.json +25 -5
  155. package/generated/WorkspaceFilesManifest.schema.json +160 -0
  156. package/generated/WorkspaceKind.schema.json +13 -0
  157. package/package.json +2 -2
@@ -0,0 +1,1042 @@
1
+ import { z } from "zod/v3";
2
+ /**
3
+ * Models enumerable for one harness. `source` is honest about provenance:
4
+ * "api" when the adapter implemented a real enumeration (raw-api / OpenAI
5
+ * `GET /v1/models`), "manifest" when the list is the manifest's known-good
6
+ * hint set, "none" when the harness has no model truth source at all (the
7
+ * list is then empty and explicit models are refused under strict model-truth validation).
8
+ */
9
+ export declare const ControlHarnessModelsResponse: z.ZodObject<{
10
+ harnessId: z.ZodString;
11
+ models: z.ZodDefault<z.ZodArray<z.ZodObject<{
12
+ processing: z.ZodOptional<z.ZodObject<{
13
+ modes: z.ZodNullable<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
14
+ nativeModes: z.ZodArray<z.ZodObject<{
15
+ mode: z.ZodEnum<["standard", "fast", "economy"]>;
16
+ id: z.ZodString;
17
+ }, "strict", z.ZodTypeAny, {
18
+ mode: "economy" | "fast" | "standard";
19
+ id: string;
20
+ }, {
21
+ mode: "economy" | "fast" | "standard";
22
+ id: string;
23
+ }>, "many">;
24
+ defaultNativeMode: z.ZodNullable<z.ZodString>;
25
+ eligible: z.ZodNullable<z.ZodBoolean>;
26
+ source: z.ZodString;
27
+ observedAt: z.ZodNullable<z.ZodString>;
28
+ }, "strict", z.ZodTypeAny, {
29
+ modes: ("economy" | "fast" | "standard")[] | null;
30
+ nativeModes: {
31
+ mode: "economy" | "fast" | "standard";
32
+ id: string;
33
+ }[];
34
+ defaultNativeMode: string | null;
35
+ eligible: boolean | null;
36
+ source: string;
37
+ observedAt: string | null;
38
+ }, {
39
+ modes: ("economy" | "fast" | "standard")[] | null;
40
+ nativeModes: {
41
+ mode: "economy" | "fast" | "standard";
42
+ id: string;
43
+ }[];
44
+ defaultNativeMode: string | null;
45
+ eligible: boolean | null;
46
+ source: string;
47
+ observedAt: string | null;
48
+ }>>;
49
+ id: z.ZodString;
50
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
51
+ context_window: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
52
+ routes: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ processing?: {
55
+ modes: ("economy" | "fast" | "standard")[] | null;
56
+ nativeModes: {
57
+ mode: "economy" | "fast" | "standard";
58
+ id: string;
59
+ }[];
60
+ defaultNativeMode: string | null;
61
+ eligible: boolean | null;
62
+ source: string;
63
+ observedAt: string | null;
64
+ } | undefined;
65
+ id: string;
66
+ label: string | null;
67
+ context_window: number | null;
68
+ routes: ("api_key" | "local_session")[] | null;
69
+ }, {
70
+ processing?: {
71
+ modes: ("economy" | "fast" | "standard")[] | null;
72
+ nativeModes: {
73
+ mode: "economy" | "fast" | "standard";
74
+ id: string;
75
+ }[];
76
+ defaultNativeMode: string | null;
77
+ eligible: boolean | null;
78
+ source: string;
79
+ observedAt: string | null;
80
+ } | undefined;
81
+ id: string;
82
+ label?: string | null | undefined;
83
+ context_window?: number | null | undefined;
84
+ routes?: ("api_key" | "local_session")[] | null | undefined;
85
+ }>, "many">>;
86
+ source: z.ZodEnum<["api", "manifest", "none"]>;
87
+ /** Freshness note for manifest-sourced lists: the vendor CLI version the
88
+ * known-model hints were last verified against (null for api/none). */
89
+ verifiedAgainst: z.ZodDefault<z.ZodNullable<z.ZodString>>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ harnessId: string;
92
+ models: {
93
+ processing?: {
94
+ modes: ("economy" | "fast" | "standard")[] | null;
95
+ nativeModes: {
96
+ mode: "economy" | "fast" | "standard";
97
+ id: string;
98
+ }[];
99
+ defaultNativeMode: string | null;
100
+ eligible: boolean | null;
101
+ source: string;
102
+ observedAt: string | null;
103
+ } | undefined;
104
+ id: string;
105
+ label: string | null;
106
+ context_window: number | null;
107
+ routes: ("api_key" | "local_session")[] | null;
108
+ }[];
109
+ source: "api" | "manifest" | "none";
110
+ verifiedAgainst: string | null;
111
+ }, {
112
+ harnessId: string;
113
+ models?: {
114
+ processing?: {
115
+ modes: ("economy" | "fast" | "standard")[] | null;
116
+ nativeModes: {
117
+ mode: "economy" | "fast" | "standard";
118
+ id: string;
119
+ }[];
120
+ defaultNativeMode: string | null;
121
+ eligible: boolean | null;
122
+ source: string;
123
+ observedAt: string | null;
124
+ } | undefined;
125
+ id: string;
126
+ label?: string | null | undefined;
127
+ context_window?: number | null | undefined;
128
+ routes?: ("api_key" | "local_session")[] | null | undefined;
129
+ }[] | undefined;
130
+ source: "api" | "manifest" | "none";
131
+ verifiedAgainst?: string | null | undefined;
132
+ }>;
133
+ export type ControlHarnessModelsResponse = z.infer<typeof ControlHarnessModelsResponse>;
134
+ export declare const ControlHarnessAccountCatalog: z.ZodObject<{
135
+ harnessId: z.ZodString;
136
+ models: z.ZodDefault<z.ZodArray<z.ZodObject<{
137
+ processing: z.ZodOptional<z.ZodObject<{
138
+ modes: z.ZodNullable<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
139
+ nativeModes: z.ZodArray<z.ZodObject<{
140
+ mode: z.ZodEnum<["standard", "fast", "economy"]>;
141
+ id: z.ZodString;
142
+ }, "strict", z.ZodTypeAny, {
143
+ mode: "economy" | "fast" | "standard";
144
+ id: string;
145
+ }, {
146
+ mode: "economy" | "fast" | "standard";
147
+ id: string;
148
+ }>, "many">;
149
+ defaultNativeMode: z.ZodNullable<z.ZodString>;
150
+ eligible: z.ZodNullable<z.ZodBoolean>;
151
+ source: z.ZodString;
152
+ observedAt: z.ZodNullable<z.ZodString>;
153
+ }, "strict", z.ZodTypeAny, {
154
+ modes: ("economy" | "fast" | "standard")[] | null;
155
+ nativeModes: {
156
+ mode: "economy" | "fast" | "standard";
157
+ id: string;
158
+ }[];
159
+ defaultNativeMode: string | null;
160
+ eligible: boolean | null;
161
+ source: string;
162
+ observedAt: string | null;
163
+ }, {
164
+ modes: ("economy" | "fast" | "standard")[] | null;
165
+ nativeModes: {
166
+ mode: "economy" | "fast" | "standard";
167
+ id: string;
168
+ }[];
169
+ defaultNativeMode: string | null;
170
+ eligible: boolean | null;
171
+ source: string;
172
+ observedAt: string | null;
173
+ }>>;
174
+ id: z.ZodString;
175
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
176
+ context_window: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
177
+ routes: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ processing?: {
180
+ modes: ("economy" | "fast" | "standard")[] | null;
181
+ nativeModes: {
182
+ mode: "economy" | "fast" | "standard";
183
+ id: string;
184
+ }[];
185
+ defaultNativeMode: string | null;
186
+ eligible: boolean | null;
187
+ source: string;
188
+ observedAt: string | null;
189
+ } | undefined;
190
+ id: string;
191
+ label: string | null;
192
+ context_window: number | null;
193
+ routes: ("api_key" | "local_session")[] | null;
194
+ }, {
195
+ processing?: {
196
+ modes: ("economy" | "fast" | "standard")[] | null;
197
+ nativeModes: {
198
+ mode: "economy" | "fast" | "standard";
199
+ id: string;
200
+ }[];
201
+ defaultNativeMode: string | null;
202
+ eligible: boolean | null;
203
+ source: string;
204
+ observedAt: string | null;
205
+ } | undefined;
206
+ id: string;
207
+ label?: string | null | undefined;
208
+ context_window?: number | null | undefined;
209
+ routes?: ("api_key" | "local_session")[] | null | undefined;
210
+ }>, "many">>;
211
+ source: z.ZodEnum<["api", "manifest", "none"]>;
212
+ /** Freshness note for manifest-sourced lists: the vendor CLI version the
213
+ * known-model hints were last verified against (null for api/none). */
214
+ verifiedAgainst: z.ZodDefault<z.ZodNullable<z.ZodString>>;
215
+ } & {
216
+ credentialProfileId: z.ZodString;
217
+ observedAt: z.ZodNullable<z.ZodString>;
218
+ provenance: z.ZodString;
219
+ }, "strict", z.ZodTypeAny, {
220
+ harnessId: string;
221
+ models: {
222
+ processing?: {
223
+ modes: ("economy" | "fast" | "standard")[] | null;
224
+ nativeModes: {
225
+ mode: "economy" | "fast" | "standard";
226
+ id: string;
227
+ }[];
228
+ defaultNativeMode: string | null;
229
+ eligible: boolean | null;
230
+ source: string;
231
+ observedAt: string | null;
232
+ } | undefined;
233
+ id: string;
234
+ label: string | null;
235
+ context_window: number | null;
236
+ routes: ("api_key" | "local_session")[] | null;
237
+ }[];
238
+ source: "api" | "manifest" | "none";
239
+ verifiedAgainst: string | null;
240
+ credentialProfileId: string;
241
+ observedAt: string | null;
242
+ provenance: string;
243
+ }, {
244
+ harnessId: string;
245
+ models?: {
246
+ processing?: {
247
+ modes: ("economy" | "fast" | "standard")[] | null;
248
+ nativeModes: {
249
+ mode: "economy" | "fast" | "standard";
250
+ id: string;
251
+ }[];
252
+ defaultNativeMode: string | null;
253
+ eligible: boolean | null;
254
+ source: string;
255
+ observedAt: string | null;
256
+ } | undefined;
257
+ id: string;
258
+ label?: string | null | undefined;
259
+ context_window?: number | null | undefined;
260
+ routes?: ("api_key" | "local_session")[] | null | undefined;
261
+ }[] | undefined;
262
+ source: "api" | "manifest" | "none";
263
+ verifiedAgainst?: string | null | undefined;
264
+ credentialProfileId: string;
265
+ observedAt: string | null;
266
+ provenance: string;
267
+ }>;
268
+ export type ControlHarnessAccountCatalog = z.infer<typeof ControlHarnessAccountCatalog>;
269
+ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
270
+ harnessId: z.ZodString;
271
+ accounts: z.ZodArray<z.ZodObject<{
272
+ credentialProfileId: z.ZodString;
273
+ availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
274
+ problem: z.ZodNullable<z.ZodObject<{
275
+ code: z.ZodString;
276
+ message: z.ZodString;
277
+ retryable: z.ZodBoolean;
278
+ fieldErrors: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
279
+ requiredActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
280
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
281
+ context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
282
+ }, "strict", z.ZodTypeAny, {
283
+ code: string;
284
+ message: string;
285
+ retryable: boolean;
286
+ fieldErrors: Record<string, string[]>;
287
+ requiredActions: string[];
288
+ evidenceRefs: string[];
289
+ context: Record<string, unknown>;
290
+ }, {
291
+ code: string;
292
+ message: string;
293
+ retryable: boolean;
294
+ fieldErrors?: Record<string, string[]> | undefined;
295
+ requiredActions?: string[] | undefined;
296
+ evidenceRefs?: string[] | undefined;
297
+ context?: Record<string, unknown> | undefined;
298
+ }>>;
299
+ } & {
300
+ catalog: z.ZodNullable<z.ZodObject<{
301
+ harnessId: z.ZodString;
302
+ models: z.ZodDefault<z.ZodArray<z.ZodObject<{
303
+ processing: z.ZodOptional<z.ZodObject<{
304
+ modes: z.ZodNullable<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
305
+ nativeModes: z.ZodArray<z.ZodObject<{
306
+ mode: z.ZodEnum<["standard", "fast", "economy"]>;
307
+ id: z.ZodString;
308
+ }, "strict", z.ZodTypeAny, {
309
+ mode: "economy" | "fast" | "standard";
310
+ id: string;
311
+ }, {
312
+ mode: "economy" | "fast" | "standard";
313
+ id: string;
314
+ }>, "many">;
315
+ defaultNativeMode: z.ZodNullable<z.ZodString>;
316
+ eligible: z.ZodNullable<z.ZodBoolean>;
317
+ source: z.ZodString;
318
+ observedAt: z.ZodNullable<z.ZodString>;
319
+ }, "strict", z.ZodTypeAny, {
320
+ modes: ("economy" | "fast" | "standard")[] | null;
321
+ nativeModes: {
322
+ mode: "economy" | "fast" | "standard";
323
+ id: string;
324
+ }[];
325
+ defaultNativeMode: string | null;
326
+ eligible: boolean | null;
327
+ source: string;
328
+ observedAt: string | null;
329
+ }, {
330
+ modes: ("economy" | "fast" | "standard")[] | null;
331
+ nativeModes: {
332
+ mode: "economy" | "fast" | "standard";
333
+ id: string;
334
+ }[];
335
+ defaultNativeMode: string | null;
336
+ eligible: boolean | null;
337
+ source: string;
338
+ observedAt: string | null;
339
+ }>>;
340
+ id: z.ZodString;
341
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
342
+ context_window: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
343
+ routes: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>>;
344
+ }, "strip", z.ZodTypeAny, {
345
+ processing?: {
346
+ modes: ("economy" | "fast" | "standard")[] | null;
347
+ nativeModes: {
348
+ mode: "economy" | "fast" | "standard";
349
+ id: string;
350
+ }[];
351
+ defaultNativeMode: string | null;
352
+ eligible: boolean | null;
353
+ source: string;
354
+ observedAt: string | null;
355
+ } | undefined;
356
+ id: string;
357
+ label: string | null;
358
+ context_window: number | null;
359
+ routes: ("api_key" | "local_session")[] | null;
360
+ }, {
361
+ processing?: {
362
+ modes: ("economy" | "fast" | "standard")[] | null;
363
+ nativeModes: {
364
+ mode: "economy" | "fast" | "standard";
365
+ id: string;
366
+ }[];
367
+ defaultNativeMode: string | null;
368
+ eligible: boolean | null;
369
+ source: string;
370
+ observedAt: string | null;
371
+ } | undefined;
372
+ id: string;
373
+ label?: string | null | undefined;
374
+ context_window?: number | null | undefined;
375
+ routes?: ("api_key" | "local_session")[] | null | undefined;
376
+ }>, "many">>;
377
+ source: z.ZodEnum<["api", "manifest", "none"]>;
378
+ /** Freshness note for manifest-sourced lists: the vendor CLI version the
379
+ * known-model hints were last verified against (null for api/none). */
380
+ verifiedAgainst: z.ZodDefault<z.ZodNullable<z.ZodString>>;
381
+ } & {
382
+ credentialProfileId: z.ZodString;
383
+ observedAt: z.ZodNullable<z.ZodString>;
384
+ provenance: z.ZodString;
385
+ }, "strict", z.ZodTypeAny, {
386
+ harnessId: string;
387
+ models: {
388
+ processing?: {
389
+ modes: ("economy" | "fast" | "standard")[] | null;
390
+ nativeModes: {
391
+ mode: "economy" | "fast" | "standard";
392
+ id: string;
393
+ }[];
394
+ defaultNativeMode: string | null;
395
+ eligible: boolean | null;
396
+ source: string;
397
+ observedAt: string | null;
398
+ } | undefined;
399
+ id: string;
400
+ label: string | null;
401
+ context_window: number | null;
402
+ routes: ("api_key" | "local_session")[] | null;
403
+ }[];
404
+ source: "api" | "manifest" | "none";
405
+ verifiedAgainst: string | null;
406
+ credentialProfileId: string;
407
+ observedAt: string | null;
408
+ provenance: string;
409
+ }, {
410
+ harnessId: string;
411
+ models?: {
412
+ processing?: {
413
+ modes: ("economy" | "fast" | "standard")[] | null;
414
+ nativeModes: {
415
+ mode: "economy" | "fast" | "standard";
416
+ id: string;
417
+ }[];
418
+ defaultNativeMode: string | null;
419
+ eligible: boolean | null;
420
+ source: string;
421
+ observedAt: string | null;
422
+ } | undefined;
423
+ id: string;
424
+ label?: string | null | undefined;
425
+ context_window?: number | null | undefined;
426
+ routes?: ("api_key" | "local_session")[] | null | undefined;
427
+ }[] | undefined;
428
+ source: "api" | "manifest" | "none";
429
+ verifiedAgainst?: string | null | undefined;
430
+ credentialProfileId: string;
431
+ observedAt: string | null;
432
+ provenance: string;
433
+ }>>;
434
+ }, "strict", z.ZodTypeAny, {
435
+ credentialProfileId: string;
436
+ availability: "available" | "unavailable" | "unknown";
437
+ problem: {
438
+ code: string;
439
+ message: string;
440
+ retryable: boolean;
441
+ fieldErrors: Record<string, string[]>;
442
+ requiredActions: string[];
443
+ evidenceRefs: string[];
444
+ context: Record<string, unknown>;
445
+ } | null;
446
+ catalog: {
447
+ harnessId: string;
448
+ models: {
449
+ processing?: {
450
+ modes: ("economy" | "fast" | "standard")[] | null;
451
+ nativeModes: {
452
+ mode: "economy" | "fast" | "standard";
453
+ id: string;
454
+ }[];
455
+ defaultNativeMode: string | null;
456
+ eligible: boolean | null;
457
+ source: string;
458
+ observedAt: string | null;
459
+ } | undefined;
460
+ id: string;
461
+ label: string | null;
462
+ context_window: number | null;
463
+ routes: ("api_key" | "local_session")[] | null;
464
+ }[];
465
+ source: "api" | "manifest" | "none";
466
+ verifiedAgainst: string | null;
467
+ credentialProfileId: string;
468
+ observedAt: string | null;
469
+ provenance: string;
470
+ } | null;
471
+ }, {
472
+ credentialProfileId: string;
473
+ availability: "available" | "unavailable" | "unknown";
474
+ problem: {
475
+ code: string;
476
+ message: string;
477
+ retryable: boolean;
478
+ fieldErrors?: Record<string, string[]> | undefined;
479
+ requiredActions?: string[] | undefined;
480
+ evidenceRefs?: string[] | undefined;
481
+ context?: Record<string, unknown> | undefined;
482
+ } | null;
483
+ catalog: {
484
+ harnessId: string;
485
+ models?: {
486
+ processing?: {
487
+ modes: ("economy" | "fast" | "standard")[] | null;
488
+ nativeModes: {
489
+ mode: "economy" | "fast" | "standard";
490
+ id: string;
491
+ }[];
492
+ defaultNativeMode: string | null;
493
+ eligible: boolean | null;
494
+ source: string;
495
+ observedAt: string | null;
496
+ } | undefined;
497
+ id: string;
498
+ label?: string | null | undefined;
499
+ context_window?: number | null | undefined;
500
+ routes?: ("api_key" | "local_session")[] | null | undefined;
501
+ }[] | undefined;
502
+ source: "api" | "manifest" | "none";
503
+ verifiedAgainst?: string | null | undefined;
504
+ credentialProfileId: string;
505
+ observedAt: string | null;
506
+ provenance: string;
507
+ } | null;
508
+ }>, "many">;
509
+ partial: z.ZodBoolean;
510
+ }, "strict", z.ZodTypeAny, {
511
+ harnessId: string;
512
+ accounts: {
513
+ credentialProfileId: string;
514
+ availability: "available" | "unavailable" | "unknown";
515
+ problem: {
516
+ code: string;
517
+ message: string;
518
+ retryable: boolean;
519
+ fieldErrors: Record<string, string[]>;
520
+ requiredActions: string[];
521
+ evidenceRefs: string[];
522
+ context: Record<string, unknown>;
523
+ } | null;
524
+ catalog: {
525
+ harnessId: string;
526
+ models: {
527
+ processing?: {
528
+ modes: ("economy" | "fast" | "standard")[] | null;
529
+ nativeModes: {
530
+ mode: "economy" | "fast" | "standard";
531
+ id: string;
532
+ }[];
533
+ defaultNativeMode: string | null;
534
+ eligible: boolean | null;
535
+ source: string;
536
+ observedAt: string | null;
537
+ } | undefined;
538
+ id: string;
539
+ label: string | null;
540
+ context_window: number | null;
541
+ routes: ("api_key" | "local_session")[] | null;
542
+ }[];
543
+ source: "api" | "manifest" | "none";
544
+ verifiedAgainst: string | null;
545
+ credentialProfileId: string;
546
+ observedAt: string | null;
547
+ provenance: string;
548
+ } | null;
549
+ }[];
550
+ partial: boolean;
551
+ }, {
552
+ harnessId: string;
553
+ accounts: {
554
+ credentialProfileId: string;
555
+ availability: "available" | "unavailable" | "unknown";
556
+ problem: {
557
+ code: string;
558
+ message: string;
559
+ retryable: boolean;
560
+ fieldErrors?: Record<string, string[]> | undefined;
561
+ requiredActions?: string[] | undefined;
562
+ evidenceRefs?: string[] | undefined;
563
+ context?: Record<string, unknown> | undefined;
564
+ } | null;
565
+ catalog: {
566
+ harnessId: string;
567
+ models?: {
568
+ processing?: {
569
+ modes: ("economy" | "fast" | "standard")[] | null;
570
+ nativeModes: {
571
+ mode: "economy" | "fast" | "standard";
572
+ id: string;
573
+ }[];
574
+ defaultNativeMode: string | null;
575
+ eligible: boolean | null;
576
+ source: string;
577
+ observedAt: string | null;
578
+ } | undefined;
579
+ id: string;
580
+ label?: string | null | undefined;
581
+ context_window?: number | null | undefined;
582
+ routes?: ("api_key" | "local_session")[] | null | undefined;
583
+ }[] | undefined;
584
+ source: "api" | "manifest" | "none";
585
+ verifiedAgainst?: string | null | undefined;
586
+ credentialProfileId: string;
587
+ observedAt: string | null;
588
+ provenance: string;
589
+ } | null;
590
+ }[];
591
+ partial: boolean;
592
+ }>;
593
+ export type ControlHarnessAccountModelsResponse = z.infer<typeof ControlHarnessAccountModelsResponse>;
594
+ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<{
595
+ harnessId: z.ZodString;
596
+ models: z.ZodDefault<z.ZodArray<z.ZodObject<{
597
+ processing: z.ZodOptional<z.ZodObject<{
598
+ modes: z.ZodNullable<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
599
+ nativeModes: z.ZodArray<z.ZodObject<{
600
+ mode: z.ZodEnum<["standard", "fast", "economy"]>;
601
+ id: z.ZodString;
602
+ }, "strict", z.ZodTypeAny, {
603
+ mode: "economy" | "fast" | "standard";
604
+ id: string;
605
+ }, {
606
+ mode: "economy" | "fast" | "standard";
607
+ id: string;
608
+ }>, "many">;
609
+ defaultNativeMode: z.ZodNullable<z.ZodString>;
610
+ eligible: z.ZodNullable<z.ZodBoolean>;
611
+ source: z.ZodString;
612
+ observedAt: z.ZodNullable<z.ZodString>;
613
+ }, "strict", z.ZodTypeAny, {
614
+ modes: ("economy" | "fast" | "standard")[] | null;
615
+ nativeModes: {
616
+ mode: "economy" | "fast" | "standard";
617
+ id: string;
618
+ }[];
619
+ defaultNativeMode: string | null;
620
+ eligible: boolean | null;
621
+ source: string;
622
+ observedAt: string | null;
623
+ }, {
624
+ modes: ("economy" | "fast" | "standard")[] | null;
625
+ nativeModes: {
626
+ mode: "economy" | "fast" | "standard";
627
+ id: string;
628
+ }[];
629
+ defaultNativeMode: string | null;
630
+ eligible: boolean | null;
631
+ source: string;
632
+ observedAt: string | null;
633
+ }>>;
634
+ id: z.ZodString;
635
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
636
+ context_window: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
637
+ routes: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>>;
638
+ }, "strip", z.ZodTypeAny, {
639
+ processing?: {
640
+ modes: ("economy" | "fast" | "standard")[] | null;
641
+ nativeModes: {
642
+ mode: "economy" | "fast" | "standard";
643
+ id: string;
644
+ }[];
645
+ defaultNativeMode: string | null;
646
+ eligible: boolean | null;
647
+ source: string;
648
+ observedAt: string | null;
649
+ } | undefined;
650
+ id: string;
651
+ label: string | null;
652
+ context_window: number | null;
653
+ routes: ("api_key" | "local_session")[] | null;
654
+ }, {
655
+ processing?: {
656
+ modes: ("economy" | "fast" | "standard")[] | null;
657
+ nativeModes: {
658
+ mode: "economy" | "fast" | "standard";
659
+ id: string;
660
+ }[];
661
+ defaultNativeMode: string | null;
662
+ eligible: boolean | null;
663
+ source: string;
664
+ observedAt: string | null;
665
+ } | undefined;
666
+ id: string;
667
+ label?: string | null | undefined;
668
+ context_window?: number | null | undefined;
669
+ routes?: ("api_key" | "local_session")[] | null | undefined;
670
+ }>, "many">>;
671
+ source: z.ZodEnum<["api", "manifest", "none"]>;
672
+ /** Freshness note for manifest-sourced lists: the vendor CLI version the
673
+ * known-model hints were last verified against (null for api/none). */
674
+ verifiedAgainst: z.ZodDefault<z.ZodNullable<z.ZodString>>;
675
+ }, "strict", z.ZodTypeAny, {
676
+ harnessId: string;
677
+ models: {
678
+ processing?: {
679
+ modes: ("economy" | "fast" | "standard")[] | null;
680
+ nativeModes: {
681
+ mode: "economy" | "fast" | "standard";
682
+ id: string;
683
+ }[];
684
+ defaultNativeMode: string | null;
685
+ eligible: boolean | null;
686
+ source: string;
687
+ observedAt: string | null;
688
+ } | undefined;
689
+ id: string;
690
+ label: string | null;
691
+ context_window: number | null;
692
+ routes: ("api_key" | "local_session")[] | null;
693
+ }[];
694
+ source: "api" | "manifest" | "none";
695
+ verifiedAgainst: string | null;
696
+ }, {
697
+ harnessId: string;
698
+ models?: {
699
+ processing?: {
700
+ modes: ("economy" | "fast" | "standard")[] | null;
701
+ nativeModes: {
702
+ mode: "economy" | "fast" | "standard";
703
+ id: string;
704
+ }[];
705
+ defaultNativeMode: string | null;
706
+ eligible: boolean | null;
707
+ source: string;
708
+ observedAt: string | null;
709
+ } | undefined;
710
+ id: string;
711
+ label?: string | null | undefined;
712
+ context_window?: number | null | undefined;
713
+ routes?: ("api_key" | "local_session")[] | null | undefined;
714
+ }[] | undefined;
715
+ source: "api" | "manifest" | "none";
716
+ verifiedAgainst?: string | null | undefined;
717
+ }>, z.ZodObject<{
718
+ harnessId: z.ZodString;
719
+ accounts: z.ZodArray<z.ZodObject<{
720
+ credentialProfileId: z.ZodString;
721
+ availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
722
+ problem: z.ZodNullable<z.ZodObject<{
723
+ code: z.ZodString;
724
+ message: z.ZodString;
725
+ retryable: z.ZodBoolean;
726
+ fieldErrors: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
727
+ requiredActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
728
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
729
+ context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
730
+ }, "strict", z.ZodTypeAny, {
731
+ code: string;
732
+ message: string;
733
+ retryable: boolean;
734
+ fieldErrors: Record<string, string[]>;
735
+ requiredActions: string[];
736
+ evidenceRefs: string[];
737
+ context: Record<string, unknown>;
738
+ }, {
739
+ code: string;
740
+ message: string;
741
+ retryable: boolean;
742
+ fieldErrors?: Record<string, string[]> | undefined;
743
+ requiredActions?: string[] | undefined;
744
+ evidenceRefs?: string[] | undefined;
745
+ context?: Record<string, unknown> | undefined;
746
+ }>>;
747
+ } & {
748
+ catalog: z.ZodNullable<z.ZodObject<{
749
+ harnessId: z.ZodString;
750
+ models: z.ZodDefault<z.ZodArray<z.ZodObject<{
751
+ processing: z.ZodOptional<z.ZodObject<{
752
+ modes: z.ZodNullable<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
753
+ nativeModes: z.ZodArray<z.ZodObject<{
754
+ mode: z.ZodEnum<["standard", "fast", "economy"]>;
755
+ id: z.ZodString;
756
+ }, "strict", z.ZodTypeAny, {
757
+ mode: "economy" | "fast" | "standard";
758
+ id: string;
759
+ }, {
760
+ mode: "economy" | "fast" | "standard";
761
+ id: string;
762
+ }>, "many">;
763
+ defaultNativeMode: z.ZodNullable<z.ZodString>;
764
+ eligible: z.ZodNullable<z.ZodBoolean>;
765
+ source: z.ZodString;
766
+ observedAt: z.ZodNullable<z.ZodString>;
767
+ }, "strict", z.ZodTypeAny, {
768
+ modes: ("economy" | "fast" | "standard")[] | null;
769
+ nativeModes: {
770
+ mode: "economy" | "fast" | "standard";
771
+ id: string;
772
+ }[];
773
+ defaultNativeMode: string | null;
774
+ eligible: boolean | null;
775
+ source: string;
776
+ observedAt: string | null;
777
+ }, {
778
+ modes: ("economy" | "fast" | "standard")[] | null;
779
+ nativeModes: {
780
+ mode: "economy" | "fast" | "standard";
781
+ id: string;
782
+ }[];
783
+ defaultNativeMode: string | null;
784
+ eligible: boolean | null;
785
+ source: string;
786
+ observedAt: string | null;
787
+ }>>;
788
+ id: z.ZodString;
789
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
790
+ context_window: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
791
+ routes: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>>;
792
+ }, "strip", z.ZodTypeAny, {
793
+ processing?: {
794
+ modes: ("economy" | "fast" | "standard")[] | null;
795
+ nativeModes: {
796
+ mode: "economy" | "fast" | "standard";
797
+ id: string;
798
+ }[];
799
+ defaultNativeMode: string | null;
800
+ eligible: boolean | null;
801
+ source: string;
802
+ observedAt: string | null;
803
+ } | undefined;
804
+ id: string;
805
+ label: string | null;
806
+ context_window: number | null;
807
+ routes: ("api_key" | "local_session")[] | null;
808
+ }, {
809
+ processing?: {
810
+ modes: ("economy" | "fast" | "standard")[] | null;
811
+ nativeModes: {
812
+ mode: "economy" | "fast" | "standard";
813
+ id: string;
814
+ }[];
815
+ defaultNativeMode: string | null;
816
+ eligible: boolean | null;
817
+ source: string;
818
+ observedAt: string | null;
819
+ } | undefined;
820
+ id: string;
821
+ label?: string | null | undefined;
822
+ context_window?: number | null | undefined;
823
+ routes?: ("api_key" | "local_session")[] | null | undefined;
824
+ }>, "many">>;
825
+ source: z.ZodEnum<["api", "manifest", "none"]>;
826
+ /** Freshness note for manifest-sourced lists: the vendor CLI version the
827
+ * known-model hints were last verified against (null for api/none). */
828
+ verifiedAgainst: z.ZodDefault<z.ZodNullable<z.ZodString>>;
829
+ } & {
830
+ credentialProfileId: z.ZodString;
831
+ observedAt: z.ZodNullable<z.ZodString>;
832
+ provenance: z.ZodString;
833
+ }, "strict", z.ZodTypeAny, {
834
+ harnessId: string;
835
+ models: {
836
+ processing?: {
837
+ modes: ("economy" | "fast" | "standard")[] | null;
838
+ nativeModes: {
839
+ mode: "economy" | "fast" | "standard";
840
+ id: string;
841
+ }[];
842
+ defaultNativeMode: string | null;
843
+ eligible: boolean | null;
844
+ source: string;
845
+ observedAt: string | null;
846
+ } | undefined;
847
+ id: string;
848
+ label: string | null;
849
+ context_window: number | null;
850
+ routes: ("api_key" | "local_session")[] | null;
851
+ }[];
852
+ source: "api" | "manifest" | "none";
853
+ verifiedAgainst: string | null;
854
+ credentialProfileId: string;
855
+ observedAt: string | null;
856
+ provenance: string;
857
+ }, {
858
+ harnessId: string;
859
+ models?: {
860
+ processing?: {
861
+ modes: ("economy" | "fast" | "standard")[] | null;
862
+ nativeModes: {
863
+ mode: "economy" | "fast" | "standard";
864
+ id: string;
865
+ }[];
866
+ defaultNativeMode: string | null;
867
+ eligible: boolean | null;
868
+ source: string;
869
+ observedAt: string | null;
870
+ } | undefined;
871
+ id: string;
872
+ label?: string | null | undefined;
873
+ context_window?: number | null | undefined;
874
+ routes?: ("api_key" | "local_session")[] | null | undefined;
875
+ }[] | undefined;
876
+ source: "api" | "manifest" | "none";
877
+ verifiedAgainst?: string | null | undefined;
878
+ credentialProfileId: string;
879
+ observedAt: string | null;
880
+ provenance: string;
881
+ }>>;
882
+ }, "strict", z.ZodTypeAny, {
883
+ credentialProfileId: string;
884
+ availability: "available" | "unavailable" | "unknown";
885
+ problem: {
886
+ code: string;
887
+ message: string;
888
+ retryable: boolean;
889
+ fieldErrors: Record<string, string[]>;
890
+ requiredActions: string[];
891
+ evidenceRefs: string[];
892
+ context: Record<string, unknown>;
893
+ } | null;
894
+ catalog: {
895
+ harnessId: string;
896
+ models: {
897
+ processing?: {
898
+ modes: ("economy" | "fast" | "standard")[] | null;
899
+ nativeModes: {
900
+ mode: "economy" | "fast" | "standard";
901
+ id: string;
902
+ }[];
903
+ defaultNativeMode: string | null;
904
+ eligible: boolean | null;
905
+ source: string;
906
+ observedAt: string | null;
907
+ } | undefined;
908
+ id: string;
909
+ label: string | null;
910
+ context_window: number | null;
911
+ routes: ("api_key" | "local_session")[] | null;
912
+ }[];
913
+ source: "api" | "manifest" | "none";
914
+ verifiedAgainst: string | null;
915
+ credentialProfileId: string;
916
+ observedAt: string | null;
917
+ provenance: string;
918
+ } | null;
919
+ }, {
920
+ credentialProfileId: string;
921
+ availability: "available" | "unavailable" | "unknown";
922
+ problem: {
923
+ code: string;
924
+ message: string;
925
+ retryable: boolean;
926
+ fieldErrors?: Record<string, string[]> | undefined;
927
+ requiredActions?: string[] | undefined;
928
+ evidenceRefs?: string[] | undefined;
929
+ context?: Record<string, unknown> | undefined;
930
+ } | null;
931
+ catalog: {
932
+ harnessId: string;
933
+ models?: {
934
+ processing?: {
935
+ modes: ("economy" | "fast" | "standard")[] | null;
936
+ nativeModes: {
937
+ mode: "economy" | "fast" | "standard";
938
+ id: string;
939
+ }[];
940
+ defaultNativeMode: string | null;
941
+ eligible: boolean | null;
942
+ source: string;
943
+ observedAt: string | null;
944
+ } | undefined;
945
+ id: string;
946
+ label?: string | null | undefined;
947
+ context_window?: number | null | undefined;
948
+ routes?: ("api_key" | "local_session")[] | null | undefined;
949
+ }[] | undefined;
950
+ source: "api" | "manifest" | "none";
951
+ verifiedAgainst?: string | null | undefined;
952
+ credentialProfileId: string;
953
+ observedAt: string | null;
954
+ provenance: string;
955
+ } | null;
956
+ }>, "many">;
957
+ partial: z.ZodBoolean;
958
+ }, "strict", z.ZodTypeAny, {
959
+ harnessId: string;
960
+ accounts: {
961
+ credentialProfileId: string;
962
+ availability: "available" | "unavailable" | "unknown";
963
+ problem: {
964
+ code: string;
965
+ message: string;
966
+ retryable: boolean;
967
+ fieldErrors: Record<string, string[]>;
968
+ requiredActions: string[];
969
+ evidenceRefs: string[];
970
+ context: Record<string, unknown>;
971
+ } | null;
972
+ catalog: {
973
+ harnessId: string;
974
+ models: {
975
+ processing?: {
976
+ modes: ("economy" | "fast" | "standard")[] | null;
977
+ nativeModes: {
978
+ mode: "economy" | "fast" | "standard";
979
+ id: string;
980
+ }[];
981
+ defaultNativeMode: string | null;
982
+ eligible: boolean | null;
983
+ source: string;
984
+ observedAt: string | null;
985
+ } | undefined;
986
+ id: string;
987
+ label: string | null;
988
+ context_window: number | null;
989
+ routes: ("api_key" | "local_session")[] | null;
990
+ }[];
991
+ source: "api" | "manifest" | "none";
992
+ verifiedAgainst: string | null;
993
+ credentialProfileId: string;
994
+ observedAt: string | null;
995
+ provenance: string;
996
+ } | null;
997
+ }[];
998
+ partial: boolean;
999
+ }, {
1000
+ harnessId: string;
1001
+ accounts: {
1002
+ credentialProfileId: string;
1003
+ availability: "available" | "unavailable" | "unknown";
1004
+ problem: {
1005
+ code: string;
1006
+ message: string;
1007
+ retryable: boolean;
1008
+ fieldErrors?: Record<string, string[]> | undefined;
1009
+ requiredActions?: string[] | undefined;
1010
+ evidenceRefs?: string[] | undefined;
1011
+ context?: Record<string, unknown> | undefined;
1012
+ } | null;
1013
+ catalog: {
1014
+ harnessId: string;
1015
+ models?: {
1016
+ processing?: {
1017
+ modes: ("economy" | "fast" | "standard")[] | null;
1018
+ nativeModes: {
1019
+ mode: "economy" | "fast" | "standard";
1020
+ id: string;
1021
+ }[];
1022
+ defaultNativeMode: string | null;
1023
+ eligible: boolean | null;
1024
+ source: string;
1025
+ observedAt: string | null;
1026
+ } | undefined;
1027
+ id: string;
1028
+ label?: string | null | undefined;
1029
+ context_window?: number | null | undefined;
1030
+ routes?: ("api_key" | "local_session")[] | null | undefined;
1031
+ }[] | undefined;
1032
+ source: "api" | "manifest" | "none";
1033
+ verifiedAgainst?: string | null | undefined;
1034
+ credentialProfileId: string;
1035
+ observedAt: string | null;
1036
+ provenance: string;
1037
+ } | null;
1038
+ }[];
1039
+ partial: boolean;
1040
+ }>]>;
1041
+ export type ControlHarnessModelsQueryResponse = z.infer<typeof ControlHarnessModelsQueryResponse>;
1042
+ //# sourceMappingURL=control-harness-models.d.ts.map