wicked-crew-api-types 0.88.0 → 0.91.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 +58 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1010,7 +1010,7 @@ export interface RunFileContent {
|
|
|
1010
1010
|
export interface RunDiff {
|
|
1011
1011
|
/** Unified diff text (`git diff --no-color --no-ext-diff HEAD`), cut at 1 MB when `truncated`. */
|
|
1012
1012
|
diff: string;
|
|
1013
|
-
/** The diff exceeded the 1 MB output cap and was cut. */
|
|
1013
|
+
/** The diff exceeded the 1 MB output cap and was cut (or, crew#790, ran out of its time budget). */
|
|
1014
1014
|
truncated: boolean;
|
|
1015
1015
|
/**
|
|
1016
1016
|
* Where the diff was read from (wave 6, F-7R2-013; api-types 0.36.0): `worktree` — the live run
|
|
@@ -1025,7 +1025,12 @@ export interface RunDiff {
|
|
|
1025
1025
|
branch?: string;
|
|
1026
1026
|
/** `source: 'branch'` — the base commit the branch was diffed against: the engine's recorded
|
|
1027
1027
|
* `AgentSession.base_commit` when it has one, else the branch's merge-base with the default
|
|
1028
|
-
* branch; `?base=<ref>` overrides it with a plain in-repo ref.
|
|
1028
|
+
* branch; `?base=<ref>` overrides it with a plain in-repo ref. `source: 'worktree'` (crew#790)
|
|
1029
|
+
* — present when no `?base=` was sent and the worktree was diffed against the recorded
|
|
1030
|
+
* `base_commit` (committed AND uncommitted run work); absent when the baseline was HEAD (no
|
|
1031
|
+
* recorded base, or it does not resolve in the worktree). `truncated` is also `true` when the
|
|
1032
|
+
* untracked-file pass stopped at its time budget on a busy host; a git stopped before it
|
|
1033
|
+
* answered is 503 `{ code: "diff_busy" }` with `Retry-After`. */
|
|
1029
1034
|
base?: string;
|
|
1030
1035
|
}
|
|
1031
1036
|
|
|
@@ -4542,6 +4547,17 @@ export interface BlastRadius {
|
|
|
4542
4547
|
* hot symbol. When non-zero, an empty `dependents` still never means "safe".
|
|
4543
4548
|
*/
|
|
4544
4549
|
unresolved: number;
|
|
4550
|
+
/**
|
|
4551
|
+
* Completeness causes from estate (wicked-estate#222, estate >= 0.18.0; api-types 0.91.0, crew#751),
|
|
4552
|
+
* ABSENT on an older estate. `depth_horizon_reached`: the depth horizon stopped the walk with
|
|
4553
|
+
* dependents beyond it; `node_cap_reached`: the node budget dropped reachable nodes;
|
|
4554
|
+
* `searched_depth`: the horizon that applied (re-ask with a larger one); `truncated_dependents`:
|
|
4555
|
+
* rows estate had but cut to fit its output budget. Any of them set ⇒ `dependents` is partial.
|
|
4556
|
+
*/
|
|
4557
|
+
depth_horizon_reached?: boolean;
|
|
4558
|
+
node_cap_reached?: boolean;
|
|
4559
|
+
searched_depth?: number;
|
|
4560
|
+
truncated_dependents?: number;
|
|
4545
4561
|
}
|
|
4546
4562
|
|
|
4547
4563
|
/** An open elicitation as `GET /runs/:id/elicitation` returns it (DES-002). */
|
|
@@ -5004,8 +5020,10 @@ export interface InteractiveDocsListing {
|
|
|
5004
5020
|
unreachable: InteractiveDocsUnreachable[];
|
|
5005
5021
|
}
|
|
5006
5022
|
|
|
5007
|
-
/** The seams that can answer a document (the handoff ledgers).
|
|
5008
|
-
|
|
5023
|
+
/** The seams that can answer a document (the handoff ledgers). `theme` (EP-C4 theme learning) and
|
|
5024
|
+
* `review` (EP-C2 reviews) keep their rows in the edit seam's ledger and are told apart by the row
|
|
5025
|
+
* key (api-types 0.90.0, crew#785): a document only reviewed reads `review`, never `edit`. */
|
|
5026
|
+
export type InteractiveSeamKind = 'draft' | 'edit' | 'chat' | 'demo' | 'theme' | 'review' | (string & {});
|
|
5009
5027
|
|
|
5010
5028
|
/** One document on the daemon-wide listing (api-types 0.36.0). */
|
|
5011
5029
|
export interface InteractiveDocIndexRow {
|
|
@@ -5656,6 +5674,17 @@ export interface ProjectBlastRadius {
|
|
|
5656
5674
|
missingRepos: string[];
|
|
5657
5675
|
linkage: ProjectGraphLinkage;
|
|
5658
5676
|
note: string;
|
|
5677
|
+
/**
|
|
5678
|
+
* Completeness causes from estate (wicked-estate#222, estate >= 0.18.0; api-types 0.91.0, crew#751),
|
|
5679
|
+
* ABSENT on an older estate. `depth_horizon_reached`: the depth horizon stopped the walk with
|
|
5680
|
+
* dependents beyond it; `node_cap_reached`: the node budget dropped reachable nodes;
|
|
5681
|
+
* `searched_depth`: the horizon that applied (re-ask with a larger one); `truncated_dependents`:
|
|
5682
|
+
* rows estate had but cut to fit its output budget. Any of them set ⇒ `dependents` is partial.
|
|
5683
|
+
*/
|
|
5684
|
+
depth_horizon_reached?: boolean;
|
|
5685
|
+
node_cap_reached?: boolean;
|
|
5686
|
+
searched_depth?: number;
|
|
5687
|
+
truncated_dependents?: number;
|
|
5659
5688
|
}
|
|
5660
5689
|
|
|
5661
5690
|
/** `GET /projects/:id/graph/search?name=` — exact-name symbol resolution across member repos. */
|
|
@@ -6839,7 +6868,8 @@ export interface WalkthroughView {
|
|
|
6839
6868
|
/** Proof-root-relative paths of the stitched take; `null` until there is one. */
|
|
6840
6869
|
video: { mp4: string | null; poster: string | null; markers: DemoMarker[] };
|
|
6841
6870
|
chapters: WalkthroughChapter[];
|
|
6842
|
-
/** Per creator step, the check state from THIS pair's take — computed at every read from its re-verified seal (WT-W2).
|
|
6871
|
+
/** Per creator step, the check state from THIS pair's take — computed at every read from its re-verified seal (WT-W2).
|
|
6872
|
+
* With no pair because the accepted plan's override removed it, every finished creator step `owned_by_you` (0.88.1). */
|
|
6843
6873
|
steps: WalkthroughStepState[];
|
|
6844
6874
|
}
|
|
6845
6875
|
|
|
@@ -6850,7 +6880,9 @@ export interface WalkthroughView {
|
|
|
6850
6880
|
* engine-captured output), `bundle_sha` recomputed from the proof root, and the proof root's stamped
|
|
6851
6881
|
* ledger verdicts against the sealed chapter verdicts. The gate is deny-dominates across the repo
|
|
6852
6882
|
* ledger and every row: a missing, mismatched ("changed after it was sealed") or non-PASS seal
|
|
6853
|
-
* denies. ABSENT when the requirement names no walkthrough step
|
|
6883
|
+
* denies. ABSENT when the requirement names no walkthrough step — except when the accepted plan's floor
|
|
6884
|
+
* override removed the walkthrough pair (§4.9; api-types 0.88.1): then it is present with `roots: []`,
|
|
6885
|
+
* `sealed: true` (nothing to seal) and every finished creator step `owned_by_you`.
|
|
6854
6886
|
*/
|
|
6855
6887
|
export interface RunAcceptanceWalkthrough {
|
|
6856
6888
|
roots: Array<{ stepId: string; sealed: boolean; satisfied: boolean; reason: string }>;
|
|
@@ -6871,7 +6903,8 @@ export interface RunAcceptanceSummary {
|
|
|
6871
6903
|
/** Deny-dominates across the repo ledger and every walkthrough (`gate.satisfied`). */
|
|
6872
6904
|
satisfied: boolean;
|
|
6873
6905
|
line: string;
|
|
6874
|
-
/** From the newest walkthrough; `null` when the requirement names none
|
|
6906
|
+
/** From the newest walkthrough; `null` when the requirement names none — unless the accepted plan's
|
|
6907
|
+
* override removed the pair (then `tree` is `null` and `ownedByYou` counts the operator's steps). */
|
|
6875
6908
|
walkthrough: {
|
|
6876
6909
|
checked: number;
|
|
6877
6910
|
failed: number;
|
|
@@ -6904,6 +6937,24 @@ export interface PutStorylineResponse {
|
|
|
6904
6937
|
at: string;
|
|
6905
6938
|
}
|
|
6906
6939
|
|
|
6940
|
+
/**
|
|
6941
|
+
* `GET /runs/:id/walkthrough/storyline?step=` → 200 (#782; api-types 0.89.0): the author's storyline
|
|
6942
|
+
* — `author/<planStepId>/storyline.mjs` — so "Edit the check" can prefill the box and send the edit
|
|
6943
|
+
* back through `PUT` ({@link PutStorylineBody}). Readable at any run status. `step` names the author or
|
|
6944
|
+
* its recorder (default: the newest pair). 404 `no_storyline` before the author wrote one; 409
|
|
6945
|
+
* `no_author` / `no_evidence_root` / `read_refused` (a link or a non-file, never followed); 413 over
|
|
6946
|
+
* 256 KB. `edited_by` / `at` come from crew's edit marker only when its `sha256` names THIS text.
|
|
6947
|
+
*/
|
|
6948
|
+
export interface WalkthroughStorylineView {
|
|
6949
|
+
runId: string;
|
|
6950
|
+
planStepId: string;
|
|
6951
|
+
storyline: string;
|
|
6952
|
+
sha256: string;
|
|
6953
|
+
edited_by: 'human' | null;
|
|
6954
|
+
/** ISO-8601 of the operator's edit; `null` when the text is the author's. */
|
|
6955
|
+
at: string | null;
|
|
6956
|
+
}
|
|
6957
|
+
|
|
6907
6958
|
/** `POST /proposals/:id/reject` → 200. */
|
|
6908
6959
|
export interface RejectProposalResponse {
|
|
6909
6960
|
ok: true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-crew-api-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.91.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",
|