wicked-crew-api-types 0.120.0 → 0.122.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/index.d.ts +41 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2165,6 +2165,24 @@ export interface OperatorJudgment {
|
|
|
2165
2165
|
reason: string | null;
|
|
2166
2166
|
}
|
|
2167
2167
|
|
|
2168
|
+
/**
|
|
2169
|
+
* (api-types 0.121.0, wicked-core judge fallback, operator ruling 2026-10-14) A judge seated IN PLACE
|
|
2170
|
+
* of the run's preferred judge: every preferred judge seat was benched for the run (codex's worktree
|
|
2171
|
+
* bench, a sign-in refusal) or failed as a seat while judging, so a fallback seat (Claude Code, then
|
|
2172
|
+
* Antigravity) distinct from every party to the work (creator, authors, evaluator, validator author,
|
|
2173
|
+
* team) judged instead. With no such seat the gate still holds (`judge_unavailable`).
|
|
2174
|
+
*/
|
|
2175
|
+
export interface JudgeFallback {
|
|
2176
|
+
/** The seat that judged. */
|
|
2177
|
+
seat: string;
|
|
2178
|
+
/** The preferred judge seats it stood in for, in rotation order. */
|
|
2179
|
+
preferred: string[];
|
|
2180
|
+
/** Why they could not judge, in the engine's words (`codex benched: …` / `copilot unavailable: …`). */
|
|
2181
|
+
reason: string;
|
|
2182
|
+
/** The disclosure line to show as-is: `judge: agy (fallback; codex benched: …)`. */
|
|
2183
|
+
label: string;
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2168
2186
|
/** Why an instrument is absent from a receipt. */
|
|
2169
2187
|
export type AssuranceSkipReason =
|
|
2170
2188
|
| 'reduced_assurance'
|
|
@@ -2250,6 +2268,10 @@ export interface AssuranceReceipt {
|
|
|
2250
2268
|
/** (api-types 0.110.0) Every gate the operator judged ("judged by operator"); ABSENT when none or on
|
|
2251
2269
|
* an older engine. A unit receipt carries its own; a delivery receipt lists the run's. */
|
|
2252
2270
|
operatorJudges?: OperatorJudgment[];
|
|
2271
|
+
/** (api-types 0.121.0) Every judge seated as a FALLBACK for a benched or unavailable preferred judge;
|
|
2272
|
+
* ABSENT when every judge was the run's own (the routine case) or on an older engine. A unit
|
|
2273
|
+
* receipt carries at most one; a delivery receipt lists the run's. */
|
|
2274
|
+
judgeFallbacks?: JudgeFallback[];
|
|
2253
2275
|
}
|
|
2254
2276
|
|
|
2255
2277
|
/**
|
|
@@ -4732,6 +4754,10 @@ export interface LaunchRunBody {
|
|
|
4732
4754
|
* default and typo fallback). Requires wicked-core-ts ≥ 0.7.24 / crew ≥ 0.7.33 for the gate to
|
|
4733
4755
|
* exist at all — read `AgentSession.auto_deliver` to learn whether the engine knows it. An
|
|
4734
4756
|
* older daemon's launch schema rejects the field with a 400 — omit it against such servers.
|
|
4757
|
+
* `'auto'` on a workflow that requires QE acceptance (with no `skipQeAcceptance` and the daemon's
|
|
4758
|
+
* {@link SystemSettings.qeAcceptance} not `'off'`) is refused 400 `{ code: 'qe_acceptance_required',
|
|
4759
|
+
* error }` (crew ≥ 0.12.1; before that, `error` alone). The token is the one a refused delivery's
|
|
4760
|
+
* {@link QeAcceptanceRefusal} carries, but this 400 has no `acceptance` or `assurance`.
|
|
4735
4761
|
*/
|
|
4736
4762
|
deliverGate?: 'human' | 'auto';
|
|
4737
4763
|
/**
|
|
@@ -5390,8 +5416,13 @@ export interface SystemSettings {
|
|
|
5390
5416
|
* naming this setting — `assurance.qe.status: 'skipped'`, `basis: 'operator'`, labelled on the run,
|
|
5391
5417
|
* every gate and the delivery, and the deliver gate reads a skip, never a refusal. A launch's
|
|
5392
5418
|
* `forceQeAcceptance: true` still requires it. `GET /health.capabilities.qeAcceptance` reports it.
|
|
5393
|
-
*
|
|
5394
|
-
*
|
|
5419
|
+
* (api-types 0.122.0) The launches the engine takes on its own — campaign nodes (as each dispatches) and
|
|
5420
|
+
* `wicked.crew.run.requested` bus requests — follow it too, when the engine addon carries
|
|
5421
|
+
* `setQeAcceptanceOff` (crew hands the setting to the engine with every settings read): such a
|
|
5422
|
+
* launch that gives no QE word of its own (`CampaignRunSpec.skip_qe_acceptance_reason` /
|
|
5423
|
+
* `force_qe_acceptance`, or the same keys on the bus request's `args`) is skipped with the same
|
|
5424
|
+
* reason, only when its contract requires QE acceptance. On an older addon those launches still
|
|
5425
|
+
* require it.
|
|
5395
5426
|
*/
|
|
5396
5427
|
qeAcceptance?: 'required' | 'off';
|
|
5397
5428
|
/**
|
|
@@ -6978,6 +7009,14 @@ export interface CampaignRunSpec {
|
|
|
6978
7009
|
/** The registered `WorkflowDef` id this node's Run follows — for a deterministic scenario node,
|
|
6979
7010
|
* the per-node composed Tool workflow (`campaign-<campaign>-<node>`). */
|
|
6980
7011
|
workflow_id?: string | null;
|
|
7012
|
+
/** (api-types 0.122.0; engine wire, QE acceptance) The node's own skip of a required QE acceptance, with its reason
|
|
7013
|
+
* — labelled on the node's run, gates and delivery. Absent unless the def set it (crew's
|
|
7014
|
+
* scenarios do not); refused beside `force_qe_acceptance` and on a workflow that does not
|
|
7015
|
+
* require QE acceptance. With neither set, the daemon's `qeAcceptance: 'off'` applies. */
|
|
7016
|
+
skip_qe_acceptance_reason?: string;
|
|
7017
|
+
/** (api-types 0.122.0; engine wire, QE acceptance) The node's own force: QE acceptance is required whatever the
|
|
7018
|
+
* run's score says. Absent = `false`. */
|
|
7019
|
+
force_qe_acceptance?: boolean;
|
|
6981
7020
|
}
|
|
6982
7021
|
|
|
6983
7022
|
/** A schedulable unit of the DAG — one node = one governed core Run. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-crew-api-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.122.0",
|
|
4
4
|
"description": "The wire contract of the wicked-crew daemon's /api/v1 REST surface and /ws CoreEvent frames \u2014 types only, zero runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./index.d.ts",
|