@lace-cloud/canvas 0.38.0 → 0.39.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-BYGzxLKn.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-BYGzxLKn.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-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';
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-BYGzxLKn.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-BYGzxLKn.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-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';
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-GLQVTWB4.mjs";
53
+ } from "./chunk-C6QJEJO5.mjs";
54
54
 
55
55
  // src/App.tsx
56
56
  import { ReactFlowProvider } from "@xyflow/react";
@@ -1395,6 +1395,39 @@ declare const COMMANDS: {
1395
1395
  readonly hidden: false;
1396
1396
  readonly yes: false;
1397
1397
  };
1398
+ readonly "events export": {
1399
+ readonly path: "events export";
1400
+ readonly positionals: readonly [];
1401
+ readonly flags: {
1402
+ readonly after: {
1403
+ readonly type: "string";
1404
+ };
1405
+ readonly file: {
1406
+ readonly type: "string";
1407
+ };
1408
+ readonly org: {
1409
+ readonly type: "string";
1410
+ };
1411
+ readonly output: {
1412
+ readonly type: "string";
1413
+ readonly values: readonly ["ndjson", "json"];
1414
+ readonly short: "o";
1415
+ };
1416
+ readonly since: {
1417
+ readonly type: "string";
1418
+ };
1419
+ readonly type: {
1420
+ readonly type: "stringArray";
1421
+ readonly repeated: true;
1422
+ };
1423
+ readonly until: {
1424
+ readonly type: "string";
1425
+ };
1426
+ };
1427
+ readonly effect: "write";
1428
+ readonly hidden: false;
1429
+ readonly yes: false;
1430
+ };
1398
1431
  readonly "hooks install": {
1399
1432
  readonly path: "hooks install";
1400
1433
  readonly positionals: readonly [];
@@ -3155,6 +3188,22 @@ declare const SCHEMAS: {
3155
3188
  confidenceScore: z.ZodNumber;
3156
3189
  producedAt: z.ZodString;
3157
3190
  outputJson: z.ZodUnknown;
3191
+ read: z.ZodObject<{
3192
+ plan: z.ZodString;
3193
+ since: z.ZodNullable<z.ZodString>;
3194
+ cites: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3195
+ kind: z.ZodString;
3196
+ id: z.ZodString;
3197
+ at: z.ZodString;
3198
+ present: z.ZodOptional<z.ZodLiteral<true>>;
3199
+ ageDays: z.ZodNumber;
3200
+ }, z.core.$strip>, z.ZodObject<{
3201
+ kind: z.ZodString;
3202
+ count: z.ZodNumber;
3203
+ oldestAt: z.ZodString;
3204
+ ageDays: z.ZodNumber;
3205
+ }, z.core.$strip>]>>>;
3206
+ }, z.core.$strip>;
3158
3207
  }, z.core.$strip>>;
3159
3208
  agentCount: z.ZodNumber;
3160
3209
  }, z.core.$strip>, z.ZodObject<{
@@ -3199,12 +3248,35 @@ declare const SCHEMAS: {
3199
3248
  confidenceScore: z.ZodNumber;
3200
3249
  producedAt: z.ZodString;
3201
3250
  outputJson: z.ZodUnknown;
3251
+ read: z.ZodObject<{
3252
+ plan: z.ZodString;
3253
+ since: z.ZodNullable<z.ZodString>;
3254
+ cites: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3255
+ kind: z.ZodString;
3256
+ id: z.ZodString;
3257
+ at: z.ZodString;
3258
+ present: z.ZodOptional<z.ZodLiteral<true>>;
3259
+ ageDays: z.ZodNumber;
3260
+ }, z.core.$strip>, z.ZodObject<{
3261
+ kind: z.ZodString;
3262
+ count: z.ZodNumber;
3263
+ oldestAt: z.ZodString;
3264
+ ageDays: z.ZodNumber;
3265
+ }, z.core.$strip>]>>>;
3266
+ }, z.core.$strip>;
3202
3267
  }, z.core.$strip>>;
3203
3268
  }, z.core.$strip>>;
3204
3269
  }, z.core.$strip>], "kind">>;
3205
3270
  belowFloor: z.ZodNumber;
3271
+ incompleteAssessment: z.ZodOptional<z.ZodBoolean>;
3206
3272
  }, z.core.$strip>;
3207
3273
  truncated: z.ZodBoolean;
3274
+ window: z.ZodNullable<z.ZodObject<{
3275
+ plan: z.ZodString;
3276
+ since: z.ZodString;
3277
+ notRead: z.ZodNumber;
3278
+ line: z.ZodString;
3279
+ }, z.core.$strip>>;
3208
3280
  pending: z.ZodNumber;
3209
3281
  bound: z.ZodOptional<z.ZodNumber>;
3210
3282
  }, z.core.$strip>;
@@ -3926,7 +3998,7 @@ declare const SCHEMAS: {
3926
3998
  type: z.ZodLiteral<"url">;
3927
3999
  url: z.ZodString;
3928
4000
  }, z.core.$strip>, z.ZodObject<{
3929
- type: z.ZodLiteral<"email_sent">;
4001
+ type: z.ZodLiteral<"link_requested">;
3930
4002
  email: z.ZodString;
3931
4003
  }, z.core.$strip>, z.ZodObject<{
3932
4004
  type: z.ZodLiteral<"result">;
@@ -1395,6 +1395,39 @@ declare const COMMANDS: {
1395
1395
  readonly hidden: false;
1396
1396
  readonly yes: false;
1397
1397
  };
1398
+ readonly "events export": {
1399
+ readonly path: "events export";
1400
+ readonly positionals: readonly [];
1401
+ readonly flags: {
1402
+ readonly after: {
1403
+ readonly type: "string";
1404
+ };
1405
+ readonly file: {
1406
+ readonly type: "string";
1407
+ };
1408
+ readonly org: {
1409
+ readonly type: "string";
1410
+ };
1411
+ readonly output: {
1412
+ readonly type: "string";
1413
+ readonly values: readonly ["ndjson", "json"];
1414
+ readonly short: "o";
1415
+ };
1416
+ readonly since: {
1417
+ readonly type: "string";
1418
+ };
1419
+ readonly type: {
1420
+ readonly type: "stringArray";
1421
+ readonly repeated: true;
1422
+ };
1423
+ readonly until: {
1424
+ readonly type: "string";
1425
+ };
1426
+ };
1427
+ readonly effect: "write";
1428
+ readonly hidden: false;
1429
+ readonly yes: false;
1430
+ };
1398
1431
  readonly "hooks install": {
1399
1432
  readonly path: "hooks install";
1400
1433
  readonly positionals: readonly [];
@@ -3155,6 +3188,22 @@ declare const SCHEMAS: {
3155
3188
  confidenceScore: z.ZodNumber;
3156
3189
  producedAt: z.ZodString;
3157
3190
  outputJson: z.ZodUnknown;
3191
+ read: z.ZodObject<{
3192
+ plan: z.ZodString;
3193
+ since: z.ZodNullable<z.ZodString>;
3194
+ cites: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3195
+ kind: z.ZodString;
3196
+ id: z.ZodString;
3197
+ at: z.ZodString;
3198
+ present: z.ZodOptional<z.ZodLiteral<true>>;
3199
+ ageDays: z.ZodNumber;
3200
+ }, z.core.$strip>, z.ZodObject<{
3201
+ kind: z.ZodString;
3202
+ count: z.ZodNumber;
3203
+ oldestAt: z.ZodString;
3204
+ ageDays: z.ZodNumber;
3205
+ }, z.core.$strip>]>>>;
3206
+ }, z.core.$strip>;
3158
3207
  }, z.core.$strip>>;
3159
3208
  agentCount: z.ZodNumber;
3160
3209
  }, z.core.$strip>, z.ZodObject<{
@@ -3199,12 +3248,35 @@ declare const SCHEMAS: {
3199
3248
  confidenceScore: z.ZodNumber;
3200
3249
  producedAt: z.ZodString;
3201
3250
  outputJson: z.ZodUnknown;
3251
+ read: z.ZodObject<{
3252
+ plan: z.ZodString;
3253
+ since: z.ZodNullable<z.ZodString>;
3254
+ cites: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3255
+ kind: z.ZodString;
3256
+ id: z.ZodString;
3257
+ at: z.ZodString;
3258
+ present: z.ZodOptional<z.ZodLiteral<true>>;
3259
+ ageDays: z.ZodNumber;
3260
+ }, z.core.$strip>, z.ZodObject<{
3261
+ kind: z.ZodString;
3262
+ count: z.ZodNumber;
3263
+ oldestAt: z.ZodString;
3264
+ ageDays: z.ZodNumber;
3265
+ }, z.core.$strip>]>>>;
3266
+ }, z.core.$strip>;
3202
3267
  }, z.core.$strip>>;
3203
3268
  }, z.core.$strip>>;
3204
3269
  }, z.core.$strip>], "kind">>;
3205
3270
  belowFloor: z.ZodNumber;
3271
+ incompleteAssessment: z.ZodOptional<z.ZodBoolean>;
3206
3272
  }, z.core.$strip>;
3207
3273
  truncated: z.ZodBoolean;
3274
+ window: z.ZodNullable<z.ZodObject<{
3275
+ plan: z.ZodString;
3276
+ since: z.ZodString;
3277
+ notRead: z.ZodNumber;
3278
+ line: z.ZodString;
3279
+ }, z.core.$strip>>;
3208
3280
  pending: z.ZodNumber;
3209
3281
  bound: z.ZodOptional<z.ZodNumber>;
3210
3282
  }, z.core.$strip>;
@@ -3926,7 +3998,7 @@ declare const SCHEMAS: {
3926
3998
  type: z.ZodLiteral<"url">;
3927
3999
  url: z.ZodString;
3928
4000
  }, z.core.$strip>, z.ZodObject<{
3929
- type: z.ZodLiteral<"email_sent">;
4001
+ type: z.ZodLiteral<"link_requested">;
3930
4002
  email: z.ZodString;
3931
4003
  }, z.core.$strip>, z.ZodObject<{
3932
4004
  type: z.ZodLiteral<"result">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lace-cloud/canvas",
3
- "version": "0.38.0",
3
+ "version": "0.39.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.38.0",
30
- "@lace-cloud/ui": "0.38.0"
29
+ "@lace-cloud/ui": "0.39.0",
30
+ "@lace-cloud/proto": "0.39.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@size-limit/file": "12.1.0",