wicked-crew-api-types 0.128.0 → 0.130.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 +34 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1029,7 +1029,11 @@ export interface RosterSeat {
|
|
|
1029
1029
|
key: string;
|
|
1030
1030
|
display_name: string;
|
|
1031
1031
|
binary: string;
|
|
1032
|
+
/** wicked-core#572: may cast a council ballot — and nothing more (see `work_eligible`). */
|
|
1032
1033
|
enabled_for_council: boolean;
|
|
1034
|
+
/** (api-types 0.129.0) wicked-core#572: may be seated for work; absent means true. The engine's
|
|
1035
|
+
* registry field, passed through verbatim. */
|
|
1036
|
+
seat_eligible_for_work?: boolean;
|
|
1033
1037
|
category?: string;
|
|
1034
1038
|
/**
|
|
1035
1039
|
* Runtime health (crew#274). Additive: absent on a daemon predating the field, and safe to
|
|
@@ -1124,6 +1128,18 @@ export interface RosterSeat {
|
|
|
1124
1128
|
council_eligible?: boolean;
|
|
1125
1129
|
/** Present when `council_eligible` is false: the one reason, in the operator's words. */
|
|
1126
1130
|
council_ineligible_reason?: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* (api-types 0.129.0, crew#916, wicked-core#572) Whether the seat may be seated for WORK as far as
|
|
1133
|
+
* the daemon can tell: `seat_eligible_for_work` not false, `auth` not `signed_out`, no active
|
|
1134
|
+
* engine bench, login check answered. Independent of `council_eligible` — `enabled_for_council`
|
|
1135
|
+
* covers the ballot only, so a work-only seat reads `council_eligible: false, work_eligible: true`
|
|
1136
|
+
* and a reviewer-only seat the reverse. Neither false alone benches the seat: a launch benches it
|
|
1137
|
+
* only when both are false. Never handed to the engine (`clisJson` strips it). ABSENT on a daemon
|
|
1138
|
+
* before 0.129.0.
|
|
1139
|
+
*/
|
|
1140
|
+
work_eligible?: boolean;
|
|
1141
|
+
/** (api-types 0.129.0) Present when `work_eligible` is false: the one reason, in the operator's words. */
|
|
1142
|
+
work_ineligible_reason?: string;
|
|
1127
1143
|
/**
|
|
1128
1144
|
* Present when THIS daemon's recent councils benched the seat: the engine's own
|
|
1129
1145
|
* `councilSeatFailed` evidence (`non_zero_exit` / `timed_out`, the derivative `benched` kind
|
|
@@ -7460,6 +7476,24 @@ export interface DiagnosticsResponse {
|
|
|
7460
7476
|
seatGovernance?: DiagnosticsSeatGovernance;
|
|
7461
7477
|
/** (api-types 0.97.0, crew#740) The memory store this daemon reads and writes. */
|
|
7462
7478
|
memoryStore?: MemoryStoreInfo;
|
|
7479
|
+
/** (api-types 0.130.0, crew#1068) The wicked-vault CLI the engine records held team findings with
|
|
7480
|
+
* — see `DiagnosticsVault`. `null` on a route set booted without an engine adapter; ABSENT on an
|
|
7481
|
+
* older daemon. */
|
|
7482
|
+
vault?: DiagnosticsVault | null;
|
|
7483
|
+
}
|
|
7484
|
+
|
|
7485
|
+
/**
|
|
7486
|
+
* (api-types 0.130.0, crew#1068) `DiagnosticsResponse.vault`: what the daemon exported to the engine
|
|
7487
|
+
* as `WICKED_VAULT_BIN` at boot. `shipped` = crew's own `wicked-vault` dependency's bin (an absolute
|
|
7488
|
+
* path); `operator` = the operator's own value, kept; `off` = the operator set it empty (the vault is
|
|
7489
|
+
* switched off on purpose); `unresolvable` = crew's bin could not be resolved, so nothing was
|
|
7490
|
+
* exported. `finding` is non-null exactly for `off` and `unresolvable` — the same entry
|
|
7491
|
+
* `GET /health.warnings[]` carries (`vault.off` / `vault.unresolvable`) — and names the remedy.
|
|
7492
|
+
*/
|
|
7493
|
+
export interface DiagnosticsVault {
|
|
7494
|
+
bin: string | null;
|
|
7495
|
+
source: 'shipped' | 'operator' | 'off' | 'unresolvable';
|
|
7496
|
+
finding: { kind: 'vault.off' | 'vault.unresolvable'; severity: 'warning'; message: string; remedy: string } | null;
|
|
7463
7497
|
}
|
|
7464
7498
|
|
|
7465
7499
|
/** `DiagnosticsResponse.seatGovernance` (crew#742). Paths are for the local operator. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-crew-api-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.130.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",
|