@terminals-tech/sdk 1.0.0-rc.2 → 1.0.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/README.md CHANGED
@@ -11,7 +11,7 @@ npm install @terminals-tech/sdk
11
11
  ## Quickstart
12
12
 
13
13
  ```typescript
14
- import { SDK_VERSION, Brain, L0, calculateCoherence, createAxonBus } from "@terminals-tech/sdk";
14
+ import { SDK_VERSION, Brain, L0, createAxonBus } from "@terminals-tech/sdk";
15
15
 
16
16
  // 1. The L0 Engine: Think of a Sematon as a "smart data envelope"
17
17
  // It holds your payload but also guarantees it can be mathematically transformed.
@@ -24,7 +24,7 @@ const mySematon = L0.createSematon({
24
24
  console.log("Is my payload constructive?", mySematon.constructive); // true!
25
25
 
26
26
  // 2. The L4 Brain: Measure how aligned things are
27
- const metrics = calculateCoherence({
27
+ const metrics = Brain.calculateCoherence({
28
28
  output: "Execution is observable, coherence-aware, and locally steerable.",
29
29
  groundTruth: ["Execution is observable."],
30
30
  });
@@ -36,14 +36,17 @@ console.log("Coherence:", metrics.overall);
36
36
 
37
37
  The published package exposes a curated surface oriented around stable facades and runtime-safe primitives:
38
38
 
39
- | Surface | Namespace / Export | Coverage |
40
- | ---------- | ----------------------------- | ---------------------------------------------------------------- |
41
- | Foundation | `L0` | Core engine math, Sematons, and Deterministic Constructor traces |
42
- | Terminal | `Terminal` | interaction lifecycle, surface identity, platform types |
43
- | Core | `Core` | result types, validation, DAG, registry, retry/event primitives |
44
- | Mesh | `Mesh` | signals, action bus, delegation helpers |
45
- | Brain | `Brain`, `calculateCoherence` | coherence metrics and phase primitives |
46
- | Protocol | `Protocol`, `createAxonBus` | delegation helpers and the AXON protocol bridge |
39
+ | Surface | Namespace / Export | Coverage |
40
+ | ---------- | ------------------ | ------------------------------------------------------------------------- |
41
+ | Foundation | `L0` | Core engine math, Sematons, and Deterministic Constructor traces |
42
+ | Terminal | `Terminal` | interaction lifecycle, surface identity, platform types |
43
+ | Core | `Core` | result types, validation, DAG, registry, retry/event primitives |
44
+ | Mesh | `Mesh` | signals, action bus, delegation helpers |
45
+ | Brain | `Brain` | coherence metrics and phase primitives (`Brain.calculateCoherence`, etc.) |
46
+ | Protocol | `Protocol` | delegation helpers and the AXON protocol bridge |
47
+ | Skill | `Skill` | skill manifest types, registry access, signal codes |
48
+ | Manifold | `Manifold` | annihilation pipeline helpers and ordinal execution surfaces |
49
+ | Observer | `Observer` | observer kernel primitives and witness-oriented runtime inspection |
47
50
 
48
51
  ## ELI5: The L0 Foundation (Sematons & Constructors)
49
52
 
@@ -55,17 +58,10 @@ Developers use `L0` primitives to make sure complex AI workflows behave predicta
55
58
  ## Usage
56
59
 
57
60
  ```typescript
58
- import {
59
- Brain,
60
- Core,
61
- Mesh,
62
- Protocol,
63
- calculateCoherence,
64
- createAxonBus,
65
- } from "@terminals-tech/sdk";
61
+ import { Brain, Core, Mesh, Protocol, createAxonBus } from "@terminals-tech/sdk";
66
62
 
67
63
  const bus = createAxonBus();
68
- const metrics = calculateCoherence({
64
+ const metrics = Brain.calculateCoherence({
69
65
  output: "The mesh is synchronized and the route is clear.",
70
66
  groundTruth: ["The mesh is synchronized.", "Routing remains observable."],
71
67
  });
@@ -2,7 +2,7 @@ import {
2
2
  ProcessPriority,
3
3
  WebContainerManager,
4
4
  WebContainerManager_default
5
- } from "./chunk-SHPGIVDH.js";
5
+ } from "./chunk-LLGZTP3G.js";
6
6
  import "./chunk-DKFJIILR.js";
7
7
  import "./chunk-KHR7ZYCX.js";
8
8
  import "./chunk-QWZRZKLZ.js";
@@ -1,3 +1,6 @@
1
+ import {
2
+ getProvider
3
+ } from "./chunk-H3POJCFA.js";
1
4
  import {
2
5
  appendMeshSinkEvent
3
6
  } from "./chunk-PWAHFID5.js";
@@ -12,7 +15,7 @@ import {
12
15
  } from "./chunk-WU4OTGJE.js";
13
16
  import {
14
17
  registerNode
15
- } from "./chunk-3CEM77QZ.js";
18
+ } from "./chunk-OCLSAUCD.js";
16
19
  import {
17
20
  emitSignal
18
21
  } from "./chunk-2WTYE4SW.js";
@@ -21,6 +24,62 @@ import {
21
24
  createPAdicAddress
22
25
  } from "./chunk-EXI3LJVJ.js";
23
26
 
27
+ // ../../lib/terminals-tech/machines/core/nodes/provider.chat.ts
28
+ var PROVIDER_CHAT_NODE_ID = "provider.chat.v1";
29
+ var manifest = {
30
+ id: PROVIDER_CHAT_NODE_ID,
31
+ version: "0.1.0",
32
+ kind: "task",
33
+ label: "Provider Chat",
34
+ description: "Calls a chat model on a selected provider",
35
+ runtimes: ["worker"],
36
+ entrypoints: { worker: { module: "local" } },
37
+ inputsSchema: {
38
+ type: "object",
39
+ properties: {
40
+ provider: {
41
+ type: "string",
42
+ description: "provider id (openai, nous, prime, ...)"
43
+ },
44
+ model: { type: "string" },
45
+ messages: {
46
+ type: "array",
47
+ items: {
48
+ type: "object",
49
+ properties: { role: { type: "string" }, content: { type: "string" } },
50
+ required: ["role", "content"]
51
+ }
52
+ },
53
+ temperature: { type: "number" },
54
+ secretRef: {
55
+ type: "string",
56
+ description: "reference key in Secrets store"
57
+ },
58
+ baseUrl: { type: "string", description: "override baseUrl for vendor" }
59
+ },
60
+ required: ["provider", "model", "messages"]
61
+ },
62
+ outputsSchema: {
63
+ type: "object",
64
+ properties: { message: { type: "string" }, usage: { type: "object" } }
65
+ }
66
+ };
67
+ registerNode(manifest);
68
+ async function executeProviderChat(inputs, context) {
69
+ const adapter = getProvider(inputs.provider);
70
+ if (!adapter?.chat?.generate) throw new Error(`provider not found: ${inputs.provider}`);
71
+ const secrets = inputs.secretRef && context.getSecret ? await context.getSecret(inputs.secretRef) : {};
72
+ const out = await adapter.chat.generate(
73
+ {
74
+ model: inputs.model,
75
+ messages: inputs.messages,
76
+ temperature: inputs.temperature
77
+ },
78
+ secrets
79
+ );
80
+ return { message: out.message, usage: out.usage };
81
+ }
82
+
24
83
  // ../../lib/terminals-tech/machines/hvm/bridge.ts
25
84
  function calculateValuation(node) {
26
85
  let valuation = 0;
@@ -100,7 +159,7 @@ function hvmToLogitBias(trace, baseMagnitude = 0.15) {
100
159
 
101
160
  // ../../lib/terminals-tech/machines/core/nodes/hvm.proof.edgeCheck.ts
102
161
  var HVM_PROOF_EDGE_CHECK_NODE_ID = "hvm.proof.edgeCheck.v1";
103
- var manifest = {
162
+ var manifest2 = {
104
163
  id: HVM_PROOF_EDGE_CHECK_NODE_ID,
105
164
  version: "0.1.0",
106
165
  kind: "transform",
@@ -175,7 +234,7 @@ var manifest = {
175
234
  required: ["ok", "proofTrace"]
176
235
  }
177
236
  };
178
- registerNode(manifest);
237
+ registerNode(manifest2);
179
238
  function hasPath(edges, from, to, visited = /* @__PURE__ */ new Set()) {
180
239
  if (from === to) return true;
181
240
  if (visited.has(from)) return false;
@@ -306,7 +365,7 @@ async function executeHvmProofEdgeCheck(input, ctx) {
306
365
 
307
366
  // ../../lib/terminals-tech/machines/core/nodes/compute.bend.ts
308
367
  var COMPUTE_BEND_NODE_ID = "compute.bend.v1";
309
- var manifest2 = {
368
+ var manifest3 = {
310
369
  id: COMPUTE_BEND_NODE_ID,
311
370
  version: "0.1.0",
312
371
  kind: "task",
@@ -349,7 +408,7 @@ var manifest2 = {
349
408
  required: ["ok"]
350
409
  }
351
410
  };
352
- registerNode(manifest2);
411
+ registerNode(manifest3);
353
412
  async function executeBendCompute(input, ctx) {
354
413
  const rawModule = String(input.hvmModule || "");
355
414
  const bendPath = String(input.bendPath || "");
@@ -365,7 +424,7 @@ async function executeBendCompute(input, ctx) {
365
424
  bendSource: bendSource ? "present" : "absent"
366
425
  };
367
426
  }
368
- const { runInHVM } = await import("./hvm-DRQK2MUT.js");
427
+ const { runInHVM } = await import("./hvm-CBEP3M4F.js");
369
428
  const manifestOverride = {
370
429
  id: COMPUTE_BEND_NODE_ID,
371
430
  version: "0.1.0",
@@ -670,7 +729,7 @@ async function executePhaseLockingValueNode(inputs) {
670
729
 
671
730
  // ../../lib/terminals-tech/machines/core/nodes/system.schedule.ts
672
731
  var SYSTEM_SCHEDULE_NODE_ID = "system.schedule.v1";
673
- var manifest3 = {
732
+ var manifest4 = {
674
733
  id: SYSTEM_SCHEDULE_NODE_ID,
675
734
  version: "0.1.0",
676
735
  kind: "task",
@@ -694,9 +753,9 @@ var manifest3 = {
694
753
  }
695
754
  }
696
755
  };
697
- registerNode(manifest3);
756
+ registerNode(manifest4);
698
757
  async function executeSystemSchedule(_input, ctx) {
699
- const { scheduleStack } = await import("./scheduler-H6Q53IMI.js");
758
+ const { scheduleStack } = await import("./scheduler-B5CEYKWT.js");
700
759
  const everySeconds = Math.max(1, Number(_input.everySeconds || 60));
701
760
  const enabled = Boolean(_input.enabled ?? true);
702
761
  if (enabled) await scheduleStack(ctx.stackId, everySeconds);
@@ -704,6 +763,8 @@ async function executeSystemSchedule(_input, ctx) {
704
763
  }
705
764
 
706
765
  export {
766
+ PROVIDER_CHAT_NODE_ID,
767
+ executeProviderChat,
707
768
  HVM_PROOF_EDGE_CHECK_NODE_ID,
708
769
  executeHvmProofEdgeCheck,
709
770
  COMPUTE_BEND_NODE_ID,
@@ -280,7 +280,7 @@ var skillsLoadPromise = null;
280
280
  async function ensureSkillsRegistered() {
281
281
  if (SKILL_REGISTRY.size > 0) return;
282
282
  if (!skillsLoadPromise) {
283
- skillsLoadPromise = import("./skills-KLTTT2RM.js").then(() => {
283
+ skillsLoadPromise = import("./skills-VN7IN7SJ.js").then(() => {
284
284
  });
285
285
  }
286
286
  await skillsLoadPromise;
@@ -3,7 +3,7 @@ var inMemoryCatalog = /* @__PURE__ */ new Map();
3
3
  var nodesInitialized = false;
4
4
  async function ensureNodesLoaded() {
5
5
  if (!nodesInitialized) {
6
- await import("./nodes-DXKYDTVO.js");
6
+ await import("./nodes-K6GKI2FM.js");
7
7
  nodesInitialized = true;
8
8
  }
9
9
  }
@@ -5,6 +5,7 @@ import {
5
5
  BASE_RESONANCE_METRICS_NODE_ID,
6
6
  COMPUTE_BEND_NODE_ID,
7
7
  HVM_PROOF_EDGE_CHECK_NODE_ID,
8
+ PROVIDER_CHAT_NODE_ID,
8
9
  SYSTEM_SCHEDULE_NODE_ID,
9
10
  SYSTEM_SIGNAL_EMIT_NODE_ID,
10
11
  executeBendCompute,
@@ -12,16 +13,11 @@ import {
12
13
  executeIqEncode,
13
14
  executeIqPhaseShift,
14
15
  executePhaseLockingValueNode,
16
+ executeProviderChat,
15
17
  executeResonanceMetrics,
16
18
  executeSystemSchedule,
17
19
  executeSystemSignalEmit
18
- } from "./chunk-BKB3MD5Y.js";
19
- import {
20
- getProvider
21
- } from "./chunk-H3POJCFA.js";
22
- import {
23
- registerNode
24
- } from "./chunk-3CEM77QZ.js";
20
+ } from "./chunk-KASHT6C5.js";
25
21
 
26
22
  // ../../lib/types/safe-types.ts
27
23
  function isObject(value) {
@@ -34,62 +30,6 @@ function isString(value) {
34
30
  return typeof value === "string";
35
31
  }
36
32
 
37
- // ../../lib/terminals-tech/machines/core/nodes/provider.chat.ts
38
- var PROVIDER_CHAT_NODE_ID = "provider.chat.v1";
39
- var manifest = {
40
- id: PROVIDER_CHAT_NODE_ID,
41
- version: "0.1.0",
42
- kind: "task",
43
- label: "Provider Chat",
44
- description: "Calls a chat model on a selected provider",
45
- runtimes: ["worker"],
46
- entrypoints: { worker: { module: "local" } },
47
- inputsSchema: {
48
- type: "object",
49
- properties: {
50
- provider: {
51
- type: "string",
52
- description: "provider id (openai, nous, prime, ...)"
53
- },
54
- model: { type: "string" },
55
- messages: {
56
- type: "array",
57
- items: {
58
- type: "object",
59
- properties: { role: { type: "string" }, content: { type: "string" } },
60
- required: ["role", "content"]
61
- }
62
- },
63
- temperature: { type: "number" },
64
- secretRef: {
65
- type: "string",
66
- description: "reference key in Secrets store"
67
- },
68
- baseUrl: { type: "string", description: "override baseUrl for vendor" }
69
- },
70
- required: ["provider", "model", "messages"]
71
- },
72
- outputsSchema: {
73
- type: "object",
74
- properties: { message: { type: "string" }, usage: { type: "object" } }
75
- }
76
- };
77
- registerNode(manifest);
78
- async function executeProviderChat(inputs, context) {
79
- const adapter = getProvider(inputs.provider);
80
- if (!adapter?.chat?.generate) throw new Error(`provider not found: ${inputs.provider}`);
81
- const secrets = inputs.secretRef && context.getSecret ? await context.getSecret(inputs.secretRef) : {};
82
- const out = await adapter.chat.generate(
83
- {
84
- model: inputs.model,
85
- messages: inputs.messages,
86
- temperature: inputs.temperature
87
- },
88
- secrets
89
- );
90
- return { message: out.message, usage: out.usage };
91
- }
92
-
93
33
  // ../../lib/terminals-tech/machines/core/runners/registry.ts
94
34
  var RunnerRegistry = class {
95
35
  workerRunners = /* @__PURE__ */ new Map();
@@ -134,8 +74,8 @@ var RunnerRegistry = class {
134
74
  }
135
75
  };
136
76
  var runners = new RunnerRegistry();
137
- import("./demo-VXMGMJNK.js").catch((err) => console.warn("[RunnerRegistry] demo runner import failed", err));
138
- import("./stack-CHDAFU2S.js").catch((err) => console.warn("[RunnerRegistry] stack runner import failed", err));
77
+ import("./demo-T655Z5S4.js").catch((err) => console.warn("[RunnerRegistry] demo runner import failed", err));
78
+ import("./stack-4KWCQQP7.js").catch((err) => console.warn("[RunnerRegistry] stack runner import failed", err));
139
79
  runners.registerWorker(PROVIDER_CHAT_NODE_ID, async (_m, input, ctx) => {
140
80
  const typedInput = input;
141
81
  const secrets = typedInput.__secrets || {};
@@ -446,7 +386,7 @@ runners.registerWorker("intel.llm.http.v1", async (_m, input, ctx) => {
446
386
  };
447
387
  });
448
388
  runners.registerWorker("integration.source.poll.v1", async (_m, input, ctx) => {
449
- const { getProvider: getProvider2 } = await import("./registry-FW63E7FE.js");
389
+ const { getProvider } = await import("./registry-FW63E7FE.js");
450
390
  const providerIdVal = isObject(input) && "provider" in input ? input.provider : void 0;
451
391
  const providerId = String(providerIdVal || "");
452
392
  const resourceVal = isObject(input) && "resource" in input ? input.resource : void 0;
@@ -455,7 +395,7 @@ runners.registerWorker("integration.source.poll.v1", async (_m, input, ctx) => {
455
395
  const config = isObject(configVal) ? configVal : {};
456
396
  const cursorKeyVal = isObject(input) && "cursorKey" in input ? input.cursorKey : void 0;
457
397
  const cursorKey = String(cursorKeyVal || `${providerId}:${resource}`);
458
- const prov = getProvider2(providerId);
398
+ const prov = getProvider(providerId);
459
399
  if (!prov?.integration) throw new Error(`provider not found: ${providerId}`);
460
400
  const secrets = {};
461
401
  try {
@@ -495,7 +435,7 @@ runners.registerWorker("integration.source.poll.v1", async (_m, input, ctx) => {
495
435
  return { items, cursor: nextCursor };
496
436
  });
497
437
  runners.registerWorker("integration.sink.post.v1", async (_m, input, ctx) => {
498
- const { getProvider: getProvider2 } = await import("./registry-FW63E7FE.js");
438
+ const { getProvider } = await import("./registry-FW63E7FE.js");
499
439
  const providerIdVal = isObject(input) && "provider" in input ? input.provider : void 0;
500
440
  const providerId = String(providerIdVal || "");
501
441
  const resourceVal = isObject(input) && "resource" in input ? input.resource : void 0;
@@ -506,7 +446,7 @@ runners.registerWorker("integration.sink.post.v1", async (_m, input, ctx) => {
506
446
  const itemsVal = isObject(input) && "items" in input ? input.items : void 0;
507
447
  const itemsArray = isArray(itemsVal) ? itemsVal : void 0;
508
448
  const items = itemsArray || (singleItem !== void 0 ? [singleItem] : []);
509
- const prov = getProvider2(providerId);
449
+ const prov = getProvider(providerId);
510
450
  if (!prov?.integration) throw new Error(`provider not found: ${providerId}`);
511
451
  const secrets = {};
512
452
  try {
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-Q2VI6ICE.js";
11
11
  import {
12
12
  registerManifestProvider
13
- } from "./chunk-3CEM77QZ.js";
13
+ } from "./chunk-OCLSAUCD.js";
14
14
  import {
15
15
  safeDbOperation
16
16
  } from "./chunk-WGBCRNMB.js";
@@ -20,6 +20,16 @@ import {
20
20
  withDB
21
21
  } from "./chunk-AFDUOYHD.js";
22
22
 
23
+ // ../../lib/terminals-tech/machines/core/types/trigger.ts
24
+ function buildScheduleTriggerContext(config, scheduleId) {
25
+ return {
26
+ triggerKind: config.kind,
27
+ triggeredAt: (/* @__PURE__ */ new Date()).toISOString(),
28
+ cronExpression: config.kind === "cron" ? config.expression : void 0,
29
+ scheduleId
30
+ };
31
+ }
32
+
23
33
  // ../../lib/terminals-tech/machines/core/stacksStore.ts
24
34
  var globalStore = globalThis;
25
35
  var memStacks = globalStore.__memStacks || /* @__PURE__ */ new Map();
@@ -695,6 +705,23 @@ var OrchestratorV0 = class {
695
705
  ...baseInput,
696
706
  ...opts.configOverrides?.[node.id] || {}
697
707
  };
708
+ if (opts.triggerContext) {
709
+ input.__triggerContext = opts.triggerContext;
710
+ }
711
+ if (node.connectorRef) {
712
+ try {
713
+ const { resolveConnectorData } = await import("./resolver-ALOJSOK5.js");
714
+ const chunks = await resolveConnectorData(node.connectorRef);
715
+ if (chunks && chunks.length > 0) {
716
+ input.__connectorData = chunks;
717
+ }
718
+ } catch (connErr) {
719
+ console.warn(
720
+ `[OrchestratorV0] ConnectorRef resolution failed for node ${node.id}:`,
721
+ connErr
722
+ );
723
+ }
724
+ }
698
725
  const modelId = input.model || node.config?.model || "default";
699
726
  const span = this.tracer.startSpan(`node:${node.id}`, {
700
727
  stackId: stack.id,
@@ -895,10 +922,10 @@ var OrchestratorV0 = class {
895
922
  void stackId;
896
923
  void node;
897
924
  if (typeof window === "undefined") {
898
- const { ensureServerRunnersRegistered } = await import("./server-7DM74VFW.js");
925
+ const { ensureServerRunnersRegistered } = await import("./server-VW6DYDLH.js");
899
926
  await ensureServerRunnersRegistered();
900
927
  }
901
- const { runners } = await import("./registry-BL3TDQDB.js");
928
+ const { runners } = await import("./registry-5WTDYQVQ.js");
902
929
  const tierRunner = runners.getRunner(tier);
903
930
  if (tierRunner) {
904
931
  return await tierRunner(manifest, input, {
@@ -944,7 +971,7 @@ var OrchestratorV0 = class {
944
971
  return { ...input };
945
972
  }
946
973
  if (tier === "webcontainer") {
947
- const { runInWebContainer } = await import("./webcontainer-3LDJVIIL.js");
974
+ const { runInWebContainer } = await import("./webcontainer-XWCE56F3.js");
948
975
  return await runInWebContainer(manifest, input, {
949
976
  stackId,
950
977
  nodeId: node.id,
@@ -952,7 +979,7 @@ var OrchestratorV0 = class {
952
979
  });
953
980
  }
954
981
  if (tier === "wasm-hvm") {
955
- const { runInHVM } = await import("./hvm-DRQK2MUT.js");
982
+ const { runInHVM } = await import("./hvm-CBEP3M4F.js");
956
983
  return await runInHVM(manifest, input, {
957
984
  stackId,
958
985
  nodeId: node.id,
@@ -972,6 +999,7 @@ var OrchestratorV0 = class {
972
999
  };
973
1000
 
974
1001
  export {
1002
+ buildScheduleTriggerContext,
975
1003
  loadStack,
976
1004
  OrchestratorV0
977
1005
  };
@@ -13,14 +13,14 @@ import {
13
13
  import "./chunk-UJDUQNE2.js";
14
14
  import {
15
15
  runners
16
- } from "./chunk-Q4B7YS7T.js";
17
- import "./chunk-BKB3MD5Y.js";
16
+ } from "./chunk-PPFTKJDB.js";
17
+ import "./chunk-KASHT6C5.js";
18
18
  import "./chunk-H3POJCFA.js";
19
19
  import "./chunk-KHR7ZYCX.js";
20
20
  import "./chunk-PWAHFID5.js";
21
21
  import "./chunk-Y2EULKA2.js";
22
22
  import "./chunk-WU4OTGJE.js";
23
- import "./chunk-3CEM77QZ.js";
23
+ import "./chunk-OCLSAUCD.js";
24
24
  import "./chunk-BYXBJQAS.js";
25
25
  import "./chunk-BCOQMFKT.js";
26
26
  import "./chunk-2WTYE4SW.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runners
3
- } from "./chunk-Q4B7YS7T.js";
4
- import "./chunk-BKB3MD5Y.js";
3
+ } from "./chunk-PPFTKJDB.js";
4
+ import "./chunk-KASHT6C5.js";
5
5
  import "./chunk-H3POJCFA.js";
6
6
  import "./chunk-KHR7ZYCX.js";
7
7
  import "./chunk-PWAHFID5.js";
@@ -9,7 +9,7 @@ import "./chunk-Y2EULKA2.js";
9
9
  import "./chunk-WU4OTGJE.js";
10
10
  import {
11
11
  registerNode
12
- } from "./chunk-3CEM77QZ.js";
12
+ } from "./chunk-OCLSAUCD.js";
13
13
  import "./chunk-BYXBJQAS.js";
14
14
  import "./chunk-BCOQMFKT.js";
15
15
  import "./chunk-2WTYE4SW.js";
@@ -81,7 +81,7 @@ async function runInHVM(manifest, input, ctx) {
81
81
  }
82
82
  async function runViaHVMCore(hvmPath, input) {
83
83
  if (typeof window !== "undefined") {
84
- const { WebContainerManager } = await import("./WebContainerManager-SHXC5VKI.js");
84
+ const { WebContainerManager } = await import("./WebContainerManager-4LIOGRVM.js");
85
85
  const wcm = WebContainerManager.getExistingInstance();
86
86
  if (!wcm) {
87
87
  throw new Error("WebContainer not available for HVM execution");