@poe-platform/safe-bash 0.1.714 → 0.1.716
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 +7 -0
- package/dist/safe-bash/commands/playwright/index.d.ts.map +1 -1
- package/dist/safe-bash/playwright/controller.d.ts +2 -0
- package/dist/safe-bash/playwright/controller.d.ts.map +1 -1
- package/dist/safe-bash/playwright/controller.js +112 -32
- package/dist/safe-bash/playwright/controller.js.map +1 -1
- package/dist/safe-bash/playwright/help.d.ts +1 -1
- package/dist/safe-bash/playwright/help.d.ts.map +1 -1
- package/dist/safe-bash/playwright/help.js +3 -1
- package/dist/safe-bash/playwright/help.js.map +1 -1
- package/dist/safe-bash/playwright/invocation.d.ts +1 -0
- package/dist/safe-bash/playwright/invocation.d.ts.map +1 -1
- package/dist/safe-bash/playwright/invocation.js +1 -1
- package/dist/safe-bash/playwright/invocation.js.map +1 -1
- package/dist/safe-bash-mcp/index.d.ts +1339 -0
- package/dist/safe-bash-mcp/index.js +15221 -0
- package/dist/safe-playwright-cloudflare/browser-code-executor.d.ts +1 -1
- package/dist/safe-playwright-cloudflare/shell-browser-resource.d.ts +1 -1
- package/dist/safe-playwright-cloudflare/shell-playwright.d.ts +1 -1
- package/package.json +6 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PlaywrightCodeExecutor } from "
|
|
1
|
+
import type { PlaywrightCodeExecutor } from "@poe-platform/safe-bash/playwright";
|
|
2
2
|
import type { acquireCloudflareBrowser } from "./shell-browser-resource.js";
|
|
3
3
|
export interface BrowserCodeRuntime {
|
|
4
4
|
ownerId: string;
|
|
@@ -6,7 +6,7 @@ export declare function acquireCloudflareBrowser(options: {
|
|
|
6
6
|
}): Promise<{
|
|
7
7
|
browser: Browser;
|
|
8
8
|
connectSocket: (signal: AbortSignal) => Promise<WebSocket>;
|
|
9
|
-
prepareStorageOrigin: import("
|
|
9
|
+
prepareStorageOrigin: import("@poe-platform/safe-bash/playwright").PlaywrightStorageOriginPreparer;
|
|
10
10
|
interrupt(): Promise<void>;
|
|
11
11
|
release: () => Promise<void>;
|
|
12
12
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BrowserContext, BrowserWorker } from "@cloudflare/playwright";
|
|
2
|
-
import { type PlaywrightAdapter } from "
|
|
2
|
+
import { type PlaywrightAdapter } from "@poe-platform/safe-bash/playwright";
|
|
3
3
|
import { type BrowserCodeRuntime } from "./browser-code-executor.js";
|
|
4
4
|
/** Cloudflare owns Chromium; the released CLI owns sessions, refs and artifacts. */
|
|
5
5
|
type BrowserStorageState = Awaited<ReturnType<BrowserContext["storageState"]>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poe-platform/safe-bash",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.716",
|
|
4
4
|
"description": "Extensible virtual shell with pluggable filesystems and streaming commands",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"third-party"
|
|
13
13
|
],
|
|
14
14
|
"exports": {
|
|
15
|
+
"./mcp": {
|
|
16
|
+
"types": "./dist/safe-bash-mcp/index.d.ts",
|
|
17
|
+
"import": "./dist/safe-bash-mcp/index.js"
|
|
18
|
+
},
|
|
15
19
|
"./playwright/cloudflare": {
|
|
16
20
|
"types": "./dist/safe-playwright-cloudflare/index.d.ts",
|
|
17
21
|
"import": "./dist/safe-playwright-cloudflare/index.js"
|
|
@@ -382,7 +386,7 @@
|
|
|
382
386
|
"access": "public"
|
|
383
387
|
},
|
|
384
388
|
"dependencies": {
|
|
385
|
-
"@poe-platform/safe-fs": "0.1.
|
|
389
|
+
"@poe-platform/safe-fs": "0.1.716",
|
|
386
390
|
"pako": "3.0.1",
|
|
387
391
|
"@types/node": "^25.2.2",
|
|
388
392
|
"@noble/hashes": "2.4.0",
|