wicked-core-ts 0.7.43 → 0.7.44
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 +25 -0
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -1016,6 +1016,8 @@ export declare class Subscription {
|
|
|
1016
1016
|
* `'pre_existing_in_sandbox'` (`'floor_env_mismatch'` is no longer produced); libtest ids are
|
|
1017
1017
|
* qualified by binary (`test t::name [-p crate --lib]`); every `checks[]` entry carries
|
|
1018
1018
|
* `envCannotRun: string[]` and `reruns: CheckRun[]` (each re-run's `boundNote` carries the host load).
|
|
1019
|
+
* core#810 (additive): unitDistributed.pool (UnitPoolSeatingJson | null — a phase's worker pool,
|
|
1020
|
+
* one creator plus monitors, with any shortfall disclosed as requested/seated/missing).
|
|
1019
1021
|
* core#461/#591 (additive): unitDistributed.distinctnessFallback ('creator_seat' |
|
|
1020
1022
|
* 'same_cli_instance' | null — the evaluator ≠ creator fallback as a field, see
|
|
1021
1023
|
* UnitDistributedEventJson); gateEscalated.condition
|
|
@@ -1139,6 +1141,29 @@ export interface UnitDistributedEventJson extends CoreEventJson {
|
|
|
1139
1141
|
* disclosure. The seat the unit stays on is therefore always a still-eligible one. Additive.
|
|
1140
1142
|
*/
|
|
1141
1143
|
distinctnessFallback: 'creator_seat' | 'same_cli_instance' | null
|
|
1144
|
+
/**
|
|
1145
|
+
* (core#810) How the unit's worker POOL was filled — one creator plus `requested − 1` monitors
|
|
1146
|
+
* from DISTINCT signed-in seat instances (never the creator's own, never the run's PA).
|
|
1147
|
+
* `null` for a pool of 1 (the default) and a tool unit. A pool larger than what is signed in
|
|
1148
|
+
* is seated SHORT and disclosed — never refused: `seated < requested`, `missing` names the
|
|
1149
|
+
* configured instances that are not signed in, `shortfall` says why. Monitors watch an
|
|
1150
|
+
* attempt only on a team run; any other unit reports `seated: 1` with the reason. Additive.
|
|
1151
|
+
*/
|
|
1152
|
+
pool: UnitPoolSeatingJson | null
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/** (core#810) {@link UnitDistributedEventJson.pool}: a unit's worker-pool fill. */
|
|
1156
|
+
export interface UnitPoolSeatingJson {
|
|
1157
|
+
/** The phase's `pool` (after any plan step lowered it). */
|
|
1158
|
+
requested: number
|
|
1159
|
+
/** Seats filled: the creator plus `monitors.length`. */
|
|
1160
|
+
seated: number
|
|
1161
|
+
/** The monitor seat instances, in the order the team supervisor summons them. */
|
|
1162
|
+
monitors: string[]
|
|
1163
|
+
/** Configured instances that could have filled the shortfall but are not signed in. */
|
|
1164
|
+
missing: string[]
|
|
1165
|
+
/** Why `seated < requested`; `null` when the pool was filled. */
|
|
1166
|
+
shortfall: string | null
|
|
1142
1167
|
}
|
|
1143
1168
|
|
|
1144
1169
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-core-ts",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.44",
|
|
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.7.
|
|
47
|
-
"wicked-core-ts-darwin-x64": "0.7.
|
|
48
|
-
"wicked-core-ts-linux-arm64-gnu": "0.7.
|
|
49
|
-
"wicked-core-ts-linux-x64-gnu": "0.7.
|
|
50
|
-
"wicked-core-ts-win32-x64-msvc": "0.7.
|
|
46
|
+
"wicked-core-ts-darwin-arm64": "0.7.44",
|
|
47
|
+
"wicked-core-ts-darwin-x64": "0.7.44",
|
|
48
|
+
"wicked-core-ts-linux-arm64-gnu": "0.7.44",
|
|
49
|
+
"wicked-core-ts-linux-x64-gnu": "0.7.44",
|
|
50
|
+
"wicked-core-ts-win32-x64-msvc": "0.7.44"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@napi-rs/cli": "^2.18.4",
|