@lace-cloud/canvas 0.19.0 → 0.20.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 { C as ContributionSet, P as PanelSpec, a as CanvasCtx, b as CanvasPorts, R as ResultStore, S as SourcePort, A as ActionContribution, B as Badge, c as PendingForm, D as Decorations, d as BoundPath, e as CommandRead, J as JsonOf, O as OverlayContribution, f as ActionTarget, g as CommandResult, h as CanvasSource, i as SourceEnd, j as RunCtx, k as Bundle, E as EdgeRef, l as ActionRunner, L as LayoutHandle } from './mapping-BzX6r87C.mjs';
8
- export { m as ActionRunnerOptions, n as ApplyResult, o as ApplyUnobservedError, p as ArgsOf, q as BindingRuntime, r as BridgeEngineCaller, s as COMMANDS, t as ClipboardStore, u as CommandBinding, v as CommandDetachedError, w as CommandExitError, x as CommandFailure, y as CommandPath, z as CommandRun, F as CommandsPort, G as ConfirmSpec, H as ConnectCallerOptions, I as ConnectError, K as ContextKey, M as ContextPort, N as CreatedRef, Q as DirectEngineCaller, T as EMPTY_REPORT_FOLD, U as EditorBinding, V as EditorEnv, W as EditorEnvExtras, X as EditorPort, Y as EngineCaller, Z as EngineMethodResponse, _ as EngineSession, $ as EngineSessionOptions, a0 as EngineTarget, a1 as ErasedCommand, a2 as FollowSlot, a3 as GenerateEvent, a4 as GraphError, a5 as HostBinding, a6 as Invocation, a7 as NodeDecoration, a8 as Placement, a9 as PortName, aa as PresenterPort, ab as PreviewSlot, ac as Reason, ad as ReportEntry, ae as ReportFold, af as ReportPath, ag as ReportSlot, ah as ResultKind, ai as ResultSlots, aj as RunOutcome, ak as RunSlot, al as RunnerPorts, am as SCHEMAS, an as Sink, ao as SinkInput, ap as SlotContext, aq as SlotKind, ar as SourceConflict, as as StackRef, at as ViewStatePort, au as WiringCandidate, av as WiringQuery, aw as bridgeCaller, ax as carriesFailure, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, aE as foldReport, aF as isBoundPath, aG as openEngineCommands, aH as openEngineSession, aI as parseBound, aJ as parseCommandFailure, aK as reportDiagnostics, aL as toArgv, aM as uniqueDiagnostics } from './mapping-BzX6r87C.mjs';
7
+ import { C as ContributionSet, P as PanelSpec, a as CanvasCtx, b as CanvasPorts, R as ResultStore, S as SourcePort, A as ActionContribution, B as Badge, c as PendingForm, D as Decorations, d as BoundPath, e as CommandRead, J as JsonOf, O as OverlayContribution, f as ActionTarget, g as CommandResult, h as CanvasSource, i as SourceEnd, j as RunCtx, k as Bundle, E as EdgeRef, l as ActionRunner, L as LayoutHandle } from './mapping-ChSnv11V.mjs';
8
+ export { m as ActionRunnerOptions, n as ApplyResult, o as ApplyUnobservedError, p as ArgsOf, q as BindingRuntime, r as BridgeEngineCaller, s as COMMANDS, t as ClipboardStore, u as CommandBinding, v as CommandDetachedError, w as CommandExitError, x as CommandFailure, y as CommandPath, z as CommandRun, F as CommandsPort, G as ConfirmSpec, H as ConnectCallerOptions, I as ConnectError, K as ContextKey, M as ContextPort, N as CreatedRef, Q as DirectEngineCaller, T as EMPTY_REPORT_FOLD, U as EditorBinding, V as EditorEnv, W as EditorEnvExtras, X as EditorPort, Y as EngineCaller, Z as EngineMethodResponse, _ as EngineSession, $ as EngineSessionOptions, a0 as EngineTarget, a1 as ErasedCommand, a2 as FollowSlot, a3 as GenerateEvent, a4 as GraphError, a5 as HostBinding, a6 as Invocation, a7 as NodeDecoration, a8 as Placement, a9 as PortName, aa as PresenterPort, ab as PreviewSlot, ac as Reason, ad as ReportEntry, ae as ReportFold, af as ReportPath, ag as ReportSlot, ah as ResultKind, ai as ResultSlots, aj as RunOutcome, ak as RunSlot, al as RunnerPorts, am as SCHEMAS, an as Sink, ao as SinkInput, ap as SlotContext, aq as SlotKind, ar as SourceConflict, as as StackRef, at as ViewStatePort, au as WiringCandidate, av as WiringQuery, aw as bridgeCaller, ax as carriesFailure, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, aE as foldReport, aF as isBoundPath, aG as openEngineCommands, aH as openEngineSession, aI as parseBound, aJ as parseCommandFailure, aK as reportDiagnostics, aL as toArgv, aM as uniqueDiagnostics } from './mapping-ChSnv11V.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 { C as ContributionSet, P as PanelSpec, a as CanvasCtx, b as CanvasPorts, R as ResultStore, S as SourcePort, A as ActionContribution, B as Badge, c as PendingForm, D as Decorations, d as BoundPath, e as CommandRead, J as JsonOf, O as OverlayContribution, f as ActionTarget, g as CommandResult, h as CanvasSource, i as SourceEnd, j as RunCtx, k as Bundle, E as EdgeRef, l as ActionRunner, L as LayoutHandle } from './mapping-BzX6r87C.js';
8
- export { m as ActionRunnerOptions, n as ApplyResult, o as ApplyUnobservedError, p as ArgsOf, q as BindingRuntime, r as BridgeEngineCaller, s as COMMANDS, t as ClipboardStore, u as CommandBinding, v as CommandDetachedError, w as CommandExitError, x as CommandFailure, y as CommandPath, z as CommandRun, F as CommandsPort, G as ConfirmSpec, H as ConnectCallerOptions, I as ConnectError, K as ContextKey, M as ContextPort, N as CreatedRef, Q as DirectEngineCaller, T as EMPTY_REPORT_FOLD, U as EditorBinding, V as EditorEnv, W as EditorEnvExtras, X as EditorPort, Y as EngineCaller, Z as EngineMethodResponse, _ as EngineSession, $ as EngineSessionOptions, a0 as EngineTarget, a1 as ErasedCommand, a2 as FollowSlot, a3 as GenerateEvent, a4 as GraphError, a5 as HostBinding, a6 as Invocation, a7 as NodeDecoration, a8 as Placement, a9 as PortName, aa as PresenterPort, ab as PreviewSlot, ac as Reason, ad as ReportEntry, ae as ReportFold, af as ReportPath, ag as ReportSlot, ah as ResultKind, ai as ResultSlots, aj as RunOutcome, ak as RunSlot, al as RunnerPorts, am as SCHEMAS, an as Sink, ao as SinkInput, ap as SlotContext, aq as SlotKind, ar as SourceConflict, as as StackRef, at as ViewStatePort, au as WiringCandidate, av as WiringQuery, aw as bridgeCaller, ax as carriesFailure, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, aE as foldReport, aF as isBoundPath, aG as openEngineCommands, aH as openEngineSession, aI as parseBound, aJ as parseCommandFailure, aK as reportDiagnostics, aL as toArgv, aM as uniqueDiagnostics } from './mapping-BzX6r87C.js';
7
+ import { C as ContributionSet, P as PanelSpec, a as CanvasCtx, b as CanvasPorts, R as ResultStore, S as SourcePort, A as ActionContribution, B as Badge, c as PendingForm, D as Decorations, d as BoundPath, e as CommandRead, J as JsonOf, O as OverlayContribution, f as ActionTarget, g as CommandResult, h as CanvasSource, i as SourceEnd, j as RunCtx, k as Bundle, E as EdgeRef, l as ActionRunner, L as LayoutHandle } from './mapping-ChSnv11V.js';
8
+ export { m as ActionRunnerOptions, n as ApplyResult, o as ApplyUnobservedError, p as ArgsOf, q as BindingRuntime, r as BridgeEngineCaller, s as COMMANDS, t as ClipboardStore, u as CommandBinding, v as CommandDetachedError, w as CommandExitError, x as CommandFailure, y as CommandPath, z as CommandRun, F as CommandsPort, G as ConfirmSpec, H as ConnectCallerOptions, I as ConnectError, K as ContextKey, M as ContextPort, N as CreatedRef, Q as DirectEngineCaller, T as EMPTY_REPORT_FOLD, U as EditorBinding, V as EditorEnv, W as EditorEnvExtras, X as EditorPort, Y as EngineCaller, Z as EngineMethodResponse, _ as EngineSession, $ as EngineSessionOptions, a0 as EngineTarget, a1 as ErasedCommand, a2 as FollowSlot, a3 as GenerateEvent, a4 as GraphError, a5 as HostBinding, a6 as Invocation, a7 as NodeDecoration, a8 as Placement, a9 as PortName, aa as PresenterPort, ab as PreviewSlot, ac as Reason, ad as ReportEntry, ae as ReportFold, af as ReportPath, ag as ReportSlot, ah as ResultKind, ai as ResultSlots, aj as RunOutcome, ak as RunSlot, al as RunnerPorts, am as SCHEMAS, an as Sink, ao as SinkInput, ap as SlotContext, aq as SlotKind, ar as SourceConflict, as as StackRef, at as ViewStatePort, au as WiringCandidate, av as WiringQuery, aw as bridgeCaller, ax as carriesFailure, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, aE as foldReport, aF as isBoundPath, aG as openEngineCommands, aH as openEngineSession, aI as parseBound, aJ as parseCommandFailure, aK as reportDiagnostics, aL as toArgv, aM as uniqueDiagnostics } from './mapping-ChSnv11V.js';
9
9
  import { NodeProps, Node } from '@xyflow/react';
10
10
  import 'zod';
11
11
  import '@bufbuild/protobuf/wire';
package/dist/index.mjs CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  rowActions,
32
32
  toArgv,
33
33
  uniqueDiagnostics
34
- } from "./chunk-S2FFLFOT.mjs";
34
+ } from "./chunk-R4RA2QI7.mjs";
35
35
 
36
36
  // src/index.ts
37
37
  import { projectCanvasView as projectCanvasView2 } from "@lace-cloud/proto";
@@ -1510,8 +1510,12 @@ interface ShutdownResponse {
1510
1510
  }
1511
1511
  declare const ShutdownResponse: MessageFns<ShutdownResponse>;
1512
1512
  interface ReadCredentialResponse {
1513
- /** empty when signed out */
1514
- api_key: string;
1513
+ /**
1514
+ * Present exactly when the developer is signed in. A present key is never
1515
+ * empty, so the bytes are those of a plain string field: field 1 is
1516
+ * omitted while signed out and carries the key otherwise.
1517
+ */
1518
+ api_key?: string | undefined;
1515
1519
  /** the API the engine's own commands call */
1516
1520
  api_base_url: string;
1517
1521
  }
@@ -2218,7 +2222,7 @@ declare const LaceEngineDefinition: {
2218
2222
  /**
2219
2223
  * Answers the credential this engine holds: the API key `lace login`
2220
2224
  * saved or `LACE_TOKEN` supplies, read fresh on every call so a `lace
2221
- * login` or `lace logout` takes effect at once (empty when signed out),
2225
+ * login` or `lace logout` takes effect at once (absent when signed out),
2222
2226
  * beside the base URL of the API that key is for, the one the engine's
2223
2227
  * own commands call (the CLI's `config.ResolveBaseURL`). The host
2224
2228
  * that spawned the engine builds its own authenticated transport to
@@ -1510,8 +1510,12 @@ interface ShutdownResponse {
1510
1510
  }
1511
1511
  declare const ShutdownResponse: MessageFns<ShutdownResponse>;
1512
1512
  interface ReadCredentialResponse {
1513
- /** empty when signed out */
1514
- api_key: string;
1513
+ /**
1514
+ * Present exactly when the developer is signed in. A present key is never
1515
+ * empty, so the bytes are those of a plain string field: field 1 is
1516
+ * omitted while signed out and carries the key otherwise.
1517
+ */
1518
+ api_key?: string | undefined;
1515
1519
  /** the API the engine's own commands call */
1516
1520
  api_base_url: string;
1517
1521
  }
@@ -2218,7 +2222,7 @@ declare const LaceEngineDefinition: {
2218
2222
  /**
2219
2223
  * Answers the credential this engine holds: the API key `lace login`
2220
2224
  * saved or `LACE_TOKEN` supplies, read fresh on every call so a `lace
2221
- * login` or `lace logout` takes effect at once (empty when signed out),
2225
+ * login` or `lace logout` takes effect at once (absent when signed out),
2222
2226
  * beside the base URL of the API that key is for, the one the engine's
2223
2227
  * own commands call (the CLI's `config.ResolveBaseURL`). The host
2224
2228
  * that spawned the engine builds its own authenticated transport to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lace-cloud/canvas",
3
- "version": "0.19.0",
3
+ "version": "0.20.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.19.0",
27
- "@lace-cloud/ui": "0.19.0"
26
+ "@lace-cloud/proto": "0.20.0",
27
+ "@lace-cloud/ui": "0.20.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/react": "^18.3.12",