@lace-cloud/canvas 0.44.0 → 0.46.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-B9YcBwpk.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-B9YcBwpk.mjs';
3
+ import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-DUY4PUHi.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-DUY4PUHi.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-B9YcBwpk.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-B9YcBwpk.js';
3
+ import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-DUY4PUHi.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-DUY4PUHi.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-MX37NJKN.mjs";
50
+ } from "../chunk-4ZSPIWIP.mjs";
51
51
  export {
52
52
  ApplyUnobservedError,
53
53
  AutosaveEndedError,
package/dist/index.cjs CHANGED
@@ -6654,7 +6654,7 @@ var RestoreAction = {
6654
6654
  }
6655
6655
  };
6656
6656
  function createBasePlaceModuleAction() {
6657
- return { author: "", name: "", version: "" };
6657
+ return { author: "", name: "", version: "", system: "" };
6658
6658
  }
6659
6659
  var PlaceModuleAction = {
6660
6660
  encode(message, writer = new import_wire3.BinaryWriter()) {
@@ -6667,6 +6667,9 @@ var PlaceModuleAction = {
6667
6667
  if (message.version !== "") {
6668
6668
  writer.uint32(66).string(message.version);
6669
6669
  }
6670
+ if (message.system !== "") {
6671
+ writer.uint32(74).string(message.system);
6672
+ }
6670
6673
  return writer;
6671
6674
  },
6672
6675
  decode(input, length) {
@@ -6697,6 +6700,13 @@ var PlaceModuleAction = {
6697
6700
  message.version = reader.string();
6698
6701
  continue;
6699
6702
  }
6703
+ case 9: {
6704
+ if (tag !== 74) {
6705
+ break;
6706
+ }
6707
+ message.system = reader.string();
6708
+ continue;
6709
+ }
6700
6710
  }
6701
6711
  if ((tag & 7) === 4 || tag === 0) {
6702
6712
  break;
@@ -6709,7 +6719,8 @@ var PlaceModuleAction = {
6709
6719
  return {
6710
6720
  author: isSet2(object.author) ? globalThis.String(object.author) : "",
6711
6721
  name: isSet2(object.name) ? globalThis.String(object.name) : "",
6712
- version: isSet2(object.version) ? globalThis.String(object.version) : ""
6722
+ version: isSet2(object.version) ? globalThis.String(object.version) : "",
6723
+ system: isSet2(object.system) ? globalThis.String(object.system) : ""
6713
6724
  };
6714
6725
  },
6715
6726
  toJSON(message) {
@@ -6723,6 +6734,9 @@ var PlaceModuleAction = {
6723
6734
  if (message.version !== "") {
6724
6735
  obj.version = message.version;
6725
6736
  }
6737
+ if (message.system !== "") {
6738
+ obj.system = message.system;
6739
+ }
6726
6740
  return obj;
6727
6741
  },
6728
6742
  create(base) {
@@ -6733,6 +6747,7 @@ var PlaceModuleAction = {
6733
6747
  message.author = object.author ?? "";
6734
6748
  message.name = object.name ?? "";
6735
6749
  message.version = object.version ?? "";
6750
+ message.system = object.system ?? "";
6736
6751
  return message;
6737
6752
  }
6738
6753
  };
@@ -11751,7 +11766,7 @@ var COMMANDS = {
11751
11766
  "engine": {
11752
11767
  "type": "string",
11753
11768
  "values": [
11754
- "aws_fis",
11769
+ "cloud_fault_injection",
11755
11770
  "gremlin",
11756
11771
  "litmus_chaos"
11757
11772
  ]
@@ -11849,6 +11864,13 @@ var COMMANDS = {
11849
11864
  "path": "connection list",
11850
11865
  "positionals": [],
11851
11866
  "flags": {
11867
+ "cloud": {
11868
+ "type": "string",
11869
+ "values": [
11870
+ "aws",
11871
+ "gcp"
11872
+ ]
11873
+ },
11852
11874
  "org": {
11853
11875
  "type": "string"
11854
11876
  },
@@ -11860,9 +11882,6 @@ var COMMANDS = {
11860
11882
  ],
11861
11883
  "short": "o"
11862
11884
  },
11863
- "provider": {
11864
- "type": "string"
11865
- },
11866
11885
  "team": {
11867
11886
  "type": "string"
11868
11887
  }
@@ -13312,9 +13331,9 @@ var registryListSchema = import_zod.z.object({
13312
13331
  description: import_zod.z.string(),
13313
13332
  categories: import_zod.z.array(import_zod.z.string()),
13314
13333
  authorProfile: registryAuthorProfileSchema,
13315
- system: import_zod.z.string(),
13316
- sourceAddress: import_zod.z.string(),
13317
- publisherVerdict: import_zod.z.string()
13334
+ system: import_zod.z.string().nullable(),
13335
+ sourceAddress: import_zod.z.string().nullable(),
13336
+ publisherVerdict: import_zod.z.string().nullable()
13318
13337
  })
13319
13338
  ),
13320
13339
  truncated: import_zod.z.boolean(),
@@ -13356,10 +13375,11 @@ var registryGetSchema = import_zod.z.object({
13356
13375
  axis: import_zod.z.string(),
13357
13376
  author: import_zod.z.string(),
13358
13377
  name: import_zod.z.string(),
13359
- treeHash: import_zod.z.string(),
13360
- repo: import_zod.z.string(),
13361
- commit: import_zod.z.string(),
13362
- latest: registryManifestSchema,
13378
+ system: import_zod.z.string().nullable(),
13379
+ treeHash: import_zod.z.string().nullable(),
13380
+ repo: import_zod.z.string().nullable(),
13381
+ commit: import_zod.z.string().nullable(),
13382
+ latest: registryManifestSchema.nullable(),
13363
13383
  versions: import_zod.z.array(import_zod.z.object({ version: import_zod.z.string(), status: import_zod.z.string(), publishedAt: import_zod.z.string() }))
13364
13384
  });
13365
13385
  var moduleFmtResultSchema = import_zod.z.object({ changed: import_zod.z.array(import_zod.z.string()) });
@@ -13377,6 +13397,7 @@ var moduleScanResultSchema = import_zod.z.object({
13377
13397
  var registryDescribeSchema = import_zod.z.object({
13378
13398
  author: import_zod.z.string(),
13379
13399
  name: import_zod.z.string(),
13400
+ system: import_zod.z.string(),
13380
13401
  version: import_zod.z.string(),
13381
13402
  source: import_zod.z.string(),
13382
13403
  treeHash: import_zod.z.string(),
@@ -13448,7 +13469,13 @@ var stackSchema = reads()(
13448
13469
  createdAt: import_zod.z.string(),
13449
13470
  updatedAt: import_zod.z.string(),
13450
13471
  archivedAt: import_zod.z.string().nullable(),
13451
- connection: import_zod.z.object({ name: import_zod.z.string(), provider: import_zod.z.string(), awsAccountId: import_zod.z.string().nullable() }).nullable(),
13472
+ connection: import_zod.z.object({
13473
+ name: import_zod.z.string(),
13474
+ kind: import_zod.z.string(),
13475
+ cloud: import_zod.z.string(),
13476
+ account: import_zod.z.object({ cloud: import_zod.z.string(), id: import_zod.z.string() }),
13477
+ credentialReach: import_zod.z.string()
13478
+ }).nullable(),
13452
13479
  lastApply: import_zod.z.object({
13453
13480
  runId: import_zod.z.string(),
13454
13481
  bundleSnapshotId: import_zod.z.string(),
@@ -13877,7 +13904,8 @@ var connectionListSchema = import_zod.z.object({
13877
13904
  import_zod.z.object({
13878
13905
  id: import_zod.z.string(),
13879
13906
  name: import_zod.z.string(),
13880
- provider_type: import_zod.z.string(),
13907
+ cloud: import_zod.z.string(),
13908
+ kind: import_zod.z.string(),
13881
13909
  status: import_zod.z.string(),
13882
13910
  status_reason: import_zod.z.string().nullable(),
13883
13911
  created_at: import_zod.z.string(),
@@ -14994,18 +15022,18 @@ var planOverlay = defineOverlay({
14994
15022
  var import_ui9 = require("@lace-cloud/ui");
14995
15023
 
14996
15024
  // src/components/Banner.tsx
14997
- var import_Banner = require("./Banner-V657C2TO.css");
15025
+ var import_Banner = require("./Banner-O6EH5RA7.css");
14998
15026
  var import_jsx_runtime21 = require("react/jsx-runtime");
14999
15027
  function Banner({ severity, message, className, actions }) {
15000
15028
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
15001
15029
  "div",
15002
15030
  {
15003
- className: `lace-banner lace-banner--${severity} ${className}`,
15031
+ className: `lace-canvas-banner lace-canvas-banner--${severity} ${className}`,
15004
15032
  role: severity === "error" ? "alert" : "status",
15005
15033
  children: [
15006
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "lace-banner__icon", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(CanvasIcon, { name: severity }) }),
15007
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "lace-banner__message", children: message }),
15008
- actions ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "lace-banner__actions", children: actions }) : null
15034
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "lace-canvas-banner__icon", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(CanvasIcon, { name: severity }) }),
15035
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "lace-canvas-banner__message", children: message }),
15036
+ actions ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "lace-canvas-banner__actions", children: actions }) : null
15009
15037
  ]
15010
15038
  }
15011
15039
  );