@claudexor/schema 3.1.0 → 3.1.2
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/agent-capabilities.d.ts +97 -9
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +5 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +102 -0
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +17 -0
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/budget.d.ts +13 -13
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +2 -0
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +70 -38
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +12 -1
- package/dist/config.js.map +1 -1
- package/dist/control-operation-responses.d.ts +160 -56
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +25 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +1413 -205
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +6 -0
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +2 -2
- package/dist/control.d.ts +486 -163
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +23 -28
- package/dist/control.js.map +1 -1
- package/dist/decision.d.ts +5 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +7 -3
- package/dist/decision.js.map +1 -1
- package/dist/delegation.d.ts +73 -0
- package/dist/delegation.d.ts.map +1 -0
- package/dist/delegation.js +120 -0
- package/dist/delegation.js.map +1 -0
- package/dist/effort.d.ts +132 -0
- package/dist/effort.d.ts.map +1 -0
- package/dist/effort.js +167 -0
- package/dist/effort.js.map +1 -0
- package/dist/events.d.ts +4 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +9 -0
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +2 -2
- package/dist/harness.d.ts +113 -40
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +40 -27
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +16 -16
- package/dist/readiness.d.ts +86 -7
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +4 -0
- package/dist/readiness.js.map +1 -1
- package/dist/request-requirements.d.ts +7 -7
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +2 -1
- package/dist/request-requirements.js.map +1 -1
- package/dist/task.d.ts +104 -59
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +20 -8
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +103 -65
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +6 -9
- package/dist/telemetry.js.map +1 -1
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +7 -7
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +43 -9
- package/generated/ControlHarnessListResponse.schema.json +93 -11
- package/generated/ControlHarnessSettingsPatch.schema.json +4 -8
- package/generated/ControlRunAgainDraft.schema.json +9 -9
- package/generated/ControlRunControlResponse.schema.json +8 -0
- package/generated/ControlRunDetail.schema.json +119 -21
- package/generated/ControlRunListResponse.schema.json +96 -16
- package/generated/ControlRunStartRequest.schema.json +9 -9
- package/generated/ControlRunSummary.schema.json +96 -16
- package/generated/ControlSettingsSnapshot.schema.json +4 -8
- package/generated/ControlSettingsUpdateRequest.schema.json +4 -8
- package/generated/ControlThreadDetail.schema.json +64 -0
- package/generated/ControlThreadTurnRequest.schema.json +4 -8
- package/generated/DecisionRecord.schema.json +10 -1
- package/generated/GlobalConfig.schema.json +4 -8
- package/generated/HarnessManifest.schema.json +47 -11
- package/generated/HarnessStatusDto.schema.json +93 -11
- package/generated/McpRunHandleResult.schema.json +72 -1
- package/generated/McpRunToolResult.schema.json +69 -0
- package/generated/ProjectConfig.schema.json +26 -0
- package/generated/RunEvent.schema.json +2 -0
- package/generated/RunFailure.schema.json +4 -3
- package/generated/RunTelemetry.schema.json +61 -2
- package/generated/TaskContract.schema.json +48 -12
- package/generated/WorkspaceEnvelope.schema.json +6 -6
- package/package.json +2 -2
package/dist/operation.d.ts
CHANGED
|
@@ -69,17 +69,17 @@ export declare const ControlOperationParameter: z.ZodObject<{
|
|
|
69
69
|
name: string;
|
|
70
70
|
description: string;
|
|
71
71
|
required: boolean;
|
|
72
|
-
enum: string[] | null;
|
|
73
72
|
location: "header" | "query";
|
|
74
73
|
repeatable: boolean;
|
|
74
|
+
enum: string[] | null;
|
|
75
75
|
schemaRef: string | null;
|
|
76
76
|
}, {
|
|
77
77
|
name: string;
|
|
78
78
|
description: string;
|
|
79
79
|
required: boolean;
|
|
80
80
|
location: "header" | "query";
|
|
81
|
-
enum?: string[] | null | undefined;
|
|
82
81
|
repeatable?: boolean | undefined;
|
|
82
|
+
enum?: string[] | null | undefined;
|
|
83
83
|
schemaRef?: string | null | undefined;
|
|
84
84
|
}>;
|
|
85
85
|
export type ControlOperationParameter = z.infer<typeof ControlOperationParameter>;
|
|
@@ -112,17 +112,17 @@ export declare const ControlOperationDescriptor: z.ZodEffects<z.ZodObject<{
|
|
|
112
112
|
name: string;
|
|
113
113
|
description: string;
|
|
114
114
|
required: boolean;
|
|
115
|
-
enum: string[] | null;
|
|
116
115
|
location: "header" | "query";
|
|
117
116
|
repeatable: boolean;
|
|
117
|
+
enum: string[] | null;
|
|
118
118
|
schemaRef: string | null;
|
|
119
119
|
}, {
|
|
120
120
|
name: string;
|
|
121
121
|
description: string;
|
|
122
122
|
required: boolean;
|
|
123
123
|
location: "header" | "query";
|
|
124
|
-
enum?: string[] | null | undefined;
|
|
125
124
|
repeatable?: boolean | undefined;
|
|
125
|
+
enum?: string[] | null | undefined;
|
|
126
126
|
schemaRef?: string | null | undefined;
|
|
127
127
|
}>, "many">>;
|
|
128
128
|
responseSchema: z.ZodNullable<z.ZodString>;
|
|
@@ -144,9 +144,9 @@ export declare const ControlOperationDescriptor: z.ZodEffects<z.ZodObject<{
|
|
|
144
144
|
name: string;
|
|
145
145
|
description: string;
|
|
146
146
|
required: boolean;
|
|
147
|
-
enum: string[] | null;
|
|
148
147
|
location: "header" | "query";
|
|
149
148
|
repeatable: boolean;
|
|
149
|
+
enum: string[] | null;
|
|
150
150
|
schemaRef: string | null;
|
|
151
151
|
}[];
|
|
152
152
|
responseSchema: string | null;
|
|
@@ -174,8 +174,8 @@ export declare const ControlOperationDescriptor: z.ZodEffects<z.ZodObject<{
|
|
|
174
174
|
description: string;
|
|
175
175
|
required: boolean;
|
|
176
176
|
location: "header" | "query";
|
|
177
|
-
enum?: string[] | null | undefined;
|
|
178
177
|
repeatable?: boolean | undefined;
|
|
178
|
+
enum?: string[] | null | undefined;
|
|
179
179
|
schemaRef?: string | null | undefined;
|
|
180
180
|
}[] | undefined;
|
|
181
181
|
}>, {
|
|
@@ -190,9 +190,9 @@ export declare const ControlOperationDescriptor: z.ZodEffects<z.ZodObject<{
|
|
|
190
190
|
name: string;
|
|
191
191
|
description: string;
|
|
192
192
|
required: boolean;
|
|
193
|
-
enum: string[] | null;
|
|
194
193
|
location: "header" | "query";
|
|
195
194
|
repeatable: boolean;
|
|
195
|
+
enum: string[] | null;
|
|
196
196
|
schemaRef: string | null;
|
|
197
197
|
}[];
|
|
198
198
|
responseSchema: string | null;
|
|
@@ -220,8 +220,8 @@ export declare const ControlOperationDescriptor: z.ZodEffects<z.ZodObject<{
|
|
|
220
220
|
description: string;
|
|
221
221
|
required: boolean;
|
|
222
222
|
location: "header" | "query";
|
|
223
|
-
enum?: string[] | null | undefined;
|
|
224
223
|
repeatable?: boolean | undefined;
|
|
224
|
+
enum?: string[] | null | undefined;
|
|
225
225
|
schemaRef?: string | null | undefined;
|
|
226
226
|
}[] | undefined;
|
|
227
227
|
}>;
|
|
@@ -257,17 +257,17 @@ export declare const ControlOperationCatalog: z.ZodObject<{
|
|
|
257
257
|
name: string;
|
|
258
258
|
description: string;
|
|
259
259
|
required: boolean;
|
|
260
|
-
enum: string[] | null;
|
|
261
260
|
location: "header" | "query";
|
|
262
261
|
repeatable: boolean;
|
|
262
|
+
enum: string[] | null;
|
|
263
263
|
schemaRef: string | null;
|
|
264
264
|
}, {
|
|
265
265
|
name: string;
|
|
266
266
|
description: string;
|
|
267
267
|
required: boolean;
|
|
268
268
|
location: "header" | "query";
|
|
269
|
-
enum?: string[] | null | undefined;
|
|
270
269
|
repeatable?: boolean | undefined;
|
|
270
|
+
enum?: string[] | null | undefined;
|
|
271
271
|
schemaRef?: string | null | undefined;
|
|
272
272
|
}>, "many">>;
|
|
273
273
|
responseSchema: z.ZodNullable<z.ZodString>;
|
|
@@ -289,9 +289,9 @@ export declare const ControlOperationCatalog: z.ZodObject<{
|
|
|
289
289
|
name: string;
|
|
290
290
|
description: string;
|
|
291
291
|
required: boolean;
|
|
292
|
-
enum: string[] | null;
|
|
293
292
|
location: "header" | "query";
|
|
294
293
|
repeatable: boolean;
|
|
294
|
+
enum: string[] | null;
|
|
295
295
|
schemaRef: string | null;
|
|
296
296
|
}[];
|
|
297
297
|
responseSchema: string | null;
|
|
@@ -319,8 +319,8 @@ export declare const ControlOperationCatalog: z.ZodObject<{
|
|
|
319
319
|
description: string;
|
|
320
320
|
required: boolean;
|
|
321
321
|
location: "header" | "query";
|
|
322
|
-
enum?: string[] | null | undefined;
|
|
323
322
|
repeatable?: boolean | undefined;
|
|
323
|
+
enum?: string[] | null | undefined;
|
|
324
324
|
schemaRef?: string | null | undefined;
|
|
325
325
|
}[] | undefined;
|
|
326
326
|
}>, {
|
|
@@ -335,9 +335,9 @@ export declare const ControlOperationCatalog: z.ZodObject<{
|
|
|
335
335
|
name: string;
|
|
336
336
|
description: string;
|
|
337
337
|
required: boolean;
|
|
338
|
-
enum: string[] | null;
|
|
339
338
|
location: "header" | "query";
|
|
340
339
|
repeatable: boolean;
|
|
340
|
+
enum: string[] | null;
|
|
341
341
|
schemaRef: string | null;
|
|
342
342
|
}[];
|
|
343
343
|
responseSchema: string | null;
|
|
@@ -365,8 +365,8 @@ export declare const ControlOperationCatalog: z.ZodObject<{
|
|
|
365
365
|
description: string;
|
|
366
366
|
required: boolean;
|
|
367
367
|
location: "header" | "query";
|
|
368
|
-
enum?: string[] | null | undefined;
|
|
369
368
|
repeatable?: boolean | undefined;
|
|
369
|
+
enum?: string[] | null | undefined;
|
|
370
370
|
schemaRef?: string | null | undefined;
|
|
371
371
|
}[] | undefined;
|
|
372
372
|
}>, "many">;
|
|
@@ -384,9 +384,9 @@ export declare const ControlOperationCatalog: z.ZodObject<{
|
|
|
384
384
|
name: string;
|
|
385
385
|
description: string;
|
|
386
386
|
required: boolean;
|
|
387
|
-
enum: string[] | null;
|
|
388
387
|
location: "header" | "query";
|
|
389
388
|
repeatable: boolean;
|
|
389
|
+
enum: string[] | null;
|
|
390
390
|
schemaRef: string | null;
|
|
391
391
|
}[];
|
|
392
392
|
responseSchema: string | null;
|
|
@@ -417,8 +417,8 @@ export declare const ControlOperationCatalog: z.ZodObject<{
|
|
|
417
417
|
description: string;
|
|
418
418
|
required: boolean;
|
|
419
419
|
location: "header" | "query";
|
|
420
|
-
enum?: string[] | null | undefined;
|
|
421
420
|
repeatable?: boolean | undefined;
|
|
421
|
+
enum?: string[] | null | undefined;
|
|
422
422
|
schemaRef?: string | null | undefined;
|
|
423
423
|
}[] | undefined;
|
|
424
424
|
}[];
|
package/dist/readiness.d.ts
CHANGED
|
@@ -174,7 +174,18 @@ export declare const HarnessStatusDto: z.ZodObject<{
|
|
|
174
174
|
json_schema_output: z.ZodDefault<z.ZodBoolean>;
|
|
175
175
|
work_report_transport: z.ZodDefault<z.ZodEnum<["constrained", "validated", "unsupported"]>>;
|
|
176
176
|
structured_output_channel: z.ZodDefault<z.ZodEnum<["side_tool", "final_message"]>>;
|
|
177
|
-
effort_levels: z.ZodDefault<z.ZodArray<z.
|
|
177
|
+
effort_levels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
178
|
+
model_effort_levels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
179
|
+
levels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
180
|
+
default: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
181
|
+
}, "strict", z.ZodTypeAny, {
|
|
182
|
+
levels: string[];
|
|
183
|
+
default: string | null;
|
|
184
|
+
}, {
|
|
185
|
+
levels?: string[] | undefined;
|
|
186
|
+
default?: string | null | undefined;
|
|
187
|
+
}>>>;
|
|
188
|
+
effort_levels_verified_against: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
178
189
|
known_models: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
179
190
|
id: z.ZodString;
|
|
180
191
|
routes: z.ZodArray<z.ZodEnum<["local_session", "api_key"]>, "many">;
|
|
@@ -203,7 +214,12 @@ export declare const HarnessStatusDto: z.ZodObject<{
|
|
|
203
214
|
json_schema_output: boolean;
|
|
204
215
|
work_report_transport: "constrained" | "validated" | "unsupported";
|
|
205
216
|
structured_output_channel: "side_tool" | "final_message";
|
|
206
|
-
effort_levels:
|
|
217
|
+
effort_levels: string[];
|
|
218
|
+
model_effort_levels: Record<string, {
|
|
219
|
+
levels: string[];
|
|
220
|
+
default: string | null;
|
|
221
|
+
}>;
|
|
222
|
+
effort_levels_verified_against: string | null;
|
|
207
223
|
known_models: (string | {
|
|
208
224
|
id: string;
|
|
209
225
|
routes: ("api_key" | "local_session")[];
|
|
@@ -226,7 +242,12 @@ export declare const HarnessStatusDto: z.ZodObject<{
|
|
|
226
242
|
json_schema_output?: boolean | undefined;
|
|
227
243
|
work_report_transport?: "constrained" | "validated" | "unsupported" | undefined;
|
|
228
244
|
structured_output_channel?: "side_tool" | "final_message" | undefined;
|
|
229
|
-
effort_levels?:
|
|
245
|
+
effort_levels?: string[] | undefined;
|
|
246
|
+
model_effort_levels?: Record<string, {
|
|
247
|
+
levels?: string[] | undefined;
|
|
248
|
+
default?: string | null | undefined;
|
|
249
|
+
}> | undefined;
|
|
250
|
+
effort_levels_verified_against?: string | null | undefined;
|
|
230
251
|
known_models?: (string | {
|
|
231
252
|
id: string;
|
|
232
253
|
routes: ("api_key" | "local_session")[];
|
|
@@ -283,7 +304,12 @@ export declare const HarnessStatusDto: z.ZodObject<{
|
|
|
283
304
|
json_schema_output: boolean;
|
|
284
305
|
work_report_transport: "constrained" | "validated" | "unsupported";
|
|
285
306
|
structured_output_channel: "side_tool" | "final_message";
|
|
286
|
-
effort_levels:
|
|
307
|
+
effort_levels: string[];
|
|
308
|
+
model_effort_levels: Record<string, {
|
|
309
|
+
levels: string[];
|
|
310
|
+
default: string | null;
|
|
311
|
+
}>;
|
|
312
|
+
effort_levels_verified_against: string | null;
|
|
287
313
|
known_models: (string | {
|
|
288
314
|
id: string;
|
|
289
315
|
routes: ("api_key" | "local_session")[];
|
|
@@ -315,7 +341,12 @@ export declare const HarnessStatusDto: z.ZodObject<{
|
|
|
315
341
|
json_schema_output?: boolean | undefined;
|
|
316
342
|
work_report_transport?: "constrained" | "validated" | "unsupported" | undefined;
|
|
317
343
|
structured_output_channel?: "side_tool" | "final_message" | undefined;
|
|
318
|
-
effort_levels?:
|
|
344
|
+
effort_levels?: string[] | undefined;
|
|
345
|
+
model_effort_levels?: Record<string, {
|
|
346
|
+
levels?: string[] | undefined;
|
|
347
|
+
default?: string | null | undefined;
|
|
348
|
+
}> | undefined;
|
|
349
|
+
effort_levels_verified_against?: string | null | undefined;
|
|
319
350
|
known_models?: (string | {
|
|
320
351
|
id: string;
|
|
321
352
|
routes: ("api_key" | "local_session")[];
|
|
@@ -430,6 +461,32 @@ export declare const HarnessStatusDto: z.ZodObject<{
|
|
|
430
461
|
status: "ok" | "rejected";
|
|
431
462
|
message?: string | null | undefined;
|
|
432
463
|
}>>>;
|
|
464
|
+
delegation: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
465
|
+
available: z.ZodBoolean;
|
|
466
|
+
reason: z.ZodEnum<["ready", "runtime_unavailable", "manifest_unsupported"]>;
|
|
467
|
+
remediation: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
468
|
+
requiresFullAccess: z.ZodDefault<z.ZodBoolean>;
|
|
469
|
+
}, "strict", z.ZodTypeAny, {
|
|
470
|
+
available: boolean;
|
|
471
|
+
reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
|
|
472
|
+
remediation: string | null;
|
|
473
|
+
requiresFullAccess: boolean;
|
|
474
|
+
}, {
|
|
475
|
+
available: boolean;
|
|
476
|
+
reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
|
|
477
|
+
remediation?: string | null | undefined;
|
|
478
|
+
requiresFullAccess?: boolean | undefined;
|
|
479
|
+
}>, {
|
|
480
|
+
available: boolean;
|
|
481
|
+
reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
|
|
482
|
+
remediation: string | null;
|
|
483
|
+
requiresFullAccess: boolean;
|
|
484
|
+
}, {
|
|
485
|
+
available: boolean;
|
|
486
|
+
reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
|
|
487
|
+
remediation?: string | null | undefined;
|
|
488
|
+
requiresFullAccess?: boolean | undefined;
|
|
489
|
+
}>>>;
|
|
433
490
|
}, "strip", z.ZodTypeAny, {
|
|
434
491
|
status: "unavailable" | "ok" | "degraded";
|
|
435
492
|
readiness: {
|
|
@@ -450,6 +507,12 @@ export declare const HarnessStatusDto: z.ZodObject<{
|
|
|
450
507
|
enabledIntents: string[];
|
|
451
508
|
disabledIntents: string[];
|
|
452
509
|
configuredModel: string | null;
|
|
510
|
+
delegation: {
|
|
511
|
+
available: boolean;
|
|
512
|
+
reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
|
|
513
|
+
remediation: string | null;
|
|
514
|
+
requiresFullAccess: boolean;
|
|
515
|
+
} | null;
|
|
453
516
|
routableIntents: string[];
|
|
454
517
|
authSources: {
|
|
455
518
|
source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
@@ -509,7 +572,12 @@ export declare const HarnessStatusDto: z.ZodObject<{
|
|
|
509
572
|
json_schema_output: boolean;
|
|
510
573
|
work_report_transport: "constrained" | "validated" | "unsupported";
|
|
511
574
|
structured_output_channel: "side_tool" | "final_message";
|
|
512
|
-
effort_levels:
|
|
575
|
+
effort_levels: string[];
|
|
576
|
+
model_effort_levels: Record<string, {
|
|
577
|
+
levels: string[];
|
|
578
|
+
default: string | null;
|
|
579
|
+
}>;
|
|
580
|
+
effort_levels_verified_against: string | null;
|
|
513
581
|
known_models: (string | {
|
|
514
582
|
id: string;
|
|
515
583
|
routes: ("api_key" | "local_session")[];
|
|
@@ -559,7 +627,12 @@ export declare const HarnessStatusDto: z.ZodObject<{
|
|
|
559
627
|
json_schema_output?: boolean | undefined;
|
|
560
628
|
work_report_transport?: "constrained" | "validated" | "unsupported" | undefined;
|
|
561
629
|
structured_output_channel?: "side_tool" | "final_message" | undefined;
|
|
562
|
-
effort_levels?:
|
|
630
|
+
effort_levels?: string[] | undefined;
|
|
631
|
+
model_effort_levels?: Record<string, {
|
|
632
|
+
levels?: string[] | undefined;
|
|
633
|
+
default?: string | null | undefined;
|
|
634
|
+
}> | undefined;
|
|
635
|
+
effort_levels_verified_against?: string | null | undefined;
|
|
563
636
|
known_models?: (string | {
|
|
564
637
|
id: string;
|
|
565
638
|
routes: ("api_key" | "local_session")[];
|
|
@@ -601,6 +674,12 @@ export declare const HarnessStatusDto: z.ZodObject<{
|
|
|
601
674
|
enabledIntents?: string[] | undefined;
|
|
602
675
|
disabledIntents?: string[] | undefined;
|
|
603
676
|
configuredModel?: string | null | undefined;
|
|
677
|
+
delegation?: {
|
|
678
|
+
available: boolean;
|
|
679
|
+
reason: "ready" | "runtime_unavailable" | "manifest_unsupported";
|
|
680
|
+
remediation?: string | null | undefined;
|
|
681
|
+
requiresFullAccess?: boolean | undefined;
|
|
682
|
+
} | null | undefined;
|
|
604
683
|
routableIntents?: string[] | undefined;
|
|
605
684
|
authSources?: {
|
|
606
685
|
source: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
package/dist/readiness.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readiness.d.ts","sourceRoot":"","sources":["../src/readiness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"readiness.d.ts","sourceRoot":"","sources":["../src/readiness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;EAgB2C,CAAC;AAC1E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWzB;;;yEAGqE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmBrE;2EACuE;;;;;;;;;;;;;;;;;;;;IAKvE,+DAA+D;;IAM/D;;qDAEiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBlD,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
package/dist/readiness.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { AdapterStatus, ConformanceCheck, HarnessManifest } from "./harness.js";
|
|
3
3
|
import { AuthSourceReadiness } from "./auth.js";
|
|
4
|
+
import { DelegationCapability } from "./delegation.js";
|
|
4
5
|
/**
|
|
5
6
|
* ONE display-ready readiness check (W4.7 sol #18): the daemon normalizes raw
|
|
6
7
|
* doctor probes, auth-source readiness, and the configured-model verdict into
|
|
@@ -82,6 +83,9 @@ export const HarnessStatusDto = z
|
|
|
82
83
|
.nullable()
|
|
83
84
|
.default(null)
|
|
84
85
|
.describe("Strict truth-source check of configuredModel; null when no model is configured."),
|
|
86
|
+
delegation: DelegationCapability.nullable()
|
|
87
|
+
.default(null)
|
|
88
|
+
.describe("Engine-owned Delegate capability for this harness and installed runtime; null on legacy status rows."),
|
|
85
89
|
})
|
|
86
90
|
.describe("Doctor-backed status row for one harness: status, intents, checks, and configured-model validity.");
|
|
87
91
|
//# sourceMappingURL=readiness.js.map
|
package/dist/readiness.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readiness.js","sourceRoot":"","sources":["../src/readiness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,gBAAgB,E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AC;aACN,IAAI,CAAC,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;aACxB,QAAQ,CAAC,oEAAoE,CAAC;QACjF,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,OAAO,CAAC,IAAI,CAAC;aACb,QAAQ,CAAC,8CAA8C,CAAC;KAC5D,CAAC;SACD,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,iFAAiF,CAAC;IAC9F,UAAU,EAAE,oBAAoB,CAAC,QAAQ,EAAE;SACxC,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACP,sGAAsG,CACvG;CACJ,CAAC;KACD,QAAQ,CACP,mGAAmG,CACpG,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
/** Why one selected lane did or did not receive a requested capability. */
|
|
3
|
-
export declare const RequestRequirementReason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible", "postdiff_only"]>;
|
|
3
|
+
export declare const RequestRequirementReason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible", "runtime_unavailable", "postdiff_only"]>;
|
|
4
4
|
export type RequestRequirementReason = z.infer<typeof RequestRequirementReason>;
|
|
5
5
|
/**
|
|
6
6
|
* Preflight truth for one requested capability on one selected harness lane.
|
|
@@ -8,28 +8,28 @@ export type RequestRequirementReason = z.infer<typeof RequestRequirementReason>;
|
|
|
8
8
|
* effective there; consumers must use `effective`, never infer from manifest.
|
|
9
9
|
*/
|
|
10
10
|
export declare const RequestRequirementResolution: z.ZodObject<{
|
|
11
|
-
capability: z.ZodEnum<["browser", "path_deny"]>;
|
|
11
|
+
capability: z.ZodEnum<["browser", "path_deny", "delegation"]>;
|
|
12
12
|
harness_id: z.ZodString;
|
|
13
13
|
eligible: z.ZodBoolean;
|
|
14
14
|
requested: z.ZodBoolean;
|
|
15
15
|
effective: z.ZodBoolean;
|
|
16
|
-
reason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible", "postdiff_only"]>;
|
|
16
|
+
reason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible", "runtime_unavailable", "postdiff_only"]>;
|
|
17
17
|
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
requested: boolean;
|
|
20
20
|
effective: boolean;
|
|
21
21
|
harness_id: string;
|
|
22
|
-
reason: "effective" | "
|
|
22
|
+
reason: "effective" | "runtime_unavailable" | "manifest_unsupported" | "not_requested" | "access_profile_incompatible" | "web_policy_off" | "postdiff_only";
|
|
23
23
|
evidence_refs: string[];
|
|
24
24
|
eligible: boolean;
|
|
25
|
-
capability: "browser" | "path_deny";
|
|
25
|
+
capability: "browser" | "delegation" | "path_deny";
|
|
26
26
|
}, {
|
|
27
27
|
requested: boolean;
|
|
28
28
|
effective: boolean;
|
|
29
29
|
harness_id: string;
|
|
30
|
-
reason: "effective" | "
|
|
30
|
+
reason: "effective" | "runtime_unavailable" | "manifest_unsupported" | "not_requested" | "access_profile_incompatible" | "web_policy_off" | "postdiff_only";
|
|
31
31
|
eligible: boolean;
|
|
32
|
-
capability: "browser" | "path_deny";
|
|
32
|
+
capability: "browser" | "delegation" | "path_deny";
|
|
33
33
|
evidence_refs?: string[] | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
export type RequestRequirementResolution = z.infer<typeof RequestRequirementResolution>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-requirements.d.ts","sourceRoot":"","sources":["../src/request-requirements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"request-requirements.d.ts","sourceRoot":"","sources":["../src/request-requirements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB,4JAUnC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;EAUoD,CAAC;AAC9F,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -6,6 +6,7 @@ export const RequestRequirementReason = z.enum([
|
|
|
6
6
|
"manifest_unsupported",
|
|
7
7
|
"web_policy_off",
|
|
8
8
|
"access_profile_incompatible",
|
|
9
|
+
"runtime_unavailable",
|
|
9
10
|
/** No selected lane can enforce the capability natively; the engine's
|
|
10
11
|
* post-diff policy gate is the authoritative enforcement instead. */
|
|
11
12
|
"postdiff_only",
|
|
@@ -17,7 +18,7 @@ export const RequestRequirementReason = z.enum([
|
|
|
17
18
|
*/
|
|
18
19
|
export const RequestRequirementResolution = z
|
|
19
20
|
.object({
|
|
20
|
-
capability: z.enum(["browser", "path_deny"]),
|
|
21
|
+
capability: z.enum(["browser", "path_deny", "delegation"]),
|
|
21
22
|
harness_id: z.string().min(1),
|
|
22
23
|
eligible: z.boolean(),
|
|
23
24
|
requested: z.boolean(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-requirements.js","sourceRoot":"","sources":["../src/request-requirements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,2EAA2E;AAC3E,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,eAAe;IACf,WAAW;IACX,sBAAsB;IACtB,gBAAgB;IAChB,6BAA6B;IAC7B;yEACqE;IACrE,eAAe;CAChB,CAA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