@lace-cloud/canvas 0.39.0 → 0.41.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/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import React__default, { FC, HTMLAttributes, ReactNode } from 'react';
4
- import { aU as ContributionSet, aV as PanelSpec, aW as CanvasCtx, k as CanvasPorts, aa as ResultStore, S as SourcePort, A as ActionContribution, aX as Badge, aY as Cloud, aZ as NodeDecoration, a_ as Decorations, $ as PendingForm, h as BoundPath, a$ as CommandRead, b0 as ContextKey, J as JsonOf, b1 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ao as SourceEnd, b as ActionRunner, b2 as CanvasSelection, b3 as LayoutHandle } from './registry-CFii6MTW.mjs';
5
- export { b4 as ActionIcon, c as ActionRunnerOptions, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, i as BridgeEngineCaller, j as Busy, C as COMMANDS, b5 as ClipboardStore, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, b6 as EditorBinding, b7 as EditorEnv, b8 as EditorEnvExtras, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, X as Invocation, b9 as KeySpec, ba as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as ReportEntry, a5 as ReportFold, a6 as ReportPath, a7 as ReportSlot, a8 as ResultKind, a9 as ResultSlots, ab as RunCtx, ac as RunOutcome, bb as RunRef, ad as RunSlot, ag as RunnerPorts, ah as RunningMark, bc as SCHEMAS, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ap as StackRef, aq as Started, ar as ViewStatePort, as as WiringCandidate, at as WiringQuery, au as answering, av as bridgeCaller, aw as commandPathOf, ax as commandUnderWay, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, bd as disabledReason, aG as foldReport, aH as generatedTree, be as isBoundPath, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aS as reportDiagnostics, bf as resolveContributions, bg as rowActions } from './registry-CFii6MTW.mjs';
4
+ import { aU as ContributionSet, aV as PanelSpec, aW as CanvasCtx, k as CanvasPorts, aa as ResultStore, S as SourcePort, A as ActionContribution, aX as Badge, aY as Cloud, aZ as NodeDecoration, a_ as Decorations, $ as PendingForm, h as BoundPath, a$ as CommandRead, b0 as ContextKey, J as JsonOf, b1 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ao as SourceEnd, b as ActionRunner, b2 as CanvasSelection, b3 as LayoutHandle } from './registry-DyBS0aH8.mjs';
5
+ export { b4 as ActionIcon, c as ActionRunnerOptions, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, i as BridgeEngineCaller, j as Busy, C as COMMANDS, b5 as ClipboardStore, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, b6 as EditorBinding, b7 as EditorEnv, b8 as EditorEnvExtras, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, X as Invocation, b9 as KeySpec, ba as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as ReportEntry, a5 as ReportFold, a6 as ReportPath, a7 as ReportSlot, a8 as ResultKind, a9 as ResultSlots, ab as RunCtx, ac as RunOutcome, bb as RunRef, ad as RunSlot, ag as RunnerPorts, ah as RunningMark, bc as SCHEMAS, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ap as StackRef, aq as Started, ar as ViewStatePort, as as WiringCandidate, at as WiringQuery, au as answering, av as bridgeCaller, aw as commandPathOf, ax as commandUnderWay, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, bd as disabledReason, aG as foldReport, aH as generatedTree, be as isBoundPath, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aS as reportDiagnostics, bf as resolveContributions, bg as rowActions } from './registry-DyBS0aH8.mjs';
6
6
  import { CanvasView, NodePin, MetaArgument, Diagnostic, RenderNode, deriveSettingsConfig, deriveNodeConfig, Bundle, SettingsConfig, CanvasArrangement } from '@lace-cloud/proto';
7
7
  export { CanvasArrangement, CanvasView, Conflict, Diagnostic, NodeConfig, NodePin, Reason, RenderEdge, RenderGroup, RenderInput, RenderNode, RenderOutput, SettingsConfig, ViewportIntent } from '@lace-cloud/proto';
