wicked-core-ts 0.15.5 → 0.15.6
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 +13 -0
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -478,6 +478,15 @@ export declare class Core {
|
|
|
478
478
|
* ≥1 commit; resolves to the persisted `RepoEntry` as a JSON object.
|
|
479
479
|
*/
|
|
480
480
|
registerRepo(name: string, rootPath: string): Promise<string>
|
|
481
|
+
/**
|
|
482
|
+
* (rejudge) Whether the run's open gate can RE-RUN ITS JUDGE now, as a JSON
|
|
483
|
+
* `RejudgeReadiness` object: `{applies, available, ord, eligible, missing: [{seat, reason}],
|
|
484
|
+
* reason}`. `applies` — the gate is a unit's `judge_unavailable` denial; `available` — the
|
|
485
|
+
* engine's judge selection names a seat now (`eligible`), so `confirmGate(run, true,
|
|
486
|
+
* undefined, "rejudge")` re-runs the judge on the same tree without re-running the seat.
|
|
487
|
+
* Read-only.
|
|
488
|
+
*/
|
|
489
|
+
rejudgeReadiness(runId: string): Promise<string>
|
|
481
490
|
/** List every registered repository, as a JSON array of `RepoEntry` objects. */
|
|
482
491
|
listRepos(): Promise<string>
|
|
483
492
|
/**
|
|
@@ -1221,6 +1230,10 @@ export declare class Subscription {
|
|
|
1221
1230
|
* previousOutcome, outcome, passed} — an operator retry (a plain approve at an escalated unit's
|
|
1222
1231
|
* gate) re-ran the unit's failed floor once on the SAME tree its last floor judged; it follows the
|
|
1223
1232
|
* fresh repoChecksEvaluated, `reason` is `'operator retry'`.
|
|
1233
|
+
* Judge re-run (additive, new event): `judgeRerunRequested` {session, ord, attempt, fromAttempt,
|
|
1234
|
+
* seats, previousReason, by} — the operator answered a `judge_unavailable` gate with action
|
|
1235
|
+
* `rejudge`: attempt `attempt` re-reads attempt `fromAttempt`'s captured output with a judge drawn
|
|
1236
|
+
* from `seats` (the eligible judge seats when it was armed); the seat does not run again.
|
|
1224
1237
|
*/
|
|
1225
1238
|
export interface CoreEventJson {
|
|
1226
1239
|
type: 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.6",
|
|
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.6",
|
|
47
|
+
"wicked-core-ts-darwin-x64": "0.15.6",
|
|
48
|
+
"wicked-core-ts-linux-arm64-gnu": "0.15.6",
|
|
49
|
+
"wicked-core-ts-linux-x64-gnu": "0.15.6",
|
|
50
|
+
"wicked-core-ts-win32-x64-msvc": "0.15.6"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@napi-rs/cli": "^2.18.4",
|