@claudexor/schema 4.3.1 → 4.5.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/account-routing-evidence.d.ts +282 -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/config.d.ts +2 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -2
- package/dist/config.js.map +1 -1
- package/dist/control-gc.d.ts +113 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +28 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-run-event-part.d.ts +53 -0
- package/dist/control-run-event-part.d.ts.map +1 -0
- package/dist/control-run-event-part.js +47 -0
- package/dist/control-run-event-part.js.map +1 -0
- package/dist/daemon-status.d.ts +327 -0
- package/dist/daemon-status.d.ts.map +1 -1
- package/dist/daemon-status.js +35 -0
- package/dist/daemon-status.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/mcp-run-result.d.ts +251 -0
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +26 -2
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/mcp-run-wait.d.ts +269 -0
- package/dist/mcp-run-wait.d.ts.map +1 -0
- package/dist/mcp-run-wait.js +73 -0
- package/dist/mcp-run-wait.js.map +1 -0
- 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/operation.d.ts +5 -0
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +7 -0
- package/dist/operation.js.map +1 -1
- package/dist/store-status.d.ts +10 -0
- package/dist/store-status.d.ts.map +1 -1
- package/dist/store-status.js +8 -0
- package/dist/store-status.js.map +1 -1
- package/generated/ControlAccountRoutingEvidenceResponse.schema.json +67 -1
- package/generated/ControlDaemonStatus.schema.json +174 -6
- package/generated/ControlGcReceipt.schema.json +81 -1
- package/generated/ControlGcRequest.schema.json +4 -0
- package/generated/ControlHandshakeResponse.schema.json +5 -0
- 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/ControlRunEventPart.schema.json +140 -0
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/ImageCallRequest.schema.json +1 -1
- package/generated/McpAccountsToolResult.schema.json +66 -0
- package/generated/McpRunEventReadInput.schema.json +41 -0
- package/generated/McpRunHandleResult.schema.json +382 -0
- package/generated/McpRunToolResult.schema.json +10 -2
- package/generated/McpRunWaitInput.schema.json +50 -0
- package/generated/McpRunWaitResult.schema.json +411 -0
- package/generated/ModelCallRequest.schema.json +5 -1
- package/generated/ModelCallResult.schema.json +59 -5
- package/package.json +2 -2
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ControlRunEventPart",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ControlRunEventPart": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"runId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Canonical run id."
|
|
11
|
+
},
|
|
12
|
+
"seq": {
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"exclusiveMinimum": 0,
|
|
15
|
+
"maximum": 9007199254740991,
|
|
16
|
+
"description": "Durable seq of the event (its event-stream id)."
|
|
17
|
+
},
|
|
18
|
+
"type": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": [
|
|
21
|
+
"run.created",
|
|
22
|
+
"task.contract.created",
|
|
23
|
+
"context.pack.created",
|
|
24
|
+
"project.git.initialized",
|
|
25
|
+
"project.claude_bridge.created",
|
|
26
|
+
"budget.lease.created",
|
|
27
|
+
"budget.observation",
|
|
28
|
+
"budget.cash",
|
|
29
|
+
"policy.web.upgraded",
|
|
30
|
+
"harness.started",
|
|
31
|
+
"harness.event",
|
|
32
|
+
"harness.completed",
|
|
33
|
+
"route.fallback.started",
|
|
34
|
+
"route.fallback.completed",
|
|
35
|
+
"route.fallback.exhausted",
|
|
36
|
+
"route.transient.detected",
|
|
37
|
+
"route.transient.retry_scheduled",
|
|
38
|
+
"route.profile.headroom_exceeded",
|
|
39
|
+
"route.profile.rotated",
|
|
40
|
+
"route.profile.rotation_exhausted",
|
|
41
|
+
"route.profile.credential_unusable",
|
|
42
|
+
"route.account.pool_selected",
|
|
43
|
+
"route.account.lane_switch",
|
|
44
|
+
"route.account.pool_exhausted",
|
|
45
|
+
"route.transient.exhausted",
|
|
46
|
+
"route.fallback.auth_switched",
|
|
47
|
+
"route.primary.diverged",
|
|
48
|
+
"route.pool.degraded",
|
|
49
|
+
"session.continuity",
|
|
50
|
+
"interaction.requested",
|
|
51
|
+
"interaction.answered",
|
|
52
|
+
"interaction.timeout",
|
|
53
|
+
"interaction.answer_discarded",
|
|
54
|
+
"interaction.withdrawn",
|
|
55
|
+
"message.accepted",
|
|
56
|
+
"message.delivered",
|
|
57
|
+
"message.refused",
|
|
58
|
+
"plan.progress",
|
|
59
|
+
"plan.questions",
|
|
60
|
+
"plan.brief.materialized",
|
|
61
|
+
"council.started",
|
|
62
|
+
"council.draft",
|
|
63
|
+
"council.member.failed",
|
|
64
|
+
"council.merged",
|
|
65
|
+
"budget.quota_pressure",
|
|
66
|
+
"delegation.belt.unavailable",
|
|
67
|
+
"delegation.belt.degraded",
|
|
68
|
+
"output.ready",
|
|
69
|
+
"gate.started",
|
|
70
|
+
"gate.completed",
|
|
71
|
+
"review.preflight",
|
|
72
|
+
"review.started",
|
|
73
|
+
"review.skipped",
|
|
74
|
+
"reviewer.started",
|
|
75
|
+
"reviewer.first_event",
|
|
76
|
+
"reviewer.auth_switched",
|
|
77
|
+
"reviewer.completed",
|
|
78
|
+
"reviewer.timed_out",
|
|
79
|
+
"reviewer.failed",
|
|
80
|
+
"finding.revalidated",
|
|
81
|
+
"synthesis.started",
|
|
82
|
+
"arbitration.completed",
|
|
83
|
+
"work_product.emitted",
|
|
84
|
+
"work_product.adopted",
|
|
85
|
+
"control.requested",
|
|
86
|
+
"control.applied",
|
|
87
|
+
"control.rejected",
|
|
88
|
+
"run.blocked",
|
|
89
|
+
"run.completed",
|
|
90
|
+
"run.failed",
|
|
91
|
+
"run.continuation",
|
|
92
|
+
"run.continuation.denied",
|
|
93
|
+
"run.continuity",
|
|
94
|
+
"workspace.retained"
|
|
95
|
+
],
|
|
96
|
+
"description": "Type of an append-only run event, covering run lifecycle, contract/context creation, budget, routing fallbacks, harness activity, interactions, gates, review, arbitration, work products, and control verbs."
|
|
97
|
+
},
|
|
98
|
+
"totalBytes": {
|
|
99
|
+
"type": "integer",
|
|
100
|
+
"exclusiveMinimum": 0,
|
|
101
|
+
"description": "UTF-8 byte length of the event's complete stream serialization: the redacted JSON line the run event stream delivers."
|
|
102
|
+
},
|
|
103
|
+
"sha256": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"pattern": "^[0-9a-f]{64}$",
|
|
106
|
+
"description": "SHA-256 of all totalBytes; verify the reassembled text before parsing it."
|
|
107
|
+
},
|
|
108
|
+
"offset": {
|
|
109
|
+
"type": "integer",
|
|
110
|
+
"minimum": 0,
|
|
111
|
+
"maximum": 9007199254740991,
|
|
112
|
+
"description": "UTF-8 byte offset where this part starts."
|
|
113
|
+
},
|
|
114
|
+
"nextOffset": {
|
|
115
|
+
"type": "integer",
|
|
116
|
+
"minimum": 0,
|
|
117
|
+
"maximum": 9007199254740991,
|
|
118
|
+
"description": "Where the next part starts; equal to totalBytes when this part ends the event."
|
|
119
|
+
},
|
|
120
|
+
"text": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"description": "Bytes [offset, nextOffset) decoded as UTF-8; a boundary never splits a character."
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": [
|
|
126
|
+
"runId",
|
|
127
|
+
"seq",
|
|
128
|
+
"type",
|
|
129
|
+
"totalBytes",
|
|
130
|
+
"sha256",
|
|
131
|
+
"offset",
|
|
132
|
+
"nextOffset",
|
|
133
|
+
"text"
|
|
134
|
+
],
|
|
135
|
+
"additionalProperties": false,
|
|
136
|
+
"description": "One bounded part of a single validated run event, read from the run's own event log by run id and seq. Concatenate parts in offset order until nextOffset equals totalBytes; only then is the event consumed."
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
140
|
+
}
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
"type": "integer",
|
|
314
314
|
"minimum": 0,
|
|
315
315
|
"default": 20,
|
|
316
|
-
"description": "The newest N runs
|
|
316
|
+
"description": "The newest N runs survive for active registrations (even with missing roots), archived registrations whose roots exist, and the built-in no-project scope. Orphaned namespaces have no keep-last protection."
|
|
317
317
|
}
|
|
318
318
|
},
|
|
319
319
|
"additionalProperties": false,
|
|
@@ -52,7 +52,7 @@
|
|
|
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
56
|
},
|
|
57
57
|
"prompt": {
|
|
58
58
|
"type": "string",
|
|
@@ -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": {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/McpRunEventReadInput",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"McpRunEventReadInput": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"runId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"maxLength": 256
|
|
11
|
+
},
|
|
12
|
+
"seq": {
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"exclusiveMinimum": 0,
|
|
15
|
+
"maximum": 9007199254740991,
|
|
16
|
+
"description": "The event to read, e.g. claudexor_run_wait's oversizedEvent.seq."
|
|
17
|
+
},
|
|
18
|
+
"offset": {
|
|
19
|
+
"type": "integer",
|
|
20
|
+
"minimum": 0,
|
|
21
|
+
"maximum": 9007199254740991,
|
|
22
|
+
"default": 0,
|
|
23
|
+
"description": "0, or the previous part's nextOffset."
|
|
24
|
+
},
|
|
25
|
+
"maxBytes": {
|
|
26
|
+
"type": "integer",
|
|
27
|
+
"minimum": 4,
|
|
28
|
+
"maximum": 65536,
|
|
29
|
+
"default": 32768,
|
|
30
|
+
"description": "Upper bound of this part's UTF-8 bytes; a part may end earlier at a character boundary."
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": [
|
|
34
|
+
"runId",
|
|
35
|
+
"seq"
|
|
36
|
+
],
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
41
|
+
}
|
|
@@ -1667,6 +1667,388 @@
|
|
|
1667
1667
|
"description": "Typed Delegate receipt; null when unavailable or legacy.",
|
|
1668
1668
|
"default": null
|
|
1669
1669
|
},
|
|
1670
|
+
"continueFrom": {
|
|
1671
|
+
"anyOf": [
|
|
1672
|
+
{
|
|
1673
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/attemptExecution/items/properties/attemptId"
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"type": "null"
|
|
1677
|
+
}
|
|
1678
|
+
],
|
|
1679
|
+
"description": "Predecessor run this run continues; null for an ordinary run, omitted when the detail did not project it."
|
|
1680
|
+
},
|
|
1681
|
+
"resumable": {
|
|
1682
|
+
"anyOf": [
|
|
1683
|
+
{
|
|
1684
|
+
"type": "object",
|
|
1685
|
+
"properties": {
|
|
1686
|
+
"cause": {
|
|
1687
|
+
"type": "string",
|
|
1688
|
+
"enum": [
|
|
1689
|
+
"vendor_limit",
|
|
1690
|
+
"pool_exhausted",
|
|
1691
|
+
"pinned_limit",
|
|
1692
|
+
"transport",
|
|
1693
|
+
"permission_denied",
|
|
1694
|
+
"context_exhausted",
|
|
1695
|
+
"wall_clock",
|
|
1696
|
+
"cancelled",
|
|
1697
|
+
"host_restart",
|
|
1698
|
+
"input_required",
|
|
1699
|
+
"other"
|
|
1700
|
+
],
|
|
1701
|
+
"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), a confirmed native tool permission refusal, context exhaustion, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
1702
|
+
},
|
|
1703
|
+
"resetsAt": {
|
|
1704
|
+
"type": [
|
|
1705
|
+
"string",
|
|
1706
|
+
"null"
|
|
1707
|
+
],
|
|
1708
|
+
"description": "When the spent vendor window reopens, only from a vendor signal; never fabricated."
|
|
1709
|
+
},
|
|
1710
|
+
"limitWindow": {
|
|
1711
|
+
"type": [
|
|
1712
|
+
"string",
|
|
1713
|
+
"null"
|
|
1714
|
+
],
|
|
1715
|
+
"description": "The vendor's own name for the spent window (e.g. five_hour, seven_day_opus), when known."
|
|
1716
|
+
},
|
|
1717
|
+
"limitEvidence": {
|
|
1718
|
+
"anyOf": [
|
|
1719
|
+
{
|
|
1720
|
+
"type": "string",
|
|
1721
|
+
"enum": [
|
|
1722
|
+
"window",
|
|
1723
|
+
"unspecified"
|
|
1724
|
+
],
|
|
1725
|
+
"description": "window: the vendor named the spent window (a reset instant or a constraint id); unspecified: a typed limit without a window — a bare backoff frame is transport, not a limit."
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"type": "null"
|
|
1729
|
+
}
|
|
1730
|
+
],
|
|
1731
|
+
"description": "window: the vendor named the spent window (a reset instant or a constraint id); unspecified: a typed limit without a window — a bare backoff frame is transport, not a limit."
|
|
1732
|
+
},
|
|
1733
|
+
"carriers": {
|
|
1734
|
+
"type": "array",
|
|
1735
|
+
"items": {
|
|
1736
|
+
"type": "string",
|
|
1737
|
+
"enum": [
|
|
1738
|
+
"native",
|
|
1739
|
+
"native_moved",
|
|
1740
|
+
"packet"
|
|
1741
|
+
],
|
|
1742
|
+
"description": "A continuity representation still available for a stopped run."
|
|
1743
|
+
},
|
|
1744
|
+
"description": "Continuity representations still available (NOT quota readiness; readiness is described by the limit facts)."
|
|
1745
|
+
},
|
|
1746
|
+
"limitCode": {
|
|
1747
|
+
"type": [
|
|
1748
|
+
"string",
|
|
1749
|
+
"null"
|
|
1750
|
+
],
|
|
1751
|
+
"description": "The typed vendor limit code that ended the work, when any."
|
|
1752
|
+
},
|
|
1753
|
+
"session": {
|
|
1754
|
+
"anyOf": [
|
|
1755
|
+
{
|
|
1756
|
+
"type": "object",
|
|
1757
|
+
"properties": {
|
|
1758
|
+
"harness": {
|
|
1759
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/attemptExecution/items/properties/attemptId"
|
|
1760
|
+
},
|
|
1761
|
+
"nativeSessionId": {
|
|
1762
|
+
"type": "string",
|
|
1763
|
+
"minLength": 1
|
|
1764
|
+
},
|
|
1765
|
+
"holderProfileId": {
|
|
1766
|
+
"anyOf": [
|
|
1767
|
+
{
|
|
1768
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/attemptExecution/items/properties/attemptId"
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"type": "null"
|
|
1772
|
+
}
|
|
1773
|
+
],
|
|
1774
|
+
"description": "Non-empty identifier string."
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
"required": [
|
|
1778
|
+
"harness",
|
|
1779
|
+
"nativeSessionId",
|
|
1780
|
+
"holderProfileId"
|
|
1781
|
+
],
|
|
1782
|
+
"additionalProperties": false
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"type": "null"
|
|
1786
|
+
}
|
|
1787
|
+
],
|
|
1788
|
+
"description": "The native session a continuation can resume, when one exists."
|
|
1789
|
+
},
|
|
1790
|
+
"workspace": {
|
|
1791
|
+
"type": "object",
|
|
1792
|
+
"properties": {
|
|
1793
|
+
"kind": {
|
|
1794
|
+
"type": "string",
|
|
1795
|
+
"enum": [
|
|
1796
|
+
"in_place",
|
|
1797
|
+
"retained_envelope",
|
|
1798
|
+
"none"
|
|
1799
|
+
]
|
|
1800
|
+
},
|
|
1801
|
+
"root": {
|
|
1802
|
+
"type": [
|
|
1803
|
+
"string",
|
|
1804
|
+
"null"
|
|
1805
|
+
]
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1808
|
+
"required": [
|
|
1809
|
+
"kind",
|
|
1810
|
+
"root"
|
|
1811
|
+
],
|
|
1812
|
+
"additionalProperties": false,
|
|
1813
|
+
"description": "Where the stopped work's tree is: the live root, a retained envelope, or gone."
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
"required": [
|
|
1817
|
+
"cause",
|
|
1818
|
+
"resetsAt",
|
|
1819
|
+
"limitWindow",
|
|
1820
|
+
"limitEvidence",
|
|
1821
|
+
"carriers",
|
|
1822
|
+
"limitCode",
|
|
1823
|
+
"session",
|
|
1824
|
+
"workspace"
|
|
1825
|
+
],
|
|
1826
|
+
"additionalProperties": false,
|
|
1827
|
+
"description": "Terminal facts of a stopped run that can be continued: cause, limit evidence, available carriers, the native session and the workspace."
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
"type": "null"
|
|
1831
|
+
}
|
|
1832
|
+
],
|
|
1833
|
+
"description": "Terminal facts of stopped unfinished work that claudexor_run_continue can continue (cause, resetsAt, carriers, session, workspace); null when the work finished or the run is not terminal, omitted when not projected."
|
|
1834
|
+
},
|
|
1835
|
+
"continuity": {
|
|
1836
|
+
"type": "array",
|
|
1837
|
+
"items": {
|
|
1838
|
+
"type": "object",
|
|
1839
|
+
"properties": {
|
|
1840
|
+
"tryIndex": {
|
|
1841
|
+
"type": "integer",
|
|
1842
|
+
"minimum": 0,
|
|
1843
|
+
"description": "Native try within the attempt; joins the receipt to its try."
|
|
1844
|
+
},
|
|
1845
|
+
"attemptId": {
|
|
1846
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/attemptExecution/items/properties/attemptId"
|
|
1847
|
+
},
|
|
1848
|
+
"carrier": {
|
|
1849
|
+
"type": "string",
|
|
1850
|
+
"enum": [
|
|
1851
|
+
"native",
|
|
1852
|
+
"native_moved",
|
|
1853
|
+
"packet",
|
|
1854
|
+
"fresh"
|
|
1855
|
+
],
|
|
1856
|
+
"description": "Carrier of a continued try: native (the vendor's own session, same account), native_moved (the session file made visible in the next account's store, then resumed there), packet (a fresh session re-grounded by an evidence index), or fresh (nothing to carry — a replay of the original prompt)."
|
|
1857
|
+
},
|
|
1858
|
+
"cause": {
|
|
1859
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/resumable/anyOf/0/properties/cause"
|
|
1860
|
+
},
|
|
1861
|
+
"from": {
|
|
1862
|
+
"type": "object",
|
|
1863
|
+
"properties": {
|
|
1864
|
+
"runId": {
|
|
1865
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/attemptExecution/items/properties/attemptId"
|
|
1866
|
+
},
|
|
1867
|
+
"attemptId": {
|
|
1868
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/attemptExecution/items/properties/attemptId"
|
|
1869
|
+
},
|
|
1870
|
+
"profileId": {
|
|
1871
|
+
"anyOf": [
|
|
1872
|
+
{
|
|
1873
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/attemptExecution/items/properties/attemptId"
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"type": "null"
|
|
1877
|
+
}
|
|
1878
|
+
],
|
|
1879
|
+
"description": "Non-empty identifier string."
|
|
1880
|
+
}
|
|
1881
|
+
},
|
|
1882
|
+
"required": [
|
|
1883
|
+
"runId",
|
|
1884
|
+
"attemptId",
|
|
1885
|
+
"profileId"
|
|
1886
|
+
],
|
|
1887
|
+
"additionalProperties": false
|
|
1888
|
+
},
|
|
1889
|
+
"to": {
|
|
1890
|
+
"type": "object",
|
|
1891
|
+
"properties": {
|
|
1892
|
+
"profileId": {
|
|
1893
|
+
"anyOf": [
|
|
1894
|
+
{
|
|
1895
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/attemptExecution/items/properties/attemptId"
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"type": "null"
|
|
1899
|
+
}
|
|
1900
|
+
],
|
|
1901
|
+
"description": "Non-empty identifier string."
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
"required": [
|
|
1905
|
+
"profileId"
|
|
1906
|
+
],
|
|
1907
|
+
"additionalProperties": false
|
|
1908
|
+
},
|
|
1909
|
+
"workspace": {
|
|
1910
|
+
"type": "string",
|
|
1911
|
+
"enum": [
|
|
1912
|
+
"same_root",
|
|
1913
|
+
"different_root"
|
|
1914
|
+
],
|
|
1915
|
+
"description": "Whether the continued try runs in the predecessor's execution root."
|
|
1916
|
+
},
|
|
1917
|
+
"memory": {
|
|
1918
|
+
"type": "string",
|
|
1919
|
+
"enum": [
|
|
1920
|
+
"full",
|
|
1921
|
+
"partial",
|
|
1922
|
+
"unknown"
|
|
1923
|
+
],
|
|
1924
|
+
"description": "Its own fact: a native resume carries the whole history (full); a packet re-brief is partial; a native resume that lost history (e.g. a rejected compacted item) is partial/unknown."
|
|
1925
|
+
},
|
|
1926
|
+
"instructions": {
|
|
1927
|
+
"type": "string",
|
|
1928
|
+
"enum": [
|
|
1929
|
+
"as_sent",
|
|
1930
|
+
"vendor_snapshot"
|
|
1931
|
+
],
|
|
1932
|
+
"description": "as_sent: the successor's instructions equal the predecessor's; vendor_snapshot: they differ, and the vendor may resend its recorded system prompt instead (claude records it on the first request)."
|
|
1933
|
+
},
|
|
1934
|
+
"reingestedTokens": {
|
|
1935
|
+
"anyOf": [
|
|
1936
|
+
{
|
|
1937
|
+
"type": "integer",
|
|
1938
|
+
"minimum": 0
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"type": "null"
|
|
1942
|
+
}
|
|
1943
|
+
],
|
|
1944
|
+
"description": "Input + cache-creation tokens of the first resumed request, when known."
|
|
1945
|
+
},
|
|
1946
|
+
"observedModel": {
|
|
1947
|
+
"type": [
|
|
1948
|
+
"string",
|
|
1949
|
+
"null"
|
|
1950
|
+
],
|
|
1951
|
+
"description": "THIS try's attested model (never borrowed from another try)."
|
|
1952
|
+
},
|
|
1953
|
+
"modelMismatch": {
|
|
1954
|
+
"type": [
|
|
1955
|
+
"boolean",
|
|
1956
|
+
"null"
|
|
1957
|
+
]
|
|
1958
|
+
},
|
|
1959
|
+
"identityCheck": {
|
|
1960
|
+
"type": "string",
|
|
1961
|
+
"enum": [
|
|
1962
|
+
"matched_before_effects",
|
|
1963
|
+
"mismatch_before_effects",
|
|
1964
|
+
"mismatch_after_possible_effects",
|
|
1965
|
+
"not_applicable"
|
|
1966
|
+
],
|
|
1967
|
+
"description": "Whether the resumed vendor session was the one requested, judged at the earliest handshake (codex thread/resume before turn/start; claude system/init): matched, mismatch caught before the child could act, mismatch caught after it may have acted, or not applicable (no resume was requested, or a harness without the continuity capability answered with another session id, which is recorded as before)."
|
|
1968
|
+
},
|
|
1969
|
+
"inputDelivery": {
|
|
1970
|
+
"type": "string",
|
|
1971
|
+
"enum": [
|
|
1972
|
+
"confirmed",
|
|
1973
|
+
"uncertain",
|
|
1974
|
+
"not_applicable"
|
|
1975
|
+
],
|
|
1976
|
+
"description": "Whether the predecessor's last input (its turn prompt or an admitted steering message) is known to be in the vendor history: confirmed, uncertain (carried in the notice as a reference to reconcile, never replayed blindly), or not applicable."
|
|
1977
|
+
}
|
|
1978
|
+
},
|
|
1979
|
+
"required": [
|
|
1980
|
+
"tryIndex",
|
|
1981
|
+
"attemptId",
|
|
1982
|
+
"carrier",
|
|
1983
|
+
"cause",
|
|
1984
|
+
"from",
|
|
1985
|
+
"to",
|
|
1986
|
+
"workspace",
|
|
1987
|
+
"memory",
|
|
1988
|
+
"instructions",
|
|
1989
|
+
"reingestedTokens",
|
|
1990
|
+
"observedModel",
|
|
1991
|
+
"modelMismatch",
|
|
1992
|
+
"identityCheck",
|
|
1993
|
+
"inputDelivery"
|
|
1994
|
+
],
|
|
1995
|
+
"additionalProperties": false,
|
|
1996
|
+
"description": "Receipt of one continued try: carrier, cause, accounts, memory, model attestation."
|
|
1997
|
+
},
|
|
1998
|
+
"description": "Per-try continuation receipts (carrier, cause, accounts, model) from the run's event log; omitted when not projected."
|
|
1999
|
+
},
|
|
2000
|
+
"retainedEnvelope": {
|
|
2001
|
+
"anyOf": [
|
|
2002
|
+
{
|
|
2003
|
+
"type": "object",
|
|
2004
|
+
"properties": {
|
|
2005
|
+
"root": {
|
|
2006
|
+
"type": "string",
|
|
2007
|
+
"description": "Absolute path of the kept working tree."
|
|
2008
|
+
},
|
|
2009
|
+
"bytes": {
|
|
2010
|
+
"anyOf": [
|
|
2011
|
+
{
|
|
2012
|
+
"type": "integer",
|
|
2013
|
+
"minimum": 0
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
"type": "null"
|
|
2017
|
+
}
|
|
2018
|
+
],
|
|
2019
|
+
"description": "Disk use of the kept envelope (tree + scoped home); null when not measured."
|
|
2020
|
+
},
|
|
2021
|
+
"retainedAt": {
|
|
2022
|
+
"type": "string",
|
|
2023
|
+
"description": "When the envelope was kept."
|
|
2024
|
+
},
|
|
2025
|
+
"cause": {
|
|
2026
|
+
"anyOf": [
|
|
2027
|
+
{
|
|
2028
|
+
"$ref": "#/definitions/McpRunHandleResult/properties/resumable/anyOf/0/properties/cause"
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
"type": "null"
|
|
2032
|
+
}
|
|
2033
|
+
],
|
|
2034
|
+
"description": "Why the run stopped, when recorded."
|
|
2035
|
+
}
|
|
2036
|
+
},
|
|
2037
|
+
"required": [
|
|
2038
|
+
"root",
|
|
2039
|
+
"bytes",
|
|
2040
|
+
"retainedAt",
|
|
2041
|
+
"cause"
|
|
2042
|
+
],
|
|
2043
|
+
"additionalProperties": false,
|
|
2044
|
+
"description": "An isolated envelope kept for continuation: continue it with continueFrom, or release it with the discard decision."
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"type": "null"
|
|
2048
|
+
}
|
|
2049
|
+
],
|
|
2050
|
+
"description": "Isolated envelope kept for a successor (disk use visible); null when none, omitted when not projected."
|
|
2051
|
+
},
|
|
1670
2052
|
"detailProblem": {
|
|
1671
2053
|
"anyOf": [
|
|
1672
2054
|
{
|