8
8
  import { NodeProps, Node } from '@xyflow/react';
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import React__default, { FC, HTMLAttributes, ReactNode } from 'react';
4
- import { aU as ContributionSet, aV as PanelSpec, aW as CanvasCtx, k as CanvasPorts, aa as ResultStore, S as SourcePort, A as ActionContribution, aX as Badge, aY as Cloud, aZ as NodeDecoration, a_ as Decorations, $ as PendingForm, h as BoundPath, a$ as CommandRead, b0 as ContextKey, J as JsonOf, b1 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ao as SourceEnd, b as ActionRunner, b2 as CanvasSelection, b3 as LayoutHandle } from './registry-CFii6MTW.js';
5
- export { b4 as ActionIcon, c as ActionRunnerOptions, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, i as BridgeEngineCaller, j as Busy, C as COMMANDS, b5 as ClipboardStore, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, b6 as EditorBinding, b7 as EditorEnv, b8 as EditorEnvExtras, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, X as Invocation, b9 as KeySpec, ba as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as ReportEntry, a5 as ReportFold, a6 as ReportPath, a7 as ReportSlot, a8 as ResultKind, a9 as ResultSlots, ab as RunCtx, ac as RunOutcome, bb as RunRef, ad as RunSlot, ag as RunnerPorts, ah as RunningMark, bc as SCHEMAS, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ap as StackRef, aq as Started, ar as ViewStatePort, as as WiringCandidate, at as WiringQuery, au as answering, av as bridgeCaller, aw as commandPathOf, ax as commandUnderWay, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, bd as disabledReason, aG as foldReport, aH as generatedTree, be as isBoundPath, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aS as reportDiagnostics, bf as resolveContributions, bg as rowActions } from './registry-CFii6MTW.js';
4
+ import { aU as ContributionSet, aV as PanelSpec, aW as CanvasCtx, k as CanvasPorts, aa as ResultStore, S as SourcePort, A as ActionContribution, aX as Badge, aY as Cloud, aZ as NodeDecoration, a_ as Decorations, $ as PendingForm, h as BoundPath, a$ as CommandRead, b0 as ContextKey, J as JsonOf, b1 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ao as SourceEnd, b as ActionRunner, b2 as CanvasSelection, b3 as LayoutHandle } from './registry-DyBS0aH8.js';
5
+ export { b4 as ActionIcon, c as ActionRunnerOptions, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, i as BridgeEngineCaller, j as Busy, C as COMMANDS, b5 as ClipboardStore, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, b6 as EditorBinding, b7 as EditorEnv, b8 as EditorEnvExtras, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, X as Invocation, b9 as KeySpec, ba as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as ReportEntry, a5 as ReportFold, a6 as ReportPath, a7 as ReportSlot, a8 as ResultKind, a9 as ResultSlots, ab as RunCtx, ac as RunOutcome, bb as RunRef, ad as RunSlot, ag as RunnerPorts, ah as RunningMark, bc as SCHEMAS, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ap as StackRef, aq as Started, ar as ViewStatePort, as as WiringCandidate, at as WiringQuery, au as answering, av as bridgeCaller, aw as commandPathOf, ax as commandUnderWay, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, bd as disabledReason, aG as foldReport, aH as generatedTree, be as isBoundPath, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aS as reportDiagnostics, bf as resolveContributions, bg as rowActions } from './registry-DyBS0aH8.js';
6
6
  import { CanvasView, NodePin, MetaArgument, Diagnostic, RenderNode, deriveSettingsConfig, deriveNodeConfig, Bundle, SettingsConfig, CanvasArrangement } from '@lace-cloud/proto';
7
7
  export { CanvasArrangement, CanvasView, Conflict, Diagnostic, NodeConfig, NodePin, Reason, RenderEdge, RenderGroup, RenderInput, RenderNode, RenderOutput, SettingsConfig, ViewportIntent } from '@lace-cloud/proto';
8
8
  import { NodeProps, Node } from '@xyflow/react';
package/dist/index.mjs CHANGED
@@ -50,7 +50,7 @@ import {
50
50
  sourceHandleId,
51
51
  targetHandleId,
52
52
  wireEndText
53
- } from "./chunk-C6QJEJO5.mjs";
53
+ } from "./chunk-ELOBZOVE.mjs";
54
54
 
55
55
  // src/App.tsx
56
56
  import { ReactFlowProvider } from "@xyflow/react";
@@ -1387,9 +1387,6 @@ declare const COMMANDS: {
1387
1387
  readonly wait: {
1388
1388
  readonly type: "bool";
1389
1389
  };
1390
- readonly waitTimeout: {
1391
- readonly type: "duration";
1392
- };
1393
1390
  };
1394
1391
  readonly effect: "write";
