@lace-cloud/canvas 0.27.0 → 0.29.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.
@@ -2,6 +2,11 @@ import { Diagnostic as Diagnostic$1, CanvasArrangement, CanvasView, EngineMethod
2
2
  import { z } from 'zod';
3
3
  import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
4
4
 
5
+ /**
6
+ * Every command a host can invoke, as command-tree.golden declares it: its
7
+ * positionals, its flags and its effect (`read`, `write` or `rewrite`,
8
+ * as apps/cli/cmd/effect.go defines them).
9
+ */
5
10
  declare const COMMANDS: {
6
11
  readonly "chaos run": {
7
12
  readonly path: "chaos run";
@@ -70,6 +75,7 @@ declare const COMMANDS: {
70
75
  readonly type: "string";
71
76
  };
72
77
  };
78
+ readonly effect: "write";
73
79
  readonly hidden: false;
74
80
  readonly yes: false;
75
81
  };
@@ -91,6 +97,7 @@ declare const COMMANDS: {
91
97
  readonly type: "string";
92
98
  };
93
99
  };
100
+ readonly effect: "read";
94
101
  readonly hidden: false;
95
102
  readonly yes: false;
96
103
  };
@@ -112,6 +119,7 @@ declare const COMMANDS: {
112
119
  readonly type: "string";
113
120
  };
114
121
  };
122
+ readonly effect: "read";
115
123
  readonly hidden: false;
116
124
  readonly yes: false;
117
125
  };
@@ -126,6 +134,7 @@ declare const COMMANDS: {
126
134
  readonly type: "string";
127
135
  };
128
136
  };
137
+ readonly effect: "write";
129
138
  readonly hidden: false;
130
139
  readonly yes: false;
131
140
  };
@@ -137,6 +146,7 @@ declare const COMMANDS: {
137
146
  readonly type: "string";
138
147
  };
139
148
  };
149
+ readonly effect: "write";
140
150
  readonly hidden: false;
141
151
  readonly yes: false;
142
152
  };
@@ -148,6 +158,7 @@ declare const COMMANDS: {
148
158
  readonly type: "bool";
149
159
  };
150
160
  };
161
+ readonly effect: "read";
151
162
  readonly hidden: false;
152
163
  readonly yes: false;
153
164
  };
@@ -172,6 +183,7 @@ declare const COMMANDS: {
172
183
  readonly type: "string";
173
184
  };
174
185
  };
186
+ readonly effect: "write";
175
187
  readonly hidden: false;
176
188
  readonly yes: false;
177
189
  };
@@ -184,6 +196,7 @@ declare const COMMANDS: {
184
196
  readonly values: readonly ["table", "json"];
185
197
  };
186
198
  };
199
+ readonly effect: "write";
187
200
  readonly hidden: false;
188
201
  readonly yes: false;
189
202
  };
@@ -199,6 +212,7 @@ declare const COMMANDS: {
199
212
  readonly type: "string";
200
213
  };
201
214
  };
215
+ readonly effect: "rewrite";
202
216
  readonly hidden: false;
203
217
  readonly yes: false;
204
218
  };
@@ -217,6 +231,7 @@ declare const COMMANDS: {
217
231
  readonly type: "string";
218
232
  };
219
233
  };
234
+ readonly effect: "write";
220
235
  readonly hidden: false;
221
236
  readonly yes: false;
222
237
  };
@@ -241,6 +256,30 @@ declare const COMMANDS: {
241
256
  readonly type: "bool";
242
257
  };
243
258
  };
259
+ readonly effect: "rewrite";
260
+ readonly hidden: false;
261
+ readonly yes: false;
262
+ };
263
+ readonly "module lock": {
264
+ readonly path: "module lock";
265
+ readonly positionals: readonly [];
266
+ readonly flags: {
267
+ readonly org: {
268
+ readonly type: "string";
269
+ };
270
+ readonly output: {
271
+ readonly type: "string";
272
+ readonly values: readonly ["table", "json"];
273
+ };
274
+ readonly path: {
275
+ readonly type: "string";
276
+ };
277
+ readonly upgrade: {
278
+ readonly type: "stringArray";
279
+ readonly repeated: true;
280
+ };
281
+ };
282
+ readonly effect: "write";
244
283
  readonly hidden: false;
245
284
  readonly yes: false;
246
285
  };
