@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
|
@@ -381,6 +381,72 @@
|
|
|
381
381
|
"routingEvidence": {
|
|
382
382
|
"type": "object",
|
|
383
383
|
"properties": {
|
|
384
|
+
"capabilities": {
|
|
385
|
+
"type": "array",
|
|
386
|
+
"items": {
|
|
387
|
+
"type": "object",
|
|
388
|
+
"properties": {
|
|
389
|
+
"harness_id": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"minLength": 1,
|
|
392
|
+
"description": "Harness family of the account."
|
|
393
|
+
},
|
|
394
|
+
"profile_id": {
|
|
395
|
+
"type": "string",
|
|
396
|
+
"minLength": 1,
|
|
397
|
+
"description": "Account row that refused this model before generation started."
|
|
398
|
+
},
|
|
399
|
+
"requested_model": {
|
|
400
|
+
"type": "string",
|
|
401
|
+
"description": "Model the refused request named."
|
|
402
|
+
},
|
|
403
|
+
"account_fingerprint": {
|
|
404
|
+
"type": [
|
|
405
|
+
"string",
|
|
406
|
+
"null"
|
|
407
|
+
],
|
|
408
|
+
"description": "Provider account identity the mark is bound to; null when the adapter has none."
|
|
409
|
+
},
|
|
410
|
+
"provider_reason": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"description": "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."
|
|
413
|
+
},
|
|
414
|
+
"observed_at": {
|
|
415
|
+
"type": "string",
|
|
416
|
+
"minLength": 1,
|
|
417
|
+
"description": "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."
|
|
418
|
+
},
|
|
419
|
+
"expires_at": {
|
|
420
|
+
"type": "string",
|
|
421
|
+
"minLength": 1,
|
|
422
|
+
"description": "Probe becomes eligible at this time; not a vendor reset."
|
|
423
|
+
},
|
|
424
|
+
"state": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"enum": [
|
|
427
|
+
"provisional",
|
|
428
|
+
"confirmed",
|
|
429
|
+
"probe_due",
|
|
430
|
+
"probing"
|
|
431
|
+
],
|
|
432
|
+
"description": "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."
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"required": [
|
|
436
|
+
"harness_id",
|
|
437
|
+
"profile_id",
|
|
438
|
+
"requested_model",
|
|
439
|
+
"account_fingerprint",
|
|
440
|
+
"provider_reason",
|
|
441
|
+
"observed_at",
|
|
442
|
+
"expires_at",
|
|
443
|
+
"state"
|
|
444
|
+
],
|
|
445
|
+
"additionalProperties": false,
|
|
446
|
+
"description": "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."
|
|
447
|
+
},
|
|
448
|
+
"description": "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."
|
|
449
|
+
},
|
|
384
450
|
"refusals": {
|
|
385
451
|
"type": "array",
|
|
386
452
|
"items": {
|
|
@@ -912,11 +978,23 @@
|
|
|
912
978
|
],
|
|
913
979
|
"description": "How a live message enters a running session: mid_turn (consumed inside the active turn), next_tool_boundary (queued until the same turn's next tool boundary), none (no truthful channel; the engine answers unsupported).",
|
|
914
980
|
"default": "none"
|
|
981
|
+
},
|
|
982
|
+
"prompt_cache_ttls": {
|
|
983
|
+
"type": "array",
|
|
984
|
+
"items": {
|
|
985
|
+
"type": "string",
|
|
986
|
+
"enum": [
|
|
987
|
+
"5m",
|
|
988
|
+
"1h"
|
|
989
|
+
],
|
|
990
|
+
"description": "Native prompt-cache lifetime for the main conversation and helper requests of a harness that declares it. Omission sends no override: native defaults, profile settings and the inherited environment stay in effect."
|
|
991
|
+
},
|
|
992
|
+
"description": "Prompt-cache lifetimes this adapter translates into native controls; a requested lifetime outside the list (or with the list absent) is disclosed as ignored."
|
|
915
993
|
}
|
|
916
994
|
},
|
|
917
995
|
"additionalProperties": false,
|
|
918
996
|
"default": {},
|
|
919
|
-
"description": "Structured per-harness facts the engine consumes: auth routing, isolation containment, readonly mechanism, finite attachment inputs, MCP injection,
|
|
997
|
+
"description": "Structured per-harness facts the engine consumes: auth routing, isolation containment, readonly mechanism, finite attachment inputs, MCP injection, live input into a running session, and translated prompt-cache lifetimes."
|
|
920
998
|
},
|
|
921
999
|
"capabilities": {
|
|
922
1000
|
"type": "object",
|
|
@@ -52,7 +52,11 @@
|
|
|
52
52
|
"additionalProperties": false
|
|
53
53
|
}
|
|
54
54
|
],
|
|
55
|
-
"description": "Auto
|
|
55
|
+
"description": "Auto text operations prefer preferredProfileId among unmarked accounts of the same catalog tier (listed before unlisted); a listed alternative, a mark or a recent refusal outranks it. History bound to that account keeps it first over a catalog miss only while it has neither a mark nor a recent refusal. Image operations order accounts by the pool alone. Pin never selects another account."
|
|
56
|
+
},
|
|
57
|
+
"retryOfOperationId": {
|
|
58
|
+
"$ref": "#/definitions/ModelCallRequest/properties/source",
|
|
59
|
+
"description": "One host-owned capability retry of a failed auto operation with otherwise identical generation input. No engine re-dispatch; unavailable after daemon restart or four hours."
|
|
56
60
|
},
|
|
57
61
|
"messages": {
|
|
58
62
|
"type": "array",
|
|
@@ -4,6 +4,61 @@
|
|
|
4
4
|
"ModelCallResult": {
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
+
"routing": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"selectionReason": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"enum": [
|
|
13
|
+
"listed",
|
|
14
|
+
"unlisted_fallback",
|
|
15
|
+
"marked_fallback",
|
|
16
|
+
"preferred",
|
|
17
|
+
"pinned",
|
|
18
|
+
"probe"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"retryOfOperationId": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"description": "Non-empty identifier string."
|
|
25
|
+
},
|
|
26
|
+
"differentialOutcome": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"provisional",
|
|
30
|
+
"confirmed",
|
|
31
|
+
"equivalent_refusal",
|
|
32
|
+
"inconclusive"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"poolEvents": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"type": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"payload": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"additionalProperties": {}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": [
|
|
49
|
+
"type",
|
|
50
|
+
"payload"
|
|
51
|
+
],
|
|
52
|
+
"additionalProperties": false
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": [
|
|
57
|
+
"selectionReason",
|
|
58
|
+
"poolEvents"
|
|
59
|
+
],
|
|
60
|
+
"additionalProperties": false
|
|
61
|
+
},
|
|
7
62
|
"outcome": {
|
|
8
63
|
"type": "string",
|
|
9
64
|
"enum": [
|
|
@@ -53,8 +108,7 @@
|
|
|
53
108
|
"type": "string"
|
|
54
109
|
},
|
|
55
110
|
"tool_call_id": {
|
|
56
|
-
"
|
|
57
|
-
"minLength": 1,
|
|
111
|
+
"$ref": "#/definitions/ModelCallResult/properties/routing/properties/retryOfOperationId",
|
|
58
112
|
"description": "Non-empty identifier string."
|
|
59
113
|
},
|
|
60
114
|
"tool_calls": {
|
|
@@ -63,7 +117,7 @@
|
|
|
63
117
|
"type": "object",
|
|
64
118
|
"properties": {
|
|
65
119
|
"id": {
|
|
66
|
-
"$ref": "#/definitions/ModelCallResult/properties/
|
|
120
|
+
"$ref": "#/definitions/ModelCallResult/properties/routing/properties/retryOfOperationId"
|
|
67
121
|
},
|
|
68
122
|
"type": {
|
|
69
123
|
"type": "string",
|
|
@@ -104,10 +158,10 @@
|
|
|
104
158
|
"type": "object",
|
|
105
159
|
"properties": {
|
|
106
160
|
"source": {
|
|
107
|
-
"$ref": "#/definitions/ModelCallResult/properties/
|
|
161
|
+
"$ref": "#/definitions/ModelCallResult/properties/routing/properties/retryOfOperationId"
|
|
108
162
|
},
|
|
109
163
|
"credentialProfileId": {
|
|
110
|
-
"$ref": "#/definitions/ModelCallResult/properties/
|
|
164
|
+
"$ref": "#/definitions/ModelCallResult/properties/routing/properties/retryOfOperationId"
|
|
111
165
|
},
|
|
112
166
|
"accountFingerprint": {
|
|
113
167
|
"type": [
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/PromptCacheTtl",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"PromptCacheTtl": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"enum": [
|
|
7
|
+
"5m",
|
|
8
|
+
"1h"
|
|
9
|
+
],
|
|
10
|
+
"description": "Native prompt-cache lifetime for the main conversation and helper requests of a harness that declares it. Omission sends no override: native defaults, profile settings and the inherited environment stay in effect."
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
14
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/PromptCacheTtlReceipt",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"PromptCacheTtlReceipt": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"requested": {
|
|
8
|
+
"anyOf": [
|
|
9
|
+
{
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": [
|
|
12
|
+
"5m",
|
|
13
|
+
"1h"
|
|
14
|
+
],
|
|
15
|
+
"description": "Native prompt-cache lifetime for the main conversation and helper requests of a harness that declares it. Omission sends no override: native defaults, profile settings and the inherited environment stay in effect."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "null"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"description": "Lifetime the engine routed to this session: the run's captured value where this adapter declares it, otherwise null (Default, or an undeclared value disclosed as ignored). The captured intent itself is the task contract's prompt_cache_ttl."
|
|
22
|
+
},
|
|
23
|
+
"submitted": {
|
|
24
|
+
"anyOf": [
|
|
25
|
+
{
|
|
26
|
+
"$ref": "#/definitions/PromptCacheTtlReceipt/properties/requested/anyOf/0"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "null"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"description": "Value set on the native lifetime controls of this process, null when none was set. Configuration, not proof that the provider applied it."
|
|
33
|
+
},
|
|
34
|
+
"reason": {
|
|
35
|
+
"anyOf": [
|
|
36
|
+
{
|
|
37
|
+
"type": "string",
|
|
38
|
+
"minLength": 1,
|
|
39
|
+
"pattern": "\\S",
|
|
40
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "null"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"description": "Known reason the submitted value cannot govern this session (a forcing or disabling native control in effect, or a CLI that predates the controls); null when none is known."
|
|
47
|
+
},
|
|
48
|
+
"observed": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": [
|
|
51
|
+
"5m",
|
|
52
|
+
"1h",
|
|
53
|
+
"mixed",
|
|
54
|
+
"none",
|
|
55
|
+
"unknown"
|
|
56
|
+
],
|
|
57
|
+
"description": "Lifetime split of the cache writes reported by the native result usage; it does not establish which request buckets that usage aggregates. none = no observed writes (not disabled caching); unknown = a result did not report the split."
|
|
58
|
+
},
|
|
59
|
+
"write_5m_tokens": {
|
|
60
|
+
"anyOf": [
|
|
61
|
+
{
|
|
62
|
+
"type": "integer",
|
|
63
|
+
"minimum": 0
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "null"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"description": "Reported five-minute cache-write tokens summed over results; null when any result omitted the split."
|
|
70
|
+
},
|
|
71
|
+
"write_1h_tokens": {
|
|
72
|
+
"anyOf": [
|
|
73
|
+
{
|
|
74
|
+
"$ref": "#/definitions/PromptCacheTtlReceipt/properties/write_5m_tokens/anyOf/0"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "null"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"description": "Reported one-hour cache-write tokens summed over results; null when any result omitted the split."
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"required": [
|
|
84
|
+
"requested",
|
|
85
|
+
"submitted",
|
|
86
|
+
"reason",
|
|
87
|
+
"observed",
|
|
88
|
+
"write_5m_tokens",
|
|
89
|
+
"write_1h_tokens"
|
|
90
|
+
],
|
|
91
|
+
"additionalProperties": false,
|
|
92
|
+
"description": "Requested, configured and observed prompt-cache lifetime facts for one attempt. Lifecycle, outcome and cost are separate facts and never derive from this receipt."
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
96
|
+
}
|
|
@@ -514,6 +514,93 @@
|
|
|
514
514
|
"additionalProperties": false,
|
|
515
515
|
"description": "Mode-qualified billing evidence for an existing cost record. Authentication alone does not establish included premium service; credits, cash, and token valuation stay distinct."
|
|
516
516
|
},
|
|
517
|
+
"prompt_cache_ttl": {
|
|
518
|
+
"type": "object",
|
|
519
|
+
"properties": {
|
|
520
|
+
"requested": {
|
|
521
|
+
"anyOf": [
|
|
522
|
+
{
|
|
523
|
+
"type": "string",
|
|
524
|
+
"enum": [
|
|
525
|
+
"5m",
|
|
526
|
+
"1h"
|
|
527
|
+
],
|
|
528
|
+
"description": "Native prompt-cache lifetime for the main conversation and helper requests of a harness that declares it. Omission sends no override: native defaults, profile settings and the inherited environment stay in effect."
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"type": "null"
|
|
532
|
+
}
|
|
533
|
+
],
|
|
534
|
+
"description": "Lifetime the engine routed to this session: the run's captured value where this adapter declares it, otherwise null (Default, or an undeclared value disclosed as ignored). The captured intent itself is the task contract's prompt_cache_ttl."
|
|
535
|
+
},
|
|
536
|
+
"submitted": {
|
|
537
|
+
"anyOf": [
|
|
538
|
+
{
|
|
539
|
+
"$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/prompt_cache_ttl/properties/requested/anyOf/0"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"type": "null"
|
|
543
|
+
}
|
|
544
|
+
],
|
|
545
|
+
"description": "Value set on the native lifetime controls of this process, null when none was set. Configuration, not proof that the provider applied it."
|
|
546
|
+
},
|
|
547
|
+
"reason": {
|
|
548
|
+
"anyOf": [
|
|
549
|
+
{
|
|
550
|
+
"$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/effort_resolution/properties/requested/anyOf/0"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"type": "null"
|
|
554
|
+
}
|
|
555
|
+
],
|
|
556
|
+
"description": "Known reason the submitted value cannot govern this session (a forcing or disabling native control in effect, or a CLI that predates the controls); null when none is known."
|
|
557
|
+
},
|
|
558
|
+
"observed": {
|
|
559
|
+
"type": "string",
|
|
560
|
+
"enum": [
|
|
561
|
+
"5m",
|
|
562
|
+
"1h",
|
|
563
|
+
"mixed",
|
|
564
|
+
"none",
|
|
565
|
+
"unknown"
|
|
566
|
+
],
|
|
567
|
+
"description": "Lifetime split of the cache writes reported by the native result usage; it does not establish which request buckets that usage aggregates. none = no observed writes (not disabled caching); unknown = a result did not report the split."
|
|
568
|
+
},
|
|
569
|
+
"write_5m_tokens": {
|
|
570
|
+
"anyOf": [
|
|
571
|
+
{
|
|
572
|
+
"type": "integer",
|
|
573
|
+
"minimum": 0
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"type": "null"
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"description": "Reported five-minute cache-write tokens summed over results; null when any result omitted the split."
|
|
580
|
+
},
|
|
581
|
+
"write_1h_tokens": {
|
|
582
|
+
"anyOf": [
|
|
583
|
+
{
|
|
584
|
+
"$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/prompt_cache_ttl/properties/write_5m_tokens/anyOf/0"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"type": "null"
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
"description": "Reported one-hour cache-write tokens summed over results; null when any result omitted the split."
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
"required": [
|
|
594
|
+
"requested",
|
|
595
|
+
"submitted",
|
|
596
|
+
"reason",
|
|
597
|
+
"observed",
|
|
598
|
+
"write_5m_tokens",
|
|
599
|
+
"write_1h_tokens"
|
|
600
|
+
],
|
|
601
|
+
"additionalProperties": false,
|
|
602
|
+
"description": "Requested, configured and observed prompt-cache lifetime facts for one attempt. Lifecycle, outcome and cost are separate facts and never derive from this receipt."
|
|
603
|
+
},
|
|
517
604
|
"usage_cost": {
|
|
518
605
|
"type": "object",
|
|
519
606
|
"properties": {
|
|
@@ -561,6 +561,14 @@
|
|
|
561
561
|
],
|
|
562
562
|
"description": "Advisory service preference. Fast or Economy may use ordinary Standard service; fallback never introduces Fast. Omission preserves native defaults. Explicit native serviceTier takes precedence."
|
|
563
563
|
},
|
|
564
|
+
"prompt_cache_ttl": {
|
|
565
|
+
"type": "string",
|
|
566
|
+
"enum": [
|
|
567
|
+
"5m",
|
|
568
|
+
"1h"
|
|
569
|
+
],
|
|
570
|
+
"description": "Native prompt-cache lifetime for the main conversation and helper requests of a harness that declares it. Omission sends no override: native defaults, profile settings and the inherited environment stay in effect."
|
|
571
|
+
},
|
|
564
572
|
"routing_efforts": {
|
|
565
573
|
"type": "object",
|
|
566
574
|
"additionalProperties": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/schema",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Single source of truth for all Claudexor data shapes (Zod + generated JSON Schema).",
|
|
6
6
|
"type": "module",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"zod": "^4.6.5",
|
|
22
22
|
"zod-to-json-schema": "^3.24.1",
|
|
23
|
-
"@claudexor/util": "4.
|
|
23
|
+
"@claudexor/util": "4.6.1"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|