1395
1392
  readonly hidden: false;
@@ -2872,12 +2869,19 @@ declare const SCHEMAS: {
2872
2869
  slug: z.ZodString;
2873
2870
  name: z.ZodString;
2874
2871
  description: z.ZodNullable<z.ZodString>;
2875
- source: z.ZodNullable<z.ZodObject<{
2872
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2876
2873
  kind: z.ZodLiteral<"git">;
2877
2874
  repoUrl: z.ZodString;
2878
2875
  ref: z.ZodOptional<z.ZodString>;
2879
2876
  path: z.ZodOptional<z.ZodString>;
2880
- }, z.core.$strip>>;
2877
+ }, z.core.$strip>, z.ZodObject<{
2878
+ kind: z.ZodLiteral<"module_version">;
2879
+ author: z.ZodString;
2880
+ name: z.ZodString;
2881
+ system: z.ZodString;
2882
+ version: z.ZodString;
2883
+ }, z.core.$strip>], "kind">>;
2884
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2881
2885
  stateSerial: z.ZodNumber;
2882
2886
  stateLineage: z.ZodNullable<z.ZodString>;
2883
2887
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -2935,12 +2939,19 @@ declare const SCHEMAS: {
2935
2939
  slug: z.ZodString;
2936
2940
  name: z.ZodString;
2937
2941
  description: z.ZodNullable<z.ZodString>;
2938
- source: z.ZodNullable<z.ZodObject<{
2942
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2939
2943
  kind: z.ZodLiteral<"git">;
2940
2944
  repoUrl: z.ZodString;
2941
2945
  ref: z.ZodOptional<z.ZodString>;
2942
2946
  path: z.ZodOptional<z.ZodString>;
2943
- }, z.core.$strip>>;
2947
+ }, z.core.$strip>, z.ZodObject<{
2948
+ kind: z.ZodLiteral<"module_version">;
2949
+ author: z.ZodString;
2950
+ name: z.ZodString;
2951
+ system: z.ZodString;
2952
+ version: z.ZodString;
2953
+ }, z.core.$strip>], "kind">>;
2954
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2944
2955
  stateSerial: z.ZodNumber;
2945
2956
  stateLineage: z.ZodNullable<z.ZodString>;
2946
2957
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -3018,6 +3029,7 @@ declare const SCHEMAS: {
3018
3029
  findingId: z.ZodNullable<z.ZodString>;
3019
3030
  }, z.core.$strip>>;
3020
3031
  }, z.core.$strip>>;
3032
+ planHold: z.ZodNullable<z.ZodString>;
3021
3033
  }, z.core.$strip>;
3022
3034
  'policy list': z.ZodObject<{
3023
3035
  stack: z.ZodNullable<z.ZodString>;
@@ -3558,12 +3570,19 @@ declare const SCHEMAS: {
3558
3570
  slug: z.ZodString;
3559
3571
  name: z.ZodString;
3560
3572
  description: z.ZodNullable<z.ZodString>;
3561
- source: z.ZodNullable<z.ZodObject<{
3573
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3562
3574
  kind: z.ZodLiteral<"git">;
3563
3575
  repoUrl: z.ZodString;
3564
3576
  ref: z.ZodOptional<z.ZodString>;
3565
3577
  path: z.ZodOptional<z.ZodString>;
3566
- }, z.core.$strip>>;
3578
+ }, z.core.$strip>, z.ZodObject<{
3579
+ kind: z.ZodLiteral<"module_version">;
3580
+ author: z.ZodString;
3581
+ name: z.ZodString;
3582
+ system: z.ZodString;
3583
+ version: z.ZodString;
3584
+ }, z.core.$strip>], "kind">>;
3585
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3567
3586
  stateSerial: z.ZodNumber;
3568
3587
  stateLineage: z.ZodNullable<z.ZodString>;
3569
3588
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -1387,9 +1387,6 @@ declare const COMMANDS: {
1387
1387
  readonly wait: {
1388
1388
  readonly type: "bool";
1389
1389
  };
1390
- readonly waitTimeout: {
1391
- readonly type: "duration";
1392
- };
1393
1390
  };
1394
1391
  readonly effect: "write";
1395
1392
  readonly hidden: false;
