wicked-crew-api-types 0.94.0 → 0.95.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 +54 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -539,6 +539,25 @@ export interface AgentSession {
539
539
  * before the field: check `GET /health.capabilities.runChatId` before grouping runs by chat.
540
540
  */
541
541
  chat_id?: string;
542
+ /**
543
+ * (crew#552) The onboarding run this run was CHAINED from (a `capture-learnings` run the daemon
544
+ * launched when that onboarding completed) — read back from the `run.launched` entry after a
545
+ * restart. ABSENT on every other run. The live `/ws` frame is `runChained {session, from, workflow}`.
546
+ */
547
+ chained_from?: string;
548
+ /**
549
+ * (crew#854) `true` on a run an ASK launched (DES-ASK-TEAM-CHAT-001 §3: the chat's path), read back
550
+ * from the `run.launched` trail entry after a restart. ABSENT — never `false` — on any other run
551
+ * and on a daemon before the field.
552
+ */
553
+ ask_path?: true;
554
+ /**
555
+ * (crew#854) `true` while an ask path waits at its TURN gate: `awaiting_human` after an answer
556
+ * step, with no creator step on the run. The next message in the chat is the answer (it continues
557
+ * the path) — a skin draws no gate row and counts nothing as needing you. ABSENT otherwise: a
558
+ * gate at a creator or research step, or after Continue in Build, is a real gate.
559
+ */
560
+ ask_turn?: true;
542
561
  /**
543
562
  * The engine's plan state (wicked-core `TeamPlanState`, DES-TEAMING-002 §8.4-§8.6; api-types
544
563
  * 0.46.0 types the engine field) — present on a run launched from a PLAN or a PRESET, ABSENT on
@@ -4445,6 +4464,13 @@ export interface SystemSettings {
4445
4464
  * launches (those are always `'none'`).
4446
4465
  */
4447
4466
  deliverDefault?: 'pr' | 'none';
4467
+ /**
4468
+ * (crew#552) Whether a completed onboarding run chains a `capture-learnings` run for the same
4469
+ * repo (filed in the onboarding run's project; proposals stay human-gated). Absent reads as
4470
+ * `true`; `false` switches the chain off. A one-off opt-out is `autoCapture: false` on
4471
+ * `POST /repos` / `POST /repos/:id/onboard`.
4472
+ */
4473
+ onboardingAutoCapture?: boolean;
4448
4474
  /**
4449
4475
  * The BASE skill every governed agent unit follows (crew#554 / wicked-core#468; additive): the
4450
4476
  * frontmatter name the daemon exports as the engine-config default `WICKED_BASE_SKILL_REF`, so
@@ -4477,6 +4503,16 @@ export interface SystemSettings {
4477
4503
  * `GH_TOKEN`; `GET /settings` returns this login and no secret ever.
4478
4504
  */
4479
4505
  deliverIdentityLogin?: string;
4506
+ /**
4507
+ * (crew#737) A PUSH IDENTITY PER REGISTERED REPOSITORY: repo id → the GitHub login its deliveries
4508
+ * push as, winning over {@link deliverIdentityLogin}. The deliver phase reads that account's OWN
4509
+ * gh token for the phase (`gh auth token --user`), so another tool switching gh's machine-wide
4510
+ * active account mid-run does not change who pushes; an account gh is not signed in as is named
4511
+ * on the deliver gate card before approval and refused by the phase. A repo absent (or `''`)
4512
+ * falls back to the daemon-wide identity, else the CLI's active account. Logins only — never a
4513
+ * token. `PUT /settings` replaces the whole map; `{}` clears it.
4514
+ */
4515
+ deliverIdentityByRepo?: Record<string, string>;
4480
4516
  /**
4481
4517
  * The stall watchdog's DETECTION threshold (crew#287; api-types 0.18.0 — previously a
4482
4518
  * daemon-local extension): minutes a run in `executing` may go without ANY engine event on the
@@ -4724,6 +4760,12 @@ export interface Project {
4724
4760
  * route boundary, so the wire carries ONE project shape. Always present on a read.
4725
4761
  */
4726
4762
  interactiveRoot?: string | null;
4763
+ /**
4764
+ * (crew#552) This project's override of the `onboardingAutoCapture` setting — whether a completed
4765
+ * onboarding of a repo filed here chains `capture-learnings`. `null` ⇒ the daemon setting applies.
4766
+ * Held crew-side like {@link interactiveRoot}; always present on a read.
4767
+ */
4768
+ autoCapture?: boolean | null;
4727
4769
  [k: string]: unknown;
4728
4770
  }
4729
4771
 
@@ -4770,6 +4812,8 @@ export interface UpdateProjectBody {
4770
4812
  /** DES-MERGE-001 §7.1 — bind this project to a wicked-interactive docs root.
4771
4813
  * `null` clears the binding back to the shared default root. */
4772
4814
  interactiveRoot?: string | null;
4815
+ /** (crew#552) Override `onboardingAutoCapture` for this project; `null` clears it back to the setting. */
4816
+ autoCapture?: boolean | null;
4773
4817
  }
4774
4818
 
4775
4819
  /** `POST /projects/:id/members` body. */
@@ -7871,8 +7915,17 @@ export interface WatchFeedResponse {
7871
7915
  * `watch_finding.cleared` frames would: Fixed, Dismissed, rolled up). api-types 0.73.0.
7872
7916
  */
7873
7917
  cleared?: WatchFindingCleared[];
7874
- /** Present with `run=` only. */
7918
+ /**
7919
+ * Present with `run=` only. On an ENDED run (crew#828) an entry that saw nothing to judge says
7920
+ * "nothing to check: …", never the in-progress "… yet".
7921
+ */
7875
7922
  coverage?: WatchCoverage[];
7923
+ /**
7924
+ * (crew#828) With `run=` only, and only when the run ENDED having recorded no events at all (it ran
7925
+ * before the checks existed, or ungoverned): ONE line for the whole coverage block, which a skin
7926
+ * renders instead of the per-entry rows (each of those carries the same reason). ABSENT otherwise.
7927
+ */
7928
+ coverage_summary?: { state: 'no_evidence'; reason: string };
7876
7929
  }
7877
7930
 
7878
7931
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-crew-api-types",
3
- "version": "0.94.0",
3
+ "version": "0.95.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",