{"versions":{"0.1.0":{"name":"dsh-browser","version":"0.1.0","description":"Browser automation for DeepSeek Harness: Playwright-powered open/click/type/screenshot/eval tools so the agent can drive real web pages.","type":"module","main":"lib/index.js","types":"lib/types/index.d.ts","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./cordis.patch.yml":"./cordis.patch.yml","./package.json":"./package.json"},"repository":{"type":"git","url":"git+https://github.com/ben7am1n/dsh-browser.git"},"homepage":"https://github.com/ben7am1n/dsh-browser#readme","bugs":{"url":"https://github.com/ben7am1n/dsh-browser/issues"},"license":"MIT","keywords":["dsh-plugin","browser","playwright","automation"],"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"scripts":{"build":"tsc -p tsconfig.json","prepare":"npm run build","typecheck":"tsc -p tsconfig.json --noEmit"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"playwright-core":"^1.49.0"},"devDependencies":{"@deepseek-ai/cordis":"^4.0.1","@types/node":"^22.0.0","typescript":"^5.9.3"},"_id":"dsh-browser@0.1.0","gitHead":"77520a873128825a5ca1f8ec48a29361ca0b8365","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-VX85jp5SBczvxDDcCNNtpMO4khiopqPTdPvKBI+riL9pCovG7LIU3xD3eD7wBnEGRPZ2rKXPAKSD1OAKAguC8g==","shasum":"84605046d306fca86860ce0bd9ca28decea7d933","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-browser/-/dsh-browser-0.1.0.tgz","fileCount":8,"unpackedSize":26914,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC20L7OE8rynLoV2AwZULeLjnpodingp730St5Mdz9s0QIhAI23N9BfnGXbKBg+ZvUzOnLVLDevqYslmI2pt/2VXF1N"}],"size":6940},"_npmUser":{"name":"anonymous","email":"wangbin042@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"wangbin042@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-browser_0.1.0_1786638118511_0.7385789793387072"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-13T16:21:58.668Z","publish_time":1786638118668,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.1.0"},"name":"dsh-browser","time":{"created":"2026-08-13T16:22:15.226Z","modified":"2026-08-13T16:22:16.000Z","0.1.0":"2026-08-13T16:21:58.668Z"},"readme":"# dsh-browser\n\nBrowser automation for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness): a Playwright-powered `browser_*` tool family so the agent can drive real web pages — fill forms, click through flows, scrape SPA content, and take screenshots it can then view with `read_image`.\n\n## Install\n\n```sh\ndsh plugin --profile <name> add dsh-browser\n```\n\nThe plugin depends on `playwright-core` (bundled with the package) and needs a Chromium-based browser. It tries `chromium`, then `chrome`, then `msedge` channels automatically; if none is found:\n\n```sh\nnpx playwright install chromium\n```\n\nor configure `launch.executablePath` / `launch.channel` in the plugin config.\n\n## Tools\n\n| Tool | Purpose |\n|---|---|\n| `browser_open` | Open (or reuse) the browser, optionally navigate to a URL |\n| `browser_navigate` | Navigate the current page and wait for load |\n| `browser_click` | Click an element by CSS selector |\n| `browser_type` | Type text into an input (optionally press Enter) |\n| `browser_select` | Select option(s) in a `<select>` |\n| `browser_screenshot` | Capture a PNG to `<workspace>/browser-screenshots/`; view it with `read_image` |\n| `browser_eval` | Evaluate JavaScript in the page, return JSON |\n| `browser_get_text` / `browser_get_html` | Read visible text or outer HTML |\n| `browser_wait` | Wait for slow pages / lazy content |\n| `browser_close` | Close the browser (reopenable by any tool) |\n| `browser_install` | Explain or verify browser availability |\n\nThe browser persists across tool calls — open once, drive many times, close when done.\n\n## Configuration\n\n| Field | Default | Meaning |\n|---|---|---|\n| `launch.executablePath` | — | Absolute path to a browser binary (takes precedence) |\n| `launch.channel` | auto (`chromium` → `chrome` → `msedge`) | Browser channel |\n| `launch.navigationTimeoutMs` | — | Default navigation/action timeout |\n| `launch.viewport` | `1280×800` | Page viewport |\n| `screenshotDir` | `browser-screenshots` | Screenshot directory under the workspace |\n\n```yaml\n# profile cordis.patch.yml\n- id: browser\n  config:\n    launch:\n      channel: chrome\n      navigationTimeoutMs: 30000\n```\n\n## Notes\n\n- Runs headless by default; a headed mode may come later.\n- Screenshots land in the calling agent's workspace so the model can read them with `read_image`.\n\n## License\n\nMIT","users":{}}