wicked-core-ts 0.11.0 → 0.11.2
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 +28 -7
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -187,6 +187,15 @@ export declare class Core {
|
|
|
187
187
|
* as a JSON array of `AgenticCli` — pass straight into `launchRun`'s `clisJson`.
|
|
188
188
|
*/
|
|
189
189
|
static registryRoster(): string
|
|
190
|
+
/**
|
|
191
|
+
* (core#769, crew Agents page A5) The engine's worktree bench as a pure predicate: given a
|
|
192
|
+
* JSON array of `AgenticCli` seats (the engine-shaped roster, as `launchRun`'s `clisJson`) and
|
|
193
|
+
* whether the run is BOUND to one repository, the JSON array of `BenchedSeat` (`{cli, reason,
|
|
194
|
+
* source: "launcher"}`) the launch would bench before routing. Reads
|
|
195
|
+
* `WICKED_CODEX_WORKTREE_OK` at call time, as the launch does. An addon without this static
|
|
196
|
+
* predates it; crew keys on its presence.
|
|
197
|
+
*/
|
|
198
|
+
static worktreeBenched(clisJson: string, bound: boolean): string
|
|
190
199
|
/**
|
|
191
200
|
* (crew Agents page A4) Whether this host's skill routing admits the seat `key` (run with its
|
|
192
201
|
* roster `invocation` template, when given) to the engine's isolated QE reviewer turn
|
|
@@ -196,14 +205,11 @@ export declare class Core {
|
|
|
196
205
|
*/
|
|
197
206
|
static qeReviewerAdmitted(key: string, invocation?: string | undefined | null): boolean
|
|
198
207
|
/**
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* source: "launcher"}`) the launch would bench before routing. Reads
|
|
203
|
-
* `WICKED_CODEX_WORKTREE_OK` at call time, as the launch does. An addon without this static
|
|
204
|
-
* predates it; crew keys on its presence.
|
|
208
|
+
* Judge a whole roster's QE reviewer admission against one routing snapshot, off the Node
|
|
209
|
+
* thread (wicked-crew#1021). `seatsJson` is an array of `{key, invocation?}` (invocation may
|
|
210
|
+
* be null); resolves to `[{key, admitted}]` in input order. Invalid JSON rejects the promise.
|
|
205
211
|
*/
|
|
206
|
-
static
|
|
212
|
+
static qeReviewersAdmitted(seatsJson: string): Promise<string>
|
|
207
213
|
/**
|
|
208
214
|
* Whether this addon carries DES-TEAMING-002 T3's plan launch: `LaunchOptions.planJson` /
|
|
209
215
|
* `deliverStepJson` and `confirmGate(…, planJson)`. napi IGNORES an undeclared object field,
|
|
@@ -227,6 +233,21 @@ export declare class Core {
|
|
|
227
233
|
* `/health.warnings` (`bus.unavailable`).
|
|
228
234
|
*/
|
|
229
235
|
busBridgeState(): string
|
|
236
|
+
/**
|
|
237
|
+
* (QE acceptance) Turn QE acceptance OFF for the launches the engine makes on its own —
|
|
238
|
+
* campaign nodes as they dispatch and bus `wicked.crew.run.requested` requests — with this
|
|
239
|
+
* reason (non-empty), or back on with `null`. While off, such a launch that gives no QE word of
|
|
240
|
+
* its own (`skip_qe_acceptance_reason` / `force_qe_acceptance` on its campaign `run_spec` or bus
|
|
241
|
+
* `args`) and whose contract requires QE acceptance is skipped with `reason`, labelled like an
|
|
242
|
+
* operator skip (`assurance.qe {status: "skipped", basis: "operator"}`, "QE acceptance skipped by
|
|
243
|
+
* operator: <reason>") on the run, every gate and the delivery; any other run is left as it is.
|
|
244
|
+
* `launchRun` is not affected (it carries its own `skipQeAcceptanceReason`). Throws on a blank
|
|
245
|
+
* reason. Read at each launch. An addon without this method predates it; crew keys on its
|
|
246
|
+
* presence.
|
|
247
|
+
*/
|
|
248
|
+
setQeAcceptanceOff(reason?: string | undefined | null): void
|
|
249
|
+
/** The standing reason while QE acceptance is off for engine-originated launches, else `null`. */
|
|
250
|
+
qeAcceptanceOff(): string | null
|
|
230
251
|
/**
|
|
231
252
|
* Publish one event on this engine's bus (`WICKED_BUS_DB`), given as wicked-bus `emit()`
|
|
232
253
|
* takes it: JSON `{ event_type, domain, subdomain?, payload, idempotency_key?, producer_id?,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-core-ts",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "Node/TypeScript bindings (napi-rs) for wicked-core: drive the in-process orchestration engine from JS/TS.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"typecheck": "tsc --noEmit -p types-test/tsconfig.json"
|
|
44
44
|
},
|
|
45
45
|
"optionalDependencies": {
|
|
46
|
-
"wicked-core-ts-darwin-arm64": "0.11.
|
|
47
|
-
"wicked-core-ts-darwin-x64": "0.11.
|
|
48
|
-
"wicked-core-ts-linux-arm64-gnu": "0.11.
|
|
49
|
-
"wicked-core-ts-linux-x64-gnu": "0.11.
|
|
50
|
-
"wicked-core-ts-win32-x64-msvc": "0.11.
|
|
46
|
+
"wicked-core-ts-darwin-arm64": "0.11.2",
|
|
47
|
+
"wicked-core-ts-darwin-x64": "0.11.2",
|
|
48
|
+
"wicked-core-ts-linux-arm64-gnu": "0.11.2",
|
|
49
|
+
"wicked-core-ts-linux-x64-gnu": "0.11.2",
|
|
50
|
+
"wicked-core-ts-win32-x64-msvc": "0.11.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@napi-rs/cli": "^2.18.4",
|