wicked-crew-api-types 0.4.0 → 0.5.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 +24 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -258,6 +258,22 @@ export interface RosterSeat {
258
258
  * Absent-or-default reads as `active` with no message.
259
259
  */
260
260
  health?: SeatHealth;
261
+ /**
262
+ * The shell invocation that runs this seat's own interactive login flow (seat sign-in;
263
+ * wicked-core PR#278 `AgenticCli.login_invocation`). Passed through from the engine roster
264
+ * VERBATIM — the daemon never synthesizes one. The studio hosts it in a PTY terminal
265
+ * (`POST /terminals`) so every CLI's native sign-in gets one uniform surface. Absent on an
266
+ * engine predating the field (serde omits `None`) and on seats with no known login flow.
267
+ */
268
+ login_invocation?: string;
269
+ /**
270
+ * Whether the seat LOOKS signed in — a cheap file/env-presence HEURISTIC computed by the
271
+ * daemon (`seat-signin.ts`), never a spawned probe and never proof the credential still
272
+ * works. Three-valued on purpose: `true`/`false` when the seat's auth state is observable
273
+ * from files or env, `null`/absent when it is unknowable cheaply (keychain-backed seats,
274
+ * unknown seat keys, or a daemon predating the field).
275
+ */
276
+ signed_in?: boolean | null;
261
277
  [k: string]: unknown;
262
278
  }
263
279
 
@@ -1035,6 +1051,14 @@ export interface GitContributor {
1035
1051
  export interface SystemSettings {
1036
1052
  /** Max nodes returned by wicked-estate graph-view (default 150). */
1037
1053
  graphNodeLimit: number;
1054
+ /**
1055
+ * Base directory for the ENGINE-OWNED worker CLI config homes (the claude worker home is
1056
+ * `<root>/claude`). The daemon applies it as env `WICKED_WORKER_HOME` at boot and on every
1057
+ * settings change; the engine reads that env per worker spawn (acp_runner.rs), so a change
1058
+ * takes effect on the next spawn with no restart. Absolute path when set; `""` or absent =
1059
+ * the engine default `~/.wicked-worker`.
1060
+ */
1061
+ worker_config_root?: string;
1038
1062
  }
1039
1063
 
1040
1064
  // ── Requirements management (server-side search + overrides; crew api/requirements.ts) ──
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-crew-api-types",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "The wire contract of the wicked-crew daemon's /api/v1 REST surface and /ws CoreEvent frames — types only, zero runtime",
5
5
  "type": "module",
6
6
  "types": "./index.d.ts",