@lace-cloud/canvas 0.39.0 → 0.40.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-C1v_atT4.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-C1v_atT4.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-C1v_atT4.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-C1v_atT4.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-TGXBVAPM.mjs";
54
54
 
55
55
  // src/App.tsx
56
56
  import { ReactFlowProvider } from "@xyflow/react";
@@ -2872,12 +2872,19 @@ declare const SCHEMAS: {
2872
2872
  slug: z.ZodString;
2873
2873
  name: z.ZodString;
2874
2874
  description: z.ZodNullable<z.ZodString>;
2875
- source: z.ZodNullable<z.ZodObject<{
2875
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2876
2876
  kind: z.ZodLiteral<"git">;
2877
2877
  repoUrl: z.ZodString;
2878
2878
  ref: z.ZodOptional<z.ZodString>;
2879
2879
  path: z.ZodOptional<z.ZodString>;
2880
- }, z.core.$strip>>;
2880
+ }, z.core.$strip>, z.ZodObject<{
2881
+ kind: z.ZodLiteral<"module_version">;
2882
+ author: z.ZodString;
2883
+ name: z.ZodString;
2884
+ system: z.ZodString;
2885
+ version: z.ZodString;
2886
+ }, z.core.$strip>], "kind">>;
2887
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2881
2888
  stateSerial: z.ZodNumber;
2882
2889
  stateLineage: z.ZodNullable<z.ZodString>;
2883
2890
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -2935,12 +2942,19 @@ declare const SCHEMAS: {
2935
2942
  slug: z.ZodString;
2936
2943
  name: z.ZodString;
2937
2944
  description: z.ZodNullable<z.ZodString>;
2938
- source: z.ZodNullable<z.ZodObject<{
2945
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2939
2946
  kind: z.ZodLiteral<"git">;
2940
2947
  repoUrl: z.ZodString;
2941
2948
  ref: z.ZodOptional<z.ZodString>;
2942
2949
  path: z.ZodOptional<z.ZodString>;
2943
- }, z.core.$strip>>;
2950
+ }, z.core.$strip>, z.ZodObject<{
2951
+ kind: z.ZodLiteral<"module_version">;
2952
+ author: z.ZodString;
2953
+ name: z.ZodString;
2954
+ system: z.ZodString;
2955
+ version: z.ZodString;
2956
+ }, z.core.$strip>], "kind">>;
2957
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2944
2958
  stateSerial: z.ZodNumber;
2945
2959
  stateLineage: z.ZodNullable<z.ZodString>;
2946
2960
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -3018,6 +3032,7 @@ declare const SCHEMAS: {
3018
3032
  findingId: z.ZodNullable<z.ZodString>;
3019
3033
  }, z.core.$strip>>;
3020
3034
  }, z.core.$strip>>;
3035
+ planHold: z.ZodNullable<z.ZodString>;
3021
3036
  }, z.core.$strip>;
3022
3037
  'policy list': z.ZodObject<{
3023
3038
  stack: z.ZodNullable<z.ZodString>;
@@ -3558,12 +3573,19 @@ declare const SCHEMAS: {
3558
3573
  slug: z.ZodString;
3559
3574
  name: z.ZodString;
3560
3575
  description: z.ZodNullable<z.ZodString>;
3561
- source: z.ZodNullable<z.ZodObject<{
3576
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3562
3577
  kind: z.ZodLiteral<"git">;
3563
3578
  repoUrl: z.ZodString;
3564
3579
  ref: z.ZodOptional<z.ZodString>;
3565
3580
  path: z.ZodOptional<z.ZodString>;
3566
- }, z.core.$strip>>;
3581
+ }, z.core.$strip>, z.ZodObject<{
3582
+ kind: z.ZodLiteral<"module_version">;
3583
+ author: z.ZodString;
3584
+ name: z.ZodString;
3585
+ system: z.ZodString;
3586
+ version: z.ZodString;
3587
+ }, z.core.$strip>], "kind">>;
3588
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3567
3589
  stateSerial: z.ZodNumber;