@@ -263,6 +302,7 @@ declare const COMMANDS: {
263
302
  readonly type: "bool";
264
303
  };
265
304
  };
305
+ readonly effect: "read";
266
306
  readonly hidden: false;
267
307
  readonly yes: false;
268
308
  };
@@ -285,6 +325,7 @@ declare const COMMANDS: {
285
325
  readonly values: readonly ["public", "publication"];
286
326
  };
287
327
  };
328
+ readonly effect: "write";
288
329
  readonly hidden: false;
289
330
  readonly yes: false;
290
331
  };
@@ -297,6 +338,7 @@ declare const COMMANDS: {
297
338
  readonly values: readonly ["table", "json"];
298
339
  };
299
340
  };
341
+ readonly effect: "read";
300
342
  readonly hidden: false;
301
343
  readonly yes: false;
302
344
  };
@@ -309,6 +351,7 @@ declare const COMMANDS: {
309
351
  readonly values: readonly ["table", "json"];
310
352
  };
311
353
  };
354
+ readonly effect: "read";
312
355
  readonly hidden: false;
313
356
  readonly yes: false;
314
357
  };
@@ -324,6 +367,7 @@ declare const COMMANDS: {
324
367
  readonly values: readonly ["table", "json"];
325
368
  };
326
369
  };
370
+ readonly effect: "write";
327
371
  readonly hidden: false;
328
372
  readonly yes: false;
329
373
  };
@@ -345,6 +389,7 @@ declare const COMMANDS: {
345
389
  readonly type: "string";
346
390
  };
347
391
  };
392
+ readonly effect: "read";
348
393
  readonly hidden: false;
349
394
  readonly yes: false;
350
395
  };
@@ -366,6 +411,7 @@ declare const COMMANDS: {
366
411
  readonly type: "string";
367
412
  };
368
413
  };
414
+ readonly effect: "read";
369
415
  readonly hidden: false;
370
416
  readonly yes: false;
371
417
  };
@@ -387,6 +433,7 @@ declare const COMMANDS: {
387
433
  readonly type: "string";
388
434
  };
389
435
  };
436
+ readonly effect: "read";
390
437
  readonly hidden: false;
391
438
  readonly yes: false;
392
439
  };
@@ -409,6 +456,7 @@ declare const COMMANDS: {
409
456
  readonly values: readonly ["public"];
410
457
  };
411
458
  };
459
+ readonly effect: "read";
412
460
  readonly hidden: false;
413
461
  readonly yes: false;
414
462
  };
@@ -443,6 +491,7 @@ declare const COMMANDS: {
443
491
  readonly type: "string";
444
492
  };
445
493
  };
494
+ readonly effect: "read";
446
495
  readonly hidden: false;
447
496
  readonly yes: false;
448
497
  };
@@ -467,6 +516,7 @@ declare const COMMANDS: {
467
516
  readonly type: "string";
468
517
  };
469
518
  };
519
+ readonly effect: "read";
470
520
  readonly hidden: false;
471
521
  readonly yes: false;
472
522
  };
@@ -488,6 +538,7 @@ declare const COMMANDS: {
488
538
  readonly type: "string";
489
539
  };
490
540
  };
541
+ readonly effect: "read";
491
542
  readonly hidden: false;
492
543
  readonly yes: false;
493
544
  };
@@ -512,6 +563,7 @@ declare const COMMANDS: {
512
563
  readonly type: "string";
513
564
  };
514
565
  };
566
+ readonly effect: "write";
515
567
  readonly hidden: false;
516
568
  readonly yes: false;
517
569
  };
@@ -536,6 +588,7 @@ declare const COMMANDS: {
536
588
  readonly type: "string";
537
589
  };
538
590
  };
591
+ readonly effect: "read";
539
592
  readonly hidden: false;
540
593
  readonly yes: false;
541
594
  };
@@ -575,6 +628,7 @@ declare const COMMANDS: {
575
628
  readonly type: "string";
576
629
  };
577
630
  };
631
+ readonly effect: "read";
578
632
  readonly hidden: false;
579
633
  readonly yes: false;
580
634
  };
