poe-code 11.0.10 → 11.0.11

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.
@@ -20,7 +20,7 @@ import {
20
20
  parseMcpConfig,
21
21
  splitFrontmatter,
22
22
  withBrokenPipeGuard
23
- } from "./chunks/chunk-DF7PY5YX.js";
23
+ } from "./chunks/chunk-2M5F6OIT.js";
24
24
  import {
25
25
  Budget,
26
26
  SandboxError,
@@ -32,7 +32,7 @@ import {
32
32
  replaceErrorStack,
33
33
  restore,
34
34
  run
35
- } from "./chunks/chunk-BESE73VB.js";
35
+ } from "./chunks/chunk-QWNCR7EZ.js";
36
36
  import "./chunks/chunk-4YIDX44G.js";
37
37
 
38
38
  // packages/safejs/src/cli.ts
@@ -3,7 +3,7 @@ import {
3
3
  createReplayableRandom,
4
4
  lint,
5
5
  run
6
- } from "./chunks/chunk-BESE73VB.js";
6
+ } from "./chunks/chunk-QWNCR7EZ.js";
7
7
  import "./chunks/chunk-4YIDX44G.js";
8
8
  export {
9
9
  Budget,
@@ -27,7 +27,7 @@ import {
27
27
  runWithSpawnUsageAccumulator,
28
28
  splitFrontmatter,
29
29
  supportsSpawnMode
30
- } from "./chunks/chunk-DF7PY5YX.js";
30
+ } from "./chunks/chunk-2M5F6OIT.js";
31
31
  import {
32
32
  Budget,
33
33
  FileSnapshotBackend,
@@ -49,7 +49,7 @@ import {
49
49
  registerPendingHostCallPolicy,
50
50
  restore,
51
51
  run
52
- } from "./chunks/chunk-BESE73VB.js";
52
+ } from "./chunks/chunk-QWNCR7EZ.js";
53
53
  import "./chunks/chunk-4YIDX44G.js";
54
54
 
55
55
  // packages/safejs/src/runner/run-harness.ts
@@ -35,12 +35,12 @@ function bindImportDeclaration(declaration, registry, wrappedModules, bindings,
35
35
  throw createModuleImportError(createUnknownModuleMessage(moduleName, [...registry.keys()]), declaration.source.span);
36
36
  }
37
37
  const wrappedExports = wrappedModules.get(moduleName) ??
38
- wrapCancelableBindings(wrapCallerInjectedBindings(Object.fromEntries(moduleExports), {
38
+ createBindingRecord(wrapCancelableBindings(wrapCallerInjectedBindings(Object.fromEntries(moduleExports), {
39
39
  budget: options.budget,
40
40
  hostCalls: options.hostCalls,
41
41
  moduleId: moduleName,
42
42
  signal: options.signal
43
- }), options.signal);
43
+ }), options.signal));
44
44
  wrappedModules.set(moduleName, wrappedExports);
45
45
  for (const specifier of declaration.specifiers) {
46
46
  const localName = specifier.local.name;
@@ -57,7 +57,7 @@ function bindImportDeclaration(declaration, registry, wrappedModules, bindings,
57
57
  }
58
58
  function resolveImportSpecifier(moduleName, specifier, wrappedExports) {
59
59
  if (specifier.type === "ImportNamespaceSpecifier") {
60
- return createBindingRecord(wrappedExports);
60
+ return wrappedExports;
61
61
  }
62
62
  const exportName = specifier.type === "ImportDefaultSpecifier" ? "default" : specifier.imported.name;
63
63
  const exportedValue = wrappedExports[exportName];