@lace-cloud/canvas 0.38.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-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-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-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-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-GLQVTWB4.mjs";
53
+ } from "./chunk-TGXBVAPM.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 [];
@@ -2839,12 +2872,19 @@ declare const SCHEMAS: {
2839
2872
  slug: z.ZodString;
2840
2873
  name: z.ZodString;
2841
2874
  description: z.ZodNullable<z.ZodString>;
2842
- source: z.ZodNullable<z.ZodObject<{
2875
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2843
2876
  kind: z.ZodLiteral<"git">;
2844
2877
  repoUrl: z.ZodString;
2845
2878
  ref: z.ZodOptional<z.ZodString>;
2846
2879
  path: z.ZodOptional<z.ZodString>;
2847
- }, 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>>;
2848
2888
  stateSerial: z.ZodNumber;
2849
2889
  stateLineage: z.ZodNullable<z.ZodString>;
2850
2890
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -2902,12 +2942,19 @@ declare const SCHEMAS: {
2902
2942
  slug: z.ZodString;
2903
2943
  name: z.ZodString;
2904
2944
  description: z.ZodNullable<z.ZodString>;
2905
- source: z.ZodNullable<z.ZodObject<{
2945
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2906
2946
  kind: z.ZodLiteral<"git">;
2907
2947
  repoUrl: z.ZodString;
2908
2948
  ref: z.ZodOptional<z.ZodString>;
2909
2949
  path: z.ZodOptional<z.ZodString>;
2910
- }, 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>>;
2911
2958
  stateSerial: z.ZodNumber;
2912
2959
  stateLineage: z.ZodNullable<z.ZodString>;
2913
2960
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -2985,6 +3032,7 @@ declare const SCHEMAS: {
2985
3032
  findingId: z.ZodNullable<z.ZodString>;
2986
3033
  }, z.core.$strip>>;
2987
3034
  }, z.core.$strip>>;
3035
+ planHold: z.ZodNullable<z.ZodString>;
2988
3036
  }, z.core.$strip>;
2989
3037
  'policy list': z.ZodObject<{
2990
3038
  stack: z.ZodNullable<z.ZodString>;
@@ -3155,6 +3203,22 @@ declare const SCHEMAS: {
3155
3203
  confidenceScore: z.ZodNumber;
3156
3204
  producedAt: z.ZodString;
3157
3205
  outputJson: z.ZodUnknown;
3206
+ read: z.ZodObject<{
3207
+ plan: z.ZodString;
3208
+ since: z.ZodNullable<z.ZodString>;
3209
+ cites: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3210
+ kind: z.ZodString;
3211
+ id: z.ZodString;
3212
+ at: z.ZodString;
3213
+ present: z.ZodOptional<z.ZodLiteral<true>>;
3214
+ ageDays: z.ZodNumber;
3215
+ }, z.core.$strip>, z.ZodObject<{
3216
+ kind: z.ZodString;
3217
+ count: z.ZodNumber;
3218
+ oldestAt: z.ZodString;
3219
+ ageDays: z.ZodNumber;
3220
+ }, z.core.$strip>]>>>;
3221
+ }, z.core.$strip>;
3158
3222
  }, z.core.$strip>>;
3159
3223
  agentCount: z.ZodNumber;
3160
3224
  }, z.core.$strip>, z.ZodObject<{
@@ -3199,12 +3263,35 @@ declare const SCHEMAS: {
3199
3263
  confidenceScore: z.ZodNumber;
3200
3264
  producedAt: z.ZodString;
3201
3265
  outputJson: z.ZodUnknown;
3266
+ read: z.ZodObject<{
3267
+ plan: z.ZodString;
3268
+ since: z.ZodNullable<z.ZodString>;
3269
+ cites: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3270
+ kind: z.ZodString;
3271
+ id: z.ZodString;
3272
+ at: z.ZodString;
3273
+ present: z.ZodOptional<z.ZodLiteral<true>>;
3274
+ ageDays: z.ZodNumber;
3275
+ }, z.core.$strip>, z.ZodObject<{
3276
+ kind: z.ZodString;
3277
+ count: z.ZodNumber;
3278
+ oldestAt: z.ZodString;
3279
+ ageDays: z.ZodNumber;
3280
+ }, z.core.$strip>]>>>;
3281
+ }, z.core.$strip>;
3202
3282
  }, z.core.$strip>>;