@@ -599,6 +653,7 @@ declare const COMMANDS: {
599
653
  readonly type: "string";
600
654
  };
601
655
  };
656
+ readonly effect: "read";
602
657
  readonly hidden: false;
603
658
  readonly yes: false;
604
659
  };
@@ -620,6 +675,7 @@ declare const COMMANDS: {
620
675
  readonly type: "string";
621
676
  };
622
677
  };
678
+ readonly effect: "read";
623
679
  readonly hidden: false;
624
680
  readonly yes: false;
625
681
  };
@@ -661,6 +717,7 @@ declare const COMMANDS: {
661
717
  readonly repeated: true;
662
718
  };
663
719
  };
720
+ readonly effect: "write";
664
721
  readonly hidden: false;
665
722
  readonly yes: false;
666
723
  };
@@ -704,6 +761,7 @@ declare const COMMANDS: {
704
761
  readonly type: "string";
705
762
  };
706
763
  };
764
+ readonly effect: "write";
707
765
  readonly hidden: false;
708
766
  readonly yes: false;
709
767
  };
@@ -728,6 +786,7 @@ declare const COMMANDS: {
728
786
  readonly type: "bool";
729
787
  };
730
788
  };
789
+ readonly effect: "write";
731
790
  readonly hidden: false;
732
791
  readonly yes: true;
733
792
  };
@@ -755,6 +814,7 @@ declare const COMMANDS: {
755
814
  readonly type: "string";
756
815
  };
757
816
  };
817
+ readonly effect: "read";
758
818
  readonly hidden: false;
759
819
  readonly yes: false;
760
820
  };
@@ -802,6 +862,7 @@ declare const COMMANDS: {
802
862
  readonly type: "bool";
803
863
  };
804
864
  };
865
+ readonly effect: "write";
805
866
  readonly hidden: false;
806
867
  readonly yes: true;
807
868
  };
@@ -826,6 +887,7 @@ declare const COMMANDS: {
826
887
  readonly type: "string";
827
888
  };
828
889
  };
890
+ readonly effect: "read";
829
891
  readonly hidden: false;
830
892
  readonly yes: false;
831
893
  };
@@ -857,6 +919,7 @@ declare const COMMANDS: {
857
919
  readonly type: "string";
858
920
  };
859
921
  };
922
+ readonly effect: "rewrite";
860
923
  readonly hidden: false;
861
924
  readonly yes: false;
862
925
  };
@@ -887,6 +950,7 @@ declare const COMMANDS: {
887
950
  readonly type: "string";
888
951
  };
889
952
  };
953
+ readonly effect: "read";
890
954
  readonly hidden: false;
891
955
  readonly yes: false;
892
956
  };
@@ -916,6 +980,7 @@ declare const COMMANDS: {
916
980
  readonly repeated: true;
917
981
  };
918
982
  };
983
+ readonly effect: "write";
919
984
  readonly hidden: false;
920
985
  readonly yes: false;
921
986
  };
@@ -946,6 +1011,7 @@ declare const COMMANDS: {
946
1011
  readonly type: "duration";
947
1012
  };
948
1013
  };
1014
+ readonly effect: "write";
949
1015
  readonly hidden: false;
950
1016
  readonly yes: false;
951
1017
  };
@@ -982,6 +1048,7 @@ declare const COMMANDS: {
982
1048
  readonly type: "string";
983
1049
  };
984
1050
  };
1051
+ readonly effect: "write";
985
1052
  readonly hidden: false;
986
1053
  readonly yes: false;
987
1054
  };
@@ -997,6 +1064,7 @@ declare const COMMANDS: {
997
1064
  readonly values: readonly ["table", "json"];
998
1065
  };
999
1066
  };
1067
+ readonly effect: "read";
1000
1068
  readonly hidden: false;
1001
1069
  readonly yes: false;
1002
1070
  };
@@ -1018,6 +1086,7 @@ declare const COMMANDS: {
1018
1086
  readonly values: readonly ["table", "json"];
1019
1087
  };
1020
1088
  };
1089
+ readonly effect: "read";
1021
1090
  readonly hidden: false;
1022
1091
  readonly yes: false;
1023
1092
  };
@@ -1036,6 +1105,7 @@ declare const COMMANDS: {
1036
1105
  readonly values: readonly ["table", "json"];
1037
1106
  };
