poe-code 11.0.27 → 11.0.28

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-EW4KQ32H.js";
23
+ } from "./chunks/chunk-3OFXSTL2.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-LSVSAZHI.js";
35
+ } from "./chunks/chunk-FAAW5HF7.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-LSVSAZHI.js";
6
+ } from "./chunks/chunk-FAAW5HF7.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-EW4KQ32H.js";
30
+ } from "./chunks/chunk-3OFXSTL2.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-LSVSAZHI.js";
52
+ } from "./chunks/chunk-FAAW5HF7.js";
53
53
  import "./chunks/chunk-4YIDX44G.js";
54
54
 
55
55
  // packages/safejs/src/runner/run-harness.ts
@@ -1,5 +1,5 @@
1
1
  import { createHash, randomUUID } from "node:crypto";
2
- import { createSandboxClosure, deepCopyToSandbox, measureSandboxData } from "./values.js";
2
+ import { cloneSandboxValue, createSandboxClosure, measureSandboxData } from "./values.js";
3
3
  import { decodeReplayData, encodeReplayData } from "../snapshot/replay-data.js";
4
4
  import { validateSnapshotData } from "../snapshot/validation.js";
5
5
  import { pendingHostCallResumeIdentityMatches } from "../snapshot/policy.js";
@@ -365,8 +365,8 @@ export class HostCallJournal {
365
365
  }
366
366
  function copyOutcome(outcome) {
367
367
  return outcome.status === "fulfilled"
368
- ? { status: "fulfilled", value: deepCopyToSandbox(outcome.value) }
369
- : { status: "rejected", reason: deepCopyToSandbox(outcome.reason) };
368
+ ? { status: "fulfilled", value: cloneSandboxValue(outcome.value) }
369
+ : { status: "rejected", reason: cloneSandboxValue(outcome.reason) };
370
370
  }
371
371
  function restoreReplayCalls(input, encodedOutcomes, callbackSizes, requiredHostCapabilities = new Set()) {
372
372
  validateSnapshotData(input);