@claudexor/schema 3.20.1 → 3.23.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 +9 -9
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +2 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/command-list.d.ts +108 -37
- package/dist/command-list.d.ts.map +1 -1
- package/dist/command-list.js +17 -35
- package/dist/command-list.js.map +1 -1
- package/dist/command-summary.d.ts +8 -0
- package/dist/command-summary.d.ts.map +1 -0
- package/dist/command-summary.js +33 -0
- package/dist/command-summary.js.map +1 -0
- 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 +357 -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 +726 -0
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-execution.js +1 -1
- package/dist/control-run-execution.js.map +1 -1
- package/dist/control-thread-requests.d.ts +17 -3
- package/dist/control-thread-requests.d.ts.map +1 -1
- package/dist/control-thread-requests.js +24 -1
- package/dist/control-thread-requests.js.map +1 -1
- package/dist/control.d.ts +347 -22
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +32 -4
- 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/daemon-status.d.ts +177 -0
- package/dist/daemon-status.d.ts.map +1 -0
- package/dist/daemon-status.js +27 -0
- package/dist/daemon-status.js.map +1 -0
- 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 +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -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/project.d.ts +2 -2
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +3 -3
- package/dist/project.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/run-list-page.d.ts +74 -0
- package/dist/run-list-page.d.ts.map +1 -0
- package/dist/run-list-page.js +85 -0
- package/dist/run-list-page.js.map +1 -0
- package/dist/run-strategy.d.ts +18 -0
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +15 -0
- package/dist/run-strategy.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 +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/thread.d.ts +24 -10
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +14 -4
- 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 +5 -4
- package/generated/CommandListQuery.schema.json +204 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +21 -6
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +21 -6
- package/generated/ControlDaemonStatus.schema.json +150 -0
- package/generated/ControlHarnessListResponse.schema.json +1 -1
- package/generated/ControlHarnessSettingsPatch.schema.json +1 -1
- package/generated/ControlProjectRemoveReceipt.schema.json +1 -1
- package/generated/ControlQuotaResponse.schema.json +20 -5
- package/generated/ControlRetainedEnvelope.schema.json +63 -0
- package/generated/ControlRunAgainDraft.schema.json +17 -1
- package/generated/ControlRunDetail.schema.json +406 -1
- package/generated/ControlRunListResponse.schema.json +406 -1
- package/generated/ControlRunStartRequest.schema.json +17 -1
- package/generated/ControlRunSummary.schema.json +406 -1
- package/generated/ControlSettingsSnapshot.schema.json +1 -1
- package/generated/ControlSettingsUpdateRequest.schema.json +1 -1
- package/generated/ControlThread.schema.json +11 -2
- package/generated/ControlThreadCreateRequest.schema.json +7 -2
- package/generated/ControlThreadDetail.schema.json +25 -3
- package/generated/ControlThreadListResponse.schema.json +11 -2
- 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/RunListQuery.schema.json +66 -0
- 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/generated/Thread.schema.json +12 -3
- package/package.json +2 -2
package/dist/thread.d.ts
CHANGED
|
@@ -30,27 +30,35 @@ export type ThreadTurnKind = z.infer<typeof ThreadTurnKind>;
|
|
|
30
30
|
* directly (continuity is the tree itself; native vendor sessions resume); the
|
|
31
31
|
* default, matching how Claude Code / Cursor work locally. `isolated` keeps a
|
|
32
32
|
* persistent git worktree per thread; turns accumulate there and `apply` merges
|
|
33
|
-
* into the project.
|
|
33
|
+
* into the project. `delegated` binds the thread at creation to ONE
|
|
34
|
+
* caller-owned workspace (`workspace_root`): every turn and mode executes
|
|
35
|
+
* there under the external caller's delegated authority, and Claudexor never
|
|
36
|
+
* provisions, resets, applies, or deletes it. Race candidates always run in
|
|
37
|
+
* throwaway envelopes regardless.
|
|
34
38
|
*/
|
|
35
|
-
export declare const WorkspaceMode: z.ZodEnum<["in_place", "isolated"]>;
|
|
39
|
+
export declare const WorkspaceMode: z.ZodEnum<["in_place", "isolated", "delegated"]>;
|
|
36
40
|
export type WorkspaceMode = z.infer<typeof WorkspaceMode>;
|
|
37
41
|
export declare const ThreadWorkspace: z.ZodObject<{
|
|
38
|
-
mode: z.ZodDefault<z.ZodEnum<["in_place", "isolated"]>>;
|
|
42
|
+
mode: z.ZodDefault<z.ZodEnum<["in_place", "isolated", "delegated"]>>;
|
|
39
43
|
/** Set lazily on the first write turn of an isolated thread. */
|
|
40
44
|
worktree_path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
41
45
|
/** Snapshot SHA the isolated worktree (or last apply) is based on. */
|
|
42
46
|
base_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
43
47
|
delivered_through_run_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
/** Caller-owned execution tree of a `delegated` thread, bound at creation. */
|
|
49
|
+
workspace_root: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
44
50
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
mode: "in_place" | "isolated";
|
|
51
|
+
mode: "delegated" | "in_place" | "isolated";
|
|
46
52
|
worktree_path: string | null;
|
|
47
53
|
base_sha: string | null;
|
|
48
54
|
delivered_through_run_id: string | null;
|
|
55
|
+
workspace_root: string | null;
|
|
49
56
|
}, {
|
|
50
|
-
mode?: "in_place" | "isolated" | undefined;
|
|
57
|
+
mode?: "delegated" | "in_place" | "isolated" | undefined;
|
|
51
58
|
worktree_path?: string | null | undefined;
|
|
52
59
|
base_sha?: string | null | undefined;
|
|
53
60
|
delivered_through_run_id?: string | null | undefined;
|
|
61
|
+
workspace_root?: string | null | undefined;
|
|
54
62
|
}>;
|
|
55
63
|
export type ThreadWorkspace = z.infer<typeof ThreadWorkspace>;
|
|
56
64
|
/** The Claudexor-owned conversation. SSOT for lineage; vendor sessions are caches. */
|
|
@@ -94,22 +102,26 @@ export declare const Thread: z.ZodObject<{
|
|
|
94
102
|
eligible_harnesses: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
95
103
|
/** How turns touch files (in-place live tree vs isolated worktree). */
|
|
96
104
|
workspace: z.ZodDefault<z.ZodObject<{
|
|
97
|
-
mode: z.ZodDefault<z.ZodEnum<["in_place", "isolated"]>>;
|
|
105
|
+
mode: z.ZodDefault<z.ZodEnum<["in_place", "isolated", "delegated"]>>;
|
|
98
106
|
/** Set lazily on the first write turn of an isolated thread. */
|
|
99
107
|
worktree_path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
100
108
|
/** Snapshot SHA the isolated worktree (or last apply) is based on. */
|
|
101
109
|
base_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
102
110
|
delivered_through_run_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
111
|
+
/** Caller-owned execution tree of a `delegated` thread, bound at creation. */
|
|
112
|
+
workspace_root: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
103
113
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
mode: "in_place" | "isolated";
|
|
114
|
+
mode: "delegated" | "in_place" | "isolated";
|
|
105
115
|
worktree_path: string | null;
|
|
106
116
|
base_sha: string | null;
|
|
107
117
|
delivered_through_run_id: string | null;
|
|
118
|
+
workspace_root: string | null;
|
|
108
119
|
}, {
|
|
109
|
-
mode?: "in_place" | "isolated" | undefined;
|
|
120
|
+
mode?: "delegated" | "in_place" | "isolated" | undefined;
|
|
110
121
|
worktree_path?: string | null | undefined;
|
|
111
122
|
base_sha?: string | null | undefined;
|
|
112
123
|
delivered_through_run_id?: string | null | undefined;
|
|
124
|
+
workspace_root?: string | null | undefined;
|
|
113
125
|
}>>;
|
|
114
126
|
/** Ordered run lineage (each run is a turn move). */
|
|
115
127
|
run_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -136,10 +148,11 @@ export declare const Thread: z.ZodObject<{
|
|
|
136
148
|
primary_harness: string | null;
|
|
137
149
|
eligible_harnesses: string[];
|
|
138
150
|
workspace: {
|
|
139
|
-
mode: "in_place" | "isolated";
|
|
151
|
+
mode: "delegated" | "in_place" | "isolated";
|
|
140
152
|
worktree_path: string | null;
|
|
141
153
|
base_sha: string | null;
|
|
142
154
|
delivered_through_run_id: string | null;
|
|
155
|
+
workspace_root: string | null;
|
|
143
156
|
};
|
|
144
157
|
run_ids: string[];
|
|
145
158
|
head_run_id: string | null;
|
|
@@ -165,10 +178,11 @@ export declare const Thread: z.ZodObject<{
|
|
|
165
178
|
primary_harness?: string | null | undefined;
|
|
166
179
|
eligible_harnesses?: string[] | undefined;
|
|
167
180
|
workspace?: {
|
|
168
|
-
mode?: "in_place" | "isolated" | undefined;
|
|
181
|
+
mode?: "delegated" | "in_place" | "isolated" | undefined;
|
|
169
182
|
worktree_path?: string | null | undefined;
|
|
170
183
|
base_sha?: string | null | undefined;
|
|
171
184
|
delivered_through_run_id?: string | null | undefined;
|
|
185
|
+
workspace_root?: string | null | undefined;
|
|
172
186
|
} | undefined;
|
|
173
187
|
run_ids?: string[] | undefined;
|
|
174
188
|
head_run_id?: string | null | undefined;
|
package/dist/thread.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../src/thread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAW3B;;;;;;;;;;;GAWG;AAEH;oEACoE;AACpE,eAAO,MAAM,WAAW,sDAE0E,CAAC;AACnG,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,gBAAgB,aAKkB,CAAC;AAEhD,eAAO,MAAM,YAAY,yCAItB,CAAC;AACJ,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;2CAE2C;AAC3C,eAAO,MAAM,iBAAiB,qCAI3B,CAAC;AACJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc,gDAEuE,CAAC;AACnG,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D
|
|
1
|
+
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../src/thread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAW3B;;;;;;;;;;;GAWG;AAEH;oEACoE;AACpE,eAAO,MAAM,WAAW,sDAE0E,CAAC;AACnG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AI9E,+EAA+E;;IAI/E;qDACiD;;IAMjD;6EACyE;;;;IAOzE,2EAA2E;;;;;;;;;;;;;;;;;;;;;;;;;;IAK3E,mFAAmF;;;QAxInF;+EACuE;;QAQvE;;;iDAGyC;;;;;;;;;;;;;;;;;;;;;IAgIzC;;;wDAGoD;;;QAzEpD,kFAAkF;;QASlF;4FACoF;;QAOpF;iFACyE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DK,CAAC;AACnF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;IAEvB,+EAA+E;;;;;IAO/E,wCAAwC;;;;;;;;;;;;;;;;;EAMzC,CAAC;AACJ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
package/dist/thread.js
CHANGED
|
@@ -41,11 +41,15 @@ export const ThreadTurnKind = z
|
|
|
41
41
|
* directly (continuity is the tree itself; native vendor sessions resume); the
|
|
42
42
|
* default, matching how Claude Code / Cursor work locally. `isolated` keeps a
|
|
43
43
|
* persistent git worktree per thread; turns accumulate there and `apply` merges
|
|
44
|
-
* into the project.
|
|
44
|
+
* into the project. `delegated` binds the thread at creation to ONE
|
|
45
|
+
* caller-owned workspace (`workspace_root`): every turn and mode executes
|
|
46
|
+
* there under the external caller's delegated authority, and Claudexor never
|
|
47
|
+
* provisions, resets, applies, or deletes it. Race candidates always run in
|
|
48
|
+
* throwaway envelopes regardless.
|
|
45
49
|
*/
|
|
46
50
|
export const WorkspaceMode = z
|
|
47
|
-
.enum(["in_place", "isolated"])
|
|
48
|
-
.describe("Per-thread workspace mode: in_place mutates the live project tree directly (the default); isolated keeps a persistent git worktree per thread that apply merges into the project.");
|
|
51
|
+
.enum(["in_place", "isolated", "delegated"])
|
|
52
|
+
.describe("Per-thread workspace mode: in_place mutates the live project tree directly (the default); isolated keeps a persistent git worktree per thread that apply merges into the project; delegated runs every turn in one caller-owned workspace bound at creation, which Claudexor never applies to the project or deletes.");
|
|
49
53
|
export const ThreadWorkspace = z
|
|
50
54
|
.object({
|
|
51
55
|
mode: WorkspaceMode.default("in_place"),
|
|
@@ -64,8 +68,14 @@ export const ThreadWorkspace = z
|
|
|
64
68
|
delivered_through_run_id: Id.nullable()
|
|
65
69
|
.default(null)
|
|
66
70
|
.describe("Last run in the lineage prefix already delivered from this isolated thread."),
|
|
71
|
+
/** Caller-owned execution tree of a `delegated` thread, bound at creation. */
|
|
72
|
+
workspace_root: z
|
|
73
|
+
.string()
|
|
74
|
+
.nullable()
|
|
75
|
+
.default(null)
|
|
76
|
+
.describe("Caller-owned absolute workspace every turn of a delegated thread executes in; bound at creation, immutable, and retained after purge as the historical binding. Null for in_place and isolated threads."),
|
|
67
77
|
})
|
|
68
|
-
.describe("How the thread's turns touch files (in-place live tree
|
|
78
|
+
.describe("How the thread's turns touch files (in-place live tree, isolated worktree, or caller-owned delegated workspace).");
|
|
69
79
|
/** The Claudexor-owned conversation. SSOT for lineage; vendor sessions are caches. */
|
|
70
80
|
export const Thread = z
|
|
71
81
|
.object({
|
package/dist/thread.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.js","sourceRoot":"","sources":["../src/thread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EACL,qBAAqB,EACrB,cAAc,EACd,EAAE,EACF,YAAY,EACZ,QAAQ,EACR,aAAa,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;;;;;;;;GAWG;AAEH;oEACoE;AACpE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC;KACzB,IAAI,CA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,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-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,0BAA0B,8JAYpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEpF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBnB,CAAC;AACJ,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,MAAM,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,qBAAqB,CAAC,CAAC;KACxF,QAAQ,CACP,yKAAyK,CAC1K,CAAC;AAGJ;kFACkF;AAClF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC;KAC3B,MAAM,CAAC;IACN,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,GAAG,CAAC,GAAG,CAAC;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb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E,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
|
},
|
|
@@ -551,11 +551,12 @@
|
|
|
551
551
|
"type": "string",
|
|
552
552
|
"enum": [
|
|
553
553
|
"in_place",
|
|
554
|
-
"isolated"
|
|
554
|
+
"isolated",
|
|
555
|
+
"delegated"
|
|
555
556
|
],
|
|
556
|
-
"description": "Per-thread workspace mode: in_place mutates the live project tree directly (the default); isolated keeps a persistent git worktree per thread that apply merges into the project."
|
|
557
|
+
"description": "Per-thread workspace mode: in_place mutates the live project tree directly (the default); isolated keeps a persistent git worktree per thread that apply merges into the project; delegated runs every turn in one caller-owned workspace bound at creation, which Claudexor never applies to the project or deletes."
|
|
557
558
|
},
|
|
558
|
-
"description": "Thread workspace modes (in_place | isolated)."
|
|
559
|
+
"description": "Thread workspace modes (in_place | isolated | delegated)."
|
|
559
560
|
},
|
|
560
561
|
"accessProfiles": {
|
|
561
562
|
"type": "array",
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/CommandListQuery",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"CommandListQuery": {
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"id": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"minLength": 1,
|
|
12
|
+
"description": "Non-empty identifier string."
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": [
|
|
16
|
+
"id"
|
|
17
|
+
],
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"delegatedFromRunId": {
|
|
24
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": [
|
|
28
|
+
"delegatedFromRunId"
|
|
29
|
+
],
|
|
30
|
+
"additionalProperties": false
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"ids": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
39
|
+
},
|
|
40
|
+
"minItems": 1,
|
|
41
|
+
"maxItems": 1000
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": [
|
|
45
|
+
"ids"
|
|
46
|
+
],
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"continuationChainOf": {
|
|
53
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": [
|
|
57
|
+
"continuationChainOf"
|
|
58
|
+
],
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"delegatedDescendantsOf": {
|
|
65
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"delegatedDescendantsOf"
|
|
70
|
+
],
|
|
71
|
+
"additionalProperties": false
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"threadId": {
|
|
77
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
78
|
+
},
|
|
79
|
+
"activeOnly": {
|
|
80
|
+
"type": "boolean"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"required": [
|
|
84
|
+
"threadId"
|
|
85
|
+
],
|
|
86
|
+
"additionalProperties": false
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"threadIds": {
|
|
92
|
+
"type": "array",
|
|
93
|
+
"items": {
|
|
94
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
95
|
+
},
|
|
96
|
+
"minItems": 1,
|
|
97
|
+
"maxItems": 1000
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"required": [
|
|
101
|
+
"threadIds"
|
|
102
|
+
],
|
|
103
|
+
"additionalProperties": false
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "object",
|
|
107
|
+
"properties": {
|
|
108
|
+
"turnId": {
|
|
109
|
+
"$ref": "#/definitions/CommandListQuery/anyOf/0/properties/id"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": [
|
|
113
|
+
"turnId"
|
|
114
|
+
],
|
|
115
|
+
"additionalProperties": false
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "object",
|
|
119
|
+
"properties": {
|
|
120
|
+
"activeOnly": {
|
|
121
|
+
"type": "boolean",
|
|
122
|
+
"const": true
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": [
|
|
126
|
+
"activeOnly"
|
|
127
|
+
],
|
|
128
|
+
"additionalProperties": false
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties": {
|
|
133
|
+
"page": {
|
|
134
|
+
"type": "object",
|
|
135
|
+
"properties": {
|
|
136
|
+
"limit": {
|
|
137
|
+
"type": "integer",
|
|
138
|
+
"minimum": 1,
|
|
139
|
+
"maximum": 1000
|
|
140
|
+
},
|
|
141
|
+
"state": {
|
|
142
|
+
"anyOf": [
|
|
143
|
+
{
|
|
144
|
+
"type": "string",
|
|
145
|
+
"enum": [
|
|
146
|
+
"queued",
|
|
147
|
+
"running",
|
|
148
|
+
"succeeded",
|
|
149
|
+
"failed",
|
|
150
|
+
"cancelled",
|
|
151
|
+
"interrupted"
|
|
152
|
+
],
|
|
153
|
+
"description": "Control-plane run state = the run LIFECYCLE (D8): queued/running while live, then exactly one of succeeded / failed / cancelled / interrupted. Outcome quality (checks/review/delivery) is orthogonal — see outcomeFacts."
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"type": "null"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"description": "Control-plane run state = the run LIFECYCLE (D8): queued/running while live, then exactly one of succeeded / failed / cancelled / interrupted. Outcome quality (checks/review/delivery) is orthogonal — see outcomeFacts."
|
|
160
|
+
},
|
|
161
|
+
"cursor": {
|
|
162
|
+
"anyOf": [
|
|
163
|
+
{
|
|
164
|
+
"type": "object",
|
|
165
|
+
"properties": {
|
|
166
|
+
"createdAt": {
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"id": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"minLength": 1
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"required": [
|
|
175
|
+
"createdAt",
|
|
176
|
+
"id"
|
|
177
|
+
],
|
|
178
|
+
"additionalProperties": false
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"type": "null"
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"required": [
|
|
187
|
+
"limit",
|
|
188
|
+
"state",
|
|
189
|
+
"cursor"
|
|
190
|
+
],
|
|
191
|
+
"additionalProperties": false
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": [
|
|
195
|
+
"page"
|
|
196
|
+
],
|
|
197
|
+
"additionalProperties": false
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"description": "Required addressed selection for retained product commands; collections are compact."
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
204
|
+
}
|
|
@@ -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": {
|
|
@@ -1625,8 +1631,13 @@
|
|
|
1625
1631
|
"type": "array",
|
|
1626
1632
|
"items": {
|
|
1627
1633
|
"$ref": "#/definitions/ControlCredentialProfilesQueryResponse/anyOf/0/properties/profiles/items/properties/status/properties/profile_id"
|
|
1628
|
-
}
|
|
1629
|
-
|
|
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
|
+
}
|
|
1630
1641
|
},
|
|
1631
1642
|
"resets_at": {
|
|
1632
1643
|
"anyOf": [
|
|
@@ -1646,7 +1657,7 @@
|
|
|
1646
1657
|
"resets_at"
|
|
1647
1658
|
],
|
|
1648
1659
|
"additionalProperties": false,
|
|
1649
|
-
"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)."
|
|
1650
1661
|
},
|
|
1651
1662
|
"description": "Every spent/cooling model-scoped window, listed regardless of state so consumers see partial exhaustion without re-deriving constraint scope."
|
|
1652
1663
|
}
|
|
@@ -1742,6 +1753,10 @@
|
|
|
1742
1753
|
"vendor": {
|
|
1743
1754
|
"$ref": "#/definitions/ControlCredentialProfilesQueryResponse/anyOf/0/properties/profiles/items/properties/status/properties/profile_id"
|
|
1744
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
|
+
},
|
|
1745
1760
|
"not_before": {
|
|
1746
1761
|
"type": "string",
|
|
1747
1762
|
"format": "date-time"
|
|
@@ -1752,7 +1767,7 @@
|
|
|
1752
1767
|
"not_before"
|
|
1753
1768
|
],
|
|
1754
1769
|
"additionalProperties": false,
|
|
1755
|
-
"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."
|
|
1756
1771
|
}
|
|
1757
1772
|
}
|
|
1758
1773
|
},
|