@lace-cloud/canvas 0.22.0 → 0.24.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/README.md +5 -1
- package/dist/PaperGrid-JG4GBRDP.css +19 -0
- package/dist/{chunk-WNBCPSQJ.mjs → chunk-HZWABSPP.mjs} +208 -72
- package/dist/chunk-HZWABSPP.mjs.map +1 -0
- package/dist/engine/index.cjs +207 -70
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +2 -2
- package/dist/engine/index.d.ts +2 -2
- package/dist/engine/index.mjs +3 -1
- package/dist/index.cjs +777 -677
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +364 -399
- package/dist/index.mjs.map +1 -1
- package/dist/{mapping-DpFUMDvW.d.ts → mapping-Z-STJQRP.d.mts} +177 -52
- package/dist/{mapping-DpFUMDvW.d.mts → mapping-Z-STJQRP.d.ts} +177 -52
- package/package.json +3 -3
- package/dist/PaperGrid-WFRL3N4P.css +0 -25
- package/dist/chunk-WNBCPSQJ.mjs.map +0 -1
|
@@ -1433,6 +1433,8 @@ declare enum Reason {
|
|
|
1433
1433
|
/**
|
|
1434
1434
|
* REASON_NOT_GIT_REPOSITORY - Generate, module convert, stack import and module fmt: the authoring
|
|
1435
1435
|
* root is not inside a git working tree.
|
|
1436
|
+
* stack create --source: the directory is not inside a git working tree,
|
|
1437
|
+
* so it has no place in a repository to bind the stack to.
|
|
1436
1438
|
*/
|
|
1437
1439
|
REASON_NOT_GIT_REPOSITORY = 8,
|
|
1438
1440
|
/** REASON_GENERATE_IN_PROGRESS - Generate: a Generate is already running on the session. */
|
|
@@ -1476,6 +1478,34 @@ declare enum Reason {
|
|
|
1476
1478
|
* `unauthenticated`, which `ReasonDetail.api_code` then names.
|
|
1477
1479
|
*/
|
|
1478
1480
|
REASON_UNAUTHENTICATED = 16,
|
|
1481
|
+
/**
|
|
1482
|
+
* REASON_IMPORT_RESIDUAL - stack import: a resource in the statefile has no import id the CLI
|
|
1483
|
+
* derives. The failure names each in `importResiduals`; --allow-partial
|
|
1484
|
+
* writes the import without them. Nothing was written.
|
|
1485
|
+
*/
|
|
1486
|
+
REASON_IMPORT_RESIDUAL = 17,
|
|
1487
|
+
/**
|
|
1488
|
+
* REASON_STACK_HAS_STATE - stack import: the stack's state already holds resources, and import
|
|
1489
|
+
* adopts into an empty stack. Nothing was read or written.
|
|
1490
|
+
*/
|
|
1491
|
+
REASON_STACK_HAS_STATE = 18,
|
|
1492
|
+
/**
|
|
1493
|
+
* REASON_NO_ORIGIN_REMOTE - stack create --source: the directory's repository has no `origin`
|
|
1494
|
+
* remote, whose URL is the repository a stack's source binding names.
|
|
1495
|
+
*/
|
|
1496
|
+
REASON_NO_ORIGIN_REMOTE = 19,
|
|
1497
|
+
/**
|
|
1498
|
+
* REASON_IMPORT_UNDECLARED - stack import: the statefile holds resources the converted tree does not
|
|
1499
|
+
* declare, named in the failure's `addresses`; an import block adopts
|
|
1500
|
+
* only a resource the tree declares. Nothing was written.
|
|
1501
|
+
*/
|
|
1502
|
+
REASON_IMPORT_UNDECLARED = 20,
|
|
1503
|
+
/**
|
|
1504
|
+
* REASON_ALREADY_IMPORTED - stack import: the tree already imports resources the statefile holds,
|
|
1505
|
+
* named in the failure's `addresses`; terraform refuses two imports of
|
|
1506
|
+
* one address. Nothing was written.
|
|
1507
|
+
*/
|
|
1508
|
+
REASON_ALREADY_IMPORTED = 21,
|
|
1479
1509
|
UNRECOGNIZED = -1
|
|
1480
1510
|
}
|
|
1481
1511
|
declare enum ConflictChoice {
|
|
@@ -2511,6 +2541,50 @@ interface MessageFns<T> {
|
|
|
2511
2541
|
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
2512
2542
|
}
|
|
2513
2543
|
|
|
2544
|
+
declare const REASON_PREFIX = "REASON_";
|
|
2545
|
+
type WireSpelling<Name> = Name extends `${typeof REASON_PREFIX}${infer Rest}` ? Lowercase<Rest> : never;
|
|
2546
|
+
type LaceReason = WireSpelling<keyof typeof Reason>;
|
|
2547
|
+
declare function reasonWire(reason: Reason): string;
|
|
2548
|
+
declare const commandFailureSchema: z.ZodObject<{
|
|
2549
|
+
reason: z.ZodCustom<LaceReason, LaceReason>;
|
|
2550
|
+
message: z.ZodString;
|
|
2551
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2552
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
2553
|
+
importResiduals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2554
|
+
address: z.ZodString;
|
|
2555
|
+
type: z.ZodString;
|
|
2556
|
+
reason: z.ZodString;
|
|
2557
|
+
}, z.core.$strip>>>;
|
|
2558
|
+
addresses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2559
|
+
apiCode: z.ZodOptional<z.ZodString>;
|
|
2560
|
+
}, z.core.$strict>;
|
|
2561
|
+
type CommandFailure = z.infer<typeof commandFailureSchema>;
|
|
2562
|
+
declare const gateChangeRequestSchema: z.ZodObject<{
|
|
2563
|
+
id: z.ZodString;
|
|
2564
|
+
state: z.ZodString;
|
|
2565
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
2566
|
+
id: z.ZodString;
|
|
2567
|
+
state: z.ZodString;
|
|
2568
|
+
decidedBy: z.ZodEnum<{
|
|
2569
|
+
lace: "lace";
|
|
2570
|
+
ecm: "ecm";
|
|
2571
|
+
}>;
|
|
2572
|
+
recordId: z.ZodNullable<z.ZodString>;
|
|
2573
|
+
}, z.core.$strip>>;
|
|
2574
|
+
records: z.ZodArray<z.ZodObject<{
|
|
2575
|
+
id: z.ZodString;
|
|
2576
|
+
externalSystemId: z.ZodString;
|
|
2577
|
+
kind: z.ZodString;
|
|
2578
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
2579
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
2580
|
+
state: z.ZodNullable<z.ZodString>;
|
|
2581
|
+
decision: z.ZodNullable<z.ZodEnum<{
|
|
2582
|
+
approved: "approved";
|
|
2583
|
+
rejected: "rejected";
|
|
2584
|
+
}>>;
|
|
2585
|
+
}, z.core.$strip>>;
|
|
2586
|
+
}, z.core.$strip>;
|
|
2587
|
+
type GateChangeRequest = z.infer<typeof gateChangeRequestSchema>;
|
|
2514
2588
|
/**
|
|
2515
2589
|
* Every path an overlay, panel or action binds — a bound path with no
|
|
2516
2590
|
* golden is a failing test, not a silent gap.
|
|
@@ -2564,6 +2638,19 @@ declare const SCHEMAS: {
|
|
|
2564
2638
|
treeHash: z.ZodString;
|
|
2565
2639
|
}, z.core.$strip>>>;
|
|
2566
2640
|
exitClass: z.ZodString;
|
|
2641
|
+
failure: z.ZodOptional<z.ZodObject<{
|
|
2642
|
+
reason: z.ZodCustom<LaceReason, LaceReason>;
|
|
2643
|
+
message: z.ZodString;
|
|
2644
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2645
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
2646
|
+
importResiduals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2647
|
+
address: z.ZodString;
|
|
2648
|
+
type: z.ZodString;
|
|
2649
|
+
reason: z.ZodString;
|
|
2650
|
+
}, z.core.$strip>>>;
|
|
2651
|
+
addresses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2652
|
+
apiCode: z.ZodOptional<z.ZodString>;
|
|
2653
|
+
}, z.core.$strict>>;
|
|
2567
2654
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
2568
2655
|
severity: z.ZodEnum<{
|
|
2569
2656
|
error: "error";
|
|
@@ -2632,6 +2719,19 @@ declare const SCHEMAS: {
|
|
|
2632
2719
|
treeHash: z.ZodString;
|
|
2633
2720
|
}, z.core.$strip>>>;
|
|
2634
2721
|
exitClass: z.ZodString;
|
|
2722
|
+
failure: z.ZodOptional<z.ZodObject<{
|
|
2723
|
+
reason: z.ZodCustom<LaceReason, LaceReason>;
|
|
2724
|
+
message: z.ZodString;
|
|
2725
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2726
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
2727
|
+
importResiduals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2728
|
+
address: z.ZodString;
|
|
2729
|
+
type: z.ZodString;
|
|
2730
|
+
reason: z.ZodString;
|
|
2731
|
+
}, z.core.$strip>>>;
|
|
2732
|
+
addresses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2733
|
+
apiCode: z.ZodOptional<z.ZodString>;
|
|
2734
|
+
}, z.core.$strict>>;
|
|
2635
2735
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
2636
2736
|
severity: z.ZodEnum<{
|
|
2637
2737
|
error: "error";
|
|
@@ -3066,25 +3166,28 @@ declare const SCHEMAS: {
|
|
|
3066
3166
|
}, z.core.$strip>;
|
|
3067
3167
|
changeRequest: z.ZodNullable<z.ZodObject<{
|
|
3068
3168
|
id: z.ZodString;
|
|
3069
|
-
orgId: z.ZodString;
|
|
3070
|
-
teamId: z.ZodString;
|
|
3071
|
-
runId: z.ZodString;
|
|
3072
|
-
bindingId: z.ZodNullable<z.ZodString>;
|
|
3073
|
-
invocationId: z.ZodNullable<z.ZodString>;
|
|
3074
3169
|
state: z.ZodString;
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3170
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
3171
|
+
id: z.ZodString;
|
|
3172
|
+
state: z.ZodString;
|
|
3173
|
+
decidedBy: z.ZodEnum<{
|
|
3174
|
+
lace: "lace";
|
|
3175
|
+
ecm: "ecm";
|
|
3176
|
+
}>;
|
|
3177
|
+
recordId: z.ZodNullable<z.ZodString>;
|
|
3178
|
+
}, z.core.$strip>>;
|
|
3179
|
+
records: z.ZodArray<z.ZodObject<{
|
|
3180
|
+
id: z.ZodString;
|
|
3181
|
+
externalSystemId: z.ZodString;
|
|
3182
|
+
kind: z.ZodString;
|
|
3183
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
3184
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
3185
|
+
state: z.ZodNullable<z.ZodString>;
|
|
3186
|
+
decision: z.ZodNullable<z.ZodEnum<{
|
|
3187
|
+
approved: "approved";
|
|
3188
|
+
rejected: "rejected";
|
|
3189
|
+
}>>;
|
|
3190
|
+
}, z.core.$strip>>;
|
|
3088
3191
|
}, z.core.$strip>>;
|
|
3089
3192
|
}, z.core.$strip>, z.ZodObject<{
|
|
3090
3193
|
type: z.ZodLiteral<"result">;
|
|
@@ -3153,25 +3256,28 @@ declare const SCHEMAS: {
|
|
|
3153
3256
|
}, z.core.$strip>;
|
|
3154
3257
|
changeRequest: z.ZodNullable<z.ZodObject<{
|
|
3155
3258
|
id: z.ZodString;
|
|
3156
|
-
orgId: z.ZodString;
|
|
3157
|
-
teamId: z.ZodString;
|
|
3158
|
-
runId: z.ZodString;
|
|
3159
|
-
bindingId: z.ZodNullable<z.ZodString>;
|
|
3160
|
-
invocationId: z.ZodNullable<z.ZodString>;
|
|
3161
3259
|
state: z.ZodString;
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3260
|
+
requirements: z.ZodArray<z.ZodObject<{
|
|
3261
|
+
id: z.ZodString;
|
|
3262
|
+
state: z.ZodString;
|
|
3263
|
+
decidedBy: z.ZodEnum<{
|
|
3264
|
+
lace: "lace";
|
|
3265
|
+
ecm: "ecm";
|
|
3266
|
+
}>;
|
|
3267
|
+
recordId: z.ZodNullable<z.ZodString>;
|
|
3268
|
+
}, z.core.$strip>>;
|
|
3269
|
+
records: z.ZodArray<z.ZodObject<{
|
|
3270
|
+
id: z.ZodString;
|
|
3271
|
+
externalSystemId: z.ZodString;
|
|
3272
|
+
kind: z.ZodString;
|
|
3273
|
+
externalRef: z.ZodNullable<z.ZodString>;
|
|
3274
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
3275
|
+
state: z.ZodNullable<z.ZodString>;
|
|
3276
|
+
decision: z.ZodNullable<z.ZodEnum<{
|
|
3277
|
+
approved: "approved";
|
|
3278
|
+
rejected: "rejected";
|
|
3279
|
+
}>>;
|
|
3280
|
+
}, z.core.$strip>>;
|
|
3175
3281
|
}, z.core.$strip>>;
|
|
3176
3282
|
}, z.core.$strip>, z.ZodObject<{
|
|
3177
3283
|
type: z.ZodLiteral<"result">;
|
|
@@ -3227,6 +3333,10 @@ declare const SCHEMAS: {
|
|
|
3227
3333
|
error: z.ZodNullable<z.ZodString>;
|
|
3228
3334
|
}, z.core.$strip>], "type">;
|
|
3229
3335
|
'stack scan': z.ZodObject<{
|
|
3336
|
+
stack: z.ZodObject<{
|
|
3337
|
+
id: z.ZodString;
|
|
3338
|
+
slug: z.ZodString;
|
|
3339
|
+
}, z.core.$strip>;
|
|
3230
3340
|
triggered: z.ZodBoolean;
|
|
3231
3341
|
reason: z.ZodNullable<z.ZodString>;
|
|
3232
3342
|
settled: z.ZodNullable<z.ZodObject<{
|
|
@@ -3234,6 +3344,8 @@ declare const SCHEMAS: {
|
|
|
3234
3344
|
driftCount: z.ZodNumber;
|
|
3235
3345
|
scannedAt: z.ZodString;
|
|
3236
3346
|
undeterminedReason: z.ZodNullable<z.ZodString>;
|
|
3347
|
+
standingDriftFindings: z.ZodNumber;
|
|
3348
|
+
footprintDestroyed: z.ZodBoolean;
|
|
3237
3349
|
drift: z.ZodNullable<z.ZodObject<{
|
|
3238
3350
|
stackId: z.ZodString;
|
|
3239
3351
|
scannedAt: z.ZodString;
|
|
@@ -3305,8 +3417,13 @@ declare const SCHEMAS: {
|
|
|
3305
3417
|
slug: z.ZodString;
|
|
3306
3418
|
}, z.core.$strip>;
|
|
3307
3419
|
written: z.ZodArray<z.ZodString>;
|
|
3420
|
+
removed: z.ZodArray<z.ZodString>;
|
|
3308
3421
|
importBlocks: z.ZodNumber;
|
|
3309
|
-
importResiduals: z.ZodArray<z.
|
|
3422
|
+
importResiduals: z.ZodArray<z.ZodObject<{
|
|
3423
|
+
address: z.ZodString;
|
|
3424
|
+
type: z.ZodString;
|
|
3425
|
+
reason: z.ZodString;
|
|
3426
|
+
}, z.core.$strip>>;
|
|
3310
3427
|
validate: z.ZodObject<{
|
|
3311
3428
|
root: z.ZodOptional<z.ZodString>;
|
|
3312
3429
|
treeHash: z.ZodOptional<z.ZodString>;
|
|
@@ -3355,6 +3472,19 @@ declare const SCHEMAS: {
|
|
|
3355
3472
|
treeHash: z.ZodString;
|
|
3356
3473
|
}, z.core.$strip>>>;
|
|
3357
3474
|
exitClass: z.ZodString;
|
|
3475
|
+
failure: z.ZodOptional<z.ZodObject<{
|
|
3476
|
+
reason: z.ZodCustom<LaceReason, LaceReason>;
|
|
3477
|
+
message: z.ZodString;
|
|
3478
|
+
url: z.ZodOptional<z.ZodString>;
|
|
3479
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
3480
|
+
importResiduals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3481
|
+
address: z.ZodString;
|
|
3482
|
+
type: z.ZodString;
|
|
3483
|
+
reason: z.ZodString;
|
|
3484
|
+
}, z.core.$strip>>>;
|
|
3485
|
+
addresses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3486
|
+
apiCode: z.ZodOptional<z.ZodString>;
|
|
3487
|
+
}, z.core.$strict>>;
|
|
3358
3488
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
3359
3489
|
severity: z.ZodEnum<{
|
|
3360
3490
|
error: "error";
|
|
@@ -3579,18 +3709,6 @@ type BoundPath = keyof typeof SCHEMAS;
|
|
|
3579
3709
|
declare function isBoundPath(path: string): path is BoundPath;
|
|
3580
3710
|
type JsonOf<P> = P extends BoundPath ? z.infer<(typeof SCHEMAS)[P]> : unknown;
|
|
3581
3711
|
declare function parseBound<P extends BoundPath>(path: P, data: unknown): JsonOf<P>;
|
|
3582
|
-
declare const REASON_PREFIX = "REASON_";
|
|
3583
|
-
type WireSpelling<Name> = Name extends `${typeof REASON_PREFIX}${infer Rest}` ? Lowercase<Rest> : never;
|
|
3584
|
-
type LaceReason = WireSpelling<keyof typeof Reason>;
|
|
3585
|
-
declare function reasonWire(reason: Reason): string;
|
|
3586
|
-
declare const commandFailureSchema: z.ZodObject<{
|
|
3587
|
-
reason: z.ZodCustom<LaceReason, LaceReason>;
|
|
3588
|
-
message: z.ZodString;
|
|
3589
|
-
url: z.ZodOptional<z.ZodString>;
|
|
3590
|
-
tool: z.ZodOptional<z.ZodString>;
|
|
3591
|
-
apiCode: z.ZodOptional<z.ZodString>;
|
|
3592
|
-
}, z.core.$strict>;
|
|
3593
|
-
type CommandFailure = z.infer<typeof commandFailureSchema>;
|
|
3594
3712
|
declare function carriesFailure(data: unknown): boolean;
|
|
3595
3713
|
declare function parseCommandFailure(data: unknown): CommandFailure;
|
|
3596
3714
|
|
|
@@ -3719,6 +3837,9 @@ declare class ConnectError extends Error {
|
|
|
3719
3837
|
declare class CommandDetachedError extends Error {
|
|
3720
3838
|
constructor();
|
|
3721
3839
|
}
|
|
3840
|
+
declare class CommandUnobservedError extends Error {
|
|
3841
|
+
constructor();
|
|
3842
|
+
}
|
|
3722
3843
|
type Invocation<P extends BoundPath> = {
|
|
3723
3844
|
events: AsyncIterable<JsonOf<P>>;
|
|
3724
3845
|
cancel: () => Promise<void>;
|
|
@@ -3829,6 +3950,7 @@ type ActionTarget = {
|
|
|
3829
3950
|
groupId?: string;
|
|
3830
3951
|
diagnostic?: Diagnostic$1;
|
|
3831
3952
|
runId?: string;
|
|
3953
|
+
failure?: CommandFailure;
|
|
3832
3954
|
};
|
|
3833
3955
|
type Placement = 'toolbar' | 'node-menu' | 'pane-menu' | {
|
|
3834
3956
|
row: string;
|
|
@@ -3864,7 +3986,7 @@ type CommandBinding<P extends BoundPath> = {
|
|
|
3864
3986
|
kind: 'command';
|
|
3865
3987
|
path: P;
|
|
3866
3988
|
args: (ctx: RunCtx, target: ActionTarget) => Partial<ArgsOf<P>>;
|
|
3867
|
-
confirm?: (ctx: RunCtx, args: ArgsOf<P
|
|
3989
|
+
confirm?: (ctx: RunCtx, args: ArgsOf<P>, target: ActionTarget) => ConfirmSpec;
|
|
3868
3990
|
result: Sink<JsonOf<P>> & {
|
|
3869
3991
|
kind: ResultFor<P>;
|
|
3870
3992
|
};
|
|
@@ -3936,6 +4058,7 @@ type ActionIcon = 'validate' | 'convert' | 'save' | 'generate' | 'undo' | 'redo'
|
|
|
3936
4058
|
type ActionContribution = {
|
|
3937
4059
|
id: string;
|
|
3938
4060
|
label: string;
|
|
4061
|
+
choice?: string;
|
|
3939
4062
|
icon?: ActionIcon;
|
|
3940
4063
|
primary?: {
|
|
3941
4064
|
when?: ContextKey;
|
|
@@ -3953,6 +4076,7 @@ type ActionContribution = {
|
|
|
3953
4076
|
requiredPorts: readonly PortName[];
|
|
3954
4077
|
requiredContext?: readonly ContextKey[];
|
|
3955
4078
|
requiredTarget?: readonly (keyof ActionTarget)[];
|
|
4079
|
+
answers?: readonly LaceReason[];
|
|
3956
4080
|
enabledWhen?: readonly {
|
|
3957
4081
|
key: ContextKey;
|
|
3958
4082
|
reason: string;
|
|
@@ -4007,7 +4131,8 @@ type RunOutcome = {
|
|
|
4007
4131
|
kind: 'succeeded';
|
|
4008
4132
|
} | {
|
|
4009
4133
|
kind: 'awaiting-approval';
|
|
4010
|
-
|
|
4134
|
+
changeRequest: GateChangeRequest;
|
|
4135
|
+
runUrl: string | null;
|
|
4011
4136
|
} | {
|
|
4012
4137
|
kind: 'blocked';
|
|
4013
4138
|
message: string;
|
|
@@ -4208,4 +4333,4 @@ declare function openEngineCommands(caller: EngineCaller, { cwd }: {
|
|
|
4208
4333
|
declare function openEngineSession(caller: DirectEngineCaller, target: EngineTarget, options?: EngineSessionOptions): Promise<EngineSession>;
|
|
4209
4334
|
declare function openEngineSession(caller: BridgeEngineCaller, target: NonFixtureTarget, options?: EngineSessionOptions): Promise<EngineSession>;
|
|
4210
4335
|
|
|
4211
|
-
export { type
|
|
4336
|
+
export { type EngineCaller as $, type ActionContribution as A, type Badge as B, type ContributionSet as C, type Decorations as D, type EdgeRef as E, type CommandRun as F, CommandUnobservedError as G, type CommandsPort as H, type ConfirmSpec as I, type JsonOf as J, type ConnectCallerOptions as K, type LayoutHandle as L, ConnectError as M, type NodeDecoration as N, type OverlayContribution as O, type PanelSpec as P, type ContextKey as Q, type ResultStore as R, type SourcePort as S, type ContextPort as T, type CreatedRef as U, type DirectEngineCaller as V, EMPTY_REPORT_FOLD as W, type EditorBinding as X, type EditorEnv as Y, type EditorEnvExtras as Z, type EditorPort as _, type CanvasCtx as a, reduceFollow as a$, type EngineMethodResponse as a0, type EngineSession as a1, type EngineSessionOptions as a2, type EngineTarget as a3, type ErasedCommand as a4, type FollowSlot as a5, type GateChangeRequest as a6, type GenerateEvent as a7, type GraphError as a8, type HostBinding as a9, bridgeCaller as aA, carriesFailure as aB, connectCaller as aC, createActionRunner as aD, createResultStore as aE, currentReport as aF, defineCommand as aG, diagnosticsOf as aH, foldReport as aI, isBoundPath as aJ, openEngineCommands as aK, openEngineSession as aL, parseBound as aM, parseCommandFailure as aN, reportDiagnostics as aO, toArgv as aP, uniqueDiagnostics as aQ, Action as aR, InputMode as aS, type LaceReason as aT, type LiveSlots as aU, type OnScreen as aV, type RunPhase as aW, type RunPhaseStatus as aX, diagnosticsOfDocument as aY, liveSlots as aZ, reasonWire as a_, type Invocation as aa, type KeySpec as ab, type Placement as ac, type PortName as ad, type PresenterPort as ae, type PreviewSlot as af, Reason as ag, type ReportEntry as ah, type ReportFold as ai, type ReportPath as aj, type ReportSlot as ak, type ResultKind as al, type ResultSlots as am, type RunOutcome as an, type RunSlot as ao, type RunnerPorts as ap, SCHEMAS as aq, type Sink as ar, type SinkInput as as, type SlotContext as at, type SlotKind as au, type SourceConflict as av, type StackRef as aw, type ViewStatePort as ax, type WiringCandidate as ay, type WiringQuery as az, type CanvasPorts as b, reducePreview as b0, reduceReport as b1, reduceRun as b2, settleRun as b3, type PendingForm as c, type BoundPath as d, type CommandRead as e, type ActionTarget as f, type CommandResult as g, type CanvasSource as h, type SourceEnd as i, type RunCtx as j, Bundle as k, type ActionRunner as l, type ActionIcon as m, type ActionRunnerOptions as n, type ApplyResult as o, ApplyUnobservedError as p, type ArgsOf as q, type BindingRuntime as r, type BridgeEngineCaller as s, COMMANDS as t, type ClipboardStore as u, type CommandBinding as v, CommandDetachedError as w, CommandExitError as x, type CommandFailure as y, type CommandPath as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lace-cloud/canvas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"license": "BUSL-1.1",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"react": "^18.3.1",
|
|
24
24
|
"react-dom": "^18.3.1",
|
|
25
25
|
"zod": "^4.1.11",
|
|
26
|
-
"@lace-cloud/proto": "0.
|
|
27
|
-
"@lace-cloud/ui": "0.
|
|
26
|
+
"@lace-cloud/proto": "0.24.0",
|
|
27
|
+
"@lace-cloud/ui": "0.24.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/react": "^18.3.12",
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/* The canvas's paper (PaperGrid.tsx): a layer filling the flow pane behind
|
|
2
|
-
* the graph, painted by the tokens' `.lace-paper-layers` recipe. The recipe
|
|
3
|
-
* reads `--lace-paper-pitch-*` and `--lace-paper-thread-*`; here they are
|
|
4
|
-
* the canvas paper's, scaled by the viewport's zoom (`--paper-zoom`) and
|
|
5
|
-
* faded as the threads crowd (`--paper-fine`, `--paper-major`), and the
|
|
6
|
-
* four layers start at the viewport's pan (`--paper-x`, `--paper-y`). */
|
|
7
|
-
.lace-canvas-paper {
|
|
8
|
-
position: absolute;
|
|
9
|
-
inset: 0;
|
|
10
|
-
z-index: -1;
|
|
11
|
-
pointer-events: none;
|
|
12
|
-
--lace-paper-pitch-fine: calc(var(--lace-canvas-paper-pitch-fine) * var(--paper-zoom, 1));
|
|
13
|
-
--lace-paper-pitch-major: calc(var(--lace-canvas-paper-pitch-major) * var(--paper-zoom, 1));
|
|
14
|
-
--lace-paper-thread-fine: color-mix(
|
|
15
|
-
in srgb,
|
|
16
|
-
var(--lace-canvas-paper-thread-fine) var(--paper-fine, 100%),
|
|
17
|
-
transparent
|
|
18
|
-
);
|
|
19
|
-
--lace-paper-thread-major: color-mix(
|
|
20
|
-
in srgb,
|
|
21
|
-
var(--lace-canvas-paper-thread-major) var(--paper-major, 100%),
|
|
22
|
-
transparent
|
|
23
|
-
);
|
|
24
|
-
background-position: var(--paper-x, 0) var(--paper-y, 0);
|
|
25
|
-
}
|