@lace-cloud/canvas 0.35.0 → 0.36.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
@@ -4,8 +4,8 @@ export { Toast } from '@lace-cloud/ui/feedback';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as React from 'react';
6
6
  import React__default, { FC, ReactNode } from 'react';
7
- import { aZ as ContributionSet, a_ as PanelSpec, a$ as CanvasCtx, k as CanvasPorts, ab as ResultStore, S as SourcePort, A as ActionContribution, b0 as Badge, b1 as NodeDecoration, b2 as Decorations, $ as PendingForm, h as BoundPath, b3 as CommandRead, J as JsonOf, b4 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ap as SourceEnd, b as ActionRunner, b5 as Bundle, b6 as CanvasSelection, b7 as LayoutHandle } from './registry-ynSG1hCz.mjs';
8
- export { b8 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, b9 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, ba as ContextKey, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, bb as EditorBinding, bc as EditorEnv, bd 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, be as KeySpec, bf as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ac as RunCtx, ad as RunOutcome, ae as RunSlot, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, bg as disabledReason, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aV as reportDiagnostics, bh as resolveContributions, bi as rowActions, aX as toArgv, aY as uniqueDiagnostics } from './registry-ynSG1hCz.mjs';
7
+ import { aZ as ContributionSet, a_ as PanelSpec, a$ as CanvasCtx, k as CanvasPorts, ab as ResultStore, S as SourcePort, A as ActionContribution, b0 as Badge, b1 as NodeDecoration, b2 as Decorations, $ as PendingForm, h as BoundPath, b3 as CommandRead, J as JsonOf, b4 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ap as SourceEnd, b as ActionRunner, b5 as Bundle, b6 as CanvasSelection, b7 as LayoutHandle } from './registry-Bflzqecd.mjs';
8
+ export { b8 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, b9 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, ba as ContextKey, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, bb as EditorBinding, bc as EditorEnv, bd 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, be as KeySpec, bf as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ac as RunCtx, ad as RunOutcome, ae as RunSlot, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, bg as disabledReason, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aV as reportDiagnostics, bh as resolveContributions, bi as rowActions, aX as toArgv, aY as uniqueDiagnostics } from './registry-Bflzqecd.mjs';
9
9
  import { NodeProps, Node } from '@xyflow/react';
10
10
  import 'zod';
11
11
  import '@bufbuild/protobuf/wire';
package/dist/index.d.ts CHANGED
@@ -4,8 +4,8 @@ export { Toast } from '@lace-cloud/ui/feedback';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as React from 'react';
6
6
  import React__default, { FC, ReactNode } from 'react';
7
- import { aZ as ContributionSet, a_ as PanelSpec, a$ as CanvasCtx, k as CanvasPorts, ab as ResultStore, S as SourcePort, A as ActionContribution, b0 as Badge, b1 as NodeDecoration, b2 as Decorations, $ as PendingForm, h as BoundPath, b3 as CommandRead, J as JsonOf, b4 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ap as SourceEnd, b as ActionRunner, b5 as Bundle, b6 as CanvasSelection, b7 as LayoutHandle } from './registry-ynSG1hCz.js';
8
- export { b8 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, b9 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, ba as ContextKey, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, bb as EditorBinding, bc as EditorEnv, bd 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, be as KeySpec, bf as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ac as RunCtx, ad as RunOutcome, ae as RunSlot, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, bg as disabledReason, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aV as reportDiagnostics, bh as resolveContributions, bi as rowActions, aX as toArgv, aY as uniqueDiagnostics } from './registry-ynSG1hCz.js';
7
+ import { aZ as ContributionSet, a_ as PanelSpec, a$ as CanvasCtx, k as CanvasPorts, ab as ResultStore, S as SourcePort, A as ActionContribution, b0 as Badge, b1 as NodeDecoration, b2 as Decorations, $ as PendingForm, h as BoundPath, b3 as CommandRead, J as JsonOf, b4 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ap as SourceEnd, b as ActionRunner, b5 as Bundle, b6 as CanvasSelection, b7 as LayoutHandle } from './registry-Bflzqecd.js';
8
+ export { b8 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, b9 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, ba as ContextKey, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, bb as EditorBinding, bc as EditorEnv, bd 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, be as KeySpec, bf as Placement, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ac as RunCtx, ad as RunOutcome, ae as RunSlot, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, bg as disabledReason, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aV as reportDiagnostics, bh as resolveContributions, bi as rowActions, aX as toArgv, aY as uniqueDiagnostics } from './registry-Bflzqecd.js';
9
9
  import { NodeProps, Node } from '@xyflow/react';