@@ -2872,12 +2869,19 @@ declare const SCHEMAS: {
2872
2869
  slug: z.ZodString;
2873
2870
  name: z.ZodString;
2874
2871
  description: z.ZodNullable<z.ZodString>;
2875
- source: z.ZodNullable<z.ZodObject<{
2872
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2876
2873
  kind: z.ZodLiteral<"git">;
2877
2874
  repoUrl: z.ZodString;
2878
2875
  ref: z.ZodOptional<z.ZodString>;
2879
2876
  path: z.ZodOptional<z.ZodString>;
2880
- }, z.core.$strip>>;
2877
+ }, z.core.$strip>, z.ZodObject<{
2878
+ kind: z.ZodLiteral<"module_version">;
2879
+ author: z.ZodString;
2880
+ name: z.ZodString;
2881
+ system: z.ZodString;
2882
+ version: z.ZodString;
2883
+ }, z.core.$strip>], "kind">>;
2884
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2881
2885
  stateSerial: z.ZodNumber;
2882
2886
  stateLineage: z.ZodNullable<z.ZodString>;
2883
2887
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -2935,12 +2939,19 @@ declare const SCHEMAS: {
2935
2939
  slug: z.ZodString;
2936
2940
  name: z.ZodString;
2937
2941
  description: z.ZodNullable<z.ZodString>;
2938
- source: z.ZodNullable<z.ZodObject<{
2942
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2939
2943
  kind: z.ZodLiteral<"git">;
2940
2944
  repoUrl: z.ZodString;
2941
2945
  ref: z.ZodOptional<z.ZodString>;
2942
2946
  path: z.ZodOptional<z.ZodString>;
2943
- }, z.core.$strip>>;
2947
+ }, z.core.$strip>, z.ZodObject<{
2948
+ kind: z.ZodLiteral<"module_version">;
2949
+ author: z.ZodString;
2950
+ name: z.ZodString;
2951
+ system: z.ZodString;
2952
+ version: z.ZodString;
2953
+ }, z.core.$strip>], "kind">>;
2954
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2944
2955
  stateSerial: z.ZodNumber;
2945
2956
  stateLineage: z.ZodNullable<z.ZodString>;
2946
2957
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -3018,6 +3029,7 @@ declare const SCHEMAS: {
3018
3029
  findingId: z.ZodNullable<z.ZodString>;
3019
3030
  }, z.core.$strip>>;
3020
3031
  }, z.core.$strip>>;
3032
+ planHold: z.ZodNullable<z.ZodString>;
3021
3033
  }, z.core.$strip>;
3022
3034
  'policy list': z.ZodObject<{
3023
3035
  stack: z.ZodNullable<z.ZodString>;
@@ -3558,12 +3570,19 @@ declare const SCHEMAS: {
3558
3570
  slug: z.ZodString;
3559
3571
  name: z.ZodString;
3560
3572
  description: z.ZodNullable<z.ZodString>;
3561
- source: z.ZodNullable<z.ZodObject<{
3573
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3562
3574
  kind: z.ZodLiteral<"git">;
3563
3575
  repoUrl: z.ZodString;
3564
3576
  ref: z.ZodOptional<z.ZodString>;
3565
3577
  path: z.ZodOptional<z.ZodString>;
3566
- }, z.core.$strip>>;
3578
+ }, z.core.$strip>, z.ZodObject<{
3579
+ kind: z.ZodLiteral<"module_version">;
3580
+ author: z.ZodString;
3581
+ name: z.ZodString;
3582
+ system: z.ZodString;
3583
+ version: z.ZodString;
3584
+ }, z.core.$strip>], "kind">>;
3585
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3567
3586
  stateSerial: z.ZodNumber;
3568
3587
  stateLineage: z.ZodNullable<z.ZodString>;
3569
3588
  stateVersion: z.ZodNullable<z.ZodNumber>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lace-cloud/canvas",
3
- "version": "0.39.0",
3
+ "version": "0.41.0",
4
4
  "lace": {
5
5
  "owner": "authoring"
6
6
  },
@@ -26,8 +26,8 @@
26
26
  "react": "^18.3.1",
27
27
  "react-dom": "^18.3.1",
28
28
  "zod": "^4.1.11",
29
- "@lace-cloud/ui": "0.39.0",
30
- "@lace-cloud/proto": "0.39.0"
29
+ "@lace-cloud/ui": "0.41.0",
30
+ "@lace-cloud/proto": "0.41.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@size-limit/file": "12.1.0",