@lace-cloud/canvas 0.37.0 → 0.38.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.
@@ -1,4 +1,4 @@
1
- import { EngineMethod, EngineStreamMethod, BridgeMethod, MessageBridge, Diagnostic as Diagnostic$1, CanvasArrangement, XY, CanvasView } from '@lace-cloud/proto';
1
+ import { Bundle, Reason, EngineMethod, EngineStreamMethod, BridgeMethod, MessageBridge, Diagnostic as Diagnostic$1, CanvasArrangement, XY, CanvasView } from '@lace-cloud/proto';
2
2
  import { z } from 'zod';
3
3
  import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
4
4
 
@@ -13,375 +13,7 @@ import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
13
13
  */
14
14
  interface Empty {
15
15
  }
16
- declare const Empty: MessageFns$2<Empty>;
17
- type Builtin$2 = Date | Function | Uint8Array | string | number | boolean | undefined;
18
- type DeepPartial$2<T> = T extends Builtin$2 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$2<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$2<U>> : T extends {} ? {
19
- [K in keyof T]?: DeepPartial$2<T[K]>;
20
- } : Partial<T>;
21
- type KeysOfUnion$2<T> = T extends T ? keyof T : never;
22
- type Exact$2<P, I extends P> = P extends Builtin$2 ? P : P & {
23
- [K in keyof P]: Exact$2<P[K], I[K]>;
24
- } & {
25
- [K in Exclude<keyof I, KeysOfUnion$2<P>>]: never;
26
- };
27
- interface MessageFns$2<T> {
28
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
29
- decode(input: BinaryReader | Uint8Array, length?: number): T;
30
- fromJSON(object: any): T;
31
- toJSON(message: T): unknown;
32
- create<I extends Exact$2<DeepPartial$2<T>, I>>(base?: I): T;
33
- fromPartial<I extends Exact$2<DeepPartial$2<T>, I>>(object: I): T;
34
- }
35
-
36
- /**
37
- * Reason is the one vocabulary of what a failure asks of the developer.
38
- * The engine attaches it to a refused RPC as a `ReasonDetail` in the
39
- * status' error details, and a command's failure document names it; a
40
- * client branches on it, never on the message's text. A failure the API
41
- * decided carries the API's own code (`ReasonDetail.api_code`), and a
42
- * reason only where that code has one: every code that asks the developer
43
- * to sign in again is `REASON_UNAUTHENTICATED`.
44
- *
45
- * The vocabulary is a file of its own, in the engine's package, generated
46
- * into a Go package of its own (internal/kernel/reason/pb): every CLI package
47
- * that refuses with a reason names it from there, the execution side's
48
- * included, without linking the engine's wire. service.proto imports it.
49
- */
50
- declare enum Reason {
51
- REASON_UNSPECIFIED = 0,
52
- /**
53
- * REASON_NOT_LACE_FORM - Placement: the resolved tree's own certification verdict is not Lace-form.
54
- * module convert and module import: lacification cannot take the tree to
55
- * lace shape; the report names each managed resource and the IR gap holding it.
56
- */
57
- REASON_NOT_LACE_FORM = 1,
58
- /** REASON_HASH_MISMATCH - Placement: the downloaded tree does not hash to what the registry vouched for. */
59
- REASON_HASH_MISMATCH = 2,
60
- /** REASON_REGISTRY_UNAVAILABLE - Placement: the registry could not be reached or answered with no verdict. */
61
- REASON_REGISTRY_UNAVAILABLE = 3,
62
- /** REASON_ROOT_LOCKED - SessionOpen: the root's canvas is open in another window. */
63
- REASON_ROOT_LOCKED = 4,
64
- /** REASON_UNSAVED - Generate: the session has unsaved edits; save first. */
65
- REASON_UNSAVED = 5,
66
- /** REASON_CONFLICT - Generate: the tree moved under the session's base; Keep or Reload first. */
67
- REASON_CONFLICT = 6,
68
- /**
69
- * REASON_SOURCE_REFUSED - Every mutation, save and generate: the session's source tf is refused
70
- * (`BundleState.source_refused`).
71
- * module convert and module import: the tree's tf does not parse, has a
72
- * non-empty residual report, or its Bundle fails its own validation.
73
- * module validate, stack apply / stack destroy / registry register: a
74
- * source the command reads does not parse; apply, destroy and register
75
- * check it before the certification.
76
- */
77
- REASON_SOURCE_REFUSED = 7,
78
- /**
79
- * REASON_NOT_GIT_REPOSITORY - Generate, module convert, module import and module fmt: the authoring
80
- * root is not inside a git working tree.
81
- * stack create --source: the directory is not inside a git working tree,
82
- * so it has no place in a repository to bind the stack to.
83
- */
84
- REASON_NOT_GIT_REPOSITORY = 8,
85
- /** REASON_GENERATE_IN_PROGRESS - Generate: a Generate is already running on the session. */
86
- REASON_GENERATE_IN_PROGRESS = 9,
87
- /** REASON_NO_ORGANIZATION - A scoped command: no organization is selected. */
88
- REASON_NO_ORGANIZATION = 10,
89
- /** REASON_NO_TEAM - A team-scoped command: no team is selected in the organization. */
90
- REASON_NO_TEAM = 11,
91
- /**
92
- * REASON_NO_CERTIFICATION - stack apply / stack destroy / registry register: the root has no
93
- * certification.
94
- */
95
- REASON_NO_CERTIFICATION = 12,
96
- /**
97
- * REASON_STALE_CERTIFICATION - stack apply / stack destroy / registry register: the certification
98
- * does not certify the tree on disk — the tree changed since validate,
99
- * another lace version wrote it, or its files are torn or mixed from two
100
- * validates. Running validate again replaces it.
101
- */
102
- REASON_STALE_CERTIFICATION = 13,
103
- /**
104
- * REASON_TOOL_MISSING - module scan / module docs / module fmt / module validate / module
105
- * convert / module import / stack preview / stack apply / stack destroy:
106
- * the tool the command runs (tfsec, terraform-docs, the pinned terraform)
107
- * is not available. convert and module import run the pinned terraform
108
- * through the validate each closes on, apply and destroy through their
109
- * local plan.
110
- */
111
- REASON_TOOL_MISSING = 14,
112
- /**
113
- * REASON_CROSS_SCOPE - ApplyAction: a wire whose source and target are owned by different
114
- * modules crosses a group's boundary, which no single-scope edit makes.
115
- * It is a refusal of the batch's content, carried on its GraphError.
116
- * ReadWiringCandidates: a read whose two scopes differ, refused
117
- * (FailedPrecondition) as such a wire is.
118
- */
119
- REASON_CROSS_SCOPE = 15,
120
- /**
121
- * REASON_UNAUTHENTICATED - The developer must sign in: a command or a placement that needs
122
- * credentials finds none (no `lace login`, no LACE_TOKEN), decided
123
- * before any request; or the API refuses the ones sent with its code
124
- * `unauthenticated`, which `ReasonDetail.api_code` then names.
125
- */
126
- REASON_UNAUTHENTICATED = 16,
127
- /**
128
- * REASON_IMPORT_RESIDUAL - module import: a resource in the statefile has no import id the CLI
129
- * derives. The failure names each in `importResiduals`; --allow-partial
130
- * writes the import without them. Nothing was written.
131
- */
132
- REASON_IMPORT_RESIDUAL = 17,
133
- /**
134
- * REASON_STACK_HAS_STATE - module import: the stack's state already holds resources, and import
135
- * adopts into an empty stack. Nothing was read or written.
136
- */
137
- REASON_STACK_HAS_STATE = 18,
138
- /**
139
- * REASON_NO_ORIGIN_REMOTE - stack create --source: the directory's repository has no `origin`
140
- * remote, whose URL is the repository a stack's source binding names.
141
- */
142
- REASON_NO_ORIGIN_REMOTE = 19,
143
- /**
144
- * REASON_IMPORT_UNDECLARED - module import: the statefile holds resources the converted tree does not
145
- * declare, named in the failure's `addresses`; an import block adopts
146
- * only a resource the tree declares. Nothing was written.
147
- */
148
- REASON_IMPORT_UNDECLARED = 20,
149
- /**
150
- * REASON_ALREADY_IMPORTED - module import: the tree already imports resources the statefile holds,
151
- * named in the failure's `addresses`; terraform refuses two imports of
152
- * one address. Nothing was written.
153
- */
154
- REASON_ALREADY_IMPORTED = 21,
155
- /**
156
- * REASON_NO_LOCKFILE - stack apply / stack destroy / stack preview: the root keeps no
157
- * `.terraform.lock.hcl`; `lace module lock` writes it.
158
- */
159
- REASON_NO_LOCKFILE = 22,
160
- /** REASON_NO_COMMIT - stack create --source: the directory's repository has no commit yet. */
161
- REASON_NO_COMMIT = 23,
162
- UNRECOGNIZED = -1
163
- }
164
-
165
- interface Bundle {
166
- /**
167
- * The format of this encoding: "2.0", at which every Expression carries
168
- * the module references the engine read from it. The engine writes every
169
- * Bundle at it; an encoding of an earlier version carries none.
170
- */
171
- schema_version: string;
172
- kind: string;
173
- entry: string;
174
- modules: {
175
- [key: string]: Module;
176
- };
177
- }
178
- declare const Bundle: MessageFns$1<Bundle>;
179
- interface Module {
180
- id: string;
181
- version: string;
182
- source: Source | undefined;
183
- interface: Interface | undefined;
184
- modules: Use[];
185
- resources: Resource[];
186
- locals: Local[];
187
- exports: Exports | undefined;
188
- terraform: TerraformBlock | undefined;
189
- providers: ProviderConfig[];
190
- /** top-level directives: moved {}, import {} */
191
- top_level_blocks: Block[];
192
- }
193
- declare const Module: MessageFns$1<Module>;
194
- interface Interface {
195
- inputs: InputDef$1[];
196
- outputs: OutputDef$1[];
197
- }
198
- declare const Interface: MessageFns$1<Interface>;
199
- interface InputDef$1 {
200
- name: string;
201
- /**
202
- * The type constraint the variable's type line spells, as written; empty
203
- * for a variable with no type line. `any` is a type line of its own.
204
- */
205
- type: string;
206
- required: boolean;
207
- description: string;
208
- default_value: any | undefined;
209
- validation: ValidationBlock$1[];
210
- sensitive: boolean;
211
- /** unset = default (true); explicit false is meaningful */
212
- nullable?: boolean | undefined;
213
- /** unset = default (false); explicit true is meaningful */
214
- ephemeral?: boolean | undefined;
215
- }
216
- declare const InputDef$1: MessageFns$1<InputDef$1>;
217
- interface ValidationBlock$1 {
218
- condition: string;
219
- error_message: string;
220
- }
221
- declare const ValidationBlock$1: MessageFns$1<ValidationBlock$1>;
222
- interface OutputDef$1 {
223
- name: string;
224
- /**
225
- * The type of the child output the output's export reads; empty when
226
- * nothing types it. An output block declares no type.
227
- */
228
- type: string;
229
- description: string;
230
- sensitive: boolean;
231
- depends_on: string[];
232
- }
233
- declare const OutputDef$1: MessageFns$1<OutputDef$1>;
234
- interface Source {
235
- kind: string;
236
- repo: string;
237
- subdir: string;
238
- ref: string;
239
- }
240
- declare const Source: MessageFns$1<Source>;
241
- interface Local {
242
- name: string;
243
- value: Binding | undefined;
244
- }
245
- declare const Local: MessageFns$1<Local>;
246
- interface Use {
247
- id: string;
248
- module: string;
249
- inputs: {
250
- [key: string]: Binding;
251
- };
252
- depends_on: string[];
253
- /** count meta-argument */
254
- count: Binding | undefined;
255
- /** for_each meta-argument */
256
- for_each: Binding | undefined;
257
- /**
258
- * A module call's `providers = {}` map (child-local name → root ref).
259
- * Each entry targets the child's default provider slot for that name;
260
- * this map has no way to target an aliased child slot.
261
- */
262
- providers: {
263
- [key: string]: string;
264
- };
265
- }
266
- declare const Use: MessageFns$1<Use>;
267
- interface Resource {
268
- id: string;
269
- kind: string;
270
- type: string;
271
- inputs: {
272
- [key: string]: Binding;
273
- };
274
- depends_on: string[];
275
- /** nested blocks (ingress, lifecycle, dynamic, …) */
276
- blocks: Block[];
277
- /** count meta-argument */
278
- count: Binding | undefined;
279
- /** for_each meta-argument */
280
- for_each: Binding | undefined;
281
- /** provider meta-argument, e.g. "aws.west" */
282
- provider_ref: string;
283
- }
284
- declare const Resource: MessageFns$1<Resource>;
285
- /**
286
- * Block is a recursive nested block (within a resource, or top-level moved/
287
- * import). Attributes are ordered (declaration order) so regenerated HCL is
288
- * byte-deterministic.
289
- */
290
- interface Block {
291
- type: string;
292
- labels: string[];
293
- attributes: NamedBinding[];
294
- blocks: Block[];
295
- }
296
- declare const Block: MessageFns$1<Block>;
297
- /** NamedBinding is an ordered (name, value) attribute within a Block. */
298
- interface NamedBinding {
299
- name: string;
300
- value: Binding | undefined;
301
- }
302
- declare const NamedBinding: MessageFns$1<NamedBinding>;
303
- interface Exports {
304
- outputs: {
305
- [key: string]: OutputExport;
306
- };
307
- }
308
- declare const Exports: MessageFns$1<Exports>;
309
- interface OutputExport {
310
- out: OutputRef | undefined;
311
- lit: any | undefined;
312
- var: string;
313
- expr: Expression | undefined;
314
- }
315
- declare const OutputExport: MessageFns$1<OutputExport>;
316
- interface Binding {
317
- lit?: any | undefined;
318
- var?: string | undefined;
319
- out?: OutputRef | undefined;
320
- expr?: Expression | undefined;
321
- }
322
- declare const Binding: MessageFns$1<Binding>;
323
- interface OutputRef {
324
- module: string;
325
- name: string;
326
- }
327
- declare const OutputRef: MessageFns$1<OutputRef>;
328
- interface Expression {
329
- lang: string;
330
- value: string;
331
- /**
332
- * The module calls `value` reads, in source order: what the engine's
333
- * one reader of references reads from the parse of `value`. The engine
334
- * fills them each time it encodes an Expression and reads none back, so
335
- * a consumer takes a reference from here and never from `value`.
336
- */
337
- module_references: ModuleReference[];
338
- }
339
- declare const Expression: MessageFns$1<Expression>;
340
- /** ModuleReference is one module.<call> an expression reads. */
341
- interface ModuleReference {
342
- /** The call read: module.<call>. */
343
- call: string;
344
- /**
345
- * The output read off the call: the first attribute after the call and
346
- * any instance key in the text, module.<call>.<output> or
347
- * module.<call>[0].<output>. Unset when the reference reads the whole
348
- * call: module.<call> alone, through a splat, or by a key an expression
349
- * computes.
350
- */
351
- output?: string | undefined;
352
- /** An instance key follows the call: [0], ["k"] or [<expression>]. */
353
- instance_key: boolean;
354
- /** A splat follows the call or its instance key: [*] or .*. */
355
- splat: boolean;
356
- }
357
- declare const ModuleReference: MessageFns$1<ModuleReference>;
358
- /**
359
- * A module's terraform block as the IR holds it. It holds no backend: Lace
360
- * manages state, and a backend block is a fact about the files.
361
- */
362
- interface TerraformBlock {
363
- required_version: string;
364
- required_providers: {
365
- [key: string]: ProviderRequirement;
366
- };
367
- }
368
- declare const TerraformBlock: MessageFns$1<TerraformBlock>;
369
- interface ProviderRequirement {
370
- source: string;
371
- version: string;
372
- configuration_aliases: string[];
373
- }
374
- declare const ProviderRequirement: MessageFns$1<ProviderRequirement>;
375
- interface ProviderConfig {
376
- name: string;
377
- alias: string;
378
- config: {
379
- [key: string]: Binding;
380
- };
381
- /** nested config blocks (default_tags, assume_role, …) */
382
- blocks: Block[];
383
- }
384
- declare const ProviderConfig: MessageFns$1<ProviderConfig>;
16
+ declare const Empty: MessageFns$1<Empty>;
385
17
  type Builtin$1 = Date | Function | Uint8Array | string | number | boolean | undefined;
