On load, ensures the Playwright browser target (default: chromium) is installed via `npx --yes playwright install chromium --with-deps` (background when missing, so profile startup is not blocked), then symlinks the installed binary at /usr/local/bin/google-chrome-stable (+ chromium). That exact name is what dsh-ego-browser's PATH scan and its bundled --no-sandbox wrapper both look for, so root/Docker containers get a working agent browser with zero manual PATH, env-var or wrapper steps. Pre-existing user binaries/wrappers are never clobbered. Ships as a dsh bundle (plain ESM, no build step); install via `dsh plugin --profile web add github:<you>/dsh-browser-install#main` and update with `dsh plugin --profile web update` (branch ref resolves the tip).
35 lines
759 B
JSON
35 lines
759 B
JSON
{
|
|
"name": "dsh-browser-install",
|
|
"version": "0.1.0",
|
|
"description": "Auto-installs Playwright Chromium (npx playwright install chromium --with-deps) into the DSH container and bridges it onto PATH so dsh-ego-browser finds it without manual env-var or wrapper steps.",
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"dependencies": {
|
|
"@deepseek-ai/schemastery": "^3.18.3"
|
|
},
|
|
"dsh": {
|
|
"engines": {
|
|
"dsh": ">=0.1.2-rc.1"
|
|
},
|
|
"bundle": {
|
|
"patch": "./cordis.patch.yml"
|
|
}
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"cordis.patch.yml",
|
|
"README.md"
|
|
],
|
|
"keywords": [
|
|
"dsh",
|
|
"dsh-plugin",
|
|
"playwright",
|
|
"chromium",
|
|
"ego-browser",
|
|
"browser"
|
|
]
|
|
} |