@claudexor/schema 4.8.1 → 5.0.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.
- package/dist/account-resources.d.ts +325 -56
- package/dist/account-resources.d.ts.map +1 -1
- package/dist/account-resources.js +35 -5
- package/dist/account-resources.js.map +1 -1
- package/dist/account-routing-evidence.d.ts +253 -45
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/account-target.d.ts +19 -5
- package/dist/account-target.d.ts.map +1 -1
- package/dist/account-target.js +14 -1
- package/dist/account-target.js.map +1 -1
- package/dist/agent-capabilities.d.ts +183 -0
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +2 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/budget.d.ts +3 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +5 -1
- package/dist/budget.js.map +1 -1
- package/dist/capture-inventory.d.ts +60 -0
- package/dist/capture-inventory.d.ts.map +1 -0
- package/dist/capture-inventory.js +57 -0
- package/dist/capture-inventory.js.map +1 -0
- package/dist/control-gc.d.ts +377 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +74 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-harness-list.d.ts +102 -18
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-harness-models.d.ts +299 -6
- package/dist/control-harness-models.d.ts.map +1 -1
- package/dist/control-harness-models.js +12 -3
- package/dist/control-harness-models.js.map +1 -1
- package/dist/control-operation-responses.d.ts +606 -23
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +3 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +1193 -72
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-event-part.d.ts +3 -3
- package/dist/control-run-event-part.js +1 -1
- package/dist/control-run-event-part.js.map +1 -1
- package/dist/control-run-failure.d.ts +276 -12
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +54 -16
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-message.js +1 -1
- package/dist/control-run-message.js.map +1 -1
- package/dist/control-thread-apply.d.ts +165 -0
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control-timeline.d.ts +9 -0
- package/dist/control-timeline.d.ts.map +1 -1
- package/dist/control-timeline.js +20 -3
- package/dist/control-timeline.js.map +1 -1
- package/dist/control.d.ts +392 -42
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +13 -7
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +506 -90
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/daemon-status.d.ts +492 -0
- package/dist/daemon-status.d.ts.map +1 -1
- package/dist/daemon-status.js +22 -0
- package/dist/daemon-status.js.map +1 -1
- package/dist/decision.d.ts +9 -9
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +4 -0
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +162 -0
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +32 -0
- package/dist/delivery.js.map +1 -1
- package/dist/events.d.ts +7 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +10 -8
- package/dist/events.js.map +1 -1
- package/dist/git-result.d.ts +99 -0
- package/dist/git-result.d.ts.map +1 -0
- package/dist/git-result.js +80 -0
- package/dist/git-result.js.map +1 -0
- package/dist/harness-model.d.ts +89 -0
- package/dist/harness-model.d.ts.map +1 -1
- package/dist/harness-model.js +83 -0
- package/dist/harness-model.js.map +1 -1
- package/dist/harness-speech.d.ts +36 -0
- package/dist/harness-speech.d.ts.map +1 -0
- package/dist/harness-speech.js +27 -0
- package/dist/harness-speech.js.map +1 -0
- package/dist/harness.d.ts +371 -35
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +7 -21
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +620 -51
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +45 -5
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/mcp-run-wait.d.ts +7 -7
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +3 -2
- package/dist/primitives.js.map +1 -1
- package/dist/project.d.ts +45 -1
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +26 -1
- package/dist/project.js.map +1 -1
- package/dist/quota-read.d.ts +6 -3
- package/dist/quota-read.d.ts.map +1 -1
- package/dist/quota-read.js +7 -1
- package/dist/quota-read.js.map +1 -1
- package/dist/quota-scope.d.ts +29 -0
- package/dist/quota-scope.d.ts.map +1 -0
- package/dist/quota-scope.js +95 -0
- package/dist/quota-scope.js.map +1 -0
- package/dist/rate-limit.d.ts +3 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +5 -1
- package/dist/rate-limit.js.map +1 -1
- package/dist/raw.d.ts +223 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +86 -0
- package/dist/raw.js.map +1 -1
- package/dist/readiness.d.ts +87 -18
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +7 -6
- package/dist/readiness.js.map +1 -1
- package/dist/route-health.d.ts +303 -0
- package/dist/route-health.d.ts.map +1 -0
- package/dist/route-health.js +71 -0
- package/dist/route-health.js.map +1 -0
- package/dist/run-continuity.d.ts +3 -0
- package/dist/run-continuity.d.ts.map +1 -1
- package/dist/run-continuity.js +4 -0
- package/dist/run-continuity.js.map +1 -1
- package/dist/run-facts.d.ts +5 -5
- package/dist/run-facts.d.ts.map +1 -1
- package/dist/run-facts.js +1 -0
- package/dist/run-facts.js.map +1 -1
- package/dist/run-observation.d.ts +6 -6
- package/dist/run-observation.d.ts.map +1 -1
- package/dist/run-observation.js +7 -1
- package/dist/run-observation.js.map +1 -1
- package/dist/setup-login.d.ts +1 -1
- package/dist/setup-login.js +1 -1
- package/dist/setup.d.ts +1 -1
- package/dist/setup.js +1 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +3 -0
- package/dist/status-projection.js.map +1 -1
- package/dist/task-group-runs.d.ts +1 -0
- package/dist/task-group-runs.d.ts.map +1 -1
- package/dist/task-group-runs.js +6 -3
- package/dist/task-group-runs.js.map +1 -1
- package/dist/telemetry.d.ts +239 -7
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +4 -2
- package/dist/telemetry.js.map +1 -1
- package/dist/thread-history.d.ts +1109 -161
- package/dist/thread-history.d.ts.map +1 -1
- package/dist/thread-history.js +1 -1
- package/dist/thread-history.js.map +1 -1
- package/dist/tool-ref.d.ts +94 -3
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +98 -6
- package/dist/tool-ref.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +54 -0
- package/generated/BudgetObservation.schema.json +8 -1
- package/generated/ControlAccountResetResponse.schema.json +60 -1
- package/generated/ControlAccountResourcesFreshnessResponse.schema.json +46 -2
- package/generated/ControlAccountResourcesResponse.schema.json +46 -2
- package/generated/ControlApplyCheckResponse.schema.json +47 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +105 -4
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +105 -4
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +59 -2
- package/generated/ControlDaemonStatus.schema.json +112 -43
- package/generated/ControlDeliveryResponse.schema.json +154 -0
- package/generated/ControlGcLastResponse.schema.json +184 -0
- package/generated/ControlGcReceipt.schema.json +60 -1
- package/generated/ControlGcRequest.schema.json +4 -0
- package/generated/ControlHarnessAccountCatalog.schema.json +13 -0
- package/generated/ControlHarnessAccountModelsResponse.schema.json +13 -0
- package/generated/ControlHarnessListResponse.schema.json +59 -2
- package/generated/ControlHarnessModelsQueryResponse.schema.json +97 -51
- package/generated/ControlHarnessModelsResponse.schema.json +96 -0
- package/generated/ControlProjectRemoveReceipt.schema.json +36 -0
- package/generated/ControlQuotaQueryResponse.schema.json +46 -2
- package/generated/ControlQuotaReadRequest.schema.json +4 -0
- package/generated/ControlQuotaRefreshRequest.schema.json +12 -3
- package/generated/ControlRouteHealth.schema.json +202 -0
- package/generated/ControlRunDecisionResponse.schema.json +14 -0
- package/generated/ControlRunDetail.schema.json +376 -6
- package/generated/ControlRunEventPart.schema.json +3 -2
- package/generated/ControlRunListResponse.schema.json +342 -3
- package/generated/ControlRunMessageRequest.schema.json +1 -1
- package/generated/ControlRunSummary.schema.json +342 -3
- package/generated/ControlThreadApplyResponse.schema.json +154 -0
- package/generated/ControlThreadDetail.schema.json +2 -1
- package/generated/DecisionRecord.schema.json +1 -0
- package/generated/HarnessEvent.schema.json +214 -5
- package/generated/HarnessManifest.schema.json +57 -0
- package/generated/HarnessModel.schema.json +13 -0
- package/generated/HarnessStatusDto.schema.json +59 -2
- package/generated/JournaledRunCreatedPayload.schema.json +2 -2
- package/generated/McpAccountsToolResult.schema.json +105 -4
- package/generated/McpRunHandleResult.schema.json +279 -2
- package/generated/McpRunToolResult.schema.json +269 -0
- package/generated/McpRunWaitResult.schema.json +2 -1
- package/generated/RawContextPacket.schema.json +98 -0
- package/generated/RunContinuityReceipt.schema.json +8 -0
- package/generated/RunEvent.schema.json +2 -1
- package/generated/RunFacts.schema.json +1 -0
- package/generated/RunFailure.schema.json +201 -0
- package/generated/RunTelemetry.schema.json +123 -2
- package/generated/RunWaitManyInput.schema.json +11 -4
- package/generated/ThreadHistoryPage.schema.json +204 -2
- package/package.json +2 -2
|
@@ -49,6 +49,8 @@ export declare const ControlHarnessModelsResponse: z.ZodObject<{
|
|
|
49
49
|
id: z.ZodString;
|
|
50
50
|
label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
context_window: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
52
|
+
input_modalities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
53
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
52
54
|
routes: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>>;
|
|
53
55
|
origin: z.ZodOptional<z.ZodEnum<["live", "hint"]>>;
|
|
54
56
|
resolved_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -67,6 +69,8 @@ export declare const ControlHarnessModelsResponse: z.ZodObject<{
|
|
|
67
69
|
id: string;
|
|
68
70
|
label: string | null;
|
|
69
71
|
context_window: number | null;
|
|
72
|
+
input_modalities?: string[] | undefined;
|
|
73
|
+
max_output_tokens?: number | undefined;
|
|
70
74
|
routes: ("api_key" | "local_session")[] | null;
|
|
71
75
|
origin?: "hint" | "live" | undefined;
|
|
72
76
|
resolved_model?: string | null | undefined;
|
|
@@ -85,6 +89,8 @@ export declare const ControlHarnessModelsResponse: z.ZodObject<{
|
|
|
85
89
|
id: string;
|
|
86
90
|
label?: string | null | undefined;
|
|
87
91
|
context_window?: number | null | undefined;
|
|
92
|
+
input_modalities?: string[] | undefined;
|
|
93
|
+
max_output_tokens?: number | undefined;
|
|
88
94
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
89
95
|
origin?: "hint" | "live" | undefined;
|
|
90
96
|
resolved_model?: string | null | undefined;
|
|
@@ -93,6 +99,41 @@ export declare const ControlHarnessModelsResponse: z.ZodObject<{
|
|
|
93
99
|
/** Freshness note for manifest-sourced lists: the vendor CLI version the
|
|
94
100
|
* known-model hints were last verified against (null for api/none). */
|
|
95
101
|
verifiedAgainst: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
102
|
+
problem: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
code: z.ZodString;
|
|
104
|
+
message: z.ZodString;
|
|
105
|
+
retryable: z.ZodBoolean;
|
|
106
|
+
fieldErrors: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
107
|
+
requiredActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
108
|
+
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
109
|
+
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
110
|
+
}, "strict", z.ZodTypeAny, {
|
|
111
|
+
code: string;
|
|
112
|
+
message: string;
|
|
113
|
+
retryable: boolean;
|
|
114
|
+
fieldErrors: Record<string, string[]>;
|
|
115
|
+
requiredActions: string[];
|
|
116
|
+
evidenceRefs: string[];
|
|
117
|
+
context: Record<string, unknown>;
|
|
118
|
+
}, {
|
|
119
|
+
code: string;
|
|
120
|
+
message: string;
|
|
121
|
+
retryable: boolean;
|
|
122
|
+
fieldErrors?: Record<string, string[]> | undefined;
|
|
123
|
+
requiredActions?: string[] | undefined;
|
|
124
|
+
evidenceRefs?: string[] | undefined;
|
|
125
|
+
context?: Record<string, unknown> | undefined;
|
|
126
|
+
}>>;
|
|
127
|
+
routingVariants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
128
|
+
suffix: z.ZodString;
|
|
129
|
+
billing: z.ZodEnum<["base", "service_tier"]>;
|
|
130
|
+
}, "strict", z.ZodTypeAny, {
|
|
131
|
+
suffix: string;
|
|
132
|
+
billing: "base" | "service_tier";
|
|
133
|
+
}, {
|
|
134
|
+
suffix: string;
|
|
135
|
+
billing: "base" | "service_tier";
|
|
136
|
+
}>, "many">>;
|
|
96
137
|
}, "strip", z.ZodTypeAny, {
|
|
97
138
|
harnessId: string;
|
|
98
139
|
models: {
|
|
@@ -110,12 +151,27 @@ export declare const ControlHarnessModelsResponse: z.ZodObject<{
|
|
|
110
151
|
id: string;
|
|
111
152
|
label: string | null;
|
|
112
153
|
context_window: number | null;
|
|
154
|
+
input_modalities?: string[] | undefined;
|
|
155
|
+
max_output_tokens?: number | undefined;
|
|
113
156
|
routes: ("api_key" | "local_session")[] | null;
|
|
114
157
|
origin?: "hint" | "live" | undefined;
|
|
115
158
|
resolved_model?: string | null | undefined;
|
|
116
159
|
}[];
|
|
117
160
|
source: "api" | "manifest" | "none";
|
|
118
161
|
verifiedAgainst: string | null;
|
|
162
|
+
problem?: {
|
|
163
|
+
code: string;
|
|
164
|
+
message: string;
|
|
165
|
+
retryable: boolean;
|
|
166
|
+
fieldErrors: Record<string, string[]>;
|
|
167
|
+
requiredActions: string[];
|
|
168
|
+
evidenceRefs: string[];
|
|
169
|
+
context: Record<string, unknown>;
|
|
170
|
+
} | undefined;
|
|
171
|
+
routingVariants?: {
|
|
172
|
+
suffix: string;
|
|
173
|
+
billing: "base" | "service_tier";
|
|
174
|
+
}[] | undefined;
|
|
119
175
|
}, {
|
|
120
176
|
harnessId: string;
|
|
121
177
|
models?: {
|
|
@@ -133,15 +189,30 @@ export declare const ControlHarnessModelsResponse: z.ZodObject<{
|
|
|
133
189
|
id: string;
|
|
134
190
|
label?: string | null | undefined;
|
|
135
191
|
context_window?: number | null | undefined;
|
|
192
|
+
input_modalities?: string[] | undefined;
|
|
193
|
+
max_output_tokens?: number | undefined;
|
|
136
194
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
137
195
|
origin?: "hint" | "live" | undefined;
|
|
138
196
|
resolved_model?: string | null | undefined;
|
|
139
197
|
}[] | undefined;
|
|
140
198
|
source: "api" | "manifest" | "none";
|
|
141
199
|
verifiedAgainst?: string | null | undefined;
|
|
200
|
+
problem?: {
|
|
201
|
+
code: string;
|
|
202
|
+
message: string;
|
|
203
|
+
retryable: boolean;
|
|
204
|
+
fieldErrors?: Record<string, string[]> | undefined;
|
|
205
|
+
requiredActions?: string[] | undefined;
|
|
206
|
+
evidenceRefs?: string[] | undefined;
|
|
207
|
+
context?: Record<string, unknown> | undefined;
|
|
208
|
+
} | undefined;
|
|
209
|
+
routingVariants?: {
|
|
210
|
+
suffix: string;
|
|
211
|
+
billing: "base" | "service_tier";
|
|
212
|
+
}[] | undefined;
|
|
142
213
|
}>;
|
|
143
214
|
export type ControlHarnessModelsResponse = z.infer<typeof ControlHarnessModelsResponse>;
|
|
144
|
-
export declare const ControlHarnessAccountCatalog: z.ZodObject<{
|
|
215
|
+
export declare const ControlHarnessAccountCatalog: z.ZodObject<Omit<{
|
|
145
216
|
harnessId: z.ZodString;
|
|
146
217
|
models: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
147
218
|
processing: z.ZodOptional<z.ZodObject<{
|
|
@@ -184,6 +255,8 @@ export declare const ControlHarnessAccountCatalog: z.ZodObject<{
|
|
|
184
255
|
id: z.ZodString;
|
|
185
256
|
label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
186
257
|
context_window: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
258
|
+
input_modalities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
259
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
187
260
|
routes: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>>;
|
|
188
261
|
origin: z.ZodOptional<z.ZodEnum<["live", "hint"]>>;
|
|
189
262
|
resolved_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -202,6 +275,8 @@ export declare const ControlHarnessAccountCatalog: z.ZodObject<{
|
|
|
202
275
|
id: string;
|
|
203
276
|
label: string | null;
|
|
204
277
|
context_window: number | null;
|
|
278
|
+
input_modalities?: string[] | undefined;
|
|
279
|
+
max_output_tokens?: number | undefined;
|
|
205
280
|
routes: ("api_key" | "local_session")[] | null;
|
|
206
281
|
origin?: "hint" | "live" | undefined;
|
|
207
282
|
resolved_model?: string | null | undefined;
|
|
@@ -220,6 +295,8 @@ export declare const ControlHarnessAccountCatalog: z.ZodObject<{
|
|
|
220
295
|
id: string;
|
|
221
296
|
label?: string | null | undefined;
|
|
222
297
|
context_window?: number | null | undefined;
|
|
298
|
+
input_modalities?: string[] | undefined;
|
|
299
|
+
max_output_tokens?: number | undefined;
|
|
223
300
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
224
301
|
origin?: "hint" | "live" | undefined;
|
|
225
302
|
resolved_model?: string | null | undefined;
|
|
@@ -228,7 +305,42 @@ export declare const ControlHarnessAccountCatalog: z.ZodObject<{
|
|
|
228
305
|
/** Freshness note for manifest-sourced lists: the vendor CLI version the
|
|
229
306
|
* known-model hints were last verified against (null for api/none). */
|
|
230
307
|
verifiedAgainst: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
231
|
-
|
|
308
|
+
problem: z.ZodOptional<z.ZodObject<{
|
|
309
|
+
code: z.ZodString;
|
|
310
|
+
message: z.ZodString;
|
|
311
|
+
retryable: z.ZodBoolean;
|
|
312
|
+
fieldErrors: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
313
|
+
requiredActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
314
|
+
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
315
|
+
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
316
|
+
}, "strict", z.ZodTypeAny, {
|
|
317
|
+
code: string;
|
|
318
|
+
message: string;
|
|
319
|
+
retryable: boolean;
|
|
320
|
+
fieldErrors: Record<string, string[]>;
|
|
321
|
+
requiredActions: string[];
|
|
322
|
+
evidenceRefs: string[];
|
|
323
|
+
context: Record<string, unknown>;
|
|
324
|
+
}, {
|
|
325
|
+
code: string;
|
|
326
|
+
message: string;
|
|
327
|
+
retryable: boolean;
|
|
328
|
+
fieldErrors?: Record<string, string[]> | undefined;
|
|
329
|
+
requiredActions?: string[] | undefined;
|
|
330
|
+
evidenceRefs?: string[] | undefined;
|
|
331
|
+
context?: Record<string, unknown> | undefined;
|
|
332
|
+
}>>;
|
|
333
|
+
routingVariants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
334
|
+
suffix: z.ZodString;
|
|
335
|
+
billing: z.ZodEnum<["base", "service_tier"]>;
|
|
336
|
+
}, "strict", z.ZodTypeAny, {
|
|
337
|
+
suffix: string;
|
|
338
|
+
billing: "base" | "service_tier";
|
|
339
|
+
}, {
|
|
340
|
+
suffix: string;
|
|
341
|
+
billing: "base" | "service_tier";
|
|
342
|
+
}>, "many">>;
|
|
343
|
+
}, "problem" | "routingVariants"> & {
|
|
232
344
|
credentialProfileId: z.ZodString;
|
|
233
345
|
observedAt: z.ZodNullable<z.ZodString>;
|
|
234
346
|
provenance: z.ZodString;
|
|
@@ -249,6 +361,8 @@ export declare const ControlHarnessAccountCatalog: z.ZodObject<{
|
|
|
249
361
|
id: string;
|
|
250
362
|
label: string | null;
|
|
251
363
|
context_window: number | null;
|
|
364
|
+
input_modalities?: string[] | undefined;
|
|
365
|
+
max_output_tokens?: number | undefined;
|
|
252
366
|
routes: ("api_key" | "local_session")[] | null;
|
|
253
367
|
origin?: "hint" | "live" | undefined;
|
|
254
368
|
resolved_model?: string | null | undefined;
|
|
@@ -275,6 +389,8 @@ export declare const ControlHarnessAccountCatalog: z.ZodObject<{
|
|
|
275
389
|
id: string;
|
|
276
390
|
label?: string | null | undefined;
|
|
277
391
|
context_window?: number | null | undefined;
|
|
392
|
+
input_modalities?: string[] | undefined;
|
|
393
|
+
max_output_tokens?: number | undefined;
|
|
278
394
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
279
395
|
origin?: "hint" | "live" | undefined;
|
|
280
396
|
resolved_model?: string | null | undefined;
|
|
@@ -317,7 +433,7 @@ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
|
|
|
317
433
|
context?: Record<string, unknown> | undefined;
|
|
318
434
|
}>>;
|
|
319
435
|
} & {
|
|
320
|
-
catalog: z.ZodNullable<z.ZodObject<{
|
|
436
|
+
catalog: z.ZodNullable<z.ZodObject<Omit<{
|
|
321
437
|
harnessId: z.ZodString;
|
|
322
438
|
models: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
323
439
|
processing: z.ZodOptional<z.ZodObject<{
|
|
@@ -360,6 +476,8 @@ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
|
|
|
360
476
|
id: z.ZodString;
|
|
361
477
|
label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
362
478
|
context_window: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
479
|
+
input_modalities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
480
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
363
481
|
routes: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>>;
|
|
364
482
|
origin: z.ZodOptional<z.ZodEnum<["live", "hint"]>>;
|
|
365
483
|
resolved_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -378,6 +496,8 @@ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
|
|
|
378
496
|
id: string;
|
|
379
497
|
label: string | null;
|
|
380
498
|
context_window: number | null;
|
|
499
|
+
input_modalities?: string[] | undefined;
|
|
500
|
+
max_output_tokens?: number | undefined;
|
|
381
501
|
routes: ("api_key" | "local_session")[] | null;
|
|
382
502
|
origin?: "hint" | "live" | undefined;
|
|
383
503
|
resolved_model?: string | null | undefined;
|
|
@@ -396,6 +516,8 @@ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
|
|
|
396
516
|
id: string;
|
|
397
517
|
label?: string | null | undefined;
|
|
398
518
|
context_window?: number | null | undefined;
|
|
519
|
+
input_modalities?: string[] | undefined;
|
|
520
|
+
max_output_tokens?: number | undefined;
|
|
399
521
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
400
522
|
origin?: "hint" | "live" | undefined;
|
|
401
523
|
resolved_model?: string | null | undefined;
|
|
@@ -404,7 +526,42 @@ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
|
|
|
404
526
|
/** Freshness note for manifest-sourced lists: the vendor CLI version the
|
|
405
527
|
* known-model hints were last verified against (null for api/none). */
|
|
406
528
|
verifiedAgainst: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
407
|
-
|
|
529
|
+
problem: z.ZodOptional<z.ZodObject<{
|
|
530
|
+
code: z.ZodString;
|
|
531
|
+
message: z.ZodString;
|
|
532
|
+
retryable: z.ZodBoolean;
|
|
533
|
+
fieldErrors: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
534
|
+
requiredActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
535
|
+
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
536
|
+
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
537
|
+
}, "strict", z.ZodTypeAny, {
|
|
538
|
+
code: string;
|
|
539
|
+
message: string;
|
|
540
|
+
retryable: boolean;
|
|
541
|
+
fieldErrors: Record<string, string[]>;
|
|
542
|
+
requiredActions: string[];
|
|
543
|
+
evidenceRefs: string[];
|
|
544
|
+
context: Record<string, unknown>;
|
|
545
|
+
}, {
|
|
546
|
+
code: string;
|
|
547
|
+
message: string;
|
|
548
|
+
retryable: boolean;
|
|
549
|
+
fieldErrors?: Record<string, string[]> | undefined;
|
|
550
|
+
requiredActions?: string[] | undefined;
|
|
551
|
+
evidenceRefs?: string[] | undefined;
|
|
552
|
+
context?: Record<string, unknown> | undefined;
|
|
553
|
+
}>>;
|
|
554
|
+
routingVariants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
555
|
+
suffix: z.ZodString;
|
|
556
|
+
billing: z.ZodEnum<["base", "service_tier"]>;
|
|
557
|
+
}, "strict", z.ZodTypeAny, {
|
|
558
|
+
suffix: string;
|
|
559
|
+
billing: "base" | "service_tier";
|
|
560
|
+
}, {
|
|
561
|
+
suffix: string;
|
|
562
|
+
billing: "base" | "service_tier";
|
|
563
|
+
}>, "many">>;
|
|
564
|
+
}, "problem" | "routingVariants"> & {
|
|
408
565
|
credentialProfileId: z.ZodString;
|
|
409
566
|
observedAt: z.ZodNullable<z.ZodString>;
|
|
410
567
|
provenance: z.ZodString;
|
|
@@ -425,6 +582,8 @@ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
|
|
|
425
582
|
id: string;
|
|
426
583
|
label: string | null;
|
|
427
584
|
context_window: number | null;
|
|
585
|
+
input_modalities?: string[] | undefined;
|
|
586
|
+
max_output_tokens?: number | undefined;
|
|
428
587
|
routes: ("api_key" | "local_session")[] | null;
|
|
429
588
|
origin?: "hint" | "live" | undefined;
|
|
430
589
|
resolved_model?: string | null | undefined;
|
|
@@ -451,6 +610,8 @@ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
|
|
|
451
610
|
id: string;
|
|
452
611
|
label?: string | null | undefined;
|
|
453
612
|
context_window?: number | null | undefined;
|
|
613
|
+
input_modalities?: string[] | undefined;
|
|
614
|
+
max_output_tokens?: number | undefined;
|
|
454
615
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
455
616
|
origin?: "hint" | "live" | undefined;
|
|
456
617
|
resolved_model?: string | null | undefined;
|
|
@@ -490,6 +651,8 @@ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
|
|
|
490
651
|
id: string;
|
|
491
652
|
label: string | null;
|
|
492
653
|
context_window: number | null;
|
|
654
|
+
input_modalities?: string[] | undefined;
|
|
655
|
+
max_output_tokens?: number | undefined;
|
|
493
656
|
routes: ("api_key" | "local_session")[] | null;
|
|
494
657
|
origin?: "hint" | "live" | undefined;
|
|
495
658
|
resolved_model?: string | null | undefined;
|
|
@@ -529,6 +692,8 @@ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
|
|
|
529
692
|
id: string;
|
|
530
693
|
label?: string | null | undefined;
|
|
531
694
|
context_window?: number | null | undefined;
|
|
695
|
+
input_modalities?: string[] | undefined;
|
|
696
|
+
max_output_tokens?: number | undefined;
|
|
532
697
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
533
698
|
origin?: "hint" | "live" | undefined;
|
|
534
699
|
resolved_model?: string | null | undefined;
|
|
@@ -572,6 +737,8 @@ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
|
|
|
572
737
|
id: string;
|
|
573
738
|
label: string | null;
|
|
574
739
|
context_window: number | null;
|
|
740
|
+
input_modalities?: string[] | undefined;
|
|
741
|
+
max_output_tokens?: number | undefined;
|
|
575
742
|
routes: ("api_key" | "local_session")[] | null;
|
|
576
743
|
origin?: "hint" | "live" | undefined;
|
|
577
744
|
resolved_model?: string | null | undefined;
|
|
@@ -615,6 +782,8 @@ export declare const ControlHarnessAccountModelsResponse: z.ZodObject<{
|
|
|
615
782
|
id: string;
|
|
616
783
|
label?: string | null | undefined;
|
|
617
784
|
context_window?: number | null | undefined;
|
|
785
|
+
input_modalities?: string[] | undefined;
|
|
786
|
+
max_output_tokens?: number | undefined;
|
|
618
787
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
619
788
|
origin?: "hint" | "live" | undefined;
|
|
620
789
|
resolved_model?: string | null | undefined;
|
|
@@ -672,6 +841,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
672
841
|
id: z.ZodString;
|
|
673
842
|
label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
674
843
|
context_window: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
844
|
+
input_modalities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
845
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
675
846
|
routes: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>>;
|
|
676
847
|
origin: z.ZodOptional<z.ZodEnum<["live", "hint"]>>;
|
|
677
848
|
resolved_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -690,6 +861,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
690
861
|
id: string;
|
|
691
862
|
label: string | null;
|
|
692
863
|
context_window: number | null;
|
|
864
|
+
input_modalities?: string[] | undefined;
|
|
865
|
+
max_output_tokens?: number | undefined;
|
|
693
866
|
routes: ("api_key" | "local_session")[] | null;
|
|
694
867
|
origin?: "hint" | "live" | undefined;
|
|
695
868
|
resolved_model?: string | null | undefined;
|
|
@@ -708,6 +881,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
708
881
|
id: string;
|
|
709
882
|
label?: string | null | undefined;
|
|
710
883
|
context_window?: number | null | undefined;
|
|
884
|
+
input_modalities?: string[] | undefined;
|
|
885
|
+
max_output_tokens?: number | undefined;
|
|
711
886
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
712
887
|
origin?: "hint" | "live" | undefined;
|
|
713
888
|
resolved_model?: string | null | undefined;
|
|
@@ -716,6 +891,41 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
716
891
|
/** Freshness note for manifest-sourced lists: the vendor CLI version the
|
|
717
892
|
* known-model hints were last verified against (null for api/none). */
|
|
718
893
|
verifiedAgainst: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
894
|
+
problem: z.ZodOptional<z.ZodObject<{
|
|
895
|
+
code: z.ZodString;
|
|
896
|
+
message: z.ZodString;
|
|
897
|
+
retryable: z.ZodBoolean;
|
|
898
|
+
fieldErrors: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
899
|
+
requiredActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
900
|
+
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
901
|
+
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
902
|
+
}, "strict", z.ZodTypeAny, {
|
|
903
|
+
code: string;
|
|
904
|
+
message: string;
|
|
905
|
+
retryable: boolean;
|
|
906
|
+
fieldErrors: Record<string, string[]>;
|
|
907
|
+
requiredActions: string[];
|
|
908
|
+
evidenceRefs: string[];
|
|
909
|
+
context: Record<string, unknown>;
|
|
910
|
+
}, {
|
|
911
|
+
code: string;
|
|
912
|
+
message: string;
|
|
913
|
+
retryable: boolean;
|
|
914
|
+
fieldErrors?: Record<string, string[]> | undefined;
|
|
915
|
+
requiredActions?: string[] | undefined;
|
|
916
|
+
evidenceRefs?: string[] | undefined;
|
|
917
|
+
context?: Record<string, unknown> | undefined;
|
|
918
|
+
}>>;
|
|
919
|
+
routingVariants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
920
|
+
suffix: z.ZodString;
|
|
921
|
+
billing: z.ZodEnum<["base", "service_tier"]>;
|
|
922
|
+
}, "strict", z.ZodTypeAny, {
|
|
923
|
+
suffix: string;
|
|
924
|
+
billing: "base" | "service_tier";
|
|
925
|
+
}, {
|
|
926
|
+
suffix: string;
|
|
927
|
+
billing: "base" | "service_tier";
|
|
928
|
+
}>, "many">>;
|
|
719
929
|
}, "strict", z.ZodTypeAny, {
|
|
720
930
|
harnessId: string;
|
|
721
931
|
models: {
|
|
@@ -733,12 +943,27 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
733
943
|
id: string;
|
|
734
944
|
label: string | null;
|
|
735
945
|
context_window: number | null;
|
|
946
|
+
input_modalities?: string[] | undefined;
|
|
947
|
+
max_output_tokens?: number | undefined;
|
|
736
948
|
routes: ("api_key" | "local_session")[] | null;
|
|
737
949
|
origin?: "hint" | "live" | undefined;
|
|
738
950
|
resolved_model?: string | null | undefined;
|
|
739
951
|
}[];
|
|
740
952
|
source: "api" | "manifest" | "none";
|
|
741
953
|
verifiedAgainst: string | null;
|
|
954
|
+
problem?: {
|
|
955
|
+
code: string;
|
|
956
|
+
message: string;
|
|
957
|
+
retryable: boolean;
|
|
958
|
+
fieldErrors: Record<string, string[]>;
|
|
959
|
+
requiredActions: string[];
|
|
960
|
+
evidenceRefs: string[];
|
|
961
|
+
context: Record<string, unknown>;
|
|
962
|
+
} | undefined;
|
|
963
|
+
routingVariants?: {
|
|
964
|
+
suffix: string;
|
|
965
|
+
billing: "base" | "service_tier";
|
|
966
|
+
}[] | undefined;
|
|
742
967
|
}, {
|
|
743
968
|
harnessId: string;
|
|
744
969
|
models?: {
|
|
@@ -756,12 +981,27 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
756
981
|
id: string;
|
|
757
982
|
label?: string | null | undefined;
|
|
758
983
|
context_window?: number | null | undefined;
|
|
984
|
+
input_modalities?: string[] | undefined;
|
|
985
|
+
max_output_tokens?: number | undefined;
|
|
759
986
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
760
987
|
origin?: "hint" | "live" | undefined;
|
|
761
988
|
resolved_model?: string | null | undefined;
|
|
762
989
|
}[] | undefined;
|
|
763
990
|
source: "api" | "manifest" | "none";
|
|
764
991
|
verifiedAgainst?: string | null | undefined;
|
|
992
|
+
problem?: {
|
|
993
|
+
code: string;
|
|
994
|
+
message: string;
|
|
995
|
+
retryable: boolean;
|
|
996
|
+
fieldErrors?: Record<string, string[]> | undefined;
|
|
997
|
+
requiredActions?: string[] | undefined;
|
|
998
|
+
evidenceRefs?: string[] | undefined;
|
|
999
|
+
context?: Record<string, unknown> | undefined;
|
|
1000
|
+
} | undefined;
|
|
1001
|
+
routingVariants?: {
|
|
1002
|
+
suffix: string;
|
|
1003
|
+
billing: "base" | "service_tier";
|
|
1004
|
+
}[] | undefined;
|
|
765
1005
|
}>, z.ZodObject<{
|
|
766
1006
|
harnessId: z.ZodString;
|
|
767
1007
|
accounts: z.ZodArray<z.ZodObject<{
|
|
@@ -793,7 +1033,7 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
793
1033
|
context?: Record<string, unknown> | undefined;
|
|
794
1034
|
}>>;
|
|
795
1035
|
} & {
|
|
796
|
-
catalog: z.ZodNullable<z.ZodObject<{
|
|
1036
|
+
catalog: z.ZodNullable<z.ZodObject<Omit<{
|
|
797
1037
|
harnessId: z.ZodString;
|
|
798
1038
|
models: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
799
1039
|
processing: z.ZodOptional<z.ZodObject<{
|
|
@@ -836,6 +1076,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
836
1076
|
id: z.ZodString;
|
|
837
1077
|
label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
838
1078
|
context_window: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1079
|
+
input_modalities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1080
|
+
max_output_tokens: z.ZodOptional<z.ZodNumber>;
|
|
839
1081
|
routes: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">>>;
|
|
840
1082
|
origin: z.ZodOptional<z.ZodEnum<["live", "hint"]>>;
|
|
841
1083
|
resolved_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -854,6 +1096,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
854
1096
|
id: string;
|
|
855
1097
|
label: string | null;
|
|
856
1098
|
context_window: number | null;
|
|
1099
|
+
input_modalities?: string[] | undefined;
|
|
1100
|
+
max_output_tokens?: number | undefined;
|
|
857
1101
|
routes: ("api_key" | "local_session")[] | null;
|
|
858
1102
|
origin?: "hint" | "live" | undefined;
|
|
859
1103
|
resolved_model?: string | null | undefined;
|
|
@@ -872,6 +1116,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
872
1116
|
id: string;
|
|
873
1117
|
label?: string | null | undefined;
|
|
874
1118
|
context_window?: number | null | undefined;
|
|
1119
|
+
input_modalities?: string[] | undefined;
|
|
1120
|
+
max_output_tokens?: number | undefined;
|
|
875
1121
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
876
1122
|
origin?: "hint" | "live" | undefined;
|
|
877
1123
|
resolved_model?: string | null | undefined;
|
|
@@ -880,7 +1126,42 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
880
1126
|
/** Freshness note for manifest-sourced lists: the vendor CLI version the
|
|
881
1127
|
* known-model hints were last verified against (null for api/none). */
|
|
882
1128
|
verifiedAgainst: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
883
|
-
|
|
1129
|
+
problem: z.ZodOptional<z.ZodObject<{
|
|
1130
|
+
code: z.ZodString;
|
|
1131
|
+
message: z.ZodString;
|
|
1132
|
+
retryable: z.ZodBoolean;
|
|
1133
|
+
fieldErrors: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1134
|
+
requiredActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1135
|
+
evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1136
|
+
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1137
|
+
}, "strict", z.ZodTypeAny, {
|
|
1138
|
+
code: string;
|
|
1139
|
+
message: string;
|
|
1140
|
+
retryable: boolean;
|
|
1141
|
+
fieldErrors: Record<string, string[]>;
|
|
1142
|
+
requiredActions: string[];
|
|
1143
|
+
evidenceRefs: string[];
|
|
1144
|
+
context: Record<string, unknown>;
|
|
1145
|
+
}, {
|
|
1146
|
+
code: string;
|
|
1147
|
+
message: string;
|
|
1148
|
+
retryable: boolean;
|
|
1149
|
+
fieldErrors?: Record<string, string[]> | undefined;
|
|
1150
|
+
requiredActions?: string[] | undefined;
|
|
1151
|
+
evidenceRefs?: string[] | undefined;
|
|
1152
|
+
context?: Record<string, unknown> | undefined;
|
|
1153
|
+
}>>;
|
|
1154
|
+
routingVariants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1155
|
+
suffix: z.ZodString;
|
|
1156
|
+
billing: z.ZodEnum<["base", "service_tier"]>;
|
|
1157
|
+
}, "strict", z.ZodTypeAny, {
|
|
1158
|
+
suffix: string;
|
|
1159
|
+
billing: "base" | "service_tier";
|
|
1160
|
+
}, {
|
|
1161
|
+
suffix: string;
|
|
1162
|
+
billing: "base" | "service_tier";
|
|
1163
|
+
}>, "many">>;
|
|
1164
|
+
}, "problem" | "routingVariants"> & {
|
|
884
1165
|
credentialProfileId: z.ZodString;
|
|
885
1166
|
observedAt: z.ZodNullable<z.ZodString>;
|
|
886
1167
|
provenance: z.ZodString;
|
|
@@ -901,6 +1182,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
901
1182
|
id: string;
|
|
902
1183
|
label: string | null;
|
|
903
1184
|
context_window: number | null;
|
|
1185
|
+
input_modalities?: string[] | undefined;
|
|
1186
|
+
max_output_tokens?: number | undefined;
|
|
904
1187
|
routes: ("api_key" | "local_session")[] | null;
|
|
905
1188
|
origin?: "hint" | "live" | undefined;
|
|
906
1189
|
resolved_model?: string | null | undefined;
|
|
@@ -927,6 +1210,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
927
1210
|
id: string;
|
|
928
1211
|
label?: string | null | undefined;
|
|
929
1212
|
context_window?: number | null | undefined;
|
|
1213
|
+
input_modalities?: string[] | undefined;
|
|
1214
|
+
max_output_tokens?: number | undefined;
|
|
930
1215
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
931
1216
|
origin?: "hint" | "live" | undefined;
|
|
932
1217
|
resolved_model?: string | null | undefined;
|
|
@@ -966,6 +1251,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
966
1251
|
id: string;
|
|
967
1252
|
label: string | null;
|
|
968
1253
|
context_window: number | null;
|
|
1254
|
+
input_modalities?: string[] | undefined;
|
|
1255
|
+
max_output_tokens?: number | undefined;
|
|
969
1256
|
routes: ("api_key" | "local_session")[] | null;
|
|
970
1257
|
origin?: "hint" | "live" | undefined;
|
|
971
1258
|
resolved_model?: string | null | undefined;
|
|
@@ -1005,6 +1292,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
1005
1292
|
id: string;
|
|
1006
1293
|
label?: string | null | undefined;
|
|
1007
1294
|
context_window?: number | null | undefined;
|
|
1295
|
+
input_modalities?: string[] | undefined;
|
|
1296
|
+
max_output_tokens?: number | undefined;
|
|
1008
1297
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
1009
1298
|
origin?: "hint" | "live" | undefined;
|
|
1010
1299
|
resolved_model?: string | null | undefined;
|
|
@@ -1048,6 +1337,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
1048
1337
|
id: string;
|
|
1049
1338
|
label: string | null;
|
|
1050
1339
|
context_window: number | null;
|
|
1340
|
+
input_modalities?: string[] | undefined;
|
|
1341
|
+
max_output_tokens?: number | undefined;
|
|
1051
1342
|
routes: ("api_key" | "local_session")[] | null;
|
|
1052
1343
|
origin?: "hint" | "live" | undefined;
|
|
1053
1344
|
resolved_model?: string | null | undefined;
|
|
@@ -1091,6 +1382,8 @@ export declare const ControlHarnessModelsQueryResponse: z.ZodUnion<[z.ZodObject<
|
|
|
1091
1382
|
id: string;
|
|
1092
1383
|
label?: string | null | undefined;
|
|
1093
1384
|
context_window?: number | null | undefined;
|
|
1385
|
+
input_modalities?: string[] | undefined;
|
|
1386
|
+
max_output_tokens?: number | undefined;
|
|
1094
1387
|
routes?: ("api_key" | "local_session")[] | null | undefined;
|
|
1095
1388
|
origin?: "hint" | "live" | undefined;
|
|
1096
1389
|
resolved_model?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-harness-models.d.ts","sourceRoot":"","sources":["../src/control-harness-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"control-harness-models.d.ts","sourceRoot":"","sources":["../src/control-harness-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAM3B;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYrC;2EACuE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAeF,CAAC;AAC1E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAGxF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IApBrC;2EACuE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BhE,CAAC;AACZ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACxF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAjC5C;mFACuE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwChE,CAAC;AACZ,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAC;AACF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA7C1C;2EACuE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YADvE;mFACuE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+CzE,CAAC;AACH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
2
|
import { Id, IsoTimestamp, NonBlankString } from "./primitives.js";
|
|
3
|
-
import { HarnessModel } from "./harness-model.js";
|
|
3
|
+
import { HarnessModel, ModelRoutingVariants } from "./harness-model.js";
|
|
4
4
|
import { AccountCatalogAvailability } from "./model-operation.js";
|
|
5
|
+
import { ControlProblem } from "./problem.js";
|
|
5
6
|
/**
|
|
6
7
|
* Models enumerable for one harness. `source` is honest about provenance:
|
|
7
8
|
* "api" when the adapter implemented a real enumeration (raw-api / OpenAI
|
|
@@ -26,13 +27,21 @@ export const ControlHarnessModelsResponse = z
|
|
|
26
27
|
.nullable()
|
|
27
28
|
.default(null)
|
|
28
29
|
.describe("Vendor CLI version the manifest hints were last verified against; null for api/none sources."),
|
|
30
|
+
problem: ControlProblem.optional().describe("Present only when the live catalog read failed (code model_catalog_unavailable; context.cause names no_credential, auth_rejected, http_status, network, timeout, malformed or incomplete): models is then empty and is NOT an empty catalog."),
|
|
31
|
+
routingVariants: ModelRoutingVariants.optional().describe("The harness's declared request-time routing suffixes, so a surface finds the listed row of a variant id (#146); omitted when none are declared."),
|
|
29
32
|
})
|
|
30
33
|
.describe("Models enumerable for one harness, with honest provenance.");
|
|
31
|
-
|
|
34
|
+
// An account row reports a failed read on its availability row, never inside a catalog.
|
|
35
|
+
export const ControlHarnessAccountCatalog = ControlHarnessModelsResponse.omit({
|
|
36
|
+
problem: true,
|
|
37
|
+
routingVariants: true,
|
|
38
|
+
})
|
|
39
|
+
.extend({
|
|
32
40
|
credentialProfileId: Id,
|
|
33
41
|
observedAt: IsoTimestamp.nullable().describe("Original account catalog observation, or null for manifest hints whose observation time is unknown."),
|
|
34
42
|
provenance: NonBlankString,
|
|
35
|
-
})
|
|
43
|
+
})
|
|
44
|
+
.strict();
|
|
36
45
|
export const ControlHarnessAccountModelsResponse = z
|
|
37
46
|
.object({
|
|
38
47
|
harnessId: Id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-harness-models.js","sourceRoot":"","sources":["../src/control-harness-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"control-harness-models.js","sourceRoot":"","sources":["../src/control-harness-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC;KAC1C,MAAM,CAAC;IACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IAC/D,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,YAAY,CAAC;SACnB,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,sEAAsE,CAAC;IACnF,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;SACjC,QAAQ,CACP,uKAAuK,CACxK;IACH;2EACuE;IACvE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACP,8FAA8F,CAC/F;IACH,OAAO,EAAE,cAAc,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzC,8OAA8O,CAC/O;IACD,eAAe,EAAE,oBAAoB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACvD,iJAAiJ,CAClJ;CACF,CAAC;KACD,QAAQ,CAAC,4DAA4D,CAAC,CAAC;AAG1E,wFAAwF;AACxF,MAAM,CAAC,MAAM,4BAA4B,GAAG,4BAA4B,CAAC,IAAI,CAAC;IAC5E,OAAO,EAAE,IAAI;IACb,eAAe,EAAE,IAAI;CACtB,CAAC;KACC,MAAM,CAAC;IACN,mBAAmB,EAAE,EAAE;IACvB,UAAU,EAAE,YAAY,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1C,qGAAqG,CACtG;IACD,UAAU,EAAE,cAAc;CAC3B,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC;KACjD,MAAM,CAAC;IACN,SAAS,EAAE,EAAE;IACb,QAAQ,EAAE,CAAC,CAAC,KAAK,CACf,0BAA0B,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,4BAA4B,CAAC,QAAQ,EAAE,EAAE,CAAC,CACxF;IACD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CACrB,CAAC;KACD,MAAM,EAAE,CAAC;AAIZ,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC;IACvD,4BAA4B,CAAC,MAAM,EAAE;IACrC,mCAAmC;CACpC,CAAC,CAAC"}
|