386
18
  type DeepPartial$1<T> = T extends Builtin$1 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$1<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$1<U>> : T extends {} ? {
387
19
  [K in keyof T]?: DeepPartial$1<T[K]>;
@@ -826,6 +458,44 @@ declare const UndoAction: MessageFns<UndoAction>;
826
458
  interface RedoAction {
827
459
  }
828
460
  declare const RedoAction: MessageFns<RedoAction>;
461
+ /**
462
+ * DiscardAction returns the session's working IR to its saved IR (the
463
+ * record `state.lace` holds), a working-IR action: it never saves, writes
464
+ * `state.lace` or the tf, and leaves an open conflict open. The old working
465
+ * IR becomes an undo entry (an Undo brings the discarded edits back) and the
466
+ * redo history is cleared. `expected_working_digest` is required: the
467
+ * `BundleState.working_digest` of the state the caller showed the developer.
468
+ * The engine refuses (FailedPrecondition, `REASON_STALE_WORKING_STATE`) when
469
+ * the working IR's digest differs, so an edit another holder made since is
470
+ * never discarded unseen. A session with nothing unsaved changes nothing:
471
+ * no frame and no undo entry. Refused while the session is source-refused
472
+ * (`REASON_SOURCE_REFUSED`) and for an ephemeral session, which has no saved
473
+ * IR. Like Undo and Redo it is the only action of its batch.
474
+ */
475
+ interface DiscardAction {
476
+ expected_working_digest: string;
477
+ }
478
+ declare const DiscardAction: MessageFns<DiscardAction>;
479
+ /**
480
+ * RestoreAction restores a host's captured working IR into a root session.
481
+ * The bundle, its working digest, saved digest and tree hash must come from
482
+ * the same BundleState frame; every field is required. The engine verifies
483
+ * the bundle's digest and refuses if the current session is not clean, is
484
+ * source-refused, or its saved IR or tree differs from the capture. An open
485
+ * conflict blocks only generate, so it does not refuse a restore. It also compares expected_working_digest with the current frame,
486
+ * so another holder's edits are never overwritten unseen. A refusal changes
487
+ * nothing; the host retains the capture for the developer to choose what to
488
+ * do with it. A successful restore is undoable and writes neither state.lace
489
+ * nor source tf. Like Discard it must be the only action in its batch.
490
+ */
491
+ interface RestoreAction {
492
+ bundle: Bundle | undefined;
493
+ captured_working_digest: string;
494
+ captured_saved_digest: string;
495
+ captured_tree_hash: string;
496
+ expected_working_digest: string;
497
+ }
498
+ declare const RestoreAction: MessageFns<RestoreAction>;
829
499
  /**
830
500
  * PlaceModuleAction drops a registry module onto the canvas. Distinct from
831
501
  * Connect/UpdateInput/etc. in that it names a *source* module (registry
@@ -866,6 +536,8 @@ interface Action {
866
536
  set_directives?: SetDirectivesAction | undefined;
867
537
  set_meta_arguments?: SetMetaArgumentsAction | undefined;
868
538
  add_resource?: AddResourceAction | undefined;
539
+ discard?: DiscardAction | undefined;
540
+ restore?: RestoreAction | undefined;
869
541
  }
870
542
  declare const Action: MessageFns<Action>;
871
543
  interface ApplyActionRequest {
@@ -1090,7 +762,12 @@ interface BundleState {
1090
762
  bundle: Bundle | undefined;
1091
763
  can_undo: boolean;
1092
764
  can_redo: boolean;
1093
- /** True when the working IR differs from the saved IR in `state.lace`. */
765
+ /**
766
+ * True when the working IR differs from the saved IR in `state.lace`. A host
767
+ * that mirrors a document's dirty state marks it clean only from a frame
768
+ * whose `unsaved` is false, never from the promise of a save or discard it
769
+ * requested: edits, saves, undo and Generate from any holder move this flag.
770
+ */
1094
771
  unsaved: boolean;
1095
772
  /**
1096
773
  * The engine validator's findings for this state, in the validator's
@@ -1144,6 +821,17 @@ interface BundleState {
1144
821
  * window is refused (FailedPrecondition).
1145
822
  */
1146
823
  generating: boolean;
824
+ /**
825
+ * The content identity of the working IR (`encoding.Digest`): the
826
+ * value a DiscardAction's `expected_working_digest` names. Empty while
827
+ * there is no working IR.
828
+ */
829
+ working_digest: string;
830
+ /**
831
+ * The content identity of the saved IR (`encoding.Digest`), captured with
832
+ * this frame's working IR for RestoreAction. Empty if unavailable.
833
+ */
834
+ saved_digest: string;
1147
835
  }
