@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
package/dist/thread.js
CHANGED
|
@@ -18,6 +18,12 @@ import { Attachment } from "./attachment.js";
|
|
|
18
18
|
export const ThreadState = z
|
|
19
19
|
.enum(["active", "closed", "trashed", "purged"])
|
|
20
20
|
.describe("Thread lifecycle state: active, closed, trashed for recovery, or terminally purged.");
|
|
21
|
+
export const ThreadFolderName = z
|
|
22
|
+
.string()
|
|
23
|
+
.trim()
|
|
24
|
+
.min(1)
|
|
25
|
+
.max(120)
|
|
26
|
+
.describe("User-visible thread folder name.");
|
|
21
27
|
export const SessionState = z
|
|
22
28
|
.enum(["live", "stale", "rebound"])
|
|
23
29
|
.describe("Vendor session cache state: live (resumable), stale, or rebound (re-hosted elsewhere).");
|
|
@@ -77,6 +83,9 @@ export const Thread = z
|
|
|
77
83
|
.default(null)
|
|
78
84
|
.describe("Project the thread is anchored to; null for a no-project Ask thread."),
|
|
79
85
|
title: z.string().nullable().default(null).describe("Thread title; null until set."),
|
|
86
|
+
folder: ThreadFolderName.nullable()
|
|
87
|
+
.default(null)
|
|
88
|
+
.describe("Optional server-owned sidebar folder; null means ungrouped."),
|
|
80
89
|
/** Default mode for new turns; individual turns may override. */
|
|
81
90
|
mode: ModeKind.default("agent").describe("Default mode for new turns; individual turns may override."),
|
|
82
91
|
/** Per-thread auth preference override (subscription/api_key/auto). */
|
|
@@ -121,7 +130,7 @@ export const Thread = z
|
|
|
121
130
|
.describe("When the thread entered recoverable trash."),
|
|
122
131
|
purge_after: IsoTimestamp.nullable()
|
|
123
132
|
.default(null)
|
|
124
|
-
.describe("
|
|
133
|
+
.describe("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."),
|
|
125
134
|
pre_trash_state: z
|
|
126
135
|
.enum(["active", "closed"])
|
|
127
136
|
.nullable()
|
package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AAQ,CAAC,qEAAqE,CAAC,CAAC;AAGnF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC;KAC5B,MAAM,CAAC;IACN,+EAA+E;IAC/E,EAAE,EAAE,EAAE,CAAC,QAAQ,CAAC,wDAAwD,CAAC;IACzE,SAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IACrD,UAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IAC/C,UAAU,EAAE,EAAE,CAAC,QAAQ,EAAE;SACtB,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,yDAAyD,CAAC;IACtE,wCAAwC;IACxC,OAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACzD,UAAU,EAAE,YAAY,CAAC,QAAQ,CAAC,oCAAoC,CAAC;CACxE,CAAC;KACD,QAAQ,CACP,+GAA+G,CAChH,CAAC"}
|
package/dist/work-report.d.ts
CHANGED
|
@@ -77,13 +77,24 @@ export type WorkReport = z.infer<typeof WorkReport>;
|
|
|
77
77
|
*/
|
|
78
78
|
export declare const WorkReportSource: z.ZodEnum<["constrained", "validated", "absent"]>;
|
|
79
79
|
export type WorkReportSource = z.infer<typeof WorkReportSource>;
|
|
80
|
+
/**
|
|
81
|
+
* Why an ACTIVE instructed footer channel (`validated` source: cursor, agy,
|
|
82
|
+
* acp) produced no valid WorkReport. On such a route nothing constrains the
|
|
83
|
+
* model natively, so a missing or broken footer is disclosed, never a failure
|
|
84
|
+
* (owner decision 2026-10-05): the run completes with `state: unverified`, the
|
|
85
|
+
* complete answer stays the deliverable, and this reason names the cause. Never
|
|
86
|
+
* set for a valid report or for a route that carries no transport (`absent`).
|
|
87
|
+
*/
|
|
88
|
+
export declare const WorkReportUnverifiedReason: z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>;
|
|
89
|
+
export type WorkReportUnverifiedReason = z.infer<typeof WorkReportUnverifiedReason>;
|
|
80
90
|
/**
|
|
81
91
|
* The D-16 work_state axis attached to attempt/run outcomes, ORTHOGONAL to the
|
|
82
92
|
* process lifecycle (INV-116). `state` folds the WorkReport state with an
|
|
83
|
-
* `unverified` value for the disclosed-
|
|
84
|
-
* lane gated
|
|
85
|
-
*
|
|
86
|
-
*
|
|
93
|
+
* `unverified` value for the disclosed no-valid-report cases (transport
|
|
94
|
+
* unsupported / lane gated, or an instructed footer that was missing or
|
|
95
|
+
* broken — `unverified_reason` says which). A `needs_input`/`incomplete`
|
|
96
|
+
* work_state VETOES applyability and forces a non-zero CLI exit even when the
|
|
97
|
+
* process lifecycle succeeded, but it NEVER flips the lifecycle itself.
|
|
87
98
|
*/
|
|
88
99
|
export declare const WorkState: z.ZodObject<{
|
|
89
100
|
state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
|
|
@@ -101,6 +112,7 @@ export declare const WorkState: z.ZodObject<{
|
|
|
101
112
|
locator?: string | null | undefined;
|
|
102
113
|
description: string;
|
|
103
114
|
}>, "many">>;
|
|
115
|
+
unverified_reason: z.ZodOptional<z.ZodEnum<["footer_missing", "footer_not_json", "footer_not_object", "report_missing", "report_malformed", "report_contradictory", "legacy_output_invalid"]>>;
|
|
104
116
|
}, "strip", z.ZodTypeAny, {
|
|
105
117
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
106
118
|
source: "absent" | "constrained" | "validated";
|
|
@@ -109,6 +121,7 @@ export declare const WorkState: z.ZodObject<{
|
|
|
109
121
|
locator: string | null;
|
|
110
122
|
description: string;
|
|
111
123
|
}[] | undefined;
|
|
124
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
112
125
|
}, {
|
|
113
126
|
state: "completed" | "incomplete" | "needs_input" | "unverified";
|
|
114
127
|
source: "absent" | "constrained" | "validated";
|
|
@@ -117,6 +130,7 @@ export declare const WorkState: z.ZodObject<{
|
|
|
117
130
|
locator?: string | null | undefined;
|
|
118
131
|
description: string;
|
|
119
132
|
}[] | undefined;
|
|
133
|
+
unverified_reason?: "footer_missing" | "footer_not_json" | "footer_not_object" | "legacy_output_invalid" | "report_contradictory" | "report_malformed" | "report_missing" | undefined;
|
|
120
134
|
}>;
|
|
121
135
|
export type WorkState = z.infer<typeof WorkState>;
|
|
122
136
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"work-report.d.ts","sourceRoot":"","sources":["../src/work-report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B;;;;;;;;;;GAUG;AAEH;;yEAEyE;AACzE,eAAO,MAAM,eAAe,uDAIzB,CAAC;AACJ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,mEAAmE;AACnE,eAAO,MAAM,iBAAiB,+FAI3B,CAAC;AACJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE;kFACkF;AAClF,eAAO,MAAM,aAAa;;;;;;;;;;;;EAckD,CAAC;AAC7E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,sDAAsD;AACtD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAapB,CAAC;AACJ,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,mDAI1B,CAAC;AACJ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"work-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AM,EAAE,OAAO,CA+BhE,CAAC"}
|
package/dist/work-report.js
CHANGED
|
@@ -60,25 +60,46 @@ export const WorkReport = z
|
|
|
60
60
|
export const WorkReportSource = z
|
|
61
61
|
.enum(["constrained", "validated", "absent"])
|
|
62
62
|
.describe("Provenance of a WorkReport: constrained (native schema transport), validated (instructed terminal metadata), or absent (no transport could carry one — a disclosed absence, not a failure).");
|
|
63
|
+
/**
|
|
64
|
+
* Why an ACTIVE instructed footer channel (`validated` source: cursor, agy,
|
|
65
|
+
* acp) produced no valid WorkReport. On such a route nothing constrains the
|
|
66
|
+
* model natively, so a missing or broken footer is disclosed, never a failure
|
|
67
|
+
* (owner decision 2026-10-05): the run completes with `state: unverified`, the
|
|
68
|
+
* complete answer stays the deliverable, and this reason names the cause. Never
|
|
69
|
+
* set for a valid report or for a route that carries no transport (`absent`).
|
|
70
|
+
*/
|
|
71
|
+
export const WorkReportUnverifiedReason = z
|
|
72
|
+
.enum([
|
|
73
|
+
"footer_missing",
|
|
74
|
+
"footer_not_json",
|
|
75
|
+
"footer_not_object",
|
|
76
|
+
"report_missing",
|
|
77
|
+
"report_malformed",
|
|
78
|
+
"report_contradictory",
|
|
79
|
+
"legacy_output_invalid",
|
|
80
|
+
])
|
|
81
|
+
.describe("Why an active instructed footer yielded no valid WorkReport: no fenced block, a non-JSON or non-object last fence, a fence without work_report, a malformed report, a contradictory one (completed with required_inputs, or needs_input without any), or a historical fence-only envelope whose output is not a string.");
|
|
63
82
|
/**
|
|
64
83
|
* The D-16 work_state axis attached to attempt/run outcomes, ORTHOGONAL to the
|
|
65
84
|
* process lifecycle (INV-116). `state` folds the WorkReport state with an
|
|
66
|
-
* `unverified` value for the disclosed-
|
|
67
|
-
* lane gated
|
|
68
|
-
*
|
|
69
|
-
*
|
|
85
|
+
* `unverified` value for the disclosed no-valid-report cases (transport
|
|
86
|
+
* unsupported / lane gated, or an instructed footer that was missing or
|
|
87
|
+
* broken — `unverified_reason` says which). A `needs_input`/`incomplete`
|
|
88
|
+
* work_state VETOES applyability and forces a non-zero CLI exit even when the
|
|
89
|
+
* process lifecycle succeeded, but it NEVER flips the lifecycle itself.
|
|
70
90
|
*/
|
|
71
91
|
export const WorkState = z
|
|
72
92
|
.object({
|
|
73
93
|
state: z
|
|
74
94
|
.enum(["completed", "needs_input", "incomplete", "unverified"])
|
|
75
|
-
.describe("Folded work state: the WorkReport state, or unverified when no report was
|
|
95
|
+
.describe("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)."),
|
|
76
96
|
source: WorkReportSource,
|
|
77
97
|
required_inputs: z
|
|
78
98
|
.array(RequiredInput)
|
|
79
99
|
.max(16)
|
|
80
100
|
.optional()
|
|
81
101
|
.describe("Carried through from a needs_input/incomplete WorkReport for honest disclosure."),
|
|
102
|
+
unverified_reason: WorkReportUnverifiedReason.optional().describe("Present only with state unverified on a validated (instructed footer) source: the disclosed cause of the missing report."),
|
|
82
103
|
})
|
|
83
104
|
.describe("D-16 work_state axis: the model-attested work outcome, orthogonal to process lifecycle (INV-116); a needs_input/incomplete state vetoes applyability and exit 0 without flipping the lifecycle.");
|
|
84
105
|
/**
|
package/dist/work-report.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"work-report.js","sourceRoot":"","sources":["../src/work-report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B;;;;;;;;;;GAUG;AAEH;;yEAEyE;AACzE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,IAAI,CAAC,CAAC,WAAW,EAAE,aAAa,EAAE,YAAY,CAAC,CAAC;KAChD,QAAQ,CACP,+IAA+I,CAChJ,CAAC;AAGJ,mEAAmE;AACnE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAC/B,IAAI,CAAC,CAAC,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,qBAA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Z,YAAY;4BACZ,UAAU;4BACV,qBAAqB;yBACtB;qBACF;oBACD,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE;oBACrD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE;iBACjD;gBACD,QAAQ,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,aAAa,CAAC;gBAC5C,oBAAoB,EAAE,KAAK;aAC5B;SACF;KACF;IACD,QAAQ,EAAE,CAAC,OAAO,EAAE,iBAAiB,CAAC;IACtC,oBAAoB,EAAE,KAAK;CAC5B,CAAC"}
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
"minLength": 1,
|
|
311
311
|
"maxLength": 32,
|
|
312
312
|
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
313
|
-
"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,
|
|
313
|
+
"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."
|
|
314
314
|
},
|
|
315
315
|
"description": "Reasoning-effort ladder the adapter declares (normalized by the engine)."
|
|
316
316
|
},
|
|
@@ -941,7 +941,7 @@
|
|
|
941
941
|
"minLength": 1,
|
|
942
942
|
"maxLength": 32,
|
|
943
943
|
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
944
|
-
"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,
|
|
944
|
+
"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."
|
|
945
945
|
},
|
|
946
946
|
"default": [],
|
|
947
947
|
"description": "Ordered (weakest to strongest) reasoning-effort levels this harness accepts across all its models; empty means effort is not a tunable surface."
|
|
@@ -1488,6 +1488,12 @@
|
|
|
1488
1488
|
}
|
|
1489
1489
|
]
|
|
1490
1490
|
},
|
|
1491
|
+
"applies_to_model_prefixes": {
|
|
1492
|
+
"type": "array",
|
|
1493
|
+
"items": {
|
|
1494
|
+
"$ref": "#/definitions/ControlCredentialProfilesQueryResponse/anyOf/0/properties/profiles/items/properties/status/properties/profile_id"
|
|
1495
|
+
}
|
|
1496
|
+
},
|
|
1491
1497
|
"applies_to_unspecified_model": {
|
|
1492
1498
|
"type": "boolean"
|
|
1493
1499
|
},
|
|
@@ -1546,7 +1552,7 @@
|
|
|
1546
1552
|
"resets_at"
|
|
1547
1553
|
],
|
|
1548
1554
|
"additionalProperties": false,
|
|
1549
|
-
"description": "One independent vendor quota window;
|
|
1555
|
+
"description": "One independent vendor quota window; without model ids or declared prefixes it applies to every model, and null usage stays unknown."
|
|
1550
1556
|
}
|
|
1551
1557
|
},
|
|
1552
1558
|
"source": {
|
|
@@ -1558,7 +1564,9 @@
|
|
|
1558
1564
|
"claude_api_retry",
|
|
1559
1565
|
"claude_oauth_usage",
|
|
1560
1566
|
"agy_command_usage",
|
|
1561
|
-
"cursor_rate_limit"
|
|
1567
|
+
"cursor_rate_limit",
|
|
1568
|
+
"claude_rate_limit_event",
|
|
1569
|
+
"codex_app_server_event"
|
|
1562
1570
|
],
|
|
1563
1571
|
"description": "Machine-readable source of quota evidence, classified by schema-owned traits."
|
|
1564
1572
|
},
|
|
@@ -1575,6 +1583,11 @@
|
|
|
1575
1583
|
],
|
|
1576
1584
|
"description": "Freshness of a quota snapshot at read time."
|
|
1577
1585
|
},
|
|
1586
|
+
"snapshot_id": {
|
|
1587
|
+
"type": "string",
|
|
1588
|
+
"minLength": 1,
|
|
1589
|
+
"description": "Server-derived stable snapshot identity for consumers; absent from raw journal evidence and optional for legacy responses."
|
|
1590
|
+
},
|
|
1578
1591
|
"availability": {
|
|
1579
1592
|
"type": "object",
|
|
1580
1593
|
"properties": {
|
|
@@ -1618,8 +1631,13 @@
|
|
|
1618
1631
|
"type": "array",
|
|
1619
1632
|
"items": {
|
|
1620
1633
|
"$ref": "#/definitions/ControlCredentialProfilesQueryResponse/anyOf/0/properties/profiles/items/properties/status/properties/profile_id"
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1634
|
+
}
|
|
1635
|
+
},
|
|
1636
|
+
"applies_to_model_prefixes": {
|
|
1637
|
+
"type": "array",
|
|
1638
|
+
"items": {
|
|
1639
|
+
"$ref": "#/definitions/ControlCredentialProfilesQueryResponse/anyOf/0/properties/profiles/items/properties/status/properties/profile_id"
|
|
1640
|
+
}
|
|
1623
1641
|
},
|
|
1624
1642
|
"resets_at": {
|
|
1625
1643
|
"anyOf": [
|
|
@@ -1639,7 +1657,7 @@
|
|
|
1639
1657
|
"resets_at"
|
|
1640
1658
|
],
|
|
1641
1659
|
"additionalProperties": false,
|
|
1642
|
-
"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)."
|
|
1660
|
+
"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)."
|
|
1643
1661
|
},
|
|
1644
1662
|
"description": "Every spent/cooling model-scoped window, listed regardless of state so consumers see partial exhaustion without re-deriving constraint scope."
|
|
1645
1663
|
}
|
|
@@ -1735,6 +1753,10 @@
|
|
|
1735
1753
|
"vendor": {
|
|
1736
1754
|
"$ref": "#/definitions/ControlCredentialProfilesQueryResponse/anyOf/0/properties/profiles/items/properties/status/properties/profile_id"
|
|
1737
1755
|
},
|
|
1756
|
+
"subject": {
|
|
1757
|
+
"$ref": "#/definitions/ControlCredentialProfilesQueryResponse/anyOf/1/properties/quota/properties/snapshots/items/properties/subject",
|
|
1758
|
+
"description": "The exact paused subject; omitted only for an existing vendor-wide floor."
|
|
1759
|
+
},
|
|
1738
1760
|
"not_before": {
|
|
1739
1761
|
"type": "string",
|
|
1740
1762
|
"format": "date-time"
|
|
@@ -1745,7 +1767,7 @@
|
|
|
1745
1767
|
"not_before"
|
|
1746
1768
|
],
|
|
1747
1769
|
"additionalProperties": false,
|
|
1748
|
-
"description": "One
|
|
1770
|
+
"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."
|
|
1749
1771
|
}
|
|
1750
1772
|
}
|
|
1751
1773
|
},
|
|
@@ -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": {
|
|
@@ -1537,7 +1543,9 @@
|
|
|
1537
1543
|
"claude_api_retry",
|
|
1538
1544
|
"claude_oauth_usage",
|
|
1539
1545
|
"agy_command_usage",
|
|
1540
|
-
"cursor_rate_limit"
|
|
1546
|
+
"cursor_rate_limit",
|
|
1547
|
+
"claude_rate_limit_event",
|
|
1548
|
+
"codex_app_server_event"
|
|
1541
1549
|
],
|
|
1542
1550
|
"description": "Machine-readable source of quota evidence, classified by schema-owned traits."
|
|
1543
1551
|
},
|
|
@@ -1554,6 +1562,11 @@
|
|
|
1554
1562
|
],
|
|
1555
1563
|
"description": "Freshness of a quota snapshot at read time."
|
|
1556
1564
|
},
|
|
1565
|
+
"snapshot_id": {
|
|
1566
|
+
"type": "string",
|
|
1567
|
+
"minLength": 1,
|
|
1568
|
+
"description": "Server-derived stable snapshot identity for consumers; absent from raw journal evidence and optional for legacy responses."
|
|
1569
|
+
},
|
|
1557
1570
|
"availability": {
|
|
1558
1571
|
"type": "object",
|
|
1559
1572
|
"properties": {
|
|
@@ -1597,8 +1610,13 @@
|
|
|
1597
1610
|
"type": "array",
|
|
1598
1611
|
"items": {
|
|
1599
1612
|
"$ref": "#/definitions/ControlCredentialProfilesSnapshotResponse/properties/profiles/items/properties/status/properties/profile_id"
|
|
1600
|
-
}
|
|
1601
|
-
|
|
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
|
+
}
|
|
1602
1620
|
},
|
|
1603
1621
|
"resets_at": {
|
|
1604
1622
|
"anyOf": [
|
|
@@ -1618,7 +1636,7 @@
|
|
|
1618
1636
|
"resets_at"
|
|
1619
1637
|
],
|
|
1620
1638
|
"additionalProperties": false,
|
|
1621
|
-
"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)."
|
|
1622
1640
|
},
|
|
1623
1641
|
"description": "Every spent/cooling model-scoped window, listed regardless of state so consumers see partial exhaustion without re-deriving constraint scope."
|
|
1624
1642
|
}
|
|
@@ -1714,6 +1732,10 @@
|
|
|
1714
1732
|
"vendor": {
|
|
1715
1733
|
"$ref": "#/definitions/ControlCredentialProfilesSnapshotResponse/properties/profiles/items/properties/status/properties/profile_id"
|
|
1716
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
|
+
},
|
|
1717
1739
|
"not_before": {
|
|
1718
1740
|
"type": "string",
|
|
1719
1741
|
"format": "date-time"
|
|
@@ -1724,7 +1746,7 @@
|
|
|
1724
1746
|
"not_before"
|
|
1725
1747
|
],
|
|
1726
1748
|
"additionalProperties": false,
|
|
1727
|
-
"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."
|
|
1728
1750
|
}
|
|
1729
1751
|
}
|
|
1730
1752
|
},
|
|
@@ -181,6 +181,20 @@
|
|
|
181
181
|
],
|
|
182
182
|
"additionalProperties": false,
|
|
183
183
|
"description": "Model resource identifiers released (or would be under dry_run), plus cleanup failures; present only when model_payload_report was requested."
|
|
184
|
+
},
|
|
185
|
+
"purged_threads": {
|
|
186
|
+
"type": "array",
|
|
187
|
+
"items": {
|
|
188
|
+
"type": "string"
|
|
189
|
+
},
|
|
190
|
+
"description": "Ids of trashed threads whose purge_after had passed and that this pass purged (or would purge under dry_run). Present only when trash_purge_report was requested; a skipped (busy) or failed purge is disclosed in errors instead."
|
|
191
|
+
},
|
|
192
|
+
"purge_leftovers": {
|
|
193
|
+
"type": "array",
|
|
194
|
+
"items": {
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
"description": "Ids of already purged threads whose directory cleanup had failed after the purge was journaled (an isolated worktree or lane home still on disk) and that this pass finished (or would finish under dry_run). Present only when trash_purge_report was requested; a cleanup that fails again is disclosed in errors and retried by the next pass."
|
|
184
198
|
}
|
|
185
199
|
},
|
|
186
200
|
"required": [
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
"data_root_report": {
|
|
17
17
|
"type": "boolean",
|
|
18
18
|
"description": "Opt in to the advisory data-root scan: when true, the receipt carries data_root_unrecognized. Capability negotiation for engine-version skew — a client omits this unless the serving daemon is the SAME engine version, so an older daemon never sees the unknown request key and an older client never receives the unknown receipt key."
|
|
19
|
+
},
|
|
20
|
+
"trash_purge_report": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Opt in to the thread-purge disclosure: when true, the receipt carries purged_threads and purge_leftovers. The purges themselves always run; the same lockstep capability negotiation as data_root_report keeps older strict receipt readers compatible."
|
|
19
23
|
}
|
|
20
24
|
},
|
|
21
25
|
"additionalProperties": false,
|
|
@@ -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": {
|
|
@@ -142,7 +148,9 @@
|
|
|
142
148
|
"claude_api_retry",
|
|
143
149
|
"claude_oauth_usage",
|
|
144
150
|
"agy_command_usage",
|
|
145
|
-
"cursor_rate_limit"
|
|
151
|
+
"cursor_rate_limit",
|
|
152
|
+
"claude_rate_limit_event",
|
|
153
|
+
"codex_app_server_event"
|
|
146
154
|
],
|
|
147
155
|
"description": "Machine-readable source of quota evidence, classified by schema-owned traits."
|
|
148
156
|
},
|
|
@@ -159,6 +167,11 @@
|
|
|
159
167
|
],
|
|
160
168
|
"description": "Freshness of a quota snapshot at read time."
|
|
161
169
|
},
|
|
170
|
+
"snapshot_id": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"minLength": 1,
|
|
173
|
+
"description": "Server-derived stable snapshot identity for consumers; absent from raw journal evidence and optional for legacy responses."
|
|
174
|
+
},
|
|
162
175
|
"availability": {
|
|
163
176
|
"type": "object",
|
|
164
177
|
"properties": {
|
|
@@ -202,8 +215,13 @@
|
|
|
202
215
|
"type": "array",
|
|
203
216
|
"items": {
|
|
204
217
|
"$ref": "#/definitions/ControlQuotaResponse/properties/snapshots/items/properties/subject/properties/harness"
|
|
205
|
-
}
|
|
206
|
-
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"applies_to_model_prefixes": {
|
|
221
|
+
"type": "array",
|
|
222
|
+
"items": {
|
|
223
|
+
"$ref": "#/definitions/ControlQuotaResponse/properties/snapshots/items/properties/subject/properties/harness"
|
|
224
|
+
}
|
|
207
225
|
},
|
|
208
226
|
"resets_at": {
|
|
209
227
|
"anyOf": [
|
|
@@ -223,7 +241,7 @@
|
|
|
223
241
|
"resets_at"
|
|
224
242
|
],
|
|
225
243
|
"additionalProperties": false,
|
|
226
|
-
"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)."
|
|
227
245
|
},
|
|
228
246
|
"description": "Every spent/cooling model-scoped window, listed regardless of state so consumers see partial exhaustion without re-deriving constraint scope."
|
|
229
247
|
}
|
|
@@ -319,6 +337,10 @@
|
|
|
319
337
|
"vendor": {
|
|
320
338
|
"$ref": "#/definitions/ControlQuotaResponse/properties/snapshots/items/properties/subject/properties/harness"
|
|
321
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
|
+
},
|
|
322
344
|
"not_before": {
|
|
323
345
|
"type": "string",
|
|
324
346
|
"format": "date-time"
|
|
@@ -329,7 +351,7 @@
|
|
|
329
351
|
"not_before"
|
|
330
352
|
],
|
|
331
353
|
"additionalProperties": false,
|
|
332
|
-
"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."
|
|
333
355
|
}
|
|
334
356
|
}
|
|
335
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
|
+
}
|