@lace-cloud/canvas 0.36.0 → 0.37.1
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/dist/{Canvas-VQQEZSPA.css → Canvas-UTKLP6WI.css} +32 -1
- package/dist/{CardActions-QLTNQUVW.css → CardActions-ORDC2L5Y.css} +4 -0
- package/dist/{ContextMenu-S3JIZMET.css → ContextMenu-P457V6QE.css} +1 -1
- package/dist/{GroupNode-NJOGOGQM.css → GroupNode-2IGAUA6V.css} +14 -5
- package/dist/{ModuleNode-LPPBJZCD.css → ModuleNode-3GTXKKVQ.css} +20 -20
- package/dist/NodeDropTarget-H5L3NZS6.css +15 -0
- package/dist/{chunk-XPHDFIKV.mjs → chunk-323MYV3H.mjs} +502 -37
- package/dist/chunk-323MYV3H.mjs.map +1 -0
- package/dist/engine/index.cjs +476 -36
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +21 -5
- package/dist/engine/index.d.ts +21 -5
- package/dist/engine/index.mjs +7 -3
- package/dist/index.cjs +1830 -983
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +51 -19
- package/dist/index.d.ts +51 -19
- package/dist/index.mjs +888 -497
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-Bflzqecd.d.mts → registry-D3cL5cfF.d.mts} +193 -8
- package/dist/{registry-Bflzqecd.d.ts → registry-D3cL5cfF.d.ts} +193 -8
- package/package.json +3 -3
- package/dist/chunk-XPHDFIKV.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EngineMethod, EngineStreamMethod, BridgeMethod, MessageBridge, Diagnostic as Diagnostic$1, CanvasArrangement, CanvasView } from '@lace-cloud/proto';
|
|
1
|
+
import { 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
|
|
|
@@ -66,7 +66,7 @@ declare enum Reason {
|
|
|
66
66
|
/** REASON_CONFLICT - Generate: the tree moved under the session's base; Keep or Reload first. */
|
|
67
67
|
REASON_CONFLICT = 6,
|
|
68
68
|
/**
|
|
69
|
-
* REASON_SOURCE_REFUSED - Every mutation, save and generate: the session's source tf is refused
|
|
69
|
+
* REASON_SOURCE_REFUSED - Every mutation, save, discard and generate: the session's source tf is refused
|
|
70
70
|
* (`BundleState.source_refused`).
|
|
71
71
|
* module convert and module import: the tree's tf does not parse, has a
|
|
72
72
|
* non-empty residual report, or its Bundle fails its own validation.
|
|
@@ -157,6 +157,16 @@ declare enum Reason {
|
|
|
157
157
|
* `.terraform.lock.hcl`; `lace module lock` writes it.
|
|
158
158
|
*/
|
|
159
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
|
+
/**
|
|
163
|
+
* REASON_STALE_WORKING_STATE - Discard and Restore: the session's working IR is no longer the one the
|
|
164
|
+
* caller showed the developer (`BundleState.working_digest`) -- another
|
|
165
|
+
* holder edited, undid or redid since. Restore also: the saved IR or source
|
|
166
|
+
* tree is no longer the one the backup was captured against. Nothing was
|
|
167
|
+
* discarded or restored; re-read the state and ask again.
|
|
168
|
+
*/
|
|
169
|
+
REASON_STALE_WORKING_STATE = 24,
|
|
160
170
|
UNRECOGNIZED = -1
|
|
161
171
|
}
|
|
162
172
|
|
|
@@ -824,6 +834,44 @@ declare const UndoAction: MessageFns<UndoAction>;
|
|
|
824
834
|
interface RedoAction {
|
|
825
835
|
}
|
|
826
836
|
declare const RedoAction: MessageFns<RedoAction>;
|
|
837
|
+
/**
|
|
838
|
+
* DiscardAction returns the session's working IR to its saved IR (the
|
|
839
|
+
* record `state.lace` holds), a working-IR action: it never saves, writes
|
|
840
|
+
* `state.lace` or the tf, and leaves an open conflict open. The old working
|
|
841
|
+
* IR becomes an undo entry (an Undo brings the discarded edits back) and the
|
|
842
|
+
* redo history is cleared. `expected_working_digest` is required: the
|
|
843
|
+
* `BundleState.working_digest` of the state the caller showed the developer.
|
|
844
|
+
* The engine refuses (FailedPrecondition, `REASON_STALE_WORKING_STATE`) when
|
|
845
|
+
* the working IR's digest differs, so an edit another holder made since is
|
|
846
|
+
* never discarded unseen. A session with nothing unsaved changes nothing:
|
|
847
|
+
* no frame and no undo entry. Refused while the session is source-refused
|
|
848
|
+
* (`REASON_SOURCE_REFUSED`) and for an ephemeral session, which has no saved
|
|
849
|
+
* IR. Like Undo and Redo it is the only action of its batch.
|
|
850
|
+
*/
|
|
851
|
+
interface DiscardAction {
|
|
852
|
+
expected_working_digest: string;
|
|
853
|
+
}
|
|
854
|
+
declare const DiscardAction: MessageFns<DiscardAction>;
|
|
855
|
+
/**
|
|
856
|
+
* RestoreAction restores a host's captured working IR into a root session.
|
|
857
|
+
* The bundle, its working digest, saved digest and tree hash must come from
|
|
858
|
+
* the same BundleState frame; every field is required. The engine verifies
|
|
859
|
+
* the bundle's digest and refuses if the current session is not clean, is
|
|
860
|
+
* source-refused, or its saved IR or tree differs from the capture. An open
|
|
861
|
+
* conflict blocks only generate, so it does not refuse a restore. It also compares expected_working_digest with the current frame,
|
|
862
|
+
* so another holder's edits are never overwritten unseen. A refusal changes
|
|
863
|
+
* nothing; the host retains the capture for the developer to choose what to
|
|
864
|
+
* do with it. A successful restore is undoable and writes neither state.lace
|
|
865
|
+
* nor source tf. Like Discard it must be the only action in its batch.
|
|
866
|
+
*/
|
|
867
|
+
interface RestoreAction {
|
|
868
|
+
bundle: Bundle | undefined;
|
|
869
|
+
captured_working_digest: string;
|
|
870
|
+
captured_saved_digest: string;
|
|
871
|
+
captured_tree_hash: string;
|
|
872
|
+
expected_working_digest: string;
|
|
873
|
+
}
|
|
874
|
+
declare const RestoreAction: MessageFns<RestoreAction>;
|
|
827
875
|
/**
|
|
828
876
|
* PlaceModuleAction drops a registry module onto the canvas. Distinct from
|
|
829
877
|
* Connect/UpdateInput/etc. in that it names a *source* module (registry
|
|
@@ -864,6 +912,8 @@ interface Action {
|
|
|
864
912
|
set_directives?: SetDirectivesAction | undefined;
|
|
865
913
|
set_meta_arguments?: SetMetaArgumentsAction | undefined;
|
|
866
914
|
add_resource?: AddResourceAction | undefined;
|
|
915
|
+
discard?: DiscardAction | undefined;
|
|
916
|
+
restore?: RestoreAction | undefined;
|
|
867
917
|
}
|
|
868
918
|
declare const Action: MessageFns<Action>;
|
|
869
919
|
interface ApplyActionRequest {
|
|
@@ -876,8 +926,8 @@ declare const ApplyActionRequest: MessageFns<ApplyActionRequest>;
|
|
|
876
926
|
* two instances of one module: `source_instance`'s `output` could feed
|
|
877
927
|
* `target_instance`'s `input`, a required input with no binding. `score`
|
|
878
928
|
* is the matcher's: 100 for the same name, 90 for the same last
|
|
879
|
-
* `_`-separated word, 50 when one name contains the other
|
|
880
|
-
*
|
|
929
|
+
* `_`-separated word, 50 when one name contains the other; a pair that
|
|
930
|
+
* scores nothing is no candidate.
|
|
881
931
|
*/
|
|
882
932
|
interface WiringCandidate$1 {
|
|
883
933
|
source_instance: string;
|
|
@@ -1088,7 +1138,12 @@ interface BundleState {
|
|
|
1088
1138
|
bundle: Bundle | undefined;
|
|
1089
1139
|
can_undo: boolean;
|
|
1090
1140
|
can_redo: boolean;
|
|
1091
|
-
/**
|
|
1141
|
+
/**
|
|
1142
|
+
* True when the working IR differs from the saved IR in `state.lace`. A host
|
|
1143
|
+
* that mirrors a document's dirty state marks it clean only from a frame
|
|
1144
|
+
* whose `unsaved` is false, never from the promise of a save or discard it
|
|
1145
|
+
* requested: edits, saves, undo and Generate from any holder move this flag.
|
|
1146
|
+
*/
|
|
1092
1147
|
unsaved: boolean;
|
|
1093
1148
|
/**
|
|
1094
1149
|
* The engine validator's findings for this state, in the validator's
|
|
@@ -1142,6 +1197,17 @@ interface BundleState {
|
|
|
1142
1197
|
* window is refused (FailedPrecondition).
|
|
1143
1198
|
*/
|
|
1144
1199
|
generating: boolean;
|
|
1200
|
+
/**
|
|
1201
|
+
* The content identity of the working IR (`encoding.Digest`): the
|
|
1202
|
+
* value a DiscardAction's `expected_working_digest` names. Empty while
|
|
1203
|
+
* there is no working IR.
|
|
1204
|
+
*/
|
|
1205
|
+
working_digest: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* The content identity of the saved IR (`encoding.Digest`), captured with
|
|
1208
|
+
* this frame's working IR for RestoreAction. Empty if unavailable.
|
|
1209
|
+
*/
|
|
1210
|
+
saved_digest: string;
|
|
1145
1211
|
}
|
|
1146
1212
|
declare const BundleState: MessageFns<BundleState>;
|
|
1147
1213
|
/**
|
|
@@ -1198,6 +1264,11 @@ interface CreatedRef$1 {
|
|
|
1198
1264
|
* the source child ID. Empty otherwise.
|
|
1199
1265
|
*/
|
|
1200
1266
|
source_id: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* Set when the child was promoted out of a dissolved group (ungroup): the
|
|
1269
|
+
* group's id in `scope`, which with source_id names the child. Empty otherwise.
|
|
1270
|
+
*/
|
|
1271
|
+
group_id: string;
|
|
1201
1272
|
}
|
|
1202
1273
|
declare const CreatedRef$1: MessageFns<CreatedRef$1>;
|
|
1203
1274
|
/**
|
|
@@ -1700,6 +1771,44 @@ declare const COMMANDS: {
|
|
|
1700
1771
|
readonly hidden: false;
|
|
1701
1772
|
readonly yes: false;
|
|
1702
1773
|
};
|
|
1774
|
+
readonly "events list": {
|
|
1775
|
+
readonly path: "events list";
|
|
1776
|
+
readonly positionals: readonly [];
|
|
1777
|
+
readonly flags: {
|
|
1778
|
+
readonly cursor: {
|
|
1779
|
+
readonly type: "string";
|
|
1780
|
+
};
|
|
1781
|
+
readonly limit: {
|
|
1782
|
+
readonly type: "int";
|
|
1783
|
+
};
|
|
1784
|
+
readonly org: {
|
|
1785
|
+
readonly type: "string";
|
|
1786
|
+
};
|
|
1787
|
+
readonly output: {
|
|
1788
|
+
readonly type: "string";
|
|
1789
|
+
readonly values: readonly ["table", "json"];
|
|
1790
|
+
readonly short: "o";
|
|
1791
|
+
};
|
|
1792
|
+
readonly since: {
|
|
1793
|
+
readonly type: "string";
|
|
1794
|
+
};
|
|
1795
|
+
readonly subjectId: {
|
|
1796
|
+
readonly type: "string";
|
|
1797
|
+
};
|
|
1798
|
+
readonly subjectKind: {
|
|
1799
|
+
readonly type: "string";
|
|
1800
|
+
};
|
|
1801
|
+
readonly type: {
|
|
1802
|
+
readonly type: "string";
|
|
1803
|
+
};
|
|
1804
|
+
readonly until: {
|
|
1805
|
+
readonly type: "string";
|
|
1806
|
+
};
|
|
1807
|
+
};
|
|
1808
|
+
readonly effect: "read";
|
|
1809
|
+
readonly hidden: false;
|
|
1810
|
+
readonly yes: false;
|
|
1811
|
+
};
|
|
1703
1812
|
readonly "hooks install": {
|
|
1704
1813
|
readonly path: "hooks install";
|
|
1705
1814
|
readonly positionals: readonly [];
|
|
@@ -2648,6 +2757,24 @@ declare const COMMANDS: {
|
|
|
2648
2757
|
readonly hidden: false;
|
|
2649
2758
|
readonly yes: false;
|
|
2650
2759
|
};
|
|
2760
|
+
readonly "stack validate": {
|
|
2761
|
+
readonly path: "stack validate";
|
|
2762
|
+
readonly positionals: readonly [];
|
|
2763
|
+
readonly flags: {
|
|
2764
|
+
readonly output: {
|
|
2765
|
+
readonly type: "string";
|
|
2766
|
+
readonly values: readonly ["table", "json"];
|
|
2767
|
+
readonly short: "o";
|
|
2768
|
+
};
|
|
2769
|
+
readonly source: {
|
|
2770
|
+
readonly type: "string";
|
|
2771
|
+
readonly required: true;
|
|
2772
|
+
};
|
|
2773
|
+
};
|
|
2774
|
+
readonly effect: "read";
|
|
2775
|
+
readonly hidden: false;
|
|
2776
|
+
readonly yes: false;
|
|
2777
|
+
};
|
|
2651
2778
|
readonly "team current": {
|
|
2652
2779
|
readonly path: "team current";
|
|
2653
2780
|
readonly positionals: readonly [];
|
|
@@ -3410,6 +3537,18 @@ declare const SCHEMAS: {
|
|
|
3410
3537
|
}, z.core.$strip>;
|
|
3411
3538
|
advisories: z.ZodArray<z.ZodObject<{
|
|
3412
3539
|
id: z.ZodString;
|
|
3540
|
+
orgId: z.ZodString;
|
|
3541
|
+
contextRunId: z.ZodNullable<z.ZodString>;
|
|
3542
|
+
contextInstallId: z.ZodNullable<z.ZodString>;
|
|
3543
|
+
contextStackId: z.ZodNullable<z.ZodString>;
|
|
3544
|
+
contextTreeHash: z.ZodNullable<z.ZodString>;
|
|
3545
|
+
actedOn: z.ZodNullable<z.ZodString>;
|
|
3546
|
+
actedAt: z.ZodNullable<z.ZodString>;
|
|
3547
|
+
actedByUserId: z.ZodNullable<z.ZodString>;
|
|
3548
|
+
feedbackThumbs: z.ZodNullable<z.ZodString>;
|
|
3549
|
+
feedbackText: z.ZodNullable<z.ZodString>;
|
|
3550
|
+
emitterKind: z.ZodString;
|
|
3551
|
+
emitterHeededRate: z.ZodNumber;
|
|
3413
3552
|
manifestation: z.ZodString;
|
|
3414
3553
|
emittedByInstallId: z.ZodString;
|
|
3415
3554
|
emittedByDisplayName: z.ZodString;
|
|
@@ -3429,6 +3568,18 @@ declare const SCHEMAS: {
|
|
|
3429
3568
|
remediationFingerprint: z.ZodString;
|
|
3430
3569
|
advisories: z.ZodArray<z.ZodObject<{
|
|
3431
3570
|
id: z.ZodString;
|
|
3571
|
+
orgId: z.ZodString;
|
|
3572
|
+
contextRunId: z.ZodNullable<z.ZodString>;
|
|
3573
|
+
contextInstallId: z.ZodNullable<z.ZodString>;
|
|
3574
|
+
contextStackId: z.ZodNullable<z.ZodString>;
|
|
3575
|
+
contextTreeHash: z.ZodNullable<z.ZodString>;
|
|
3576
|
+
actedOn: z.ZodNullable<z.ZodString>;
|
|
3577
|
+
actedAt: z.ZodNullable<z.ZodString>;
|
|
3578
|
+
actedByUserId: z.ZodNullable<z.ZodString>;
|
|
3579
|
+
feedbackThumbs: z.ZodNullable<z.ZodString>;
|
|
3580
|
+
feedbackText: z.ZodNullable<z.ZodString>;
|
|
3581
|
+
emitterKind: z.ZodString;
|
|
3582
|
+
emitterHeededRate: z.ZodNumber;
|
|
3432
3583
|
manifestation: z.ZodString;
|
|
3433
3584
|
emittedByInstallId: z.ZodString;
|
|
3434
3585
|
emittedByDisplayName: z.ZodString;
|
|
@@ -3722,6 +3873,12 @@ declare const SCHEMAS: {
|
|
|
3722
3873
|
initiatedByName: z.ZodNullable<z.ZodString>;
|
|
3723
3874
|
}, z.core.$strip>>;
|
|
3724
3875
|
}, z.core.$strip>;
|
|
3876
|
+
'stack validate': z.ZodObject<{
|
|
3877
|
+
kind: z.ZodLiteral<"git">;
|
|
3878
|
+
repoUrl: z.ZodString;
|
|
3879
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
3880
|
+
path: z.ZodOptional<z.ZodString>;
|
|
3881
|
+
}, z.core.$strip>;
|
|
3725
3882
|
'module import': z.ZodObject<{
|
|
3726
3883
|
changed: z.ZodBoolean;
|
|
3727
3884
|
written: z.ZodArray<z.ZodString>;
|
|
@@ -4097,6 +4254,8 @@ type CanvasSource = {
|
|
|
4097
4254
|
canUndo: boolean;
|
|
4098
4255
|
canRedo: boolean;
|
|
4099
4256
|
unsaved: boolean;
|
|
4257
|
+
workingDigest: string;
|
|
4258
|
+
savedDigest: string;
|
|
4100
4259
|
ungenerated: boolean;
|
|
4101
4260
|
conflict: SourceConflict | null;
|
|
4102
4261
|
sourceRefused: boolean;
|
|
@@ -4170,6 +4329,8 @@ type CreatedRef = {
|
|
|
4170
4329
|
id: string;
|
|
4171
4330
|
moduleKey: string;
|
|
4172
4331
|
sourceId: string;
|
|
4332
|
+
/** The group the child was promoted out of by an ungroup, in `scope`; empty otherwise. */
|
|
4333
|
+
groupId: string;
|
|
4173
4334
|
};
|
|
4174
4335
|
/**
|
|
4175
4336
|
* One output → input pair the engine's matcher scores between two instances
|
|
@@ -4304,6 +4465,20 @@ declare function openEngineCommands(caller: EngineCaller, { cwd }: {
|
|
|
4304
4465
|
declare function openEngineSession(caller: DirectEngineCaller, target: EngineTarget, options?: EngineSessionOptions): Promise<EngineSession>;
|
|
4305
4466
|
declare function openEngineSession(caller: BridgeEngineCaller, target: NonFixtureTarget, options?: EngineSessionOptions): Promise<EngineSession>;
|
|
4306
4467
|
|
|
4468
|
+
type DissolvedGroup = {
|
|
4469
|
+
path: string;
|
|
4470
|
+
moduleKey: string;
|
|
4471
|
+
at: XY;
|
|
4472
|
+
collapsed: boolean;
|
|
4473
|
+
};
|
|
4474
|
+
type Dissolution = {
|
|
4475
|
+
state: 'done' | 'undone';
|
|
4476
|
+
groups: readonly DissolvedGroup[];
|
|
4477
|
+
deleted: readonly string[];
|
|
4478
|
+
created: readonly CreatedRef[];
|
|
4479
|
+
content: unknown;
|
|
4480
|
+
};
|
|
4481
|
+
|
|
4307
4482
|
/** The keys an action may bind with no modifier. */
|
|
4308
4483
|
declare const BARE_KEYS: readonly ["Delete", "Backspace"];
|
|
4309
4484
|
type BareKey = (typeof BARE_KEYS)[number];
|
|
@@ -4320,7 +4495,7 @@ type CanvasSelection = {
|
|
|
4320
4495
|
nodes: readonly string[];
|
|
4321
4496
|
edges: readonly string[];
|
|
4322
4497
|
};
|
|
4323
|
-
type ContextKey = 'root' | 'sessionId' | 'stack' | 'editable' | 'saved' | 'unsaved' | 'resolved' | 'conflict' | 'sourceRefused' | 'needsConversion' | 'selection.node' | 'selection.several' | 'selection.entryScope' | 'selection.oneScope' | 'selection.edge' | 'selection.edges' | 'diagnostics' | 'settingsOpen' | 'generateIdle' | 'generating' | 'ungenerated' | 'undoable' | 'redoable';
|
|
4498
|
+
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';
|
|
4324
4499
|
type RunCtx = {
|
|
4325
4500
|
root?: string;
|
|
4326
4501
|
sessionId?: string;
|
|
@@ -4415,6 +4590,12 @@ type CommandBinding<P extends BoundPath> = {
|
|
|
4415
4590
|
kind: ResultFor<P>;
|
|
4416
4591
|
};
|
|
4417
4592
|
invalidates?: true | 'start+settle';
|
|
4593
|
+
preflight?: {
|
|
4594
|
+
[Q in BoundPath]: {
|
|
4595
|
+
path: Q;
|
|
4596
|
+
args: (ctx: RunCtx, target: ActionTarget) => Partial<ArgsOf<Q>>;
|
|
4597
|
+
};
|
|
4598
|
+
}[BoundPath];
|
|
4418
4599
|
};
|
|
4419
4600
|
type ClipboardStore = {
|
|
4420
4601
|
get: () => {
|
|
@@ -4443,6 +4624,7 @@ type EditorEnv = {
|
|
|
4443
4624
|
get: () => CanvasArrangement;
|
|
4444
4625
|
update: (a: CanvasArrangement) => void;
|
|
4445
4626
|
};
|
|
4627
|
+
dissolved?: (dissolution: Dissolution) => void;
|
|
4446
4628
|
layout: LayoutHandle;
|
|
4447
4629
|
};
|
|
4448
4630
|
type EditorBinding = {
|
|
@@ -4470,8 +4652,10 @@ type ErasedCommand = {
|
|
|
4470
4652
|
confirms: boolean;
|
|
4471
4653
|
resultKind: ResultKind;
|
|
4472
4654
|
invalidates?: true | 'start+settle';
|
|
4655
|
+
preflightPath?: BoundPath;
|
|
4473
4656
|
partialArgs: (ctx: RunCtx, target: ActionTarget) => Record<string, unknown>;
|
|
4474
4657
|
confirmSpec: (ctx: RunCtx, target: ActionTarget, formArgs: Record<string, unknown>) => ConfirmSpec | undefined;
|
|
4658
|
+
preflight: (rt: BindingRuntime, ctx: RunCtx, target: ActionTarget, signal: AbortSignal) => Promise<boolean>;
|
|
4475
4659
|
start: (rt: BindingRuntime, ctx: RunCtx, target: ActionTarget, formArgs: Record<string, unknown>, signal: AbortSignal) => Promise<{
|
|
4476
4660
|
cancel: () => Promise<void>;
|
|
4477
4661
|
} | null>;
|
|
@@ -4710,6 +4894,7 @@ type CommandRun = {
|
|
|
4710
4894
|
};
|
|
4711
4895
|
type ActionRunnerOptions = {
|
|
4712
4896
|
onPendingFormChange?(form: PendingForm): void;
|
|
4897
|
+
onDissolved?(dissolution: Dissolution): void;
|
|
4713
4898
|
onRunLog?(line: string, run: CommandRun): void;
|
|
4714
4899
|
};
|
|
4715
4900
|
declare function createActionRunner(ports: RunnerPorts, store: ResultStore, options?: ActionRunnerOptions): ActionRunner;
|
|
@@ -4721,5 +4906,5 @@ declare function resolveContributions<P extends PanelSpec>(all: ContributionSet<
|
|
|
4721
4906
|
/** Every resolved action placed in a given panel's row (a `row:<panel>` placement). */
|
|
4722
4907
|
declare function rowActions(resolved: ContributionSet, panelId: string): readonly ActionContribution[];
|
|
4723
4908
|
|
|
4724
|
-
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
|
|
4725
|
-
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
|
|
4909
|
+
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 };
|
|
4910
|
+
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 };
|