1038
1107
  };
1108
+ readonly effect: "write";
1039
1109
  readonly hidden: false;
1040
1110
  readonly yes: false;
1041
1111
  };
@@ -1048,6 +1118,7 @@ declare const COMMANDS: {
1048
1118
  readonly values: readonly ["table", "json"];
1049
1119
  };
1050
1120
  };
1121
+ readonly effect: "read";
1051
1122
  readonly hidden: false;
1052
1123
  readonly yes: false;
1053
1124
  };
@@ -1060,6 +1131,7 @@ declare const COMMANDS: {
1060
1131
  readonly values: readonly ["table", "json"];
1061
1132
  };
1062
1133
  };
1134
+ readonly effect: "read";
1063
1135
  readonly hidden: false;
1064
1136
  readonly yes: false;
1065
1137
  };
@@ -2692,6 +2764,15 @@ declare const SCHEMAS: {
2692
2764
  changed: z.ZodBoolean;
2693
2765
  written: z.ZodArray<z.ZodString>;
2694
2766
  removed: z.ZodArray<z.ZodString>;
2767
+ lock: z.ZodNullable<z.ZodObject<{
2768
+ path: z.ZodString;
2769
+ lockfile: z.ZodString;
2770
+ providers: z.ZodArray<z.ZodObject<{
2771
+ address: z.ZodString;
2772
+ version: z.ZodString;
2773
+ platforms: z.ZodArray<z.ZodString>;
2774
+ }, z.core.$strip>>;
2775
+ }, z.core.$strip>>;
2695
2776
  validate: z.ZodObject<{
2696
2777
  root: z.ZodOptional<z.ZodString>;
2697
2778
  treeHash: z.ZodOptional<z.ZodString>;
@@ -2786,6 +2867,15 @@ declare const SCHEMAS: {
2786
2867
  column: z.ZodOptional<z.ZodNumber>;
2787
2868
  }, z.core.$strip>>;
2788
2869
  }, z.core.$strip>;
2870
+ 'module lock': z.ZodObject<{
2871
+ path: z.ZodString;
2872
+ lockfile: z.ZodString;
2873
+ providers: z.ZodArray<z.ZodObject<{
2874
+ address: z.ZodString;
2875
+ version: z.ZodString;
2876
+ platforms: z.ZodArray<z.ZodString>;
2877
+ }, z.core.$strip>>;
2878
+ }, z.core.$strip>;
2789
2879
  'module fmt': z.ZodObject<{
2790
2880
  changed: z.ZodArray<z.ZodString>;
2791
2881
  }, z.core.$strip>;
@@ -2794,6 +2884,16 @@ declare const SCHEMAS: {
2794
2884
  }, z.core.$strip>;
2795
2885
  'module scan': z.ZodObject<{
2796
2886
  treeHash: z.ZodString;
2887
+ tool: z.ZodObject<{
2888
+ name: z.ZodString;
2889
+ version: z.ZodNullable<z.ZodString>;
2890
+ path: z.ZodString;
2891
+ source: z.ZodEnum<{
2892
+ path: "path";
2893
+ env: "env";
2894
+ cache: "cache";
2895
+ }>;
2896
+ }, z.core.$strip>;
2797
2897
  diagnostics: z.ZodArray<z.ZodObject<{
2798
2898
  severity: z.ZodEnum<{
2799
2899
  error: "error";
@@ -3083,6 +3183,16 @@ declare const SCHEMAS: {
3083
3183
  createdAt: z.ZodString;
3084
3184
  updatedAt: z.ZodString;
3085
3185
  url: z.ZodOptional<z.ZodString>;
3186
+ providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3187
+ address: z.ZodString;
3188
+ version: z.ZodString;
3189
+ admission: z.ZodOptional<z.ZodObject<{
3190
+ id: z.ZodString;
3191
+ admittedBy: z.ZodString;
3192
+ admittedByName: z.ZodNullable<z.ZodString>;
3193
+ admittedAt: z.ZodString;
3194
+ }, z.core.$strip>>;
3195
+ }, z.core.$strip>>>;
3086
3196
  keepStack: z.ZodOptional<z.ZodBoolean>;
3087
3197
  version: z.ZodOptional<z.ZodNumber>;
3088
3198
  lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3250,6 +3360,16 @@ declare const SCHEMAS: {
3250
3360
  createdAt: z.ZodString;
3251
3361
  updatedAt: z.ZodString;
3252
3362
  url: z.ZodOptional<z.ZodString>;
3363
+ providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3364
+ address: z.ZodString;
3365
+ version: z.ZodString;
3366
+ admission: z.ZodOptional<z.ZodObject<{
3367
+ id: z.ZodString;
3368
+ admittedBy: z.ZodString;
3369
+ admittedByName: z.ZodNullable<z.ZodString>;
3370
+ admittedAt: z.ZodString;
3371
+ }, z.core.$strip>>;
3372
+ }, z.core.$strip>>>;
3253
3373
  keepStack: z.ZodOptional<z.ZodBoolean>;
3254
3374
  version: z.ZodOptional<z.ZodNumber>;
3255
3375
  lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3340,6 +3460,16 @@ declare const SCHEMAS: {
3340
3460
  createdAt: z.ZodString;
3341
3461
  updatedAt: z.ZodString;
3342
3462
  url: z.ZodOptional<z.ZodString>;
3463
+ providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3464
+ address: z.ZodString;
3465
+ version: z.ZodString;
3466
+ admission: z.ZodOptional<z.ZodObject<{
3467
+ id: z.ZodString;
3468
+ admittedBy: z.ZodString;
3469
+ admittedByName: z.ZodNullable<z.ZodString>;
3470
+ admittedAt: z.ZodString;
3471
+ }, z.core.$strip>>;
3472
+ }, z.core.$strip>>>;
3343
3473
  keepStack: z.ZodOptional<z.ZodBoolean>;
3344
3474
  version: z.ZodOptional<z.ZodNumber>;
3345
3475
  lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3438,6 +3568,15 @@ declare const SCHEMAS: {
3438
3568
  changed: z.ZodBoolean;
3439
3569
  written: z.ZodArray<z.ZodString>;
3440
3570
  removed: z.ZodArray<z.ZodString>;
3571
+ lock: z.ZodNullable<z.ZodObject<{
3572
+ path: z.ZodString;
3573
+ lockfile: z.ZodString;
3574
+ providers: z.ZodArray<z.ZodObject<{
3575
+ address: z.ZodString;
3576
+ version: z.ZodString;
3577
+ platforms: z.ZodArray<z.ZodString>;
3578
+ }, z.core.$strip>>;
3579
+ }, z.core.$strip>>;
3441
3580
  validate: z.ZodObject<{
3442
3581
  root: z.ZodOptional<z.ZodString>;
3443
3582
  treeHash: z.ZodOptional<z.ZodString>;
@@ -3579,6 +3718,16 @@ declare const SCHEMAS: {
3579
3718
  createdAt: z.ZodString;
3580
3719
  updatedAt: z.ZodString;
3581
3720
  url: z.ZodOptional<z.ZodString>;
3721
+ providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3722
+ address: z.ZodString;
3723
+ version: z.ZodString;
3724
+ admission: z.ZodOptional<z.ZodObject<{
3725
+ id: z.ZodString;
3726
+ admittedBy: z.ZodString;
3727
+ admittedByName: z.ZodNullable<z.ZodString>;
3728
+ admittedAt: z.ZodString;
3729
+ }, z.core.$strip>>;
3730
+ }, z.core.$strip>>>;
3582
3731
  keepStack: z.ZodOptional<z.ZodBoolean>;
3583
3732
  version: z.ZodOptional<z.ZodNumber>;
3584
3733
  lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3635,6 +3784,16 @@ declare const SCHEMAS: {
3635
3784
  createdAt: z.ZodString;
3636
3785
  updatedAt: z.ZodString;
3637
3786
  url: z.ZodOptional<z.ZodString>;
3787
+ providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3788
+ address: z.ZodString;
3789
+ version: z.ZodString;
3790
+ admission: z.ZodOptional<z.ZodObject<{
3791
+ id: z.ZodString;
3792
+ admittedBy: z.ZodString;
3793
+ admittedByName: z.ZodNullable<z.ZodString>;
3794
+ admittedAt: z.ZodString;
3795
+ }, z.core.$strip>>;
3796
+ }, z.core.$strip>>>;
3638
3797
  keepStack: z.ZodOptional<z.ZodBoolean>;
3639
3798
  version: z.ZodOptional<z.ZodNumber>;
3640
3799
  lastHeartbeatAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3667,8 +3826,8 @@ declare const SCHEMAS: {
3667
3826
  slug: z.ZodString;
3668
3827
  source: z.ZodEnum<{
3669
3828
  config: "config";
3670
- flag: "flag";
3671
3829
  env: "env";
3830
+ flag: "flag";
3672
3831
  }>;
3673
3832
  }, z.core.$strip>, z.ZodObject<{
3674
3833
  slug: z.ZodNull;
@@ -3699,8 +3858,8 @@ declare const SCHEMAS: {
3699
3858
  slug: z.ZodString;
3700
3859
  source: z.ZodEnum<{
3701
3860
  config: "config";
3702
- flag: "flag";
3703
3861
  env: "env";
3862
+ flag: "flag";
3704
3863
  }>;
3705
3864
  }, z.core.$strip>, z.ZodObject<{
3706
3865
  slug: z.ZodNull;
@@ -3740,8 +3899,28 @@ declare const SCHEMAS: {
3740
3899
  email: z.ZodString;
3741
3900
  name: z.ZodString;
3742
3901
  }, z.core.$strip>;
3902
+ replacedKey: z.ZodObject<{
3903
+ revocation: z.ZodEnum<{
3904
+ none: "none";
3905
+ revoked: "revoked";
3906
+ refused: "refused";
3907
+ unreachable: "unreachable";
3908
+ unreadable: "unreadable";
3909
+ }>;
3910
+ detail: z.ZodOptional<z.ZodString>;
3911
+ portalUrl: z.ZodOptional<z.ZodString>;
3912
+ }, z.core.$strip>;
3743
3913
  }, z.core.$strip>], "type">;
3744
3914
  logout: z.ZodObject<{
3915
+ revocation: z.ZodEnum<{
3916
+ none: "none";
3917
+ revoked: "revoked";
3918
+ refused: "refused";
3919
+ unreachable: "unreachable";
3920
+ unreadable: "unreadable";
3921
+ }>;
3922
+ detail: z.ZodOptional<z.ZodString>;
3923
+ portalUrl: z.ZodOptional<z.ZodString>;
3745
3924
  loggedOut: z.ZodBoolean;
3746
3925
  }, z.core.$strip>;
3747
3926
  };
@@ -3879,7 +4058,8 @@ declare class CommandDetachedError extends Error {
3879
4058
  constructor();
3880
4059
  }
3881
4060
  declare class CommandUnobservedError extends Error {
3882
- constructor();
4061
+ readonly path: BoundPath;
4062
+ constructor(path: BoundPath);
3883
4063
  }
3884
4064
  type Invocation<P extends BoundPath> = {
3885
4065
  events: AsyncIterable<JsonOf<P>>;
@@ -4255,14 +4435,9 @@ type LiveSlots = Omit<ResultSlots, 'report'> & {
4255
4435
  };
4256
4436
 
4257
4437
  declare function liveSlots(slots: ResultSlots, current: OnScreen): LiveSlots;
4438
+ declare function commandUnderWay({ run, preview, running, }: Pick<ResultSlots, 'run' | 'preview' | 'running'>): boolean;
4258
4439
  declare function reduceRun(prev: RunSlot, token: object, event: JsonOf<'stack apply'>): RunSlot;
4259
- type FailedCommand = {
4260
- kind: 'read';
4261
- path: BoundPath;
4262
- } | {
4263
- kind: 'write';
4264
- };
4265
- declare function failureSays(error: unknown, command: FailedCommand): {
4440
+ declare function failureSays(error: unknown): {
4266
4441
  message: string;
4267
4442
  failure?: CommandFailure;
4268
4443
  };
@@ -4419,4 +4594,4 @@ declare function resolveContributions<P extends PanelSpec>(all: ContributionSet<
4419
4594
  /** Every resolved action placed in a given panel's row (a `row:<panel>` placement). */
4420
4595
  declare function rowActions(resolved: ContributionSet, panelId: string): readonly ActionContribution[];
4421
4596
 
4422
- 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, InputMode 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, type Started as aA, type ViewStatePort as aB, type WiringCandidate as aC, type WiringQuery as aD, answering as aE, bridgeCaller as aF, carriesFailure as aG, connectCaller as aH, createActionRunner as aI, createResultStore as aJ, currentReport as aK, defineCommand as aL, diagnosticsOf as aM, disabledReason as aN, foldReport as aO, isBoundPath as aP, openEngineCommands as aQ, openEngineSession as aR, parseBound as aS, parseCommandFailure as aT, reportDiagnostics as aU, resolveContributions as aV, rowActions as aW, toArgv as aX, uniqueDiagnostics as aY, Action as aZ, type FailedCommand as a_, type Invocation as aa, type KeySpec as ab, type Placement as ac, type PortName as ad, type PresenterPort as ae, type PreviewOutcome as af, type PreviewSlot as ag, Reason as ah, type ReportEntry as ai, type ReportFold as aj, type ReportPath as ak, type ReportSlot as al, type ResultKind as am, type ResultSlots as an, type RunCtx as ao, type RunOutcome as ap, type RunSlot as aq, type RunnerPorts as ar, type RunningMark as as, SCHEMAS as at, type Sink as au, type SinkInput as av, type SlotContext as aw, type SlotKind as ax, type SourceConflict as ay, type StackRef as az, type CanvasPorts as b, type LaceReason as b0, type LiveSlots as b1, type OnScreen as b2, type RunPhase as b3, type RunPhaseStatus as b4, diagnosticsOfDocument as b5, failureSays as b6, liveSlots as b7, reasonWire as b8, reduceFollow as b9, reducePreview as ba, reduceReport as bb, reduceRun as bc, settleRun as bd, 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, Bundle as j, type ActionRunner as k, type ActionIcon as l, type ActionRunnerOptions as m, type ApplyResult as n, ApplyUnobservedError as o, type ArgsOf as p, type BindingRuntime as q, type BridgeEngineCaller as r, type Busy 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 };
4597
+ 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, InputMode 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, type Started as aA, type ViewStatePort as aB, type WiringCandidate as aC, type WiringQuery as aD, answering as aE, bridgeCaller as aF, carriesFailure as aG, commandUnderWay as aH, connectCaller as aI, createActionRunner as aJ, createResultStore as aK, currentReport as aL, defineCommand as aM, diagnosticsOf as aN, disabledReason as aO, foldReport as aP, isBoundPath as aQ, openEngineCommands as aR, openEngineSession as aS, parseBound as aT, parseCommandFailure as aU, reportDiagnostics as aV, resolveContributions as aW, rowActions as aX, toArgv as aY, uniqueDiagnostics as aZ, Action as a_, type Invocation as aa, type KeySpec as ab, type Placement as ac, type PortName as ad, type PresenterPort as ae, type PreviewOutcome as af, type PreviewSlot as ag, Reason as ah, type ReportEntry as ai, type ReportFold as aj, type ReportPath as ak, type ReportSlot as al, type ResultKind as am, type ResultSlots as an, type RunCtx as ao, type RunOutcome as ap, type RunSlot as aq, type RunnerPorts as ar, type RunningMark as as, SCHEMAS as at, type Sink as au, type SinkInput as av, type SlotContext as aw, type SlotKind as ax, type SourceConflict as ay, type StackRef as az, type CanvasPorts as b, type LaceReason as b0, type LiveSlots as b1, type OnScreen as b2, type RunPhase as b3, type RunPhaseStatus as b4, diagnosticsOfDocument as b5, failureSays as b6, liveSlots as b7, reasonWire as b8, reduceFollow as b9, reducePreview as ba, reduceReport as bb, reduceRun as bc, settleRun as bd, 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, Bundle as j, type ActionRunner as k, type ActionIcon as l, type ActionRunnerOptions as m, type ApplyResult as n, ApplyUnobservedError as o, type ArgsOf as p, type BindingRuntime as q, type BridgeEngineCaller as r, type Busy 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.27.0",
3
+ "version": "0.29.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.0",
27
- "@lace-cloud/ui": "0.27.0"
26
+ "@lace-cloud/proto": "0.29.0",
27
+ "@lace-cloud/ui": "0.29.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/react": "^18.3.12",