@claudexor/schema 3.19.0 → 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-gc.d.ts +9 -0
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +12 -0
- package/dist/control-gc.js.map +1 -1
- package/dist/control-operation-responses.d.ts +415 -9
- 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 +891 -25
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-failure.d.ts +36 -6
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +1 -0
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-thread-requests.d.ts +101 -0
- package/dist/control-thread-requests.d.ts.map +1 -0
- package/dist/control-thread-requests.js +52 -0
- package/dist/control-thread-requests.js.map +1 -0
- package/dist/control.d.ts +377 -106
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +26 -45
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +172 -14
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +4 -1
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +3 -2
- package/dist/credential-profile.js.map +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 +7 -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-input.d.ts +20 -2
- package/dist/harness-input.d.ts.map +1 -1
- package/dist/harness-input.js +17 -6
- package/dist/harness-input.js.map +1 -1
- package/dist/harness.d.ts +57 -20
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +5 -5
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +253 -14
- 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 +507 -12
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +111 -15
- 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/setup-login.d.ts +35 -0
- package/dist/setup-login.d.ts.map +1 -1
- package/dist/setup-login.js +10 -0
- package/dist/setup-login.js.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 +109 -7
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +3 -3
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +4 -0
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +10 -1
- package/dist/thread.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 +29 -7
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +29 -7
- package/generated/ControlGcReceipt.schema.json +14 -0
- package/generated/ControlGcRequest.schema.json +4 -0
- package/generated/ControlHarnessListResponse.schema.json +1 -1
- package/generated/ControlHarnessSettingsPatch.schema.json +1 -1
- package/generated/ControlQuotaResponse.schema.json +28 -6
- package/generated/ControlRetainedEnvelope.schema.json +63 -0
- package/generated/ControlRunAgainDraft.schema.json +16 -0
- package/generated/ControlRunDetail.schema.json +503 -54
- package/generated/ControlRunListResponse.schema.json +503 -54
- package/generated/ControlRunStartRequest.schema.json +16 -0
- package/generated/ControlRunSummary.schema.json +503 -54
- package/generated/ControlSettingsSnapshot.schema.json +1 -1
- package/generated/ControlSettingsUpdateRequest.schema.json +1 -1
- package/generated/ControlThread.schema.json +16 -1
- package/generated/ControlThreadCreateRequest.schema.json +6 -0
- package/generated/ControlThreadDetail.schema.json +30 -2
- package/generated/ControlThreadListResponse.schema.json +16 -1
- package/generated/ControlThreadTurnRequest.schema.json +4 -0
- package/generated/ControlThreadUpdateRequest.schema.json +15 -1
- 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 +114 -56
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/McpRunHandleResult.schema.json +214 -54
- package/generated/McpRunToolResult.schema.json +119 -54
- package/generated/RunContinuityReceipt.schema.json +182 -0
- package/generated/RunEvent.schema.json +3 -1
- package/generated/RunFacts.schema.json +14 -1
- package/generated/RunFailure.schema.json +105 -53
- package/generated/RunResumable.schema.json +153 -0
- package/generated/RunTelemetry.schema.json +118 -54
- package/generated/SessionCapsule.schema.json +78 -0
- package/generated/TaskContract.schema.json +1 -1
- package/generated/Thread.schema.json +16 -1
- package/package.json +2 -2
|
@@ -179,66 +179,117 @@
|
|
|
179
179
|
"type": "object",
|
|
180
180
|
"properties": {
|
|
181
181
|
"request_refusal": {
|
|
182
|
-
"
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
"
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
"type": "string",
|
|
191
|
-
"const": "unicode_scalars"
|
|
192
|
-
},
|
|
193
|
-
"limit": {
|
|
194
|
-
"anyOf": [
|
|
195
|
-
{
|
|
196
|
-
"type": "integer",
|
|
197
|
-
"exclusiveMinimum": 0,
|
|
198
|
-
"minimum": -9007199254740991,
|
|
199
|
-
"maximum": 9007199254740991
|
|
182
|
+
"anyOf": [
|
|
183
|
+
{
|
|
184
|
+
"type": "object",
|
|
185
|
+
"properties": {
|
|
186
|
+
"scope": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"const": "turn_text",
|
|
189
|
+
"description": "All text input items in one native turn; separate instructions are excluded."
|
|
200
190
|
},
|
|
201
|
-
{
|
|
202
|
-
"type": "
|
|
191
|
+
"unit": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"const": "unicode_scalars"
|
|
194
|
+
},
|
|
195
|
+
"limit": {
|
|
196
|
+
"anyOf": [
|
|
197
|
+
{
|
|
198
|
+
"type": "integer",
|
|
199
|
+
"exclusiveMinimum": 0,
|
|
200
|
+
"minimum": -9007199254740991,
|
|
201
|
+
"maximum": 9007199254740991
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"type": "null"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
"source": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"minLength": 1
|
|
211
|
+
},
|
|
212
|
+
"kind": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"const": "input_too_large"
|
|
215
|
+
},
|
|
216
|
+
"actual": {
|
|
217
|
+
"anyOf": [
|
|
218
|
+
{
|
|
219
|
+
"type": "integer",
|
|
220
|
+
"minimum": -9007199254740991,
|
|
221
|
+
"maximum": 9007199254740991
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"type": "null"
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
"native_code": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"minLength": 1
|
|
203
231
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
232
|
+
},
|
|
233
|
+
"required": [
|
|
234
|
+
"scope",
|
|
235
|
+
"unit",
|
|
236
|
+
"limit",
|
|
237
|
+
"source",
|
|
238
|
+
"kind",
|
|
239
|
+
"actual",
|
|
240
|
+
"native_code"
|
|
241
|
+
],
|
|
242
|
+
"additionalProperties": false
|
|
213
243
|
},
|
|
214
|
-
|
|
215
|
-
"
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
"
|
|
219
|
-
"
|
|
244
|
+
{
|
|
245
|
+
"type": "object",
|
|
246
|
+
"properties": {
|
|
247
|
+
"kind": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"const": "vendor_cli_too_old"
|
|
220
250
|
},
|
|
221
|
-
{
|
|
222
|
-
"type": "
|
|
251
|
+
"native_code": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"const": "claude_code_version_too_old"
|
|
254
|
+
},
|
|
255
|
+
"source": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"const": "claude_stdout"
|
|
258
|
+
},
|
|
259
|
+
"binary_path": {
|
|
260
|
+
"anyOf": [
|
|
261
|
+
{
|
|
262
|
+
"type": "string",
|
|
263
|
+
"minLength": 1
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"type": "null"
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
"installed_version": {
|
|
271
|
+
"anyOf": [
|
|
272
|
+
{
|
|
273
|
+
"type": "string",
|
|
274
|
+
"minLength": 1
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"type": "null"
|
|
278
|
+
}
|
|
279
|
+
]
|
|
223
280
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
281
|
+
},
|
|
282
|
+
"required": [
|
|
283
|
+
"kind",
|
|
284
|
+
"native_code",
|
|
285
|
+
"source",
|
|
286
|
+
"binary_path",
|
|
287
|
+
"installed_version"
|
|
288
|
+
],
|
|
289
|
+
"additionalProperties": false
|
|
229
290
|
}
|
|
230
|
-
},
|
|
231
|
-
"required": [
|
|
232
|
-
"scope",
|
|
233
|
-
"unit",
|
|
234
|
-
"limit",
|
|
235
|
-
"source",
|
|
236
|
-
"kind",
|
|
237
|
-
"actual",
|
|
238
|
-
"native_code"
|
|
239
291
|
],
|
|
240
|
-
"
|
|
241
|
-
"description": "Vendor-typed physical input refusal; the same input cannot be repaired by changing this harness's account or model."
|
|
292
|
+
"description": "Vendor-attested request refusal that another account cannot repair; input and executable causes carry their own evidence."
|
|
242
293
|
},
|
|
243
294
|
"effort_resolution": {
|
|
244
295
|
"type": "object",
|
|
@@ -891,7 +942,7 @@
|
|
|
891
942
|
"incomplete",
|
|
892
943
|
"unverified"
|
|
893
944
|
],
|
|
894
|
-
"description": "Folded work state: the WorkReport state, or unverified when no report was
|
|
945
|
+
"description": "Folded work state: the WorkReport state, or unverified when no valid report was obtained (transport unsupported / lane gated, or an instructed footer missing or broken)."
|
|
895
946
|
},
|
|
896
947
|
"source": {
|
|
897
948
|
"type": "string",
|
|
@@ -947,6 +998,19 @@
|
|
|
947
998
|
},
|
|
948
999
|
"maxItems": 16,
|
|
949
1000
|
"description": "Carried through from a needs_input/incomplete WorkReport for honest disclosure."
|
|
1001
|
+
},
|
|
1002
|
+
"unverified_reason": {
|
|
1003
|
+
"type": "string",
|
|
1004
|
+
"enum": [
|
|
1005
|
+
"footer_missing",
|
|
1006
|
+
"footer_not_json",
|
|
1007
|
+
"footer_not_object",
|
|
1008
|
+
"report_missing",
|
|
1009
|
+
"report_malformed",
|
|
1010
|
+
"report_contradictory",
|
|
1011
|
+
"legacy_output_invalid"
|
|
1012
|
+
],
|
|
1013
|
+
"description": "Present only with state unverified on a validated (instructed footer) source: the disclosed cause of the missing report."
|
|
950
1014
|
}
|
|
951
1015
|
},
|
|
952
1016
|
"required": [
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SessionCapsule",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"SessionCapsule": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"harness": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"description": "Harness that owns the session."
|
|
11
|
+
},
|
|
12
|
+
"nativeSessionId": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"description": "The vendor's own session/thread id."
|
|
16
|
+
},
|
|
17
|
+
"holderProfileId": {
|
|
18
|
+
"anyOf": [
|
|
19
|
+
{
|
|
20
|
+
"type": "string",
|
|
21
|
+
"minLength": 1,
|
|
22
|
+
"description": "Non-empty identifier string."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "null"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"description": "Credential profile whose store currently holds the session; null = the harness default store."
|
|
29
|
+
},
|
|
30
|
+
"file": {
|
|
31
|
+
"type": [
|
|
32
|
+
"string",
|
|
33
|
+
"null"
|
|
34
|
+
],
|
|
35
|
+
"description": "Absolute path of the located history file (the holder); null until located."
|
|
36
|
+
},
|
|
37
|
+
"mtimeMs": {
|
|
38
|
+
"type": [
|
|
39
|
+
"number",
|
|
40
|
+
"null"
|
|
41
|
+
],
|
|
42
|
+
"description": "Modification time of the located file (newest wins on a tie); null until located."
|
|
43
|
+
},
|
|
44
|
+
"sidecars": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"items": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"default": [],
|
|
50
|
+
"description": "Absolute paths of sibling state a move must carry (claude `<sid>/` tool-results and subagents; codex rollout parts)."
|
|
51
|
+
},
|
|
52
|
+
"cwd": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Working directory the session was created under."
|
|
55
|
+
},
|
|
56
|
+
"requestedModel": {
|
|
57
|
+
"type": [
|
|
58
|
+
"string",
|
|
59
|
+
"null"
|
|
60
|
+
],
|
|
61
|
+
"description": "The model the spec requested; null = the harness default."
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"harness",
|
|
66
|
+
"nativeSessionId",
|
|
67
|
+
"holderProfileId",
|
|
68
|
+
"file",
|
|
69
|
+
"mtimeMs",
|
|
70
|
+
"cwd",
|
|
71
|
+
"requestedModel"
|
|
72
|
+
],
|
|
73
|
+
"additionalProperties": false,
|
|
74
|
+
"description": "Durable per-attempt record of the native vendor session and its holder file."
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
78
|
+
}
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
"minLength": 1,
|
|
569
569
|
"maxLength": 32,
|
|
570
570
|
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
571
|
-
"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,
|
|
571
|
+
"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."
|
|
572
572
|
},
|
|
573
573
|
"default": {},
|
|
574
574
|
"description": "Resolved harness-scoped reasoning-effort map for this run (harness id to effort), frozen so an Exact Retry replays the same effort instead of re-resolving current settings."
|
|
@@ -59,6 +59,21 @@
|
|
|
59
59
|
"default": null,
|
|
60
60
|
"description": "Thread title; null until set."
|
|
61
61
|
},
|
|
62
|
+
"folder": {
|
|
63
|
+
"anyOf": [
|
|
64
|
+
{
|
|
65
|
+
"type": "string",
|
|
66
|
+
"minLength": 1,
|
|
67
|
+
"maxLength": 120,
|
|
68
|
+
"description": "User-visible thread folder name."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "null"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"description": "Optional server-owned sidebar folder; null means ungrouped.",
|
|
75
|
+
"default": null
|
|
76
|
+
},
|
|
62
77
|
"mode": {
|
|
63
78
|
"type": "string",
|
|
64
79
|
"enum": [
|
|
@@ -228,7 +243,7 @@
|
|
|
228
243
|
"type": "null"
|
|
229
244
|
}
|
|
230
245
|
],
|
|
231
|
-
"description": "
|
|
246
|
+
"description": "End of the 30-day trash window: restore is refused after it, and the daemon's next retention pass (startup or claudexor gc) purges the thread.",
|
|
232
247
|
"default": null
|
|
233
248
|
},
|
|
234
249
|
"pre_trash_state": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/schema",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
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": "3.
|
|
23
|
+
"@claudexor/util": "3.22.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|