poe-code 11.0.31 → 12.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/dist/cli/commands/auth.js +10 -44
- package/dist/cli/commands/auth.js.map +1 -1
- package/dist/cli/commands/doctor.js +4 -4
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/program.js +0 -1
- package/dist/cli/program.js.map +1 -1
- package/dist/index.js +124 -134
- package/dist/index.js.map +4 -4
- package/dist/metafile.json +1 -1
- package/dist/sdk/auth-check.d.ts +7 -0
- package/dist/sdk/auth-check.js +22 -0
- package/dist/sdk/auth-check.js.map +1 -0
- package/package.json +1 -1
- package/packages/safejs/dist/chunks/{chunk-5IU6NPGM.js → chunk-6EXLQKE5.js} +2 -2
- package/packages/safejs/dist/chunks/{chunk-NPXVDTLX.js → chunk-YE6I5W6O.js} +3 -1
- package/packages/safejs/dist/chunks/{chunk-NPXVDTLX.js.map → chunk-YE6I5W6O.js.map} +2 -2
- package/packages/safejs/dist/cli.js +2 -2
- package/packages/safejs/dist/core.js +1 -1
- package/packages/safejs/dist/index.js +2 -2
- package/packages/safejs/dist/interp/host-bridge.js +2 -0
- /package/packages/safejs/dist/chunks/{chunk-5IU6NPGM.js.map → chunk-6EXLQKE5.js.map} +0 -0
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
parseMcpConfig,
|
|
21
21
|
splitFrontmatter,
|
|
22
22
|
withBrokenPipeGuard
|
|
23
|
-
} from "./chunks/chunk-
|
|
23
|
+
} from "./chunks/chunk-6EXLQKE5.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-
|
|
35
|
+
} from "./chunks/chunk-YE6I5W6O.js";
|
|
36
36
|
import "./chunks/chunk-4YIDX44G.js";
|
|
37
37
|
|
|
38
38
|
// packages/safejs/src/cli.ts
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
runWithSpawnUsageAccumulator,
|
|
28
28
|
splitFrontmatter,
|
|
29
29
|
supportsSpawnMode
|
|
30
|
-
} from "./chunks/chunk-
|
|
30
|
+
} from "./chunks/chunk-6EXLQKE5.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-
|
|
52
|
+
} from "./chunks/chunk-YE6I5W6O.js";
|
|
53
53
|
import "./chunks/chunk-4YIDX44G.js";
|
|
54
54
|
|
|
55
55
|
// packages/safejs/src/runner/run-harness.ts
|
|
@@ -473,6 +473,8 @@ function wrapSandboxClosureForHost(closure, stackFrames, budget, callbacks) {
|
|
|
473
473
|
});
|
|
474
474
|
return pending;
|
|
475
475
|
};
|
|
476
|
+
if (closure.length !== undefined)
|
|
477
|
+
Object.defineProperty(wrapped, "length", { value: closure.length });
|
|
476
478
|
callbacks?.seen.set(closure, wrapped);
|
|
477
479
|
callbacks?.entries.set(id, invoke);
|
|
478
480
|
callbacks?.hostFunctions.set(id, wrapped);
|
|
File without changes
|