wicked-core-ts 0.15.17 → 0.15.19
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 +31 -1
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -144,6 +144,12 @@ export interface LaunchOptions {
|
|
|
144
144
|
* whose required judge was skipped holds (`judge_unavailable`).
|
|
145
145
|
*/
|
|
146
146
|
reducedAssurance?: boolean
|
|
147
|
+
/**
|
|
148
|
+
* (program DES-POWER-MODE) Run in POWER MODE: an intake QE plan sizes the rigor, the `build`
|
|
149
|
+
* step runs as one multi-turn orchestrator session, and a hand-off NOT-PASS goes back to that
|
|
150
|
+
* session on its own. Only for a plan or preset launch. Omit (or `false`) for a phased run.
|
|
151
|
+
*/
|
|
152
|
+
power?: boolean
|
|
147
153
|
/**
|
|
148
154
|
* (X-MIG M9, core#649) The run's DECLARED DELIVERABLES on a plan or preset launch (`plan` or a
|
|
149
155
|
* preset `workflow`): absolute paths inside a declared write root (or worktree-relative paths)
|
|
@@ -219,6 +225,12 @@ export declare class Core {
|
|
|
219
225
|
* drop the plan and run the launch unplanned and ungated.
|
|
220
226
|
*/
|
|
221
227
|
static supportsPlanLaunch(): boolean
|
|
228
|
+
/**
|
|
229
|
+
* (program DES-POWER-MODE) Whether this addon runs power mode: `LaunchOptions.power`,
|
|
230
|
+
* `setPowerMode`, `raiseRigor`, `answerPowerPause` and the power events. An older addon
|
|
231
|
+
* ignores `power` (napi drops an undeclared field), so a launcher keys on this first.
|
|
232
|
+
*/
|
|
233
|
+
static supportsPowerMode(): boolean
|
|
222
234
|
/**
|
|
223
235
|
* What this process's engine knows about its connection to the bus file at `path`
|
|
224
236
|
* (DES-TEAMING-002 T0 connection rule: one connection per bus file per process, opened by a bus
|
|
@@ -1033,6 +1045,21 @@ export declare class Core {
|
|
|
1033
1045
|
* warning. Fires [`CoreEvent::WorkerMessageInjected`] for each successful write.
|
|
1034
1046
|
*/
|
|
1035
1047
|
injectWorkerMessage(runId: string, message: string, target: string): Promise<unknown>
|
|
1048
|
+
/**
|
|
1049
|
+
* (program DES-POWER-MODE) Flip a run's power switch. Resolves to the run's power state as
|
|
1050
|
+
* JSON (`PowerState`, camelCase). Rejects with `not_found:` / `conflict:` / `refused:`.
|
|
1051
|
+
*/
|
|
1052
|
+
setPowerMode(runId: string, on: boolean, actor: string, reason?: string | undefined | null): Promise<string>
|
|
1053
|
+
/**
|
|
1054
|
+
* (program DES-POWER-MODE) Raise a power run's rigor to at least `atLeast` (`light` |
|
|
1055
|
+
* `standard` | `high` | `highest`); never lowers. Resolves to the power state as JSON.
|
|
1056
|
+
*/
|
|
1057
|
+
raiseRigor(runId: string, atLeast: string, actor: string, reason: string): Promise<string>
|
|
1058
|
+
/**
|
|
1059
|
+
* (program DES-POWER-MODE) Answer a power run's checkpoint pause: `continue_high` |
|
|
1060
|
+
* `continue` | `switch_phased` | `stop`. Resolves to the power state as JSON.
|
|
1061
|
+
*/
|
|
1062
|
+
answerPowerPause(runId: string, decision: string, note: string | undefined | null, actor: string): Promise<string>
|
|
1036
1063
|
/**
|
|
1037
1064
|
* Stop the current worker for `ord` in run `run_id` and re-dispatch it.
|
|
1038
1065
|
*
|
|
@@ -1409,8 +1436,11 @@ export interface RepoCheckRunJson {
|
|
|
1409
1436
|
stderrTail: string
|
|
1410
1437
|
/** The runner-native names the head's excluded run deselected. */
|
|
1411
1438
|
preExisting: string[]
|
|
1412
|
-
/** Head failure ids — an annotation; never what decided.
|
|
1439
|
+
/** Head failure ids — an annotation; never what decided. With a retry block (`WICKED-RETRY`) the
|
|
1440
|
+
* final pass's only (core#1172). */
|
|
1413
1441
|
failureIds: string[]
|
|
1442
|
+
/** Failure ids the check's own retry cleared — flaky (passed on retry), not the change's (core#1172). */
|
|
1443
|
+
flakyIds: string[]
|
|
1414
1444
|
regressions: string[]
|
|
1415
1445
|
/** DEPRECATED: always `[]`. */
|
|
1416
1446
|
envCannotRun: string[]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-core-ts",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.19",
|
|
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.15.
|
|
47
|
-
"wicked-core-ts-darwin-x64": "0.15.
|
|
48
|
-
"wicked-core-ts-linux-arm64-gnu": "0.15.
|
|
49
|
-
"wicked-core-ts-linux-x64-gnu": "0.15.
|
|
50
|
-
"wicked-core-ts-win32-x64-msvc": "0.15.
|
|
46
|
+
"wicked-core-ts-darwin-arm64": "0.15.19",
|
|
47
|
+
"wicked-core-ts-darwin-x64": "0.15.19",
|
|
48
|
+
"wicked-core-ts-linux-arm64-gnu": "0.15.19",
|
|
49
|
+
"wicked-core-ts-linux-x64-gnu": "0.15.19",
|
|
50
|
+
"wicked-core-ts-win32-x64-msvc": "0.15.19"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@napi-rs/cli": "^2.18.4",
|