10
10
  import 'zod';
11
11
  import '@bufbuild/protobuf/wire';
package/dist/index.mjs CHANGED
@@ -46,7 +46,7 @@ import {
46
46
  rowActions,
47
47
  toArgv,
48
48
  uniqueDiagnostics
49
- } from "./chunk-O3I4KLND.mjs";
49
+ } from "./chunk-XPHDFIKV.mjs";
50
50
 
51
51
  // src/index.ts
52
52
  import { projectCanvasView as projectCanvasView2 } from "@lace-cloud/proto";
@@ -456,6 +456,13 @@ interface InitializeResponse {
456
456
  supported_protocols: string[];
457
457
  /** space-joined paths of the non-hidden command tree */
458
458
  command_paths: string[];
459
+ /**
460
+ * The digest of the contract the engine serves (scripts/lib/engine-contract.mjs):
461
+ * the command tree, the `--output json` documents and the failure
462
+ * envelopes the CLI's tests record. A client built from another contract
463
+ * refuses the engine; the engine compares no contract of the client's.
464
+ */
465
+ contract: string;
459
466
  }
460
467
  declare const InitializeResponse: MessageFns<InitializeResponse>;
461
468
  interface ShutdownResponse {
@@ -2145,6 +2152,10 @@ declare const COMMANDS: {
2145
2152
  readonly readme: {
2146
2153
  readonly type: "string";
2147
2154
  };
2155
+ readonly visibility: {
2156
+ readonly type: "string";
2157
+ readonly values: readonly ["public", "org_private"];
2158
+ };
2148
2159
  };
2149
2160
  readonly effect: "read";
2150
2161
  readonly hidden: false;
@@ -2848,7 +2859,6 @@ declare const SCHEMAS: {
2848
2859
  deviation: z.ZodOptional<z.ZodObject<{
2849
2860
  notCompositional: z.ZodBoolean;
2850
2861
  clusters: z.ZodArray<z.ZodUnknown>;
2851
- residuals: z.ZodArray<z.ZodUnknown>;
2852
2862
  hasManagedBackend: z.ZodBoolean;
2853
2863
  backendFindings: z.ZodArray<z.ZodObject<{
2854
2864
  file: z.ZodString;
@@ -2939,7 +2949,6 @@ declare const SCHEMAS: {
2939
2949
  deviation: z.ZodOptional<z.ZodObject<{
2940
2950
  notCompositional: z.ZodBoolean;
2941
2951
  clusters: z.ZodArray<z.ZodUnknown>;
2942
- residuals: z.ZodArray<z.ZodUnknown>;
2943
2952
  hasManagedBackend: z.ZodBoolean;
2944
2953
  backendFindings: z.ZodArray<z.ZodObject<{
2945
2954
  file: z.ZodString;
@@ -3083,6 +3092,7 @@ declare const SCHEMAS: {
3083
3092
  }, z.core.$strip>>;
3084
3093
  truncated: z.ZodBoolean;
3085
3094
  publishingGuideUrl: z.ZodString;
3095
+ scopeNotice: z.ZodOptional<z.ZodString>;
3086
3096
  }, z.core.$strip>;
3087
3097
  'registry get': z.ZodObject<{
3088
3098
  axis: z.ZodString;
@@ -3745,7 +3755,6 @@ declare const SCHEMAS: {
3745
3755
  deviation: z.ZodOptional<z.ZodObject<{
3746
3756
  notCompositional: z.ZodBoolean;
3747
3757
  clusters: z.ZodArray<z.ZodUnknown>;
3748
- residuals: z.ZodArray<z.ZodUnknown>;
3749
3758
  hasManagedBackend: z.ZodBoolean;
3750
3759
  backendFindings: z.ZodArray<z.ZodObject<{
3751
3760
  file: z.ZodString;
@@ -456,6 +456,13 @@ interface InitializeResponse {
456
456
  supported_protocols: string[];
457
457
  /** space-joined paths of the non-hidden command tree */
458
458
  command_paths: string[];
459
+ /**
460
+ * The digest of the contract the engine serves (scripts/lib/engine-contract.mjs):
461
+ * the command tree, the `--output json` documents and the failure
462
+ * envelopes the CLI's tests record. A client built from another contract
463
+ * refuses the engine; the engine compares no contract of the client's.
464
+ */
465
+ contract: string;
459
466
  }
460
467
  declare const InitializeResponse: MessageFns<InitializeResponse>;
461
468
  interface ShutdownResponse {
@@ -2145,6 +2152,10 @@ declare const COMMANDS: {
2145
2152
  readonly readme: {
2146
2153
  readonly type: "string";
2147
2154
  };
2155
+ readonly visibility: {
2156
+ readonly type: "string";
2157
+ readonly values: readonly ["public", "org_private"];
2158
+ };
2148
2159
  };
2149
2160
  readonly effect: "read";
2150
2161
  readonly hidden: false;
@@ -2848,7 +2859,6 @@ declare const SCHEMAS: {
2848
2859
  deviation: z.ZodOptional<z.ZodObject<{
2849
2860
  notCompositional: z.ZodBoolean;
2850
2861
  clusters: z.ZodArray<z.ZodUnknown>;
2851
- residuals: z.ZodArray<z.ZodUnknown>;
2852
2862
  hasManagedBackend: z.ZodBoolean;
2853
2863
  backendFindings: z.ZodArray<z.ZodObject<{
2854
2864
  file: z.ZodString;
@@ -2939,7 +2949,6 @@ declare const SCHEMAS: {
2939
2949
  deviation: z.ZodOptional<z.ZodObject<{
2940
2950
  notCompositional: z.ZodBoolean;
2941
2951
  clusters: z.ZodArray<z.ZodUnknown>;
2942
- residuals: z.ZodArray<z.ZodUnknown>;
2943
2952
  hasManagedBackend: z.ZodBoolean;
2944
2953
  backendFindings: z.ZodArray<z.ZodObject<{
2945
2954
  file: z.ZodString;
@@ -3083,6 +3092,7 @@ declare const SCHEMAS: {
3083
3092
  }, z.core.$strip>>;
3084
3093
  truncated: z.ZodBoolean;
3085
3094
  publishingGuideUrl: z.ZodString;
3095
+ scopeNotice: z.ZodOptional<z.ZodString>;
3086
3096
  }, z.core.$strip>;
3087
3097
  'registry get': z.ZodObject<{
3088
3098
  axis: z.ZodString;
@@ -3745,7 +3755,6 @@ declare const SCHEMAS: {
3745
3755
  deviation: z.ZodOptional<z.ZodObject<{
3746
3756
  notCompositional: z.ZodBoolean;
3747
3757
  clusters: z.ZodArray<z.ZodUnknown>;
3748
- residuals: z.ZodArray<z.ZodUnknown>;
3749
3758
  hasManagedBackend: z.ZodBoolean;
3750
3759
  backendFindings: z.ZodArray<z.ZodObject<{
3751
3760
  file: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lace-cloud/canvas",
3
- "version": "0.35.0",
3
+ "version": "0.36.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/proto": "0.35.0",
30
- "@lace-cloud/ui": "0.35.0"
29
+ "@lace-cloud/ui": "0.36.0",
30
+ "@lace-cloud/proto": "0.36.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@size-limit/file": "12.1.0",
@@ -38,8 +38,8 @@
38
38
  "tsx": "^4.19.0",
39
39
  "typescript": "^6.0.2",
40
40
  "vitest": "^4.1.0",
41
- "@lace-cloud/cast-ban-scanner": "0.0.0",
42
41
  "@lace-cloud/api-types": "0.0.0",
42
+ "@lace-cloud/cast-ban-scanner": "0.0.0",
43
43
  "@lace-cloud/import-graph": "0.0.0"
44
44
  },
45
45
  "publishConfig": {