3568
3590
  stateLineage: z.ZodNullable<z.ZodString>;
3569
3591
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -2872,12 +2872,19 @@ declare const SCHEMAS: {
2872
2872
  slug: z.ZodString;
2873
2873
  name: z.ZodString;
2874
2874
  description: z.ZodNullable<z.ZodString>;
2875
- source: z.ZodNullable<z.ZodObject<{
2875
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2876
2876
  kind: z.ZodLiteral<"git">;
2877
2877
  repoUrl: z.ZodString;
2878
2878
  ref: z.ZodOptional<z.ZodString>;
2879
2879
  path: z.ZodOptional<z.ZodString>;
2880
- }, z.core.$strip>>;
2880
+ }, z.core.$strip>, z.ZodObject<{
2881
+ kind: z.ZodLiteral<"module_version">;
2882
+ author: z.ZodString;
2883
+ name: z.ZodString;
2884
+ system: z.ZodString;
2885
+ version: z.ZodString;
2886
+ }, z.core.$strip>], "kind">>;
2887
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2881
2888
  stateSerial: z.ZodNumber;
2882
2889
  stateLineage: z.ZodNullable<z.ZodString>;
2883
2890
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -2935,12 +2942,19 @@ declare const SCHEMAS: {
2935
2942
  slug: z.ZodString;
2936
2943
  name: z.ZodString;
2937
2944
  description: z.ZodNullable<z.ZodString>;
2938
- source: z.ZodNullable<z.ZodObject<{
2945
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2939
2946
  kind: z.ZodLiteral<"git">;
2940
2947
  repoUrl: z.ZodString;
2941
2948
  ref: z.ZodOptional<z.ZodString>;
2942
2949
  path: z.ZodOptional<z.ZodString>;
2943
- }, z.core.$strip>>;
2950
+ }, z.core.$strip>, z.ZodObject<{
2951
+ kind: z.ZodLiteral<"module_version">;
2952
+ author: z.ZodString;
2953
+ name: z.ZodString;
2954
+ system: z.ZodString;
2955
+ version: z.ZodString;
2956
+ }, z.core.$strip>], "kind">>;
2957
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2944
2958
  stateSerial: z.ZodNumber;
2945
2959
  stateLineage: z.ZodNullable<z.ZodString>;
2946
2960
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -3018,6 +3032,7 @@ declare const SCHEMAS: {
3018
3032
  findingId: z.ZodNullable<z.ZodString>;
3019
3033
  }, z.core.$strip>>;
3020
3034
  }, z.core.$strip>>;
3035
+ planHold: z.ZodNullable<z.ZodString>;
3021
3036
  }, z.core.$strip>;
3022
3037
  'policy list': z.ZodObject<{
3023
3038
  stack: z.ZodNullable<z.ZodString>;
@@ -3558,12 +3573,19 @@ declare const SCHEMAS: {
3558
3573
  slug: z.ZodString;
3559
3574
  name: z.ZodString;
3560
3575
  description: z.ZodNullable<z.ZodString>;
3561
- source: z.ZodNullable<z.ZodObject<{
3576
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3562
3577
  kind: z.ZodLiteral<"git">;
3563
3578
  repoUrl: z.ZodString;
3564
3579
  ref: z.ZodOptional<z.ZodString>;
3565
3580
  path: z.ZodOptional<z.ZodString>;
3566
- }, z.core.$strip>>;
3581
+ }, z.core.$strip>, z.ZodObject<{
3582
+ kind: z.ZodLiteral<"module_version">;
3583
+ author: z.ZodString;
3584
+ name: z.ZodString;
3585
+ system: z.ZodString;
3586
+ version: z.ZodString;
3587
+ }, z.core.$strip>], "kind">>;
3588
+ variables: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3567
3589
  stateSerial: z.ZodNumber;
3568
3590
  stateLineage: z.ZodNullable<z.ZodString>;
3569
3591
  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.40.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.40.0",
30
+ "@lace-cloud/proto": "0.40.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@size-limit/file": "12.1.0",