@lace-cloud/canvas 0.39.0 → 0.41.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.
@@ -1,7 +1,7 @@
1
1
  import { RenderEdge } from '@lace-cloud/proto';
2
2
  export { Reason } from '@lace-cloud/proto';
3
- import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-CFii6MTW.mjs';
4
- export { a as Action, b as ActionRunner, c as ActionRunnerOptions, d as ActionTarget, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, h as BoundPath, i as BridgeEngineCaller, j as Busy, C as COMMANDS, k as CanvasPorts, l as CanvasSource, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, r as CommandResult, 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, 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, W as InputMode, X as Invocation, Y as LaceReason, Z as LiveSlots, _ as OnScreen, $ as PendingForm, 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, aa as ResultStore, ab as RunCtx, ac as RunOutcome, ad as RunSlot, ae as RunStage, af as RunStageStatus, ag as RunnerPorts, ah as RunningMark, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ao as SourceEnd, 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, aE as diagnosticsOfDocument, aF as failureSays, aG as foldReport, aH as generatedTree, aI as liveSlots, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aN as reasonWire, aO as reduceFollow, aP as reducePreview, aQ as reduceReport, aR as reduceRun, aS as reportDiagnostics, aT as settleRun } from '../registry-CFii6MTW.mjs';
3
+ import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-DyBS0aH8.mjs';
4
+ export { a as Action, b as ActionRunner, c as ActionRunnerOptions, d as ActionTarget, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, h as BoundPath, i as BridgeEngineCaller, j as Busy, C as COMMANDS, k as CanvasPorts, l as CanvasSource, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, r as CommandResult, 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, 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, W as InputMode, X as Invocation, Y as LaceReason, Z as LiveSlots, _ as OnScreen, $ as PendingForm, 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, aa as ResultStore, ab as RunCtx, ac as RunOutcome, ad as RunSlot, ae as RunStage, af as RunStageStatus, ag as RunnerPorts, ah as RunningMark, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ao as SourceEnd, 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, aE as diagnosticsOfDocument, aF as failureSays, aG as foldReport, aH as generatedTree, aI as liveSlots, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aN as reasonWire, aO as reduceFollow, aP as reducePreview, aQ as reduceReport, aR as reduceRun, aS as reportDiagnostics, aT as settleRun } from '../registry-DyBS0aH8.mjs';
5
5
  import 'zod';
6
6
  import '@bufbuild/protobuf/wire';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { RenderEdge } from '@lace-cloud/proto';
2
2
  export { Reason } from '@lace-cloud/proto';
3
- import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-CFii6MTW.js';
4
- export { a as Action, b as ActionRunner, c as ActionRunnerOptions, d as ActionTarget, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, h as BoundPath, i as BridgeEngineCaller, j as Busy, C as COMMANDS, k as CanvasPorts, l as CanvasSource, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, r as CommandResult, 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, 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, W as InputMode, X as Invocation, Y as LaceReason, Z as LiveSlots, _ as OnScreen, $ as PendingForm, 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, aa as ResultStore, ab as RunCtx, ac as RunOutcome, ad as RunSlot, ae as RunStage, af as RunStageStatus, ag as RunnerPorts, ah as RunningMark, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ao as SourceEnd, 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, aE as diagnosticsOfDocument, aF as failureSays, aG as foldReport, aH as generatedTree, aI as liveSlots, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aN as reasonWire, aO as reduceFollow, aP as reducePreview, aQ as reduceReport, aR as reduceRun, aS as reportDiagnostics, aT as settleRun } from '../registry-CFii6MTW.js';
3
+ import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-DyBS0aH8.js';
4
+ export { a as Action, b as ActionRunner, c as ActionRunnerOptions, d as ActionTarget, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, h as BoundPath, i as BridgeEngineCaller, j as Busy, C as COMMANDS, k as CanvasPorts, l as CanvasSource, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, r as CommandResult, 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, 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, W as InputMode, X as Invocation, Y as LaceReason, Z as LiveSlots, _ as OnScreen, $ as PendingForm, 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, aa as ResultStore, ab as RunCtx, ac as RunOutcome, ad as RunSlot, ae as RunStage, af as RunStageStatus, ag as RunnerPorts, ah as RunningMark, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ao as SourceEnd, 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, aE as diagnosticsOfDocument, aF as failureSays, aG as foldReport, aH as generatedTree, aI as liveSlots, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aN as reasonWire, aO as reduceFollow, aP as reducePreview, aQ as reduceReport, aR as reduceRun, aS as reportDiagnostics, aT as settleRun } from '../registry-DyBS0aH8.js';
5
5
  import 'zod';
6
6
  import '@bufbuild/protobuf/wire';
7
7
 
@@ -47,7 +47,7 @@ import {
47
47
  settleRun,
48
48
  stackSlugRule,
49
49
  wireEndText
50
- } from "../chunk-C6QJEJO5.mjs";
50
+ } from "../chunk-ELOBZOVE.mjs";
51
51
  export {
52
52
  ApplyUnobservedError,
53
53
  AutosaveEndedError,
package/dist/index.cjs CHANGED
@@ -11899,9 +11899,6 @@ var COMMANDS = {
11899
11899
  },
11900
11900
  "wait": {
11901
11901
  "type": "bool"
11902
- },
11903
- "waitTimeout": {
11904
- "type": "duration"
11905
11902
  }
11906
11903
  },
11907
11904
  "effect": "write",
@@ -13409,12 +13406,22 @@ var namedActorSchema = reads()(
13409
13406
  name: import_zod.z.string().nullable()
13410
13407
  })
13411
13408
  );
13412
- var stackSourceSchema = import_zod.z.object({
13409
+ var gitStackSourceSchema = import_zod.z.object({
13413
13410
  kind: import_zod.z.literal("git"),
13414
13411
  repoUrl: import_zod.z.string(),
13415
13412
  ref: import_zod.z.string().optional(),
13416
13413
  path: import_zod.z.string().optional()
13417
13414
  });
13415
+ var stackSourceSchema = import_zod.z.discriminatedUnion("kind", [
13416
+ gitStackSourceSchema,
13417
+ import_zod.z.object({
13418
+ kind: import_zod.z.literal("module_version"),
13419
+ author: import_zod.z.string(),
13420
+ name: import_zod.z.string(),
13421
+ system: import_zod.z.string(),
13422
+ version: import_zod.z.string()
13423
+ })
13424
+ ]);
13418
13425
  var stackSchema = reads()(
13419
13426
  import_zod.z.object({
13420
13427
  id: import_zod.z.string(),
@@ -13425,6 +13432,7 @@ var stackSchema = reads()(
13425
13432
  name: import_zod.z.string(),
13426
13433
  description: import_zod.z.string().nullable(),
13427
13434
  source: stackSourceSchema.nullable(),
13435
+ variables: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).nullable(),
13428
13436
  stateSerial: import_zod.z.number(),
13429
13437
  stateLineage: import_zod.z.string().nullable(),
13430
13438
  stateVersion: import_zod.z.number().nullable(),
@@ -13491,7 +13499,9 @@ var stackDescribeSchema = reads()(
13491
13499
  resourcesByType: import_zod.z.record(import_zod.z.string(), import_zod.z.number()),
13492
13500
  resources: import_zod.z.array(import_zod.z.object({ address: import_zod.z.string(), type: import_zod.z.string() }))
13493
13501
  }).nullable(),
13494
- drift: driftSchema
13502
+ drift: driftSchema,
13503
+ // The sentence the organization's plan holds the stack with; null while it holds nothing.
13504
+ planHold: import_zod.z.string().nullable()
13495
13505
  })
13496
13506
  );
13497
13507
  var policyBindingSchema = reads()(
@@ -13902,7 +13912,7 @@ var SCHEMAS = {
13902
13912
  "stack destroy": runEventSchema,
13903
13913
  "drift scan": driftScanSchema,
13904
13914
  "stack create": stackSchema,
13905
- "stack validate": stackSourceSchema,
13915
+ "stack validate": gitStackSourceSchema,
13906
13916
  "module import": moduleImportSchema,
13907
13917
  "run get": runSchema,
13908
13918
  "run plan": runPlanSchema,