@claudexor/schema 3.20.1 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-capabilities.d.ts +1 -1
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +1 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/continuation-admission.d.ts +41 -0
- package/dist/continuation-admission.d.ts.map +1 -0
- package/dist/continuation-admission.js +136 -0
- package/dist/continuation-admission.js.map +1 -0
- package/dist/control-operation-responses.d.ts +352 -0
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +2 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +716 -0
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control.d.ts +315 -6
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +21 -3
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +144 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +1 -1
- package/dist/credential-profile.js +1 -1
- package/dist/decision.d.ts +12 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/effort.d.ts +33 -12
- package/dist/effort.d.ts.map +1 -1
- package/dist/effort.js +43 -13
- package/dist/effort.js.map +1 -1
- package/dist/events.d.ts +4 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +11 -0
- package/dist/events.js.map +1 -1
- package/dist/harness.d.ts +16 -9
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +3 -3
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +155 -0
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +38 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/quota.d.ts +252 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +42 -17
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +1 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +0 -1
- package/dist/raw.js.map +1 -1
- package/dist/run-continuation.d.ts +166 -0
- package/dist/run-continuation.d.ts.map +1 -0
- package/dist/run-continuation.js +65 -0
- package/dist/run-continuation.js.map +1 -0
- package/dist/run-continuity.d.ts +215 -0
- package/dist/run-continuity.d.ts.map +1 -0
- package/dist/run-continuity.js +170 -0
- package/dist/run-continuity.js.map +1 -0
- package/dist/run-facts.d.ts +7 -0
- package/dist/run-facts.d.ts.map +1 -1
- package/dist/status-projection.d.ts +8 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +22 -1
- package/dist/status-projection.js.map +1 -1
- package/dist/telemetry.d.ts +33 -3
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +3 -3
- package/dist/telemetry.js.map +1 -1
- package/dist/work-report.d.ts +18 -4
- package/dist/work-report.d.ts.map +1 -1
- package/dist/work-report.js +26 -5
- package/dist/work-report.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +1 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +21 -6
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +21 -6
- package/generated/ControlHarnessListResponse.schema.json +1 -1
- package/generated/ControlHarnessSettingsPatch.schema.json +1 -1
- package/generated/ControlQuotaResponse.schema.json +20 -5
- package/generated/ControlRetainedEnvelope.schema.json +63 -0
- package/generated/ControlRunAgainDraft.schema.json +16 -0
- package/generated/ControlRunDetail.schema.json +398 -1
- package/generated/ControlRunListResponse.schema.json +398 -1
- package/generated/ControlRunStartRequest.schema.json +16 -0
- package/generated/ControlRunSummary.schema.json +398 -1
- package/generated/ControlSettingsSnapshot.schema.json +1 -1
- package/generated/ControlSettingsUpdateRequest.schema.json +1 -1
- package/generated/ControlThreadDetail.schema.json +14 -1
- package/generated/ControlThreadTurnRequest.schema.json +4 -0
- package/generated/DecisionRecord.schema.json +14 -1
- package/generated/EnvelopeCustody.schema.json +195 -0
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/HarnessEvent.schema.json +7 -2
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/McpRunHandleResult.schema.json +109 -1
- package/generated/McpRunToolResult.schema.json +14 -1
- package/generated/RunContinuityReceipt.schema.json +182 -0
- package/generated/RunEvent.schema.json +3 -1
- package/generated/RunFacts.schema.json +14 -1
- package/generated/RunResumable.schema.json +153 -0
- package/generated/RunTelemetry.schema.json +14 -1
- package/generated/SessionCapsule.schema.json +78 -0
- package/generated/TaskContract.schema.json +1 -1
- package/package.json +2 -2
|
@@ -920,7 +920,7 @@
|
|
|
920
920
|
"minLength": 1,
|
|
921
921
|
"maxLength": 32,
|
|
922
922
|
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
923
|
-
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order,
|
|
923
|
+
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order, places a word the vendor order lacks by the shared preference order (none < minimal < low < medium < high < xhigh < max < ultra) onto an advertised level, and refuses words neither order places."
|
|
924
924
|
},
|
|
925
925
|
"default": [],
|
|
926
926
|
"description": "Ordered (weakest to strongest) reasoning-effort levels this harness accepts across all its models; empty means effort is not a tunable surface."
|
|
@@ -1467,6 +1467,12 @@
|
|
|
1467
1467
|
}
|
|
1468
1468
|
]
|
|
1469
1469
|
},
|
|
1470
|
+
"applies_to_model_prefixes": {
|
|
1471
|
+
"type": "array",
|
|
1472
|
+
"items": {
|
|
1473
|
+
"$ref": "#/definitions/ControlCredentialProfilesSnapshotResponse/properties/profiles/items/properties/status/properties/profile_id"
|
|
1474
|
+
}
|
|
1475
|
+
},
|
|
1470
1476
|
"applies_to_unspecified_model": {
|
|
1471
1477
|
"type": "boolean"
|
|
1472
1478
|
},
|
|
@@ -1525,7 +1531,7 @@
|
|
|
1525
1531
|
"resets_at"
|
|
1526
1532
|
],
|
|
1527
1533
|
"additionalProperties": false,
|
|
1528
|
-
"description": "One independent vendor quota window;
|
|
1534
|
+
"description": "One independent vendor quota window; without model ids or declared prefixes it applies to every model, and null usage stays unknown."
|
|
1529
1535
|
}
|
|
1530
1536
|
},
|
|
1531
1537
|
"source": {
|
|
@@ -1604,8 +1610,13 @@
|
|
|
1604
1610
|
"type": "array",
|
|
1605
1611
|
"items": {
|
|
1606
1612
|
"$ref": "#/definitions/ControlCredentialProfilesSnapshotResponse/properties/profiles/items/properties/status/properties/profile_id"
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1613
|
+
}
|
|
1614
|
+
},
|
|
1615
|
+
"applies_to_model_prefixes": {
|
|
1616
|
+
"type": "array",
|
|
1617
|
+
"items": {
|
|
1618
|
+
"$ref": "#/definitions/ControlCredentialProfilesSnapshotResponse/properties/profiles/items/properties/status/properties/profile_id"
|
|
1619
|
+
}
|
|
1609
1620
|
},
|
|
1610
1621
|
"resets_at": {
|
|
1611
1622
|
"anyOf": [
|
|
@@ -1625,7 +1636,7 @@
|
|
|
1625
1636
|
"resets_at"
|
|
1626
1637
|
],
|
|
1627
1638
|
"additionalProperties": false,
|
|
1628
|
-
"description": "A spent or cooling window that applies only to the named models. Without a requested model only a window that DECLARES it governs the unspecified-model route can exhaust the subject; when the request names a model it covers, it blocks that request too (and is then also listed in blocking_constraints). resets_at is its earliest known release instant (null = unknown)."
|
|
1639
|
+
"description": "A spent or cooling window that applies only to the named models or declared model-id prefixes. Without a requested model only a window that DECLARES it governs the unspecified-model route can exhaust the subject; when the request names a model it covers, it blocks that request too (and is then also listed in blocking_constraints). resets_at is its earliest known release instant (null = unknown)."
|
|
1629
1640
|
},
|
|
1630
1641
|
"description": "Every spent/cooling model-scoped window, listed regardless of state so consumers see partial exhaustion without re-deriving constraint scope."
|
|
1631
1642
|
}
|
|
@@ -1721,6 +1732,10 @@
|
|
|
1721
1732
|
"vendor": {
|
|
1722
1733
|
"$ref": "#/definitions/ControlCredentialProfilesSnapshotResponse/properties/profiles/items/properties/status/properties/profile_id"
|
|
1723
1734
|
},
|
|
1735
|
+
"subject": {
|
|
1736
|
+
"$ref": "#/definitions/ControlCredentialProfilesSnapshotResponse/properties/quota/properties/snapshots/items/properties/subject",
|
|
1737
|
+
"description": "The exact paused subject; omitted only for an existing vendor-wide floor."
|
|
1738
|
+
},
|
|
1724
1739
|
"not_before": {
|
|
1725
1740
|
"type": "string",
|
|
1726
1741
|
"format": "date-time"
|
|
@@ -1731,7 +1746,7 @@
|
|
|
1731
1746
|
"not_before"
|
|
1732
1747
|
],
|
|
1733
1748
|
"additionalProperties": false,
|
|
1734
|
-
"description": "One
|
|
1749
|
+
"description": "One subject a refresh cycle did not re-fetch because its poll rate-limit cooldown is active, or a retained legacy vendor floor when subject is absent; its snapshots/absences in the same response are last-known registry data."
|
|
1735
1750
|
}
|
|
1736
1751
|
}
|
|
1737
1752
|
},
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
"minLength": 1,
|
|
549
549
|
"maxLength": 32,
|
|
550
550
|
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
551
|
-
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order,
|
|
551
|
+
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order, places a word the vendor order lacks by the shared preference order (none < minimal < low < medium < high < xhigh < max < ultra) onto an advertised level, and refuses words neither order places."
|
|
552
552
|
},
|
|
553
553
|
"default": [],
|
|
554
554
|
"description": "Ordered (weakest to strongest) reasoning-effort levels this harness accepts across all its models; empty means effort is not a tunable surface."
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"minLength": 1,
|
|
34
34
|
"maxLength": 32,
|
|
35
35
|
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
36
|
-
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order,
|
|
36
|
+
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order, places a word the vendor order lacks by the shared preference order (none < minimal < low < medium < high < xhigh < max < ultra) onto an advertised level, and refuses words neither order places."
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"type": "null"
|
|
@@ -72,6 +72,12 @@
|
|
|
72
72
|
}
|
|
73
73
|
]
|
|
74
74
|
},
|
|
75
|
+
"applies_to_model_prefixes": {
|
|
76
|
+
"type": "array",
|
|
77
|
+
"items": {
|
|
78
|
+
"$ref": "#/definitions/ControlQuotaResponse/properties/snapshots/items/properties/subject/properties/harness"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
75
81
|
"applies_to_unspecified_model": {
|
|
76
82
|
"type": "boolean"
|
|
77
83
|
},
|
|
@@ -130,7 +136,7 @@
|
|
|
130
136
|
"resets_at"
|
|
131
137
|
],
|
|
132
138
|
"additionalProperties": false,
|
|
133
|
-
"description": "One independent vendor quota window;
|
|
139
|
+
"description": "One independent vendor quota window; without model ids or declared prefixes it applies to every model, and null usage stays unknown."
|
|
134
140
|
}
|
|
135
141
|
},
|
|
136
142
|
"source": {
|
|
@@ -209,8 +215,13 @@
|
|
|
209
215
|
"type": "array",
|
|
210
216
|
"items": {
|
|
211
217
|
"$ref": "#/definitions/ControlQuotaResponse/properties/snapshots/items/properties/subject/properties/harness"
|
|
212
|
-
}
|
|
213
|
-
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"applies_to_model_prefixes": {
|
|
221
|
+
"type": "array",
|
|
222
|
+
"items": {
|
|
223
|
+
"$ref": "#/definitions/ControlQuotaResponse/properties/snapshots/items/properties/subject/properties/harness"
|
|
224
|
+
}
|
|
214
225
|
},
|
|
215
226
|
"resets_at": {
|
|
216
227
|
"anyOf": [
|
|
@@ -230,7 +241,7 @@
|
|
|
230
241
|
"resets_at"
|
|
231
242
|
],
|
|
232
243
|
"additionalProperties": false,
|
|
233
|
-
"description": "A spent or cooling window that applies only to the named models. Without a requested model only a window that DECLARES it governs the unspecified-model route can exhaust the subject; when the request names a model it covers, it blocks that request too (and is then also listed in blocking_constraints). resets_at is its earliest known release instant (null = unknown)."
|
|
244
|
+
"description": "A spent or cooling window that applies only to the named models or declared model-id prefixes. Without a requested model only a window that DECLARES it governs the unspecified-model route can exhaust the subject; when the request names a model it covers, it blocks that request too (and is then also listed in blocking_constraints). resets_at is its earliest known release instant (null = unknown)."
|
|
234
245
|
},
|
|
235
246
|
"description": "Every spent/cooling model-scoped window, listed regardless of state so consumers see partial exhaustion without re-deriving constraint scope."
|
|
236
247
|
}
|
|
@@ -326,6 +337,10 @@
|
|
|
326
337
|
"vendor": {
|
|
327
338
|
"$ref": "#/definitions/ControlQuotaResponse/properties/snapshots/items/properties/subject/properties/harness"
|
|
328
339
|
},
|
|
340
|
+
"subject": {
|
|
341
|
+
"$ref": "#/definitions/ControlQuotaResponse/properties/snapshots/items/properties/subject",
|
|
342
|
+
"description": "The exact paused subject; omitted only for an existing vendor-wide floor."
|
|
343
|
+
},
|
|
329
344
|
"not_before": {
|
|
330
345
|
"type": "string",
|
|
331
346
|
"format": "date-time"
|
|
@@ -336,7 +351,7 @@
|
|
|
336
351
|
"not_before"
|
|
337
352
|
],
|
|
338
353
|
"additionalProperties": false,
|
|
339
|
-
"description": "One
|
|
354
|
+
"description": "One subject a refresh cycle did not re-fetch because its poll rate-limit cooldown is active, or a retained legacy vendor floor when subject is absent; its snapshots/absences in the same response are last-known registry data."
|
|
340
355
|
}
|
|
341
356
|
}
|
|
342
357
|
},
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlRetainedEnvelope",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlRetainedEnvelope": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"root": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Absolute path of the kept working tree."
|
|
10
|
+
},
|
|
11
|
+
"bytes": {
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "integer",
|
|
15
|
+
"minimum": 0
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "null"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"description": "Disk use of the kept envelope (tree + scoped home); null when not measured."
|
|
22
|
+
},
|
|
23
|
+
"retainedAt": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "When the envelope was kept."
|
|
26
|
+
},
|
|
27
|
+
"cause": {
|
|
28
|
+
"anyOf": [
|
|
29
|
+
{
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": [
|
|
32
|
+
"vendor_limit",
|
|
33
|
+
"pool_exhausted",
|
|
34
|
+
"pinned_limit",
|
|
35
|
+
"transport",
|
|
36
|
+
"context_exhausted",
|
|
37
|
+
"wall_clock",
|
|
38
|
+
"cancelled",
|
|
39
|
+
"host_restart",
|
|
40
|
+
"input_required",
|
|
41
|
+
"other"
|
|
42
|
+
],
|
|
43
|
+
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport death (crash, timeout, watchdog), context exhaustion, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "null"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"description": "Why the run stopped, when recorded."
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"required": [
|
|
53
|
+
"root",
|
|
54
|
+
"bytes",
|
|
55
|
+
"retainedAt",
|
|
56
|
+
"cause"
|
|
57
|
+
],
|
|
58
|
+
"additionalProperties": false,
|
|
59
|
+
"description": "An isolated envelope kept for continuation: continue it with continueFrom, or release it with the discard decision."
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
63
|
+
}
|
|
@@ -447,6 +447,22 @@
|
|
|
447
447
|
"$ref": "#/definitions/ControlRunAgainDraft/properties/sourceRunId",
|
|
448
448
|
"description": "Server-owned Exact Retry lineage; direct POST /runs rejects it."
|
|
449
449
|
},
|
|
450
|
+
"continueFrom": {
|
|
451
|
+
"$ref": "#/definitions/ControlRunAgainDraft/properties/sourceRunId",
|
|
452
|
+
"description": "Continue a terminal predecessor run owned by this daemon; one accepted successor per predecessor. Omitted mode, scope, execution, harness and model come from the predecessor; prompt is the continuation text and may be empty."
|
|
453
|
+
},
|
|
454
|
+
"continueCarrier": {
|
|
455
|
+
"type": "string",
|
|
456
|
+
"enum": [
|
|
457
|
+
"auto",
|
|
458
|
+
"packet"
|
|
459
|
+
],
|
|
460
|
+
"description": "Carrier preference for continueFrom; omitted = auto."
|
|
461
|
+
},
|
|
462
|
+
"continueModelInherited": {
|
|
463
|
+
"type": "boolean",
|
|
464
|
+
"description": "Internal continuation model provenance; direct POST /runs rejects it."
|
|
465
|
+
},
|
|
450
466
|
"planRunId": {
|
|
451
467
|
"$ref": "#/definitions/ControlRunAgainDraft/properties/sourceRunId",
|
|
452
468
|
"description": "Internal daemon handoff only; rejected (400) on POST /runs. When set, the turn implements an approved plan from that run."
|