@claudexor/schema 4.4.0 → 4.6.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-routing-evidence.d.ts +300 -0
- package/dist/account-routing-evidence.d.ts.map +1 -1
- package/dist/account-routing-evidence.js +26 -1
- package/dist/account-routing-evidence.js.map +1 -1
- package/dist/agent-capabilities.d.ts +8 -0
- 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/control-harness-list.d.ts +9 -0
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-operation-responses.d.ts +3 -0
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control.d.ts +11 -0
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +3 -1
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +36 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/harness.d.ts +49 -0
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +5 -1
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/model-operation.d.ts +205 -0
- package/dist/model-operation.d.ts.map +1 -1
- package/dist/model-operation.js +27 -1
- package/dist/model-operation.js.map +1 -1
- package/dist/prompt-cache.d.ts +32 -0
- package/dist/prompt-cache.d.ts.map +1 -0
- package/dist/prompt-cache.js +34 -0
- package/dist/prompt-cache.js.map +1 -0
- package/dist/readiness.d.ts +7 -0
- package/dist/readiness.d.ts.map +1 -1
- package/dist/task.d.ts +9 -0
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +2 -0
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +92 -4
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +2 -2
- package/dist/telemetry.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +12 -0
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +67 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +13 -1
- package/generated/ControlCredentialProfilesResourcesResponse.schema.json +13 -1
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +13 -1
- package/generated/ControlHarnessListResponse.schema.json +13 -1
- package/generated/ControlModelAccountCatalogResponse.schema.json +4 -0
- package/generated/ControlModelCatalogQueryResponse.schema.json +4 -0
- package/generated/ControlModelCatalogResponse.schema.json +4 -0
- package/generated/ControlModelOperationDetail.schema.json +54 -0
- package/generated/ControlRunAgainDraft.schema.json +9 -1
- package/generated/ControlRunStartRequest.schema.json +9 -1
- package/generated/ControlThreadTurnRequest.schema.json +8 -0
- package/generated/HarnessEvent.schema.json +87 -0
- package/generated/HarnessManifest.schema.json +13 -1
- package/generated/HarnessStatusDto.schema.json +13 -1
- package/generated/ImageCallRequest.schema.json +1 -1
- package/generated/McpAccountsToolResult.schema.json +79 -1
- package/generated/ModelCallRequest.schema.json +5 -1
- package/generated/ModelCallResult.schema.json +59 -5
- package/generated/PromptCacheTtl.schema.json +14 -0
- package/generated/PromptCacheTtlReceipt.schema.json +96 -0
- package/generated/RunTelemetry.schema.json +87 -0
- package/generated/TaskContract.schema.json +8 -0
- package/package.json +2 -2
|
@@ -18,9 +18,67 @@ export declare const AccountLastService: z.ZodObject<{
|
|
|
18
18
|
observed_at: string;
|
|
19
19
|
}>;
|
|
20
20
|
export type AccountLastService = z.infer<typeof AccountLastService>;
|
|
21
|
+
/** Temporary model capability ordering evidence; never account availability. */
|
|
22
|
+
export declare const ModelCapabilityMark: z.ZodObject<{
|
|
23
|
+
harness_id: z.ZodString;
|
|
24
|
+
profile_id: z.ZodString;
|
|
25
|
+
requested_model: z.ZodString;
|
|
26
|
+
account_fingerprint: z.ZodNullable<z.ZodString>;
|
|
27
|
+
provider_reason: z.ZodString;
|
|
28
|
+
observed_at: z.ZodString;
|
|
29
|
+
expires_at: z.ZodString;
|
|
30
|
+
state: z.ZodEnum<["provisional", "confirmed", "probe_due", "probing"]>;
|
|
31
|
+
}, "strict", z.ZodTypeAny, {
|
|
32
|
+
harness_id: string;
|
|
33
|
+
profile_id: string;
|
|
34
|
+
requested_model: string;
|
|
35
|
+
account_fingerprint: string | null;
|
|
36
|
+
provider_reason: string;
|
|
37
|
+
observed_at: string;
|
|
38
|
+
expires_at: string;
|
|
39
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
40
|
+
}, {
|
|
41
|
+
harness_id: string;
|
|
42
|
+
profile_id: string;
|
|
43
|
+
requested_model: string;
|
|
44
|
+
account_fingerprint: string | null;
|
|
45
|
+
provider_reason: string;
|
|
46
|
+
observed_at: string;
|
|
47
|
+
expires_at: string;
|
|
48
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
49
|
+
}>;
|
|
50
|
+
export type ModelCapabilityMark = z.infer<typeof ModelCapabilityMark>;
|
|
21
51
|
/** `GET /v2/accounts/routing-evidence`: a separate additive read, so the legacy
|
|
22
52
|
* strict Accounts responses stay unchanged for older clients. */
|
|
23
53
|
export declare const ControlAccountRoutingEvidenceResponse: z.ZodObject<{
|
|
54
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
55
|
+
harness_id: z.ZodString;
|
|
56
|
+
profile_id: z.ZodString;
|
|
57
|
+
requested_model: z.ZodString;
|
|
58
|
+
account_fingerprint: z.ZodNullable<z.ZodString>;
|
|
59
|
+
provider_reason: z.ZodString;
|
|
60
|
+
observed_at: z.ZodString;
|
|
61
|
+
expires_at: z.ZodString;
|
|
62
|
+
state: z.ZodEnum<["provisional", "confirmed", "probe_due", "probing"]>;
|
|
63
|
+
}, "strict", z.ZodTypeAny, {
|
|
64
|
+
harness_id: string;
|
|
65
|
+
profile_id: string;
|
|
66
|
+
requested_model: string;
|
|
67
|
+
account_fingerprint: string | null;
|
|
68
|
+
provider_reason: string;
|
|
69
|
+
observed_at: string;
|
|
70
|
+
expires_at: string;
|
|
71
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
72
|
+
}, {
|
|
73
|
+
harness_id: string;
|
|
74
|
+
profile_id: string;
|
|
75
|
+
requested_model: string;
|
|
76
|
+
account_fingerprint: string | null;
|
|
77
|
+
provider_reason: string;
|
|
78
|
+
observed_at: string;
|
|
79
|
+
expires_at: string;
|
|
80
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
81
|
+
}>, "many">>;
|
|
24
82
|
refusals: z.ZodArray<z.ZodObject<{
|
|
25
83
|
harness_id: z.ZodString;
|
|
26
84
|
profile_id: z.ZodString;
|
|
@@ -57,6 +115,16 @@ export declare const ControlAccountRoutingEvidenceResponse: z.ZodObject<{
|
|
|
57
115
|
observed_at: string;
|
|
58
116
|
}>, "many">;
|
|
59
117
|
}, "strict", z.ZodTypeAny, {
|
|
118
|
+
capabilities?: {
|
|
119
|
+
harness_id: string;
|
|
120
|
+
profile_id: string;
|
|
121
|
+
requested_model: string;
|
|
122
|
+
account_fingerprint: string | null;
|
|
123
|
+
provider_reason: string;
|
|
124
|
+
observed_at: string;
|
|
125
|
+
expires_at: string;
|
|
126
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
127
|
+
}[] | undefined;
|
|
60
128
|
refusals: {
|
|
61
129
|
harness_id: string;
|
|
62
130
|
profile_id: string;
|
|
@@ -71,6 +139,16 @@ export declare const ControlAccountRoutingEvidenceResponse: z.ZodObject<{
|
|
|
71
139
|
observed_at: string;
|
|
72
140
|
}[];
|
|
73
141
|
}, {
|
|
142
|
+
capabilities?: {
|
|
143
|
+
harness_id: string;
|
|
144
|
+
profile_id: string;
|
|
145
|
+
requested_model: string;
|
|
146
|
+
account_fingerprint: string | null;
|
|
147
|
+
provider_reason: string;
|
|
148
|
+
observed_at: string;
|
|
149
|
+
expires_at: string;
|
|
150
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
151
|
+
}[] | undefined;
|
|
74
152
|
refusals: {
|
|
75
153
|
harness_id: string;
|
|
76
154
|
profile_id: string;
|
|
@@ -367,6 +445,34 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
367
445
|
}>, "many">>;
|
|
368
446
|
} & {
|
|
369
447
|
routingEvidence: z.ZodOptional<z.ZodObject<{
|
|
448
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
449
|
+
harness_id: z.ZodString;
|
|
450
|
+
profile_id: z.ZodString;
|
|
451
|
+
requested_model: z.ZodString;
|
|
452
|
+
account_fingerprint: z.ZodNullable<z.ZodString>;
|
|
453
|
+
provider_reason: z.ZodString;
|
|
454
|
+
observed_at: z.ZodString;
|
|
455
|
+
expires_at: z.ZodString;
|
|
456
|
+
state: z.ZodEnum<["provisional", "confirmed", "probe_due", "probing"]>;
|
|
457
|
+
}, "strict", z.ZodTypeAny, {
|
|
458
|
+
harness_id: string;
|
|
459
|
+
profile_id: string;
|
|
460
|
+
requested_model: string;
|
|
461
|
+
account_fingerprint: string | null;
|
|
462
|
+
provider_reason: string;
|
|
463
|
+
observed_at: string;
|
|
464
|
+
expires_at: string;
|
|
465
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
466
|
+
}, {
|
|
467
|
+
harness_id: string;
|
|
468
|
+
profile_id: string;
|
|
469
|
+
requested_model: string;
|
|
470
|
+
account_fingerprint: string | null;
|
|
471
|
+
provider_reason: string;
|
|
472
|
+
observed_at: string;
|
|
473
|
+
expires_at: string;
|
|
474
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
475
|
+
}>, "many">>;
|
|
370
476
|
refusals: z.ZodArray<z.ZodObject<{
|
|
371
477
|
harness_id: z.ZodString;
|
|
372
478
|
profile_id: z.ZodString;
|
|
@@ -403,6 +509,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
403
509
|
observed_at: string;
|
|
404
510
|
}>, "many">;
|
|
405
511
|
}, "strict", z.ZodTypeAny, {
|
|
512
|
+
capabilities?: {
|
|
513
|
+
harness_id: string;
|
|
514
|
+
profile_id: string;
|
|
515
|
+
requested_model: string;
|
|
516
|
+
account_fingerprint: string | null;
|
|
517
|
+
provider_reason: string;
|
|
518
|
+
observed_at: string;
|
|
519
|
+
expires_at: string;
|
|
520
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
521
|
+
}[] | undefined;
|
|
406
522
|
refusals: {
|
|
407
523
|
harness_id: string;
|
|
408
524
|
profile_id: string;
|
|
@@ -417,6 +533,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
417
533
|
observed_at: string;
|
|
418
534
|
}[];
|
|
419
535
|
}, {
|
|
536
|
+
capabilities?: {
|
|
537
|
+
harness_id: string;
|
|
538
|
+
profile_id: string;
|
|
539
|
+
requested_model: string;
|
|
540
|
+
account_fingerprint: string | null;
|
|
541
|
+
provider_reason: string;
|
|
542
|
+
observed_at: string;
|
|
543
|
+
expires_at: string;
|
|
544
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
545
|
+
}[] | undefined;
|
|
420
546
|
refusals: {
|
|
421
547
|
harness_id: string;
|
|
422
548
|
profile_id: string;
|
|
@@ -493,6 +619,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
493
619
|
};
|
|
494
620
|
}[];
|
|
495
621
|
routingEvidence?: {
|
|
622
|
+
capabilities?: {
|
|
623
|
+
harness_id: string;
|
|
624
|
+
profile_id: string;
|
|
625
|
+
requested_model: string;
|
|
626
|
+
account_fingerprint: string | null;
|
|
627
|
+
provider_reason: string;
|
|
628
|
+
observed_at: string;
|
|
629
|
+
expires_at: string;
|
|
630
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
631
|
+
}[] | undefined;
|
|
496
632
|
refusals: {
|
|
497
633
|
harness_id: string;
|
|
498
634
|
profile_id: string;
|
|
@@ -569,6 +705,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
569
705
|
};
|
|
570
706
|
}[] | undefined;
|
|
571
707
|
routingEvidence?: {
|
|
708
|
+
capabilities?: {
|
|
709
|
+
harness_id: string;
|
|
710
|
+
profile_id: string;
|
|
711
|
+
requested_model: string;
|
|
712
|
+
account_fingerprint: string | null;
|
|
713
|
+
provider_reason: string;
|
|
714
|
+
observed_at: string;
|
|
715
|
+
expires_at: string;
|
|
716
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
717
|
+
}[] | undefined;
|
|
572
718
|
refusals: {
|
|
573
719
|
harness_id: string;
|
|
574
720
|
profile_id: string;
|
|
@@ -1053,6 +1199,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
1053
1199
|
mcp_injection: z.ZodDefault<z.ZodBoolean>;
|
|
1054
1200
|
mcp_injection_requires_full_access: z.ZodDefault<z.ZodBoolean>;
|
|
1055
1201
|
live_input: z.ZodDefault<z.ZodEnum<["mid_turn", "next_tool_boundary", "none"]>>;
|
|
1202
|
+
prompt_cache_ttls: z.ZodOptional<z.ZodArray<z.ZodEnum<["5m", "1h"]>, "many">>;
|
|
1056
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1057
1204
|
auth: {
|
|
1058
1205
|
supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
|
|
@@ -1098,6 +1245,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
1098
1245
|
mcp_injection: boolean;
|
|
1099
1246
|
mcp_injection_requires_full_access: boolean;
|
|
1100
1247
|
live_input: "mid_turn" | "next_tool_boundary" | "none";
|
|
1248
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
1101
1249
|
}, {
|
|
1102
1250
|
auth?: {
|
|
1103
1251
|
supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
|
|
@@ -1143,6 +1291,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
1143
1291
|
mcp_injection?: boolean | undefined;
|
|
1144
1292
|
mcp_injection_requires_full_access?: boolean | undefined;
|
|
1145
1293
|
live_input?: "mid_turn" | "next_tool_boundary" | "none" | undefined;
|
|
1294
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
1146
1295
|
}>>;
|
|
1147
1296
|
capabilities: z.ZodObject<{
|
|
1148
1297
|
processing_preferences: z.ZodOptional<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
|
|
@@ -1304,6 +1453,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
1304
1453
|
mcp_injection: boolean;
|
|
1305
1454
|
mcp_injection_requires_full_access: boolean;
|
|
1306
1455
|
live_input: "mid_turn" | "next_tool_boundary" | "none";
|
|
1456
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
1307
1457
|
};
|
|
1308
1458
|
capabilities: {
|
|
1309
1459
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -1391,6 +1541,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
1391
1541
|
mcp_injection?: boolean | undefined;
|
|
1392
1542
|
mcp_injection_requires_full_access?: boolean | undefined;
|
|
1393
1543
|
live_input?: "mid_turn" | "next_tool_boundary" | "none" | undefined;
|
|
1544
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
1394
1545
|
} | undefined;
|
|
1395
1546
|
capabilities: {
|
|
1396
1547
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -1581,6 +1732,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
1581
1732
|
mcp_injection: boolean;
|
|
1582
1733
|
mcp_injection_requires_full_access: boolean;
|
|
1583
1734
|
live_input: "mid_turn" | "next_tool_boundary" | "none";
|
|
1735
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
1584
1736
|
};
|
|
1585
1737
|
capabilities: {
|
|
1586
1738
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -1709,6 +1861,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
1709
1861
|
mcp_injection?: boolean | undefined;
|
|
1710
1862
|
mcp_injection_requires_full_access?: boolean | undefined;
|
|
1711
1863
|
live_input?: "mid_turn" | "next_tool_boundary" | "none" | undefined;
|
|
1864
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
1712
1865
|
} | undefined;
|
|
1713
1866
|
capabilities: {
|
|
1714
1867
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -2171,6 +2324,34 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2171
2324
|
quotaEventCursor: z.ZodString;
|
|
2172
2325
|
} & {
|
|
2173
2326
|
routingEvidence: z.ZodOptional<z.ZodObject<{
|
|
2327
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2328
|
+
harness_id: z.ZodString;
|
|
2329
|
+
profile_id: z.ZodString;
|
|
2330
|
+
requested_model: z.ZodString;
|
|
2331
|
+
account_fingerprint: z.ZodNullable<z.ZodString>;
|
|
2332
|
+
provider_reason: z.ZodString;
|
|
2333
|
+
observed_at: z.ZodString;
|
|
2334
|
+
expires_at: z.ZodString;
|
|
2335
|
+
state: z.ZodEnum<["provisional", "confirmed", "probe_due", "probing"]>;
|
|
2336
|
+
}, "strict", z.ZodTypeAny, {
|
|
2337
|
+
harness_id: string;
|
|
2338
|
+
profile_id: string;
|
|
2339
|
+
requested_model: string;
|
|
2340
|
+
account_fingerprint: string | null;
|
|
2341
|
+
provider_reason: string;
|
|
2342
|
+
observed_at: string;
|
|
2343
|
+
expires_at: string;
|
|
2344
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
2345
|
+
}, {
|
|
2346
|
+
harness_id: string;
|
|
2347
|
+
profile_id: string;
|
|
2348
|
+
requested_model: string;
|
|
2349
|
+
account_fingerprint: string | null;
|
|
2350
|
+
provider_reason: string;
|
|
2351
|
+
observed_at: string;
|
|
2352
|
+
expires_at: string;
|
|
2353
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
2354
|
+
}>, "many">>;
|
|
2174
2355
|
refusals: z.ZodArray<z.ZodObject<{
|
|
2175
2356
|
harness_id: z.ZodString;
|
|
2176
2357
|
profile_id: z.ZodString;
|
|
@@ -2207,6 +2388,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2207
2388
|
observed_at: string;
|
|
2208
2389
|
}>, "many">;
|
|
2209
2390
|
}, "strict", z.ZodTypeAny, {
|
|
2391
|
+
capabilities?: {
|
|
2392
|
+
harness_id: string;
|
|
2393
|
+
profile_id: string;
|
|
2394
|
+
requested_model: string;
|
|
2395
|
+
account_fingerprint: string | null;
|
|
2396
|
+
provider_reason: string;
|
|
2397
|
+
observed_at: string;
|
|
2398
|
+
expires_at: string;
|
|
2399
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
2400
|
+
}[] | undefined;
|
|
2210
2401
|
refusals: {
|
|
2211
2402
|
harness_id: string;
|
|
2212
2403
|
profile_id: string;
|
|
@@ -2221,6 +2412,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2221
2412
|
observed_at: string;
|
|
2222
2413
|
}[];
|
|
2223
2414
|
}, {
|
|
2415
|
+
capabilities?: {
|
|
2416
|
+
harness_id: string;
|
|
2417
|
+
profile_id: string;
|
|
2418
|
+
requested_model: string;
|
|
2419
|
+
account_fingerprint: string | null;
|
|
2420
|
+
provider_reason: string;
|
|
2421
|
+
observed_at: string;
|
|
2422
|
+
expires_at: string;
|
|
2423
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
2424
|
+
}[] | undefined;
|
|
2224
2425
|
refusals: {
|
|
2225
2426
|
harness_id: string;
|
|
2226
2427
|
profile_id: string;
|
|
@@ -2351,6 +2552,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2351
2552
|
mcp_injection: boolean;
|
|
2352
2553
|
mcp_injection_requires_full_access: boolean;
|
|
2353
2554
|
live_input: "mid_turn" | "next_tool_boundary" | "none";
|
|
2555
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
2354
2556
|
};
|
|
2355
2557
|
capabilities: {
|
|
2356
2558
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -2493,6 +2695,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2493
2695
|
};
|
|
2494
2696
|
quotaEventCursor: string;
|
|
2495
2697
|
routingEvidence?: {
|
|
2698
|
+
capabilities?: {
|
|
2699
|
+
harness_id: string;
|
|
2700
|
+
profile_id: string;
|
|
2701
|
+
requested_model: string;
|
|
2702
|
+
account_fingerprint: string | null;
|
|
2703
|
+
provider_reason: string;
|
|
2704
|
+
observed_at: string;
|
|
2705
|
+
expires_at: string;
|
|
2706
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
2707
|
+
}[] | undefined;
|
|
2496
2708
|
refusals: {
|
|
2497
2709
|
harness_id: string;
|
|
2498
2710
|
profile_id: string;
|
|
@@ -2623,6 +2835,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2623
2835
|
mcp_injection?: boolean | undefined;
|
|
2624
2836
|
mcp_injection_requires_full_access?: boolean | undefined;
|
|
2625
2837
|
live_input?: "mid_turn" | "next_tool_boundary" | "none" | undefined;
|
|
2838
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
2626
2839
|
} | undefined;
|
|
2627
2840
|
capabilities: {
|
|
2628
2841
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -2765,6 +2978,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2765
2978
|
};
|
|
2766
2979
|
quotaEventCursor: string;
|
|
2767
2980
|
routingEvidence?: {
|
|
2981
|
+
capabilities?: {
|
|
2982
|
+
harness_id: string;
|
|
2983
|
+
profile_id: string;
|
|
2984
|
+
requested_model: string;
|
|
2985
|
+
account_fingerprint: string | null;
|
|
2986
|
+
provider_reason: string;
|
|
2987
|
+
observed_at: string;
|
|
2988
|
+
expires_at: string;
|
|
2989
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
2990
|
+
}[] | undefined;
|
|
2768
2991
|
refusals: {
|
|
2769
2992
|
harness_id: string;
|
|
2770
2993
|
profile_id: string;
|
|
@@ -3248,6 +3471,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
3248
3471
|
mcp_injection: z.ZodDefault<z.ZodBoolean>;
|
|
3249
3472
|
mcp_injection_requires_full_access: z.ZodDefault<z.ZodBoolean>;
|
|
3250
3473
|
live_input: z.ZodDefault<z.ZodEnum<["mid_turn", "next_tool_boundary", "none"]>>;
|
|
3474
|
+
prompt_cache_ttls: z.ZodOptional<z.ZodArray<z.ZodEnum<["5m", "1h"]>, "many">>;
|
|
3251
3475
|
}, "strip", z.ZodTypeAny, {
|
|
3252
3476
|
auth: {
|
|
3253
3477
|
supported_sources: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[];
|
|
@@ -3293,6 +3517,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
3293
3517
|
mcp_injection: boolean;
|
|
3294
3518
|
mcp_injection_requires_full_access: boolean;
|
|
3295
3519
|
live_input: "mid_turn" | "next_tool_boundary" | "none";
|
|
3520
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
3296
3521
|
}, {
|
|
3297
3522
|
auth?: {
|
|
3298
3523
|
supported_sources?: ("api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file")[] | undefined;
|
|
@@ -3338,6 +3563,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
3338
3563
|
mcp_injection?: boolean | undefined;
|
|
3339
3564
|
mcp_injection_requires_full_access?: boolean | undefined;
|
|
3340
3565
|
live_input?: "mid_turn" | "next_tool_boundary" | "none" | undefined;
|
|
3566
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
3341
3567
|
}>>;
|
|
3342
3568
|
capabilities: z.ZodObject<{
|
|
3343
3569
|
processing_preferences: z.ZodOptional<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
|
|
@@ -3499,6 +3725,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
3499
3725
|
mcp_injection: boolean;
|
|
3500
3726
|
mcp_injection_requires_full_access: boolean;
|
|
3501
3727
|
live_input: "mid_turn" | "next_tool_boundary" | "none";
|
|
3728
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
3502
3729
|
};
|
|
3503
3730
|
capabilities: {
|
|
3504
3731
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -3586,6 +3813,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
3586
3813
|
mcp_injection?: boolean | undefined;
|
|
3587
3814
|
mcp_injection_requires_full_access?: boolean | undefined;
|
|
3588
3815
|
live_input?: "mid_turn" | "next_tool_boundary" | "none" | undefined;
|
|
3816
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
3589
3817
|
} | undefined;
|
|
3590
3818
|
capabilities: {
|
|
3591
3819
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -3776,6 +4004,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
3776
4004
|
mcp_injection: boolean;
|
|
3777
4005
|
mcp_injection_requires_full_access: boolean;
|
|
3778
4006
|
live_input: "mid_turn" | "next_tool_boundary" | "none";
|
|
4007
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
3779
4008
|
};
|
|
3780
4009
|
capabilities: {
|
|
3781
4010
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -3904,6 +4133,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
3904
4133
|
mcp_injection?: boolean | undefined;
|
|
3905
4134
|
mcp_injection_requires_full_access?: boolean | undefined;
|
|
3906
4135
|
live_input?: "mid_turn" | "next_tool_boundary" | "none" | undefined;
|
|
4136
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
3907
4137
|
} | undefined;
|
|
3908
4138
|
capabilities: {
|
|
3909
4139
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -5181,6 +5411,34 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
5181
5411
|
}>;
|
|
5182
5412
|
} & {
|
|
5183
5413
|
routingEvidence: z.ZodOptional<z.ZodObject<{
|
|
5414
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5415
|
+
harness_id: z.ZodString;
|
|
5416
|
+
profile_id: z.ZodString;
|
|
5417
|
+
requested_model: z.ZodString;
|
|
5418
|
+
account_fingerprint: z.ZodNullable<z.ZodString>;
|
|
5419
|
+
provider_reason: z.ZodString;
|
|
5420
|
+
observed_at: z.ZodString;
|
|
5421
|
+
expires_at: z.ZodString;
|
|
5422
|
+
state: z.ZodEnum<["provisional", "confirmed", "probe_due", "probing"]>;
|
|
5423
|
+
}, "strict", z.ZodTypeAny, {
|
|
5424
|
+
harness_id: string;
|
|
5425
|
+
profile_id: string;
|
|
5426
|
+
requested_model: string;
|
|
5427
|
+
account_fingerprint: string | null;
|
|
5428
|
+
provider_reason: string;
|
|
5429
|
+
observed_at: string;
|
|
5430
|
+
expires_at: string;
|
|
5431
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
5432
|
+
}, {
|
|
5433
|
+
harness_id: string;
|
|
5434
|
+
profile_id: string;
|
|
5435
|
+
requested_model: string;
|
|
5436
|
+
account_fingerprint: string | null;
|
|
5437
|
+
provider_reason: string;
|
|
5438
|
+
observed_at: string;
|
|
5439
|
+
expires_at: string;
|
|
5440
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
5441
|
+
}>, "many">>;
|
|
5184
5442
|
refusals: z.ZodArray<z.ZodObject<{
|
|
5185
5443
|
harness_id: z.ZodString;
|
|
5186
5444
|
profile_id: z.ZodString;
|
|
@@ -5217,6 +5475,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
5217
5475
|
observed_at: string;
|
|
5218
5476
|
}>, "many">;
|
|
5219
5477
|
}, "strict", z.ZodTypeAny, {
|
|
5478
|
+
capabilities?: {
|
|
5479
|
+
harness_id: string;
|
|
5480
|
+
profile_id: string;
|
|
5481
|
+
requested_model: string;
|
|
5482
|
+
account_fingerprint: string | null;
|
|
5483
|
+
provider_reason: string;
|
|
5484
|
+
observed_at: string;
|
|
5485
|
+
expires_at: string;
|
|
5486
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
5487
|
+
}[] | undefined;
|
|
5220
5488
|
refusals: {
|
|
5221
5489
|
harness_id: string;
|
|
5222
5490
|
profile_id: string;
|
|
@@ -5231,6 +5499,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
5231
5499
|
observed_at: string;
|
|
5232
5500
|
}[];
|
|
5233
5501
|
}, {
|
|
5502
|
+
capabilities?: {
|
|
5503
|
+
harness_id: string;
|
|
5504
|
+
profile_id: string;
|
|
5505
|
+
requested_model: string;
|
|
5506
|
+
account_fingerprint: string | null;
|
|
5507
|
+
provider_reason: string;
|
|
5508
|
+
observed_at: string;
|
|
5509
|
+
expires_at: string;
|
|
5510
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
5511
|
+
}[] | undefined;
|
|
5234
5512
|
refusals: {
|
|
5235
5513
|
harness_id: string;
|
|
5236
5514
|
profile_id: string;
|
|
@@ -5361,6 +5639,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
5361
5639
|
mcp_injection: boolean;
|
|
5362
5640
|
mcp_injection_requires_full_access: boolean;
|
|
5363
5641
|
live_input: "mid_turn" | "next_tool_boundary" | "none";
|
|
5642
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
5364
5643
|
};
|
|
5365
5644
|
capabilities: {
|
|
5366
5645
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -5600,6 +5879,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
5600
5879
|
}[];
|
|
5601
5880
|
};
|
|
5602
5881
|
routingEvidence?: {
|
|
5882
|
+
capabilities?: {
|
|
5883
|
+
harness_id: string;
|
|
5884
|
+
profile_id: string;
|
|
5885
|
+
requested_model: string;
|
|
5886
|
+
account_fingerprint: string | null;
|
|
5887
|
+
provider_reason: string;
|
|
5888
|
+
observed_at: string;
|
|
5889
|
+
expires_at: string;
|
|
5890
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
5891
|
+
}[] | undefined;
|
|
5603
5892
|
refusals: {
|
|
5604
5893
|
harness_id: string;
|
|
5605
5894
|
profile_id: string;
|
|
@@ -5730,6 +6019,7 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
5730
6019
|
mcp_injection?: boolean | undefined;
|
|
5731
6020
|
mcp_injection_requires_full_access?: boolean | undefined;
|
|
5732
6021
|
live_input?: "mid_turn" | "next_tool_boundary" | "none" | undefined;
|
|
6022
|
+
prompt_cache_ttls?: ("1h" | "5m")[] | undefined;
|
|
5733
6023
|
} | undefined;
|
|
5734
6024
|
capabilities: {
|
|
5735
6025
|
processing_preferences?: ("economy" | "fast" | "standard")[] | undefined;
|
|
@@ -5969,6 +6259,16 @@ export declare const McpAccountsToolResult: z.ZodUnion<[z.ZodObject<{
|
|
|
5969
6259
|
}[];
|
|
5970
6260
|
};
|
|
5971
6261
|
routingEvidence?: {
|
|
6262
|
+
capabilities?: {
|
|
6263
|
+
harness_id: string;
|
|
6264
|
+
profile_id: string;
|
|
6265
|
+
requested_model: string;
|
|
6266
|
+
account_fingerprint: string | null;
|
|
6267
|
+
provider_reason: string;
|
|
6268
|
+
observed_at: string;
|
|
6269
|
+
expires_at: string;
|
|
6270
|
+
state: "confirmed" | "probe_due" | "probing" | "provisional";
|
|
6271
|
+
}[] | undefined;
|
|
5972
6272
|
refusals: {
|
|
5973
6273
|
harness_id: string;
|
|
5974
6274
|
profile_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-routing-evidence.d.ts","sourceRoot":"","sources":["../src/account-routing-evidence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAW3B;gFACgF;AAChF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;EAa5B,CAAC;AACJ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE;iEACiE;AACjE,eAAO,MAAM,qCAAqC
|
|
1
|
+
{"version":3,"file":"account-routing-evidence.d.ts","sourceRoot":"","sources":["../src/account-routing-evidence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAW3B;gFACgF;AAChF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;EAa5B,CAAC;AACJ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,gFAAgF;AAChF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAM2D,CAAC;AAC9F,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -16,10 +16,35 @@ export const AccountLastService = z
|
|
|
16
16
|
})
|
|
17
17
|
.strict()
|
|
18
18
|
.describe("The latest observed service of one account for one requested model under its current credential binding.");
|
|
19
|
+
/** Temporary model capability ordering evidence; never account availability. */
|
|
20
|
+
export const ModelCapabilityMark = z
|
|
21
|
+
.object({
|
|
22
|
+
harness_id: Id.describe("Harness family of the account."),
|
|
23
|
+
profile_id: Id.describe("Account row that refused this model before generation started."),
|
|
24
|
+
requested_model: z.string().describe("Model the refused request named."),
|
|
25
|
+
account_fingerprint: z
|
|
26
|
+
.string()
|
|
27
|
+
.nullable()
|
|
28
|
+
.describe("Provider account identity the mark is bound to; null when the adapter has none."),
|
|
29
|
+
provider_reason: z
|
|
30
|
+
.string()
|
|
31
|
+
.describe("Latest refusal diagnostic, redacted and at most 1024 characters: the provider's reason for a recognized refusal, the engine's message and vendor code otherwise."),
|
|
32
|
+
observed_at: IsoTimestamp.describe("Start of this mark's episode, when its row was created (a recognized refusal, or the service elsewhere that confirmed an unrecognized one); renewals and probes keep it."),
|
|
33
|
+
expires_at: IsoTimestamp.describe("Probe becomes eligible at this time; not a vendor reset."),
|
|
34
|
+
state: z
|
|
35
|
+
.enum(["provisional", "confirmed", "probe_due", "probing"])
|
|
36
|
+
.describe("provisional = refused here; confirmed = another account then served the correlated retry; probe_due = expired, the next selection may probe it; probing = one operation holds that probe."),
|
|
37
|
+
})
|
|
38
|
+
.strict()
|
|
39
|
+
.describe("A temporary capability mark for one account and one model. It only orders auto selection: the account stays enabled and usable as a last fallback.");
|
|
19
40
|
/** `GET /v2/accounts/routing-evidence`: a separate additive read, so the legacy
|
|
20
41
|
* strict Accounts responses stay unchanged for older clients. */
|
|
21
42
|
export const ControlAccountRoutingEvidenceResponse = z
|
|
22
43
|
.object({
|
|
44
|
+
capabilities: z
|
|
45
|
+
.array(ModelCapabilityMark)
|
|
46
|
+
.optional()
|
|
47
|
+
.describe("Temporary capability marks; absent from engines that predate them. A mark clears on a success there or a catalog or credential change; after expires_at one operation may probe the account."),
|
|
23
48
|
refusals: z
|
|
24
49
|
.array(PreProgressRefusalObservation)
|
|
25
50
|
.describe("Live pre-progress refusal observations, each scoped to one requested model."),
|
|
@@ -28,7 +53,7 @@ export const ControlAccountRoutingEvidenceResponse = z
|
|
|
28
53
|
.describe("Latest observed service per registered account and requested model, most recent service first."),
|
|
29
54
|
})
|
|
30
55
|
.strict()
|
|
31
|
-
.describe("Model-scoped account routing evidence: live refusal marks and the durable last-served order.");
|
|
56
|
+
.describe("Model-scoped account routing evidence: live refusal marks, temporary capability marks and the durable last-served order.");
|
|
32
57
|
const routingEvidenceFields = {
|
|
33
58
|
routingEvidence: ControlAccountRoutingEvidenceResponse.optional().describe("Model-scoped routing evidence; absent when the engine predates the read or the read failed."),
|
|
34
59
|
routingEvidenceProblem: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-routing-evidence.js","sourceRoot":"","sources":["../src/account-routing-evidence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EACL,iCAAiC,EACjC,6BAA6B,GAC9B,MAAM,yBAAyB,CAAC;AACjC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