1148
836
  declare const BundleState: MessageFns<BundleState>;
1149
837
  /**
@@ -2012,7 +1700,7 @@ declare const COMMANDS: {
2012
1700
  readonly "policy get": {
2013
1701
  readonly path: "policy get";
2014
1702
  readonly positionals: readonly [{
2015
- readonly name: "policy";
1703
+ readonly name: "binding";
2016
1704
  readonly kind: "required";
2017
1705
  }];
2018
1706
  readonly flags: {
@@ -2168,29 +1856,6 @@ declare const COMMANDS: {
2168
1856
  readonly hidden: false;
2169
1857
  readonly yes: false;
2170
1858
  };
2171
- readonly "run bundle": {
2172
- readonly path: "run bundle";
2173
- readonly positionals: readonly [{
2174
- readonly name: "run";
2175
- readonly kind: "required";
2176
- }];
2177
- readonly flags: {
2178
- readonly org: {
2179
- readonly type: "string";
2180
- };
2181
- readonly output: {
2182
- readonly type: "string";
2183
- readonly values: readonly ["json"];
2184
- readonly short: "o";
2185
- };
2186
- readonly team: {
2187
- readonly type: "string";
2188
- };
2189
- };
2190
- readonly effect: "read";
2191
- readonly hidden: false;
2192
- readonly yes: false;
2193
- };
2194
1859
  readonly "run cancel": {
2195
1860
  readonly path: "run cancel";
2196
1861
  readonly positionals: readonly [{
@@ -2206,9 +1871,6 @@ declare const COMMANDS: {
2206
1871
  readonly values: readonly ["table", "json"];
2207
1872
  readonly short: "o";
2208
1873
  };
2209
- readonly reason: {
2210
- readonly type: "string";
2211
- };
2212
1874
  readonly team: {
2213
1875
  readonly type: "string";
2214
1876
  };
@@ -2250,6 +1912,9 @@ declare const COMMANDS: {
2250
1912
  readonly change: {
2251
1913
  readonly type: "string";
2252
1914
  };
1915
+ readonly createdAfter: {
1916
+ readonly type: "string";
1917
+ };
2253
1918
  readonly cursor: {
2254
1919
  readonly type: "string";
2255
1920
  };
@@ -2259,6 +1924,9 @@ declare const COMMANDS: {
2259
1924
  readonly limit: {
2260
1925
  readonly type: "int";
2261
1926
  };
1927
+ readonly live: {
1928
+ readonly type: "bool";
1929
+ };
2262
1930
  readonly org: {
2263
1931
  readonly type: "string";
2264
1932
  };
@@ -2270,9 +1938,6 @@ declare const COMMANDS: {
2270
1938
  readonly stack: {
2271
1939
  readonly type: "string";
2272
1940
  };
2273
- readonly startedAfter: {
2274
- readonly type: "string";
2275
- };
2276
1941
  readonly status: {
2277
1942
  readonly type: "string";
2278
1943
  };
@@ -2376,6 +2041,32 @@ declare const COMMANDS: {
2376
2041
  readonly hidden: false;
2377
2042
  readonly yes: false;
2378
2043
  };
2044
+ readonly "stack archive": {
2045
+ readonly path: "stack archive";
2046
+ readonly positionals: readonly [{
2047
+ readonly name: "stack";
2048
+ readonly kind: "required";
2049
+ }];
2050
+ readonly flags: {
2051
+ readonly org: {
2052
+ readonly type: "string";
2053
+ };
2054
+ readonly output: {
2055
+ readonly type: "string";
2056
+ readonly values: readonly ["table", "json"];
2057
+ readonly short: "o";
2058
+ };
2059
+ readonly team: {
2060
+ readonly type: "string";
2061
+ };
2062
+ readonly yes: {
2063
+ readonly type: "bool";
2064
+ };
2065
+ };
2066
+ readonly effect: "write";
2067
+ readonly hidden: false;
2068
+ readonly yes: true;
2069
+ };
2379
2070
  readonly "stack create": {
2380
2071
  readonly path: "stack create";
2381
2072
  readonly positionals: readonly [{
@@ -2421,32 +2112,6 @@ declare const COMMANDS: {
2421
2112
  readonly hidden: false;
2422
2113
  readonly yes: false;
2423
2114
  };
2424
- readonly "stack delete": {
2425
- readonly path: "stack delete";
2426
- readonly positionals: readonly [{
2427
- readonly name: "stack";
2428
- readonly kind: "required";
2429
- }];
2430
- readonly flags: {
2431
- readonly org: {
2432
- readonly type: "string";
2433
- };
2434
- readonly output: {
2435
- readonly type: "string";
2436
- readonly values: readonly ["table", "json"];
2437
- readonly short: "o";
2438
- };
2439
- readonly team: {
2440
- readonly type: "string";
2441
- };
2442
- readonly yes: {
2443
- readonly type: "bool";
2444
- };
2445
- };
2446
- readonly effect: "write";
2447
- readonly hidden: false;
2448
- readonly yes: true;
2449
- };
2450
2115
  readonly "stack describe": {
2451
2116
  readonly path: "stack describe";
2452
2117
  readonly positionals: readonly [{
@@ -2525,32 +2190,6 @@ declare const COMMANDS: {
2525
2190
  readonly hidden: false;
2526
2191
  readonly yes: true;
2527
2192
  };
2528
- readonly "stack get": {
2529
- readonly path: "stack get";
2530
- readonly positionals: readonly [{
2531
- readonly name: "stack";
2532
- readonly kind: "required";
2533
- }];
2534
- readonly flags: {
2535
- readonly includeArchived: {
2536
- readonly type: "bool";
2537
- };
2538
- readonly org: {
2539
- readonly type: "string";
2540
- };
2541
- readonly output: {
2542
- readonly type: "string";
2543
- readonly values: readonly ["table", "json"];
2544
- readonly short: "o";
2545
- };
2546
- readonly team: {
2547
- readonly type: "string";
2548
- };
2549
- };
2550
- readonly effect: "read";
2551
- readonly hidden: false;
2552
- readonly yes: false;
2553
- };
2554
2193
  readonly "stack list": {
2555
2194
  readonly path: "stack list";
2556
2195
  readonly positionals: readonly [];
@@ -2797,14 +2436,6 @@ type ArgsOf<P extends CommandPath> = {
2797
2436
  } & {
2798
2437
  [K in OptionalFlagKeys<P>]?: FlagTypeOf<(typeof COMMANDS)[P]["flags"][K]>;
2799
2438
  };
2800
- /**
2801
- * flags (`--flag=value`, sorted by flag name) then `--` then positionals in
2802
- * golden order, so a positional value that starts with `-` always parses
2803
- * as a positional, never as a flag. A bool `true` emits a bare `--flag`;
2804
- * `false`/absent is omitted. A repeated flag emits one `--flag=v` per
2805
- * element.
2806
- */
2807
- declare function toArgv<P extends CommandPath>(path: P, args: ArgsOf<P>): string[];
2808
2439
  /**
2809
2440
  * The command a `lace` command line names, from the words after the
2810
2441
  * program's name, found where the CLI finds it (`commandWordsAt`, the one
@@ -2847,7 +2478,7 @@ declare const gateChangeRequestSchema: z.ZodObject<{
2847
2478
  }, z.core.$strip>>;
2848
2479
  records: z.ZodArray<z.ZodObject<{
2849
2480
  id: z.ZodString;
2850
- externalSystemId: z.ZodString;
2481
+ changeManagementSystemId: z.ZodString;
2851
2482
  kind: z.ZodString;
2852
2483
  externalRef: z.ZodNullable<z.ZodString>;
2853
2484
  externalUrl: z.ZodNullable<z.ZodString>;
@@ -3102,7 +2733,7 @@ declare const SCHEMAS: {
3102
2733
  visibility: z.ZodString;
3103
2734
  description: z.ZodString;
3104
2735
  categories: z.ZodArray<z.ZodString>;
3105
- vendor: z.ZodNullable<z.ZodObject<{
2736
+ authorProfile: z.ZodNullable<z.ZodObject<{
3106
2737
  author: z.ZodString;
3107
2738
  displayName: z.ZodString;
3108
2739
  logoUrl: z.ZodNullable<z.ZodString>;
@@ -3140,7 +2771,7 @@ declare const SCHEMAS: {
3140
2771
  description: z.ZodString;
3141
2772
  categories: z.ZodArray<z.ZodString>;
3142
2773
  readme: z.ZodNullable<z.ZodString>;
3143
- vendor: z.ZodNullable<z.ZodObject<{
2774
+ authorProfile: z.ZodNullable<z.ZodObject<{
3144
2775
  author: z.ZodString;
3145
2776
  displayName: z.ZodString;
3146
2777
  logoUrl: z.ZodNullable<z.ZodString>;
@@ -3225,7 +2856,16 @@ declare const SCHEMAS: {
3225
2856
  lastDriftStale: z.ZodBoolean;
3226
2857
  lastDriftConfirmedAt: z.ZodNullable<z.ZodString>;
3227
2858
  lastDriftUndeterminedReason: z.ZodNullable<z.ZodString>;
3228
- createdBy: z.ZodString;
2859
+ createdBy: z.ZodObject<{
2860
+ kind: z.ZodEnum<{
2861
+ system: "system";
2862
+ user: "user";
2863
+ service: "service";
2864
+ runner: "runner";
2865
+ }>;
2866
+ id: z.ZodNullable<z.ZodString>;
2867
+ name: z.ZodNullable<z.ZodString>;
2868
+ }, z.core.$strip>;
3229
2869
  createdAt: z.ZodString;
3230
2870
  updatedAt: z.ZodString;
3231
2871
  archivedAt: z.ZodNullable<z.ZodString>;
@@ -3234,12 +2874,20 @@ declare const SCHEMAS: {
3234
2874
  provider: z.ZodString;
3235
2875
  awsAccountId: z.ZodNullable<z.ZodString>;
3236
2876
  }, z.core.$strip>>;
3237
- createdByName: z.ZodNullable<z.ZodString>;
3238
2877
  lastApply: z.ZodNullable<z.ZodObject<{
3239
2878
  runId: z.ZodString;
3240
2879
  bundleSnapshotId: z.ZodString;
3241
2880
  completedAt: z.ZodNullable<z.ZodString>;
3242
- initiatedByName: z.ZodNullable<z.ZodString>;
2881
+ initiatingActor: z.ZodObject<{
2882
+ kind: z.ZodEnum<{
2883
+ system: "system";
2884
+ user: "user";
2885
+ service: "service";
2886
+ runner: "runner";
2887
+ }>;
2888
+ id: z.ZodNullable<z.ZodString>;
2889
+ name: z.ZodNullable<z.ZodString>;
2890
+ }, z.core.$strip>;
3243
2891
  }, z.core.$strip>>;
3244
2892
  }, z.core.$strip>>;
3245
2893
  nextCursor: z.ZodNullable<z.ZodString>;
@@ -3271,7 +2919,16 @@ declare const SCHEMAS: {
3271
2919
  lastDriftStale: z.ZodBoolean;
3272
2920
  lastDriftConfirmedAt: z.ZodNullable<z.ZodString>;
3273
2921
  lastDriftUndeterminedReason: z.ZodNullable<z.ZodString>;
3274
- createdBy: z.ZodString;
2922
+ createdBy: z.ZodObject<{
2923
+ kind: z.ZodEnum<{
2924
+ system: "system";
2925
+ user: "user";
2926
+ service: "service";
2927
+ runner: "runner";
2928
+ }>;
2929
+ id: z.ZodNullable<z.ZodString>;
2930
+ name: z.ZodNullable<z.ZodString>;
2931
+ }, z.core.$strip>;
3275
2932
  createdAt: z.ZodString;
3276
2933
  updatedAt: z.ZodString;
3277
2934
  archivedAt: z.ZodNullable<z.ZodString>;
@@ -3280,12 +2937,20 @@ declare const SCHEMAS: {
3280
2937
  provider: z.ZodString;
3281
2938
  awsAccountId: z.ZodNullable<z.ZodString>;
3282
2939
  }, z.core.$strip>>;
3283
- createdByName: z.ZodNullable<z.ZodString>;
3284
2940
  lastApply: z.ZodNullable<z.ZodObject<{
3285
2941
  runId: z.ZodString;
3286
2942
  bundleSnapshotId: z.ZodString;
3287
2943
  completedAt: z.ZodNullable<z.ZodString>;
3288
- initiatedByName: z.ZodNullable<z.ZodString>;
2944
+ initiatingActor: z.ZodObject<{
2945
+ kind: z.ZodEnum<{
2946
+ system: "system";
2947
+ user: "user";
2948
+ service: "service";
2949
+ runner: "runner";
2950
+ }>;
2951
+ id: z.ZodNullable<z.ZodString>;
2952
+ name: z.ZodNullable<z.ZodString>;
2953
+ }, z.core.$strip>;
3289
2954
  }, z.core.$strip>>;
3290
2955
  }, z.core.$strip>>;
3291
2956
  state: z.ZodNullable<z.ZodObject<{
@@ -3314,8 +2979,8 @@ declare const SCHEMAS: {
3314
2979
  liveProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3315
2980
  diff: z.ZodArray<z.ZodObject<{
3316
2981
  path: z.ZodString;
3317
- declared: z.ZodOptional<z.ZodUnknown>;
3318
- detected: z.ZodOptional<z.ZodUnknown>;
2982
+ declared: z.ZodNonOptional<z.ZodUnknown>;
2983
+ detected: z.ZodNonOptional<z.ZodUnknown>;
3319
2984
  }, z.core.$strip>>;
3320
2985
  findingId: z.ZodNullable<z.ZodString>;
3321
2986
  }, z.core.$strip>>;
@@ -3323,12 +2988,16 @@ declare const SCHEMAS: {
3323
2988
  }, z.core.$strip>;
3324
2989
  'policy list': z.ZodObject<{
3325
2990
  stack: z.ZodNullable<z.ZodString>;
3326
- policies: z.ZodArray<z.ZodObject<{
3327
- policyId: z.ZodString;
2991
+ bindings: z.ZodArray<z.ZodObject<{
2992
+ id: z.ZodString;
3328
2993
  name: z.ZodString;
3329
- mode: z.ZodString;
3330
- approvalMode: z.ZodNullable<z.ZodString>;
3331
- ruleIds: z.ZodArray<z.ZodString>;
2994
+ mode: z.ZodNullable<z.ZodString>;
2995
+ enabled: z.ZodBoolean;
2996
+ artifact: z.ZodObject<{
2997
+ author: z.ZodString;
2998
+ name: z.ZodString;
2999
+ version: z.ZodString;
3000
+ }, z.core.$strip>;
3332
3001
  }, z.core.$strip>>;
3333
3002
  }, z.core.$strip>;
3334
3003
  'run list': z.ZodObject<{
@@ -3339,10 +3008,22 @@ declare const SCHEMAS: {
3339
3008
  teamId: z.ZodString;
3340
3009
  kind: z.ZodString;
3341
3010
  status: z.ZodString;
3342
- initiatedByUserId: z.ZodNullable<z.ZodString>;
3343
3011
  initiatedVia: z.ZodString;
3344
- runnerIdentity: z.ZodNullable<z.ZodString>;
3345
- runnerLocation: z.ZodNullable<z.ZodString>;
3012
+ initiatingActor: z.ZodObject<{
3013
+ kind: z.ZodEnum<{
3014
+ system: "system";
3015
+ user: "user";
3016
+ service: "service";
3017
+ runner: "runner";
3018
+ }>;
3019
+ id: z.ZodNullable<z.ZodString>;
3020
+ name: z.ZodNullable<z.ZodString>;
3021
+ }, z.core.$strip>;
3022
+ runner: z.ZodNullable<z.ZodObject<{
3023
+ kind: z.ZodString;
3024
+ id: z.ZodString;
3025
+ name: z.ZodNullable<z.ZodString>;
3026
+ }, z.core.$strip>>;
3346
3027
  bundleSnapshotId: z.ZodNullable<z.ZodString>;
3347
3028
  sourceCommitSha: z.ZodNullable<z.ZodString>;
3348
3029
  sourceRef: z.ZodNullable<z.ZodString>;
@@ -3352,11 +3033,9 @@ declare const SCHEMAS: {
3352
3033
  planResourceChange: z.ZodNullable<z.ZodNumber>;
3353
3034
  planResourceDestroy: z.ZodNullable<z.ZodNumber>;
3354
3035
  planLocation: z.ZodNullable<z.ZodString>;
3355
- planHumanLocation: z.ZodNullable<z.ZodString>;
3356
3036
  applyLogLocation: z.ZodNullable<z.ZodString>;
3357
- policyResultsLocation: z.ZodNullable<z.ZodString>;
3358
- policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
3359
- policyResolution: z.ZodNullable<z.ZodUnknown>;
3037
+ gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
3038
+ gateResolution: z.ZodNullable<z.ZodUnknown>;
3360
3039
  changeRequestId: z.ZodNullable<z.ZodString>;
3361
3040
  cancelReason: z.ZodNullable<z.ZodString>;
3362
3041
  startedAt: z.ZodNullable<z.ZodString>;
@@ -3374,15 +3053,22 @@ declare const SCHEMAS: {
3374
3053
  version: z.ZodString;
3375
3054
  admission: z.ZodOptional<z.ZodObject<{
3376
3055
  id: z.ZodString;
3377
- admittedBy: z.ZodString;
3378
- admittedByName: z.ZodNullable<z.ZodString>;
3056
+ admittedBy: z.ZodObject<{
3057
+ kind: z.ZodEnum<{
3058
+ system: "system";
3059
+ user: "user";
3060
+ service: "service";
3061
+ runner: "runner";
3062
+ }>;
3063
+ id: z.ZodNullable<z.ZodString>;
3064
+ name: z.ZodNullable<z.ZodString>;
3065
+ }, z.core.$strip>;
3379
3066
  admittedAt: z.ZodString;
3380
3067
  }, z.core.$strip>>;
3381
3068
  }, z.core.$strip>>>;
3382
3069
  keepStack: z.ZodOptional<z.ZodBoolean>;
3383
3070
  version: z.ZodOptional<z.ZodNumber>;
3384
3071
  lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3385
- initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3386
3072
  stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3387
3073
  }, z.core.$strip>>;
3388
3074
  nextCursor: z.ZodNullable<z.ZodString>;
@@ -3402,16 +3088,19 @@ declare const SCHEMAS: {
3402
3088
  }, z.core.$strip>;
3403
3089
  human: z.ZodString;
3404
3090
  }, z.core.$strip>;
3405
- policy: z.ZodNullable<z.ZodObject<{
3091
+ resolution: z.ZodNullable<z.ZodObject<{
3406
3092
  mode: z.ZodString;
3407
- policyId: z.ZodString;
3408
- ruleId: z.ZodString;
3409
- rulesFired: z.ZodArray<z.ZodString>;
3410
- reason: z.ZodString;
3411
- approvalMode: z.ZodNullable<z.ZodString>;
3093
+ approvalMode: z.ZodOptional<z.ZodString>;
3094
+ reason: z.ZodOptional<z.ZodString>;
3095
+ decidedBy: z.ZodArray<z.ZodObject<{
3096
+ bindingId: z.ZodString;
3097
+ ruleId: z.ZodOptional<z.ZodString>;
3098
+ ruleName: z.ZodOptional<z.ZodString>;
3099
+ rulesFired: z.ZodArray<z.ZodString>;
3100
+ }, z.core.$strip>>;
3412
3101
  isAuthoringTimePreview: z.ZodBoolean;
3413
3102
  bindings: z.ZodArray<z.ZodObject<{
3414
- policyId: z.ZodString;
3103
+ bindingId: z.ZodString;
3415
3104
  name: z.ZodString;
3416
3105
  handler: z.ZodString;
3417
3106
  mode: z.ZodString;
@@ -3435,6 +3124,31 @@ declare const SCHEMAS: {
3435
3124
  }, z.core.$strip>;
3436
3125
  advisories: z.ZodArray<z.ZodObject<{
3437
3126
  id: z.ZodString;
3127
+ orgId: z.ZodString;
3128
+ contextRunId: z.ZodNullable<z.ZodString>;
3129
+ contextInstallId: z.ZodNullable<z.ZodString>;
3130
+ contextStackId: z.ZodNullable<z.ZodString>;
3131
+ contextTreeHash: z.ZodNullable<z.ZodString>;
3132
+ contextIncidentId: z.ZodNullable<z.ZodString>;
3133
+ contextFormOpeningId: z.ZodNullable<z.ZodString>;
3134
+ consumerActorKind: z.ZodNullable<z.ZodString>;
3135
+ consumerActorId: z.ZodNullable<z.ZodString>;
3136
+ actedOn: z.ZodNullable<z.ZodString>;
3137
+ actedAt: z.ZodNullable<z.ZodString>;
3138
+ actedBy: z.ZodNullable<z.ZodObject<{
3139
+ kind: z.ZodEnum<{
3140
+ system: "system";
3141
+ user: "user";
3142
+ service: "service";
3143
+ runner: "runner";
3144
+ }>;
3145
+ id: z.ZodNullable<z.ZodString>;
3146
+ name: z.ZodNullable<z.ZodString>;
3147
+ }, z.core.$strip>>;
3148
+ feedbackThumbs: z.ZodNullable<z.ZodString>;
3149
+ feedbackText: z.ZodNullable<z.ZodString>;
3150
+ emitterKind: z.ZodString;
3151
+ emitterHeededRate: z.ZodNumber;
3438
3152
  manifestation: z.ZodString;
3439
3153
  emittedByInstallId: z.ZodString;
3440
3154
  emittedByDisplayName: z.ZodString;
@@ -3454,6 +3168,31 @@ declare const SCHEMAS: {
3454
3168
  remediationFingerprint: z.ZodString;
3455
3169
  advisories: z.ZodArray<z.ZodObject<{
3456
3170
  id: z.ZodString;
3171
+ orgId: z.ZodString;
3172
+ contextRunId: z.ZodNullable<z.ZodString>;
3173
+ contextInstallId: z.ZodNullable<z.ZodString>;
3174
+ contextStackId: z.ZodNullable<z.ZodString>;
3175
+ contextTreeHash: z.ZodNullable<z.ZodString>;
3176
+ contextIncidentId: z.ZodNullable<z.ZodString>;
3177
+ contextFormOpeningId: z.ZodNullable<z.ZodString>;
3178
+ consumerActorKind: z.ZodNullable<z.ZodString>;
3179
+ consumerActorId: z.ZodNullable<z.ZodString>;
3180
+ actedOn: z.ZodNullable<z.ZodString>;
3181
+ actedAt: z.ZodNullable<z.ZodString>;
3182
+ actedBy: z.ZodNullable<z.ZodObject<{
3183
+ kind: z.ZodEnum<{
3184
+ system: "system";
3185
+ user: "user";
3186
+ service: "service";
3187
+ runner: "runner";
3188
+ }>;
3189
+ id: z.ZodNullable<z.ZodString>;
3190
+ name: z.ZodNullable<z.ZodString>;
3191
+ }, z.core.$strip>>;
3192
+ feedbackThumbs: z.ZodNullable<z.ZodString>;
3193
+ feedbackText: z.ZodNullable<z.ZodString>;
3194
+ emitterKind: z.ZodString;
3195
+ emitterHeededRate: z.ZodNumber;
3457
3196
  manifestation: z.ZodString;
3458
3197
  emittedByInstallId: z.ZodString;
3459
3198
  emittedByDisplayName: z.ZodString;
@@ -3496,7 +3235,7 @@ declare const SCHEMAS: {
3496
3235
  }, z.core.$strip>>;
3497
3236
  records: z.ZodArray<z.ZodObject<{
3498
3237
  id: z.ZodString;
3499
- externalSystemId: z.ZodString;
3238
+ changeManagementSystemId: z.ZodString;
3500
3239
  kind: z.ZodString;
3501
3240
  externalRef: z.ZodNullable<z.ZodString>;
3502
3241
  externalUrl: z.ZodNullable<z.ZodString>;
@@ -3516,10 +3255,22 @@ declare const SCHEMAS: {
3516
3255
  teamId: z.ZodString;
3517
3256
  kind: z.ZodString;
3518
3257
  status: z.ZodString;
3519
- initiatedByUserId: z.ZodNullable<z.ZodString>;
3520
3258
  initiatedVia: z.ZodString;
3521
- runnerIdentity: z.ZodNullable<z.ZodString>;
3522
- runnerLocation: z.ZodNullable<z.ZodString>;
3259
+ initiatingActor: z.ZodObject<{
3260
+ kind: z.ZodEnum<{
3261
+ system: "system";
3262
+ user: "user";
3263
+ service: "service";
3264
+ runner: "runner";
3265
+ }>;
3266
+ id: z.ZodNullable<z.ZodString>;
3267
+ name: z.ZodNullable<z.ZodString>;
3268
+ }, z.core.$strip>;
3269
+ runner: z.ZodNullable<z.ZodObject<{
3270
+ kind: z.ZodString;
3271
+ id: z.ZodString;
3272
+ name: z.ZodNullable<z.ZodString>;
3273
+ }, z.core.$strip>>;
3523
3274
  bundleSnapshotId: z.ZodNullable<z.ZodString>;
3524
3275
  sourceCommitSha: z.ZodNullable<z.ZodString>;
3525
3276
  sourceRef: z.ZodNullable<z.ZodString>;
@@ -3529,11 +3280,9 @@ declare const SCHEMAS: {
3529
3280
  planResourceChange: z.ZodNullable<z.ZodNumber>;
3530
3281
  planResourceDestroy: z.ZodNullable<z.ZodNumber>;
3531
3282
  planLocation: z.ZodNullable<z.ZodString>;
3532
- planHumanLocation: z.ZodNullable<z.ZodString>;
3533
3283
  applyLogLocation: z.ZodNullable<z.ZodString>;
3534
- policyResultsLocation: z.ZodNullable<z.ZodString>;
3535
- policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
3536
- policyResolution: z.ZodNullable<z.ZodUnknown>;
3284
+ gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
3285
+ gateResolution: z.ZodNullable<z.ZodUnknown>;
3537
3286
  changeRequestId: z.ZodNullable<z.ZodString>;
3538
3287
  cancelReason: z.ZodNullable<z.ZodString>;
3539
3288
  startedAt: z.ZodNullable<z.ZodString>;
@@ -3551,15 +3300,22 @@ declare const SCHEMAS: {
3551
3300
  version: z.ZodString;
3552
3301
  admission: z.ZodOptional<z.ZodObject<{
3553
3302
  id: z.ZodString;
3554
- admittedBy: z.ZodString;
3555
- admittedByName: z.ZodNullable<z.ZodString>;
3303
+ admittedBy: z.ZodObject<{
3304
+ kind: z.ZodEnum<{
3305
+ system: "system";
3306
+ user: "user";
3307
+ service: "service";
3308
+ runner: "runner";
3309
+ }>;
3310
+ id: z.ZodNullable<z.ZodString>;
3311
+ name: z.ZodNullable<z.ZodString>;
3312
+ }, z.core.$strip>;
3556
3313
  admittedAt: z.ZodString;
3557
3314
  }, z.core.$strip>>;
3558
3315
  }, z.core.$strip>>>;
3559
3316
  keepStack: z.ZodOptional<z.ZodBoolean>;
3560
3317
  version: z.ZodOptional<z.ZodNumber>;
3561
3318
  lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3562
- initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3563
3319
  stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3564
3320
  }, z.core.$strip>;
3565
3321
  summary: z.ZodObject<{
@@ -3595,7 +3351,7 @@ declare const SCHEMAS: {
3595
3351
  }, z.core.$strip>>;
3596
3352
  records: z.ZodArray<z.ZodObject<{
3597
3353
  id: z.ZodString;
3598
- externalSystemId: z.ZodString;
3354
+ changeManagementSystemId: z.ZodString;
3599
3355
  kind: z.ZodString;
3600
3356
  externalRef: z.ZodNullable<z.ZodString>;
3601
3357
  externalUrl: z.ZodNullable<z.ZodString>;
@@ -3615,10 +3371,22 @@ declare const SCHEMAS: {
3615
3371
  teamId: z.ZodString;
3616
3372
  kind: z.ZodString;
3617
3373
  status: z.ZodString;
3618
- initiatedByUserId: z.ZodNullable<z.ZodString>;
3619
3374
  initiatedVia: z.ZodString;
3620
- runnerIdentity: z.ZodNullable<z.ZodString>;
3621
- runnerLocation: z.ZodNullable<z.ZodString>;
3375
+ initiatingActor: z.ZodObject<{
3376
+ kind: z.ZodEnum<{
3377
+ system: "system";
3378
+ user: "user";
3379
+ service: "service";
3380
+ runner: "runner";
3381
+ }>;
3382
+ id: z.ZodNullable<z.ZodString>;
3383
+ name: z.ZodNullable<z.ZodString>;
3384
+ }, z.core.$strip>;
3385
+ runner: z.ZodNullable<z.ZodObject<{
3386
+ kind: z.ZodString;
3387
+ id: z.ZodString;
3388
+ name: z.ZodNullable<z.ZodString>;
3389
+ }, z.core.$strip>>;
3622
3390
  bundleSnapshotId: z.ZodNullable<z.ZodString>;
3623
3391
  sourceCommitSha: z.ZodNullable<z.ZodString>;
3624
3392
  sourceRef: z.ZodNullable<z.ZodString>;
@@ -3628,11 +3396,9 @@ declare const SCHEMAS: {
3628
3396
  planResourceChange: z.ZodNullable<z.ZodNumber>;
3629
3397
  planResourceDestroy: z.ZodNullable<z.ZodNumber>;
3630
3398
  planLocation: z.ZodNullable<z.ZodString>;
3631
- planHumanLocation: z.ZodNullable<z.ZodString>;
3632
3399
  applyLogLocation: z.ZodNullable<z.ZodString>;
3633
- policyResultsLocation: z.ZodNullable<z.ZodString>;
3634
- policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
3635
- policyResolution: z.ZodNullable<z.ZodUnknown>;
3400
+ gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
3401
+ gateResolution: z.ZodNullable<z.ZodUnknown>;
3636
3402
  changeRequestId: z.ZodNullable<z.ZodString>;
3637
3403
  cancelReason: z.ZodNullable<z.ZodString>;
3638
3404
  startedAt: z.ZodNullable<z.ZodString>;
@@ -3650,15 +3416,22 @@ declare const SCHEMAS: {
3650
3416
  version: z.ZodString;
3651
3417
  admission: z.ZodOptional<z.ZodObject<{
3652
3418
  id: z.ZodString;
3653
- admittedBy: z.ZodString;
3654
- admittedByName: z.ZodNullable<z.ZodString>;
3419
+ admittedBy: z.ZodObject<{
3420
+ kind: z.ZodEnum<{
3421
+ system: "system";
3422
+ user: "user";
3423
+ service: "service";
3424
+ runner: "runner";
3425
+ }>;
3426
+ id: z.ZodNullable<z.ZodString>;
3427
+ name: z.ZodNullable<z.ZodString>;
3428
+ }, z.core.$strip>;
3655
3429
  admittedAt: z.ZodString;
3656
3430
  }, z.core.$strip>>;
3657
3431
  }, z.core.$strip>>>;
3658
3432
  keepStack: z.ZodOptional<z.ZodBoolean>;
3659
3433
  version: z.ZodOptional<z.ZodNumber>;
3660
3434
  lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3661
- initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3662
3435
  stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3663
3436
  }, z.core.$strip>;
3664
3437
  summary: z.ZodObject<{
@@ -3697,8 +3470,8 @@ declare const SCHEMAS: {
3697
3470
  liveProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3698
3471
  diff: z.ZodArray<z.ZodObject<{
3699
3472
  path: z.ZodString;
3700
- declared: z.ZodOptional<z.ZodUnknown>;
3701
- detected: z.ZodOptional<z.ZodUnknown>;
3473
+ declared: z.ZodNonOptional<z.ZodUnknown>;
3474
+ detected: z.ZodNonOptional<z.ZodUnknown>;
3702
3475
  }, z.core.$strip>>;
3703
3476
  findingId: z.ZodNullable<z.ZodString>;
3704
3477
  }, z.core.$strip>>;
@@ -3730,7 +3503,16 @@ declare const SCHEMAS: {
3730
3503
  lastDriftStale: z.ZodBoolean;
3731
3504
  lastDriftConfirmedAt: z.ZodNullable<z.ZodString>;
3732
3505
  lastDriftUndeterminedReason: z.ZodNullable<z.ZodString>;
3733
- createdBy: z.ZodString;
3506
+ createdBy: z.ZodObject<{
3507
+ kind: z.ZodEnum<{
3508
+ system: "system";
3509
+ user: "user";
3510
+ service: "service";
3511
+ runner: "runner";
3512
+ }>;
3513
+ id: z.ZodNullable<z.ZodString>;
3514
+ name: z.ZodNullable<z.ZodString>;
3515
+ }, z.core.$strip>;
3734
3516
  createdAt: z.ZodString;
3735
3517
  updatedAt: z.ZodString;
3736
3518
  archivedAt: z.ZodNullable<z.ZodString>;
@@ -3739,12 +3521,20 @@ declare const SCHEMAS: {
3739
3521
  provider: z.ZodString;
3740
3522
  awsAccountId: z.ZodNullable<z.ZodString>;
3741
3523
  }, z.core.$strip>>;
3742
- createdByName: z.ZodNullable<z.ZodString>;
3743
3524
  lastApply: z.ZodNullable<z.ZodObject<{
3744
3525
  runId: z.ZodString;
3745
3526
  bundleSnapshotId: z.ZodString;
3746
3527
  completedAt: z.ZodNullable<z.ZodString>;
3747
- initiatedByName: z.ZodNullable<z.ZodString>;
3528
+ initiatingActor: z.ZodObject<{
3529
+ kind: z.ZodEnum<{
3530
+ system: "system";
3531
+ user: "user";
3532
+ service: "service";
3533
+ runner: "runner";
3534
+ }>;
3535
+ id: z.ZodNullable<z.ZodString>;
3536
+ name: z.ZodNullable<z.ZodString>;
3537
+ }, z.core.$strip>;
3748
3538
  }, z.core.$strip>>;
3749
3539
  }, z.core.$strip>;
3750
3540
  'stack validate': z.ZodObject<{
@@ -3876,10 +3666,22 @@ declare const SCHEMAS: {
3876
3666
  teamId: z.ZodString;
3877
3667
  kind: z.ZodString;
3878
3668
  status: z.ZodString;
3879
- initiatedByUserId: z.ZodNullable<z.ZodString>;
3880
3669
  initiatedVia: z.ZodString;
3881
- runnerIdentity: z.ZodNullable<z.ZodString>;
3882
- runnerLocation: z.ZodNullable<z.ZodString>;
3670
+ initiatingActor: z.ZodObject<{
3671
+ kind: z.ZodEnum<{
3672
+ system: "system";
3673
+ user: "user";
3674
+ service: "service";
3675
+ runner: "runner";
3676
+ }>;
3677
+ id: z.ZodNullable<z.ZodString>;
3678
+ name: z.ZodNullable<z.ZodString>;
3679
+ }, z.core.$strip>;
3680
+ runner: z.ZodNullable<z.ZodObject<{
3681
+ kind: z.ZodString;
3682
+ id: z.ZodString;
3683
+ name: z.ZodNullable<z.ZodString>;
3684
+ }, z.core.$strip>>;
3883
3685
  bundleSnapshotId: z.ZodNullable<z.ZodString>;
3884
3686
  sourceCommitSha: z.ZodNullable<z.ZodString>;
3885
3687
  sourceRef: z.ZodNullable<z.ZodString>;
@@ -3889,11 +3691,9 @@ declare const SCHEMAS: {
3889
3691
  planResourceChange: z.ZodNullable<z.ZodNumber>;
3890
3692
  planResourceDestroy: z.ZodNullable<z.ZodNumber>;
3891
3693
  planLocation: z.ZodNullable<z.ZodString>;
3892
- planHumanLocation: z.ZodNullable<z.ZodString>;
3893
3694
  applyLogLocation: z.ZodNullable<z.ZodString>;
3894
- policyResultsLocation: z.ZodNullable<z.ZodString>;
3895
- policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
3896
- policyResolution: z.ZodNullable<z.ZodUnknown>;
3695
+ gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
3696
+ gateResolution: z.ZodNullable<z.ZodUnknown>;
3897
3697
  changeRequestId: z.ZodNullable<z.ZodString>;
3898
3698
  cancelReason: z.ZodNullable<z.ZodString>;
3899
3699
  startedAt: z.ZodNullable<z.ZodString>;
@@ -3911,28 +3711,50 @@ declare const SCHEMAS: {
3911
3711
  version: z.ZodString;
3912
3712
  admission: z.ZodOptional<z.ZodObject<{
3913
3713
  id: z.ZodString;
3914
- admittedBy: z.ZodString;
3915
- admittedByName: z.ZodNullable<z.ZodString>;
3714
+ admittedBy: z.ZodObject<{
3715
+ kind: z.ZodEnum<{
3716
+ system: "system";
3717
+ user: "user";
3718
+ service: "service";
3719
+ runner: "runner";
3720
+ }>;
3721
+ id: z.ZodNullable<z.ZodString>;
3722
+ name: z.ZodNullable<z.ZodString>;
3723
+ }, z.core.$strip>;
3916
3724
  admittedAt: z.ZodString;
3917
3725
  }, z.core.$strip>>;
3918
3726
  }, z.core.$strip>>>;
3919
3727
  keepStack: z.ZodOptional<z.ZodBoolean>;
3920
3728
  version: z.ZodOptional<z.ZodNumber>;
3921
3729
  lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3922
- initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3923
3730
  stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3924
3731
  }, z.core.$strip>;
3925
3732
  'run plan': z.ZodObject<{
3926
3733
  runId: z.ZodString;
3927
- status: z.ZodNullable<z.ZodString>;
3928
- summary: z.ZodNullable<z.ZodObject<{
3929
- resourceAdd: z.ZodNullable<z.ZodNumber>;
3930
- resourceChange: z.ZodNullable<z.ZodNumber>;
3931
- resourceDestroy: z.ZodNullable<z.ZodNumber>;
3734
+ status: z.ZodString;
3735
+ plan: z.ZodNullable<z.ZodObject<{
3736
+ resources: z.ZodArray<z.ZodObject<{
3737
+ address: z.ZodString;
3738
+ type: z.ZodString;
3739
+ actions: z.ZodArray<z.ZodString>;
3740
+ changes: z.ZodArray<z.ZodObject<{
3741
+ path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
3742
+ before: z.ZodNonOptional<z.ZodUnknown>;
3743
+ after: z.ZodNonOptional<z.ZodUnknown>;
3744
+ afterUnknown: z.ZodBoolean;
3745
+ sensitive: z.ZodBoolean;
3746
+ }, z.core.$strip>>;
3747
+ replacePaths: z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
3748
+ }, z.core.$strip>>;
3749
+ truncated: z.ZodBoolean;
3750
+ totals: z.ZodObject<{
3751
+ add: z.ZodNumber;
3752
+ change: z.ZodNumber;
3753
+ destroy: z.ZodNumber;
3754
+ }, z.core.$strip>;
3932
3755
  }, z.core.$strip>>;
3933
3756
  planHuman: z.ZodNullable<z.ZodObject<{
3934
3757
  url: z.ZodString;
3935
- key: z.ZodString;
3936
3758
  }, z.core.$strip>>;
3937
3759
  }, z.core.$strip>;
3938
3760
  'run cancel': z.ZodObject<{
@@ -3942,10 +3764,22 @@ declare const SCHEMAS: {
3942
3764
  teamId: z.ZodString;
3943
3765
  kind: z.ZodString;
3944
3766
  status: z.ZodString;
3945
- initiatedByUserId: z.ZodNullable<z.ZodString>;
3946
3767
  initiatedVia: z.ZodString;
3947
- runnerIdentity: z.ZodNullable<z.ZodString>;
3948
- runnerLocation: z.ZodNullable<z.ZodString>;
3768
+ initiatingActor: z.ZodObject<{
3769
+ kind: z.ZodEnum<{
3770
+ system: "system";
3771
+ user: "user";
3772
+ service: "service";
3773
+ runner: "runner";
3774
+ }>;
3775
+ id: z.ZodNullable<z.ZodString>;
3776
+ name: z.ZodNullable<z.ZodString>;
3777
+ }, z.core.$strip>;
3778
+ runner: z.ZodNullable<z.ZodObject<{
3779
+ kind: z.ZodString;
3780
+ id: z.ZodString;
3781
+ name: z.ZodNullable<z.ZodString>;
3782
+ }, z.core.$strip>>;
3949
3783
  bundleSnapshotId: z.ZodNullable<z.ZodString>;
3950
3784
  sourceCommitSha: z.ZodNullable<z.ZodString>;
3951
3785
  sourceRef: z.ZodNullable<z.ZodString>;
@@ -3955,11 +3789,9 @@ declare const SCHEMAS: {
3955
3789
  planResourceChange: z.ZodNullable<z.ZodNumber>;
3956
3790
  planResourceDestroy: z.ZodNullable<z.ZodNumber>;
3957
3791
  planLocation: z.ZodNullable<z.ZodString>;
3958
- planHumanLocation: z.ZodNullable<z.ZodString>;
3959
3792
  applyLogLocation: z.ZodNullable<z.ZodString>;
3960
- policyResultsLocation: z.ZodNullable<z.ZodString>;
3961
- policyEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
3962
- policyResolution: z.ZodNullable<z.ZodUnknown>;
3793
+ gateEvaluatedWithoutBlock: z.ZodNullable<z.ZodBoolean>;
3794
+ gateResolution: z.ZodNullable<z.ZodUnknown>;
3963
3795
  changeRequestId: z.ZodNullable<z.ZodString>;
3964
3796
  cancelReason: z.ZodNullable<z.ZodString>;
3965
3797
  startedAt: z.ZodNullable<z.ZodString>;
@@ -3977,15 +3809,22 @@ declare const SCHEMAS: {
3977
3809
  version: z.ZodString;
3978
3810
  admission: z.ZodOptional<z.ZodObject<{
3979
3811
  id: z.ZodString;
3980
- admittedBy: z.ZodString;
3981
- admittedByName: z.ZodNullable<z.ZodString>;
3812
+ admittedBy: z.ZodObject<{
3813
+ kind: z.ZodEnum<{
3814
+ system: "system";
3815
+ user: "user";
3816
+ service: "service";
3817
+ runner: "runner";
3818
+ }>;
3819
+ id: z.ZodNullable<z.ZodString>;
3820
+ name: z.ZodNullable<z.ZodString>;
3821
+ }, z.core.$strip>;
3982
3822
  admittedAt: z.ZodString;
3983
3823
  }, z.core.$strip>>;
3984
3824
  }, z.core.$strip>>>;
3985
3825
  keepStack: z.ZodOptional<z.ZodBoolean>;
3986
3826
  version: z.ZodOptional<z.ZodNumber>;
3987
3827
  lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3988
- initiatedByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3989
3828
  stackName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3990
3829
  }, z.core.$strip>;
3991
3830
  'run logs': z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4032,7 +3871,16 @@ declare const SCHEMAS: {
4032
3871
  name: z.ZodString;
4033
3872
  slug: z.ZodString;
4034
3873
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4035
- createdBy: z.ZodString;
3874
+ createdBy: z.ZodObject<{
3875
+ kind: z.ZodEnum<{
3876
+ system: "system";
3877
+ user: "user";
3878
+ service: "service";
3879
+ runner: "runner";
3880
+ }>;
3881
+ id: z.ZodNullable<z.ZodString>;
3882
+ name: z.ZodNullable<z.ZodString>;
3883
+ }, z.core.$strip>;
4036
3884
  createdAt: z.ZodString;
4037
3885
  updatedAt: z.ZodString;
4038
3886
  role: z.ZodOptional<z.ZodString>;
@@ -4116,7 +3964,6 @@ type BoundPath = keyof typeof SCHEMAS;
4116
3964
  declare function isBoundPath(path: string): path is BoundPath;
4117
3965
  type JsonOf<P> = P extends BoundPath ? z.infer<(typeof SCHEMAS)[P]> : unknown;
4118
3966
  declare function parseBound<P extends BoundPath>(path: P, data: unknown): JsonOf<P>;
4119
- declare function carriesFailure(data: unknown): boolean;
4120
3967
  declare function parseCommandFailure(data: unknown): CommandFailure;
4121
3968
 
4122
3969
  type SourceConflict = {
@@ -4128,6 +3975,8 @@ type CanvasSource = {
4128
3975
  canUndo: boolean;
4129
3976
  canRedo: boolean;
4130
3977
  unsaved: boolean;
3978
+ workingDigest: string;
3979
+ savedDigest: string;
4131
3980
  ungenerated: boolean;
4132
3981
  conflict: SourceConflict | null;
4133
3982
  sourceRefused: boolean;
@@ -4276,10 +4125,14 @@ type StackRef = {
4276
4125
  id: string;
4277
4126
  slug: string;
4278
4127
  };
4128
+ type RunRef = {
4129
+ id: string;
4130
+ };
4279
4131
  type ContextPort = {
4280
4132
  root?: string;
4281
4133
  sessionId?: string;
4282
4134
  stack?: StackRef;
4135
+ run?: RunRef;
4283
4136
  };
4284
4137
  type ViewStatePort = {
4285
4138
  load: () => CanvasArrangement;
@@ -4298,10 +4151,14 @@ type RunnerPorts = {
4298
4151
  commands?: CommandsPort;
4299
4152
  editor?: EditorPort;
4300
4153
  };
4154
+ type SelectionPort = {
4155
+ selected: (modules: readonly string[]) => void;
4156
+ };
4301
4157
  type CanvasPorts = RunnerPorts & {
4302
4158
  source: SourcePort;
4303
4159
  context: ContextPort;
4304
4160
  viewState: ViewStatePort;
4161
+ selection?: SelectionPort;
4305
4162
  };
4306
4163
  type PortName = keyof CanvasPorts;
4307
4164
 
@@ -4359,19 +4216,20 @@ declare const MODIFIERS: readonly ["Mod", "Ctrl"];
4359
4216
  type Modifier = (typeof MODIFIERS)[number];
4360
4217
  /** The type an action's `keys` hold: a key that starts with a modifier, or a
4361
4218
  * bare key. The modifier arm is the grammar's prefix check alone — the type
4362
- * cannot spell an optional `Shift` then one key — and `parseChord` refuses
4363
- * the rest at runtime. */
4219
+ * cannot spell an optional `Shift` then one key — and `keyChord` refuses the
4220
+ * rest at runtime. */
4364
4221
  type KeySpec = `${Modifier}+${string}` | BareKey;
4365
4222
 
4366
4223
  type CanvasSelection = {
4367
4224
  nodes: readonly string[];
4368
4225
  edges: readonly string[];
4369
4226
  };
4370
- type ContextKey = 'root' | 'sessionId' | 'stack' | 'editable' | 'saved' | 'unsaved' | 'resolved' | 'conflict' | 'sourceRefused' | 'needsConversion' | 'selection.node' | 'selection.several' | 'selection.entryScope' | 'selection.oneScope' | 'selection.edge' | 'selection.edges' | 'selection.disconnectable' | 'diagnostics' | 'settingsOpen' | 'generateIdle' | 'generating' | 'ungenerated' | 'undoable' | 'redoable';
4227
+ type ContextKey = 'root' | 'sessionId' | 'stack' | 'run' | 'editable' | 'saved' | 'unsaved' | 'resolved' | 'conflict' | 'sourceRefused' | 'needsConversion' | 'selection.node' | 'selection.several' | 'selection.entryScope' | 'selection.oneScope' | 'selection.edge' | 'selection.edges' | 'selection.disconnectable' | 'diagnostics' | 'settingsOpen' | 'generateIdle' | 'generating' | 'ungenerated' | 'undoable' | 'redoable';
4371
4228
  type RunCtx = {
4372
4229
  root?: string;
4373
4230
  sessionId?: string;
4374
4231
  stack?: StackRef;
4232
+ run?: RunRef;
4375
4233
  };
4376
4234
  type CanvasCtx = RunCtx & {
4377
4235
  ports: CanvasPorts;
@@ -4390,8 +4248,12 @@ type Badge = {
4390
4248
  tone: 'neutral' | 'warn' | 'error';
4391
4249
  title?: string;
4392
4250
  };
4251
+ type Cloud = {
4252
+ label: string;
4253
+ };
4393
4254
  type NodeDecoration = {
4394
4255
  badges: readonly Badge[];
4256
+ cloud?: Cloud;
4395
4257
  };
4396
4258
  type Decorations = {
4397
4259
  nodes: Readonly<Record<string, NodeDecoration>>;
@@ -4399,6 +4261,7 @@ type Decorations = {
4399
4261
  type OverlayContribution = {
4400
4262
  id: string;
4401
4263
  paths: readonly BoundPath[];
4264
+ requiredContext?: readonly ContextKey[];
4402
4265
  useDecorations: (ctx: CanvasCtx) => Decorations;
4403
4266
  };
4404
4267
  type CommandRead<P extends BoundPath> = {
@@ -4574,7 +4437,6 @@ type ContributionSet<P extends PanelSpec = PanelSpec> = {
4574
4437
 
4575
4438
  declare function defineCommand<P extends BoundPath>(binding: CommandBinding<P>): ErasedCommand;
4576
4439
 
4577
- declare function uniqueDiagnostics(diagnostics: readonly Diagnostic$1[]): readonly Diagnostic$1[];
4578
4440
  declare function diagnosticsOf(sourceDiagnostics: readonly Diagnostic$1[], reportFindings: readonly Diagnostic$1[]): readonly Diagnostic$1[];
4579
4441
 
4580
4442
  type ReportPath = 'module validate' | 'module convert' | 'module scan';
@@ -4778,5 +4640,5 @@ declare function resolveContributions<P extends PanelSpec>(all: ContributionSet<
4778
4640
  /** Every resolved action placed in a given panel's row (a `row:<panel>` placement). */
4779
4641
  declare function rowActions(resolved: ContributionSet, panelId: string): readonly ActionContribution[];
4780
4642
 
4781
- export { COMMANDS as C, EMPTY_REPORT_FOLD as E, GENERATE_STAGES as O, InputMode as W, Action as a, Reason as a4, connectCaller as aA, createActionRunner as aB, createResultStore as aC, currentReport as aD, defineCommand as aE, diagnosticsOf as aF, diagnosticsOfDocument as aG, failureSays as aH, foldReport as aI, generatedTree as aJ, isBoundPath as aK, liveSlots as aL, openEngineCommands as aM, openEngineSession as aN, parseBound as aO, parseCommandFailure as aP, reasonWire as aQ, reduceFollow as aR, reducePreview as aS, reduceReport as aT, reduceRun as aU, reportDiagnostics as aV, settleRun as aW, toArgv as aX, uniqueDiagnostics as aY, SCHEMAS as aj, answering as av, bridgeCaller as aw, carriesFailure as ax, commandPathOf as ay, commandUnderWay as az, Bundle as b3, disabledReason as bg, resolveContributions as bh, rowActions as bi, ApplyUnobservedError as f, CommandDetachedError as n, CommandExitError as o, CommandUnobservedError as t, ConnectError as x };
4782
- export type { PendingForm as $, ActionContribution as A, BindingRuntime as B, DirectEngineCaller as D, EditorPort as F, EngineCaller as G, EngineMethodResponse as H, EngineSession as I, JsonOf as J, EngineSessionOptions as K, EngineTarget as L, ErasedCommand as M, FollowSlot as N, GateChangeRequest as P, GenerateEvent as Q, GenerateStage as R, SourcePort as S, GeneratedTree as T, GraphError as U, HostBinding as V, Invocation as X, LaceReason as Y, LiveSlots as Z, OnScreen as _, CanvasCtx as a$, PortName as a0, PresenterPort as a1, PreviewOutcome as a2, PreviewSlot as a3, ReportEntry as a5, ReportFold as a6, ReportPath as a7, ReportSlot as a8, ResultKind as a9, ContributionSet as aZ, PanelSpec as a_, ResultSlots as aa, ResultStore as ab, RunCtx as ac, RunOutcome as ad, RunSlot as ae, RunStage as af, RunStageStatus as ag, RunnerPorts as ah, RunningMark as ai, Sink as ak, SinkInput as al, SlotContext as am, SlotKind as an, SourceConflict as ao, SourceEnd as ap, StackRef as aq, Started as ar, ViewStatePort as as, WiringCandidate as at, WiringQuery as au, ActionRunner as b, Badge as b0, NodeDecoration as b1, Decorations as b2, CommandRead as b4, OverlayContribution as b5, CanvasSelection as b6, LayoutHandle as b7, ActionIcon as b8, ClipboardStore as b9, ContextKey as ba, EditorBinding as bb, EditorEnv as bc, EditorEnvExtras as bd, KeySpec as be, Placement as bf, ActionRunnerOptions as c, ActionTarget as d, ApplyResult as e, ArgsOf as g, BoundPath as h, BridgeEngineCaller as i, Busy as j, CanvasPorts as k, CanvasSource as l, CommandBinding as m, CommandFailure as p, CommandPath as q, CommandResult as r, CommandRun as s, CommandsPort as u, ConfirmSpec as v, ConnectCallerOptions as w, ContextPort as y, CreatedRef as z };
4643
+ export { COMMANDS as C, EMPTY_REPORT_FOLD as E, GENERATE_STAGES as O, InputMode as W, Action as a, createResultStore as aA, currentReport as aB, defineCommand as aC, diagnosticsOf as aD, diagnosticsOfDocument as aE, failureSays as aF, foldReport as aG, generatedTree as aH, liveSlots as aI, openEngineCommands as aJ, openEngineSession as aK, parseBound as aL, parseCommandFailure as aM, reasonWire as aN, reduceFollow as aO, reducePreview as aP, reduceReport as aQ, reduceRun as aR, reportDiagnostics as aS, settleRun as aT, answering as au, bridgeCaller as av, commandPathOf as aw, commandUnderWay as ax, connectCaller as ay, createActionRunner as az, SCHEMAS as bc, disabledReason as bd, isBoundPath as be, resolveContributions as bf, rowActions as bg, ApplyUnobservedError as f, CommandDetachedError as n, CommandExitError as o, CommandUnobservedError as t, ConnectError as x };
4644
+ export type { PendingForm as $, ActionContribution as A, BindingRuntime as B, DirectEngineCaller as D, EditorPort as F, EngineCaller as G, EngineMethodResponse as H, EngineSession as I, JsonOf as J, EngineSessionOptions as K, EngineTarget as L, ErasedCommand as M, FollowSlot as N, GateChangeRequest as P, GenerateEvent as Q, GenerateStage as R, SourcePort as S, GeneratedTree as T, GraphError as U, HostBinding as V, Invocation as X, LaceReason as Y, LiveSlots as Z, OnScreen as _, CommandRead as a$, PortName as a0, PresenterPort as a1, PreviewOutcome as a2, PreviewSlot as a3, ReportEntry as a4, ReportFold as a5, ReportPath as a6, ReportSlot as a7, ResultKind as a8, ResultSlots as a9, ContributionSet as aU, PanelSpec as aV, CanvasCtx as aW, Badge as aX, Cloud as aY, NodeDecoration as aZ, Decorations as a_, ResultStore as aa, RunCtx as ab, RunOutcome as ac, RunSlot as ad, RunStage as ae, RunStageStatus as af, RunnerPorts as ag, RunningMark as ah, SelectionPort as ai, Sink as aj, SinkInput as ak, SlotContext as al, SlotKind as am, SourceConflict as an, SourceEnd as ao, StackRef as ap, Started as aq, ViewStatePort as ar, WiringCandidate as as, WiringQuery as at, ActionRunner as b, ContextKey as b0, OverlayContribution as b1, CanvasSelection as b2, LayoutHandle as b3, ActionIcon as b4, ClipboardStore as b5, EditorBinding as b6, EditorEnv as b7, EditorEnvExtras as b8, KeySpec as b9, Placement as ba, RunRef as bb, ActionRunnerOptions as c, ActionTarget as d, ApplyResult as e, ArgsOf as g, BoundPath as h, BridgeEngineCaller as i, Busy as j, CanvasPorts as k, CanvasSource as l, CommandBinding as m, CommandFailure as p, CommandPath as q, CommandResult as r, CommandRun as s, CommandsPort as u, ConfirmSpec as v, ConnectCallerOptions as w, ContextPort as y, CreatedRef as z };