wicked-crew-api-types 0.132.0 → 0.133.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.
Files changed (2) hide show
  1. package/index.d.ts +10 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -291,7 +291,8 @@ export interface HealthCapabilities {
291
291
 
292
292
  /** One `GET /health.warnings[]` entry (additive; wicked-core#411 / wicked-crew#497). */
293
293
  export interface HealthWarning {
294
- /** `state-home.unregistered` today; open for later kinds. */
294
+ /** `state-home.unregistered` today; open for later kinds (e.g. `seat.work_default`,
295
+ * api-types 0.133.0 — see `DiagnosticsSeatGovernance.roleFindings`). */
295
296
  kind: string;
296
297
  severity: 'warning' | 'error';
297
298
  message: string;
@@ -7562,6 +7563,14 @@ export interface DiagnosticsSeatGovernance {
7562
7563
  * found on PATH; `null` = none, so floor seats resting on it run advisory. */
7563
7564
  hostBoundary: string | null;
7564
7565
  seats: DiagnosticsSeatGovernanceEntry[];
7566
+ /**
7567
+ * (api-types 0.133.0) Seat-role findings read from the overlay above — the same objects
7568
+ * `GET /health.warnings[]` carries. Today one kind: `seat.work_default`, one per CUSTOM seat the
7569
+ * overlay writes `enabled_for_council = false` with no `seat_eligible_for_work` key, which since
7570
+ * crew 0.15.2 (#916) is eligible for work by the engine default. Built-in seats never appear; an
7571
+ * explicit `seat_eligible_for_work` (true or false) silences it. ABSENT on an older daemon.
7572
+ */
7573
+ roleFindings?: HealthWarning[];
7565
7574
  }
7566
7575
 
7567
7576
  export interface DiagnosticsSeatGovernanceEntry {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-crew-api-types",
3
- "version": "0.132.0",
3
+ "version": "0.133.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",