wicked-crew-api-types 0.146.0 → 0.147.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 +18 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2278,6 +2278,13 @@ export type WorkerStallEscalatedFrame = {
2278
2278
  * so the unit was left for a human rather than dispatched to a seat known to fail.
2279
2279
  */
2280
2280
  reason?: 'tool_unit' | 'evaluating' | 'evaluator_distinct' | 'no_output' | 'no_eligible_seat';
2281
+ /**
2282
+ * (api-types 0.147.0, crew#972; additive) `true` when the SILENT-TURN rung acted: the cursor
2283
+ * unit's seat had streamed no output at all since its dispatch for `workerSilentTurnMinutes`
2284
+ * (default 8), and neither the daemon's process tree nor the seat's container was busy. Absent
2285
+ * when the 15/30-minute ladder acted.
2286
+ */
2287
+ silentTurn?: true;
2281
2288
  /**
2282
2289
  * The seats the failover pick excluded under evaluator ≠ creator (crew#638; additive): a
2283
2290
  * creator cursor avoids the run's evaluator seats, an evaluator cursor the seats that built its
@@ -5879,6 +5886,17 @@ export interface SystemSettings {
5879
5886
  * Ignored when `workerStallEscalateAction` is `'notify'`.
5880
5887
  */
5881
5888
  workerStallMaxEscalations?: number;
5889
+ /**
5890
+ * The SILENT-TURN rung of the escalation ladder (api-types 0.147.0, crew#972): minutes a seat's
5891
+ * turn may go with NO streamed output at all since its dispatch before the watchdog acts early —
5892
+ * the same action and budget as {@link workerStallEscalateMinutes}, the frame flagged
5893
+ * `silentTurn: true`. Integer 0..1440; `0` = off; absent = the daemon default (8). It applies only
5894
+ * while escalation is armed, only before the seat's first output, never once the worker returned
5895
+ * (its gate evaluation in flight) and never to a tool unit. A run whose own processes or the
5896
+ * seat's container burn CPU (a test runner, a build) is not silent, as for the ladder. Rig run
5897
+ * 115fabdb: a codex review sat 30 min with no output and ~1 s of seat CPU; pi then did it in 2.
5898
+ */
5899
+ workerSilentTurnMinutes?: number;
5882
5900
  /**
5883
5901
  * SKIN-OWNED preference blobs (crew#323). The settings store is shared: alongside the
5884
5902
  * engine's keys it carries the studio's own state — `studio.appearance` (accent/logo/theme),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-crew-api-types",
3
- "version": "0.146.0",
3
+ "version": "0.147.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",