3203
3283
  }, z.core.$strip>>;
3204
3284
  }, z.core.$strip>], "kind">>;
3205
3285
  belowFloor: z.ZodNumber;
3286
+ incompleteAssessment: z.ZodOptional<z.ZodBoolean>;
3206
3287
  }, z.core.$strip>;
3207
3288
  truncated: z.ZodBoolean;
3289
+ window: z.ZodNullable<z.ZodObject<{
3290
+ plan: z.ZodString;
3291
+ since: z.ZodString;
3292
+ notRead: z.ZodNumber;
3293
+ line: z.ZodString;
3294
+ }, z.core.$strip>>;
3208
3295
  pending: z.ZodNumber;
3209
3296
  bound: z.ZodOptional<z.ZodNumber>;
3210
3297
  }, z.core.$strip>;
@@ -3486,12 +3573,19 @@ declare const SCHEMAS: {
3486
3573
  slug: z.ZodString;
3487
3574
  name: z.ZodString;
3488
3575
  description: z.ZodNullable<z.ZodString>;
3489
- source: z.ZodNullable<z.ZodObject<{
3576
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3490
3577
  kind: z.ZodLiteral<"git">;
3491
3578
  repoUrl: z.ZodString;
3492
3579
  ref: z.ZodOptional<z.ZodString>;
3493
3580
  path: z.ZodOptional<z.ZodString>;
3494
- }, 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>>;
3495
3589
  stateSerial: z.ZodNumber;
3496
3590
  stateLineage: z.ZodNullable<z.ZodString>;
3497
3591
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -3926,7 +4020,7 @@ declare const SCHEMAS: {
3926
4020
  type: z.ZodLiteral<"url">;
3927
4021
  url: z.ZodString;
3928
4022
  }, z.core.$strip>, z.ZodObject<{
3929
- type: z.ZodLiteral<"email_sent">;
4023
+ type: z.ZodLiteral<"link_requested">;
3930
4024
  email: z.ZodString;
3931
4025
  }, z.core.$strip>, z.ZodObject<{
3932
4026
  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 [];
@@ -2839,12 +2872,19 @@ declare const SCHEMAS: {
2839
2872
  slug: z.ZodString;
2840
2873
  name: z.ZodString;
2841
2874
  description: z.ZodNullable<z.ZodString>;
2842
- source: z.ZodNullable<z.ZodObject<{
2875
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2843
2876
  kind: z.ZodLiteral<"git">;
2844
2877
  repoUrl: z.ZodString;
2845
2878
  ref: z.ZodOptional<z.ZodString>;
2846
2879
  path: z.ZodOptional<z.ZodString>;
2847
- }, 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>>;
2848
2888
  stateSerial: z.ZodNumber;
2849
2889
  stateLineage: z.ZodNullable<z.ZodString>;
2850
2890
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -2902,12 +2942,19 @@ declare const SCHEMAS: {
2902
2942
  slug: z.ZodString;
2903
2943
  name: z.ZodString;
2904
2944
  description: z.ZodNullable<z.ZodString>;
2905
- source: z.ZodNullable<z.ZodObject<{
2945
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2906
2946
  kind: z.ZodLiteral<"git">;
2907
2947
  repoUrl: z.ZodString;
2908
2948
  ref: z.ZodOptional<z.ZodString>;
2909
2949
  path: z.ZodOptional<z.ZodString>;
2910
- }, 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>>;
2911
2958
  stateSerial: z.ZodNumber;
2912
2959
  stateLineage: z.ZodNullable<z.ZodString>;
2913
2960
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -2985,6 +3032,7 @@ declare const SCHEMAS: {
2985
3032
  findingId: z.ZodNullable<z.ZodString>;
2986
3033
  }, z.core.$strip>>;
2987
3034
  }, z.core.$strip>>;
3035
+ planHold: z.ZodNullable<z.ZodString>;
2988
3036
  }, z.core.$strip>;
2989
3037
  'policy list': z.ZodObject<{
2990
3038
  stack: z.ZodNullable<z.ZodString>;
@@ -3155,6 +3203,22 @@ declare const SCHEMAS: {
3155
3203
  confidenceScore: z.ZodNumber;
3156
3204
  producedAt: z.ZodString;
3157
3205
  outputJson: z.ZodUnknown;
3206
+ read: z.ZodObject<{
3207
+ plan: z.ZodString;
3208
+ since: z.ZodNullable<z.ZodString>;
3209
+ cites: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3210
+ kind: z.ZodString;
3211
+ id: z.ZodString;
3212
+ at: z.ZodString;
3213
+ present: z.ZodOptional<z.ZodLiteral<true>>;
3214
+ ageDays: z.ZodNumber;
3215
+ }, z.core.$strip>, z.ZodObject<{
3216
+ kind: z.ZodString;
3217
+ count: z.ZodNumber;
3218
+ oldestAt: z.ZodString;
3219
+ ageDays: z.ZodNumber;
3220
+ }, z.core.$strip>]>>>;
3221
+ }, z.core.$strip>;
3158
3222
  }, z.core.$strip>>;
3159
3223
  agentCount: z.ZodNumber;
3160
3224
  }, z.core.$strip>, z.ZodObject<{
@@ -3199,12 +3263,35 @@ declare const SCHEMAS: {
3199
3263
  confidenceScore: z.ZodNumber;
3200
3264
  producedAt: z.ZodString;
3201
3265
  outputJson: z.ZodUnknown;
3266
+ read: z.ZodObject<{
3267
+ plan: z.ZodString;
3268
+ since: z.ZodNullable<z.ZodString>;
3269
+ cites: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3270
+ kind: z.ZodString;
3271
+ id: z.ZodString;
3272
+ at: z.ZodString;
3273
+ present: z.ZodOptional<z.ZodLiteral<true>>;
3274
+ ageDays: z.ZodNumber;
3275
+ }, z.core.$strip>, z.ZodObject<{
3276
+ kind: z.ZodString;
3277
+ count: z.ZodNumber;
3278
+ oldestAt: z.ZodString;
3279
+ ageDays: z.ZodNumber;
3280
+ }, z.core.$strip>]>>>;
3281
+ }, z.core.$strip>;
3202
3282
  }, z.core.$strip>>;
3203
3283
  }, z.core.$strip>>;
3204
3284
  }, z.core.$strip>], "kind">>;
3205
3285
  belowFloor: z.ZodNumber;
3286
+ incompleteAssessment: z.ZodOptional<z.ZodBoolean>;
3206
3287
  }, z.core.$strip>;
3207
3288
  truncated: z.ZodBoolean;
3289
+ window: z.ZodNullable<z.ZodObject<{
3290
+ plan: z.ZodString;
3291
+ since: z.ZodString;
3292
+ notRead: z.ZodNumber;
3293
+ line: z.ZodString;
3294
+ }, z.core.$strip>>;
3208
3295
  pending: z.ZodNumber;
3209
3296
  bound: z.ZodOptional<z.ZodNumber>;
3210
3297
  }, z.core.$strip>;
@@ -3486,12 +3573,19 @@ declare const SCHEMAS: {
3486
3573
  slug: z.ZodString;
3487
3574
  name: z.ZodString;
3488
3575
  description: z.ZodNullable<z.ZodString>;
3489
- source: z.ZodNullable<z.ZodObject<{
3576
+ source: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3490
3577
  kind: z.ZodLiteral<"git">;
3491
3578
  repoUrl: z.ZodString;
3492
3579
  ref: z.ZodOptional<z.ZodString>;
3493
3580
  path: z.ZodOptional<z.ZodString>;
3494
- }, 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>>;
3495
3589
  stateSerial: z.ZodNumber;
3496
3590
  stateLineage: z.ZodNullable<z.ZodString>;
3497
3591
  stateVersion: z.ZodNullable<z.ZodNumber>;
@@ -3926,7 +4020,7 @@ declare const SCHEMAS: {
3926
4020
  type: z.ZodLiteral<"url">;
3927
4021
  url: z.ZodString;
3928
4022
  }, z.core.$strip>, z.ZodObject<{
3929
- type: z.ZodLiteral<"email_sent">;
4023
+ type: z.ZodLiteral<"link_requested">;
3930
4024
  email: z.ZodString;
3931
4025
  }, z.core.$strip>, z.ZodObject<{
3932
4026
  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.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/proto": "0.38.0",
30
- "@lace-cloud/ui": "0.38.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",