poe-code 15.0.45 → 15.0.46
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/{chunk-CY4U3TS5.js → chunk-LRADNPMZ.js} +2 -2
- package/dist/{dist-QQ5MXLNA.js → dist-SHPG7RKD.js} +6 -6
- package/dist/{dist-QQ5MXLNA.js.map → dist-SHPG7RKD.js.map} +3 -3
- package/dist/index.js +2 -2
- package/dist/metafile.json +1 -1
- package/dist/{program-2K6HLD6K.js → program-XHHZOF7U.js} +3 -3
- package/package.json +15 -3
- package/packages/safe-bash/dist/chunks/{chunk-GPV7ZFYS.js → chunk-IX6VL7KM.js} +6 -6
- package/packages/safe-bash/dist/chunks/chunk-IX6VL7KM.js.map +7 -0
- package/packages/safe-bash/dist/chunks/{chunk-WECHUK3Y.js → chunk-MQJRBELV.js} +2 -2
- package/packages/safe-bash/dist/chunks/{chunk-WECHUK3Y.js.map → chunk-MQJRBELV.js.map} +1 -1
- package/packages/safe-bash/dist/commands/node/index.browser.js +1 -1
- package/packages/safe-bash/dist/commands/python/execution.d.ts +1 -1
- package/packages/safe-bash/dist/commands/python/execution.d.ts.map +1 -1
- package/packages/safe-bash/dist/commands/python/execution.js +5 -1
- package/packages/safe-bash/dist/commands/python/execution.js.map +1 -1
- package/packages/safe-bash/dist/commands/python/index.browser.js +1 -1
- package/packages/safe-bash/dist/commands/python/index.d.ts +1 -0
- package/packages/safe-bash/dist/commands/python/index.d.ts.map +1 -1
- package/packages/safe-bash/dist/commands/python/index.js +1 -1
- package/packages/safe-bash/dist/commands/python/index.js.map +1 -1
- package/packages/safe-bash/dist/commands/python/provisioning-runtime.d.ts.map +1 -1
- package/packages/safe-bash/dist/commands/python/provisioning-runtime.js +22 -11
- package/packages/safe-bash/dist/commands/python/provisioning-runtime.js.map +1 -1
- package/packages/safe-bash/dist/commands/python/provisioning.js +5 -5
- package/packages/safe-bash/dist/commands/python/provisioning.js.map +1 -1
- package/packages/safe-bash/dist/commands/python/worker.browser.js +23 -11
- package/packages/safe-bash/dist/commands/python/worker.browser.js.map +2 -2
- package/packages/safe-bash/dist/core.browser.js +2 -2
- package/packages/safe-bash/dist/playwright/controller.d.ts.map +1 -1
- package/packages/safe-bash/dist/playwright/controller.js +18 -11
- package/packages/safe-bash/dist/playwright/controller.js.map +1 -1
- package/packages/safe-bash/dist/playwright/snapshot.d.ts +2 -1
- package/packages/safe-bash/dist/playwright/snapshot.d.ts.map +1 -1
- package/packages/safe-bash/dist/playwright/snapshot.js +53 -5
- package/packages/safe-bash/dist/playwright/snapshot.js.map +1 -1
- package/packages/safe-js/dist/browser/chunks/{chunk-RILLSV3Z.js → chunk-PYPO2PBZ.js} +8 -3
- package/packages/safe-js/dist/browser/chunks/{chunk-RILLSV3Z.js.map → chunk-PYPO2PBZ.js.map} +3 -3
- package/packages/safe-js/dist/browser/safe-fs-core.js +1 -1
- package/packages/safe-js/dist/browser/safe-fs.js +1 -1
- package/packages/safe-js/dist/chunks/{chunk-WP6R5BZQ.js → chunk-DVYZSFT7.js} +3 -3
- package/packages/safe-js/dist/chunks/{chunk-DDSELQBK.js → chunk-QARR7XB6.js} +8 -3
- package/packages/safe-js/dist/chunks/{chunk-DDSELQBK.js.map → chunk-QARR7XB6.js.map} +3 -3
- package/packages/safe-js/dist/chunks/{chunk-IRUPW4G6.js → chunk-RRT5HCYW.js} +2 -2
- package/packages/safe-js/dist/chunks/{cli-runtime-ZT6JZOYI.js → cli-runtime-SROZP6VJ.js} +6 -6
- package/packages/safe-js/dist/chunks/{fs-2EQSFSKI.js → fs-MQRFZI4E.js} +2 -2
- package/packages/safe-js/dist/cli.js +2 -2
- package/packages/safe-js/dist/index.js +3 -3
- package/packages/safe-js/dist/safe-fs-core.js +1 -1
- package/packages/safe-js/dist/safe-fs-node.js +2 -2
- package/packages/safe-js/dist/safe-fs.js +2 -2
- package/packages/safe-playwright/dist/adapter.d.ts +96 -0
- package/packages/safe-playwright/dist/adapter.js +122 -0
- package/packages/safe-playwright/dist/billing.d.ts +70 -0
- package/packages/safe-playwright/dist/billing.js +1 -0
- package/packages/safe-playwright/dist/controller.d.ts +20 -0
- package/packages/safe-playwright/dist/controller.js +368 -0
- package/packages/safe-playwright/dist/index.d.ts +4 -0
- package/packages/safe-playwright/dist/index.js +3 -0
- package/packages/safe-playwright/dist/invocation.d.ts +25 -0
- package/packages/safe-playwright/dist/invocation.js +111 -0
- package/packages/safe-playwright/dist/snapshot.d.ts +14 -0
- package/packages/safe-playwright/dist/snapshot.js +95 -0
- package/packages/safe-bash/dist/chunks/chunk-GPV7ZFYS.js.map +0 -7
- /package/dist/{chunk-CY4U3TS5.js.map → chunk-LRADNPMZ.js.map} +0 -0
- /package/dist/{program-2K6HLD6K.js.map → program-XHHZOF7U.js.map} +0 -0
- /package/packages/safe-js/dist/chunks/{chunk-WP6R5BZQ.js.map → chunk-DVYZSFT7.js.map} +0 -0
- /package/packages/safe-js/dist/chunks/{chunk-IRUPW4G6.js.map → chunk-RRT5HCYW.js.map} +0 -0
- /package/packages/safe-js/dist/chunks/{cli-runtime-ZT6JZOYI.js.map → cli-runtime-SROZP6VJ.js.map} +0 -0
- /package/packages/safe-js/dist/chunks/{fs-2EQSFSKI.js.map → fs-MQRFZI4E.js.map} +0 -0
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
// src/sdk/bash.ts
|
|
108
108
|
async function runBash(options) {
|
|
109
109
|
if (!options.fs && !options.root) throw new TypeError("Bash requires an explicit filesystem or root");
|
|
110
|
-
const { Shell, RealFileSystem, agentCommands, pythonCommands } = await import("./dist-
|
|
110
|
+
const { Shell, RealFileSystem, agentCommands, pythonCommands } = await import("./dist-SHPG7RKD.js");
|
|
111
111
|
const fs4 = options.fs ?? new RealFileSystem({ root: options.root });
|
|
112
112
|
const shell = new Shell({ fs: fs4, cwd: options.cwd, env: options.env }).use(agentCommands());
|
|
113
113
|
try {
|
|
@@ -22033,4 +22033,4 @@ export {
|
|
|
22033
22033
|
resolveMcpSpawnInput,
|
|
22034
22034
|
parseMcpSpawnConfig
|
|
22035
22035
|
};
|
|
22036
|
-
//# sourceMappingURL=chunk-
|
|
22036
|
+
//# sourceMappingURL=chunk-LRADNPMZ.js.map
|
|
@@ -82423,13 +82423,13 @@ function createPythonPackageEnvironment(options3 = {}) {
|
|
|
82423
82423
|
throw failure(`Cannot read Python requirements ${path}: ${error instanceof Error ? error.message : String(error)}`);
|
|
82424
82424
|
}
|
|
82425
82425
|
for (const line of source2.split("\n")) {
|
|
82426
|
-
const
|
|
82427
|
-
|
|
82426
|
+
const comment2 = line.split("").findIndex((character, index) => character === "#" && (index === 0 || line[index - 1].trim() === ""));
|
|
82427
|
+
const text4 = (comment2 < 0 ? line : line.slice(0, comment2)).trim();
|
|
82428
|
+
if (!text4)
|
|
82428
82429
|
continue;
|
|
82429
82430
|
if (text4.endsWith("\\") || text4.startsWith("-"))
|
|
82430
82431
|
throw failure(`Unsupported requirements option or continuation in ${path}: ${text4}`);
|
|
82431
|
-
|
|
82432
|
-
requirements.push(normalizeRequirement(comment2 < 0 ? text4 : text4.slice(0, comment2), dirname(path)));
|
|
82432
|
+
requirements.push(normalizeRequirement(text4, dirname(path)));
|
|
82433
82433
|
}
|
|
82434
82434
|
}
|
|
82435
82435
|
context2.signal.throwIfAborted();
|
|
@@ -82917,7 +82917,7 @@ function createPythonCommands(options3) {
|
|
|
82917
82917
|
}, fail4);
|
|
82918
82918
|
if (settled)
|
|
82919
82919
|
return;
|
|
82920
|
-
const start = { type: "start", shared, invocation: { args: [...context2.args], cwd: context2.cwd, env: { ...context2.env } }, runtimeMount, maxTransferBytes, ...packages ? { packages } : {}, installOnly: !!installation };
|
|
82920
|
+
const start = { type: "start", shared, invocation: { command: context2.command, args: [...context2.args], cwd: context2.cwd, env: { ...context2.env } }, runtimeMount, maxTransferBytes, ...packages ? { packages } : {}, installOnly: !!installation };
|
|
82921
82921
|
signal.throwIfAborted();
|
|
82922
82922
|
endpoint.postMessage(start);
|
|
82923
82923
|
});
|
|
@@ -96987,4 +96987,4 @@ export {
|
|
|
96987
96987
|
xmlCommands,
|
|
96988
96988
|
yqCommands
|
|
96989
96989
|
};
|
|
96990
|
-
//# sourceMappingURL=dist-
|
|
96990
|
+
//# sourceMappingURL=dist-SHPG7RKD.js.map
|