{"_id":"@anweat/dsh-browser","_rev":"17-8889c87f2ab54c98941da85683f82fd8","name":"@anweat/dsh-browser","dist-tags":{"latest":"0.1.15","next":"0.1.15-alpha.2"},"versions":{"0.1.1":{"name":"@anweat/dsh-browser","version":"0.1.1","license":"MIT","_id":"@anweat/dsh-browser@0.1.1","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"59f43dcdbc6fe72e4e41678b79919c7807289e14","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.1.tgz","fileCount":20,"integrity":"sha512-FIZS3TXdgkbunzZQM30XmfIRBub51tqsKnw4Y4mNWdsHP/QcX+l1L9ZnBuRrmpIQgFfIq+xomFl+oW3ndK2ypA==","signatures":[{"sig":"MEQCIA1vpkHjghVLOtMsk2pbVX1tyYG1bcHdgNKqPk/d3wyJAiAL2Q1elQEXK/xe3U2Cxnl4S9aUrETCXXc6SJh8NRSRGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":81577},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.1.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.1.tgz","_integrity":"sha512-FIZS3TXdgkbunzZQM30XmfIRBub51tqsKnw4Y4mNWdsHP/QcX+l1L9ZnBuRrmpIQgFfIq+xomFl+oW3ndK2ypA==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"10.9.8","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"playwright":"^1.60.0","@jackwener/opencli":"^1.8.6","@deepseek-ai/dsh-tools":"^0.1.0-rc.6","@deepseek-ai/schemastery":"^3.18.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.1_1786675249489_0.660853757330246","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@anweat/dsh-browser","version":"0.1.3","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.3","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"605f827012eff31eefffcf2b2a70a247b3d059d2","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.3.tgz","fileCount":20,"integrity":"sha512-YDNcR7xRw2cUSCn2xCTNRRtb2dpSsStAt9zXWUx+GLiUze93DyWnxSKCeJFiufyA4vzQZi9Z0R3mbTe9CzFsSg==","signatures":[{"sig":"MEYCIQCvHxvlHcWfHap4FO06T53PT/T2JaeumkhGJm2UUEn/DgIhAP4w9ux3/pweUP5Yp8nnge7d/l4EdR+RLLGvz2e/79Ie","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":82895},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.3.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.3.tgz","_integrity":"sha512-YDNcR7xRw2cUSCn2xCTNRRtb2dpSsStAt9zXWUx+GLiUze93DyWnxSKCeJFiufyA4vzQZi9Z0R3mbTe9CzFsSg==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"10.9.8","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.1","dependencies":{"playwright":"^1.60.0","@jackwener/opencli":"^1.8.6","@deepseek-ai/dsh-tools":"^0.1.0-rc.6","@deepseek-ai/schemastery":"^3.18.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.3_1786694518457_0.9064814630377509","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@anweat/dsh-browser","version":"0.1.4","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.4","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"8c206b79a905d310e192b6e80639734418f94033","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.4.tgz","fileCount":20,"integrity":"sha512-TdHjblzzc5rzGiHZq70A9fBxmxKYUjsc8EdMd1V2WN8gDAxNR6t4jXTP/Y0l3gD9YUXZ1yr+8l4fFBp9GiBxzQ==","signatures":[{"sig":"MEUCIGUCxxIvDyGUJXm2g+1lcDLaS4m86aDXpRl7MUmuUoeJAiEA+Qg/OrRBoCsBgyDnN2v3ONscnGoH0ZHhqMfXLfcM2Cg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":83237},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.4.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"build":"tsc -p tsconfig.json"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.4.tgz","_integrity":"sha512-TdHjblzzc5rzGiHZq70A9fBxmxKYUjsc8EdMd1V2WN8gDAxNR6t4jXTP/Y0l3gD9YUXZ1yr+8l4fFBp9GiBxzQ==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"10.9.8","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.4_1787369662585_0.5642095158173643","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@anweat/dsh-browser","version":"0.1.5","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.5","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"978028c2786bbb67bf022ce3702496195c376261","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.5.tgz","fileCount":26,"integrity":"sha512-2S91VjCt6+hWPXBmS/1vQeYiUwwAj6Yrg7ddDe1PMQv4Hq2qvomGJ7Bcy3SjBenPf9XfWufLCkn80Eueig7YgQ==","signatures":[{"sig":"MEQCIAF9pDEjbELYtwSlKNlbfcbfiqbfNgXQBOjiUPknugHUAiBWanzxrwSvl199JRYuG9dDRose5DWGfbH5tYs5BcozpA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":110017},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.5.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"tsc -p tsconfig.json"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.5.tgz","_integrity":"sha512-2S91VjCt6+hWPXBmS/1vQeYiUwwAj6Yrg7ddDe1PMQv4Hq2qvomGJ7Bcy3SjBenPf9XfWufLCkn80Eueig7YgQ==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"10.9.8","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.5_1787400325047_0.3945874145121988","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@anweat/dsh-browser","version":"0.1.6","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.6","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"c25c1d9122c0a929bb31491bea4f040e71a83977","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.6.tgz","fileCount":35,"integrity":"sha512-QEHOcux/xUkW1JxlEjOlNkPiV+BstjqT/AbYgVKjaddrbt+WGUu9uI2tuhmgbvEqzsCrBJUk5Nb0FHZ8LoLAcw==","signatures":[{"sig":"MEUCIQDP3rN29brDvMfk4CF4xUrgTJy/kVKJT5LCjxkNP8W02QIgYUFtyKJpwLJhLVKkxdyk0ky3pVtrYiX7l7+zWT0P234=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":190314},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"gitHead":"49bf18e61e06cc0c8cb0dc15117c08eb760703a8","scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"tsc -p tsconfig.json","prepare":"npm run build","prepublishOnly":"npm run build"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"11.12.1","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"packageManager":"pnpm@11.7.0","devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.6_1787414131951_0.8928559310127344","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@anweat/dsh-browser","version":"0.1.7","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.7","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"e5ffee30309775ecb5191587cad1e22234789db9","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.7.tgz","fileCount":38,"integrity":"sha512-C+9iHFU5h8W02+ZJ9xFmXZO9FfiGD1POW2prMgDr4lrqaA9xKefP/wDByL+kGZW4gGV/KcqLaqKwX4Cn3EhXug==","signatures":[{"sig":"MEQCIBs67IRYVXAuJfbv5VthypaLeWos/0gmmLjo+bECGy+rAiAyVbGA6M4+OH20L2A7hm72MXjCU4YDda2o+LHw6lDPuw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203615},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"gitHead":"518c1c824be6a8ff063cac28f6e95116d266ea51","scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"tsc -p tsconfig.json","prepare":"npm run build","prepublishOnly":"npm run build"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"11.12.1","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"packageManager":"pnpm@11.7.0","devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.7_1787451053587_0.33913482243047643","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@anweat/dsh-browser","version":"0.1.8","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.8","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-plugins"],"platform":"web"}},"dist":{"shasum":"95d58ad132624f5cbd1c5ec5bbd1893511086276","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.8.tgz","fileCount":69,"integrity":"sha512-76gacqneMtMlijTknCRLF2jn/PaQ8MS2l8K0E1CsLa9LqhhIDi6D+9NgxklpV/3QMh0v8Ia0fuvoIErDEiUr8w==","signatures":[{"sig":"MEQCIBdhAmtAD955N5eHytyTGwwb6BqBKshIzke+TACmrp8RAiBM8p8vn0wCrOaDIUfOi+JptH7nOko8Y557PHxeO5eXnw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":373999},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.8.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"node scripts/clean-lib.mjs && tsc -p tsconfig.json && tsdown","verify":"pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:client-bundle","typecheck":"tsc -p tsconfig.json --noEmit","test:client-bundle":"node scripts/check-client-bundle.mjs"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.8.tgz","_integrity":"sha512-76gacqneMtMlijTknCRLF2jn/PaQ8MS2l8K0E1CsLa9LqhhIDi6D+9NgxklpV/3QMh0v8Ia0fuvoIErDEiUr8w==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"10.9.8","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"patchright":"^1.62.1","playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","tsdown":"^0.22.2","react-dom":"18.2.0","typescript":"^5.6.0","@types/node":"^22.0.0","@types/react":"~18.3.1","@types/react-dom":"~18.3.1","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-locale":"^0.1.1-rc.2","@deepseek-ai/dsh-client-runtime":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-slots":"^0.1.1-rc.2","@deepseek-ai/dsh-client-connection":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings-plugins":"^0.1.1-rc.2"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-locale":"^0.1.1-rc.2","@deepseek-ai/dsh-client-runtime":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-slots":"^0.1.1-rc.2","@deepseek-ai/dsh-client-connection":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings-plugins":"^0.1.1-rc.2"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true},"@deepseek-ai/dsh-settings":{"optional":true},"@deepseek-ai/dsh-client-locale":{"optional":true},"@deepseek-ai/dsh-client-runtime":{"optional":true},"@deepseek-ai/dsh-client-ui-slots":{"optional":true},"@deepseek-ai/dsh-client-connection":{"optional":true},"@deepseek-ai/dsh-client-ui-settings":{"optional":true},"@deepseek-ai/dsh-client-ui-settings-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.8_1787478963797_0.29632994762458464","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@anweat/dsh-browser","version":"0.1.9","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.9","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-plugins"],"platform":"web"}},"dist":{"shasum":"611e7b69478c4840c146abdb1a61ae663231b924","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.9.tgz","fileCount":84,"integrity":"sha512-q+C/1LrAOgpgfiuwgfOcUSfWXEjvUqz7T84gdqZb+e2zgESgvms6UqP5Zk6hoW2dqqa+8Jnxayd2XPlbf+2xyw==","signatures":[{"sig":"MEYCIQDVghsUQlfbI8FqydQjh7cUzrPKu3T1F3asSppM/wRw2AIhAIfs4BikUUzEEcjHOubjQEog0iSxJFPagqJJyfsD8Zxd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":548069},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.9.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"node scripts/clean-lib.mjs && tsc -p tsconfig.json && tsdown","verify":"pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:client-bundle","typecheck":"tsc -p tsconfig.json --noEmit","test:client-bundle":"node scripts/check-client-bundle.mjs"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.9.tgz","_integrity":"sha512-q+C/1LrAOgpgfiuwgfOcUSfWXEjvUqz7T84gdqZb+e2zgESgvms6UqP5Zk6hoW2dqqa+8Jnxayd2XPlbf+2xyw==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"10.9.8","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"patchright":"^1.62.1","playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","tsdown":"^0.22.2","react-dom":"18.2.0","typescript":"^5.6.0","@types/node":"^22.0.0","@types/react":"~18.3.1","@types/react-dom":"~18.3.1","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-locale":"^0.1.1-rc.2","@deepseek-ai/dsh-client-runtime":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-slots":"^0.1.1-rc.2","@deepseek-ai/dsh-client-connection":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings-plugins":"^0.1.1-rc.2"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-locale":"^0.1.1-rc.2","@deepseek-ai/dsh-client-runtime":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-slots":"^0.1.1-rc.2","@deepseek-ai/dsh-client-connection":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings-plugins":"^0.1.1-rc.2"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true},"@deepseek-ai/dsh-settings":{"optional":true},"@deepseek-ai/dsh-client-locale":{"optional":true},"@deepseek-ai/dsh-client-runtime":{"optional":true},"@deepseek-ai/dsh-client-ui-slots":{"optional":true},"@deepseek-ai/dsh-client-connection":{"optional":true},"@deepseek-ai/dsh-client-ui-settings":{"optional":true},"@deepseek-ai/dsh-client-ui-settings-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.9_1787722406730_0.03793214869760719","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@anweat/dsh-browser","version":"0.1.10","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.10","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-plugins"],"platform":"web"}},"dist":{"shasum":"4406b48a145f3104a8889dfa5389c605a63f6995","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.10.tgz","fileCount":84,"integrity":"sha512-AxEtaGzCbLNDsugUB4Epb+CSKLOCrYS/7yB6876bYyC9bFH8J2sM7D68mj92giU3XjohWnRo+W405jWz5nHAPw==","signatures":[{"sig":"MEQCIBThImcQIUbMPy7UFLVoefDRfDjd/NkWM0OfgwedSurLAiBCWFaU8z3/QtQFl13g7fueTtzRDd8we6t/vQKz20Av+A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":548183},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.10.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"node scripts/clean-lib.mjs && tsc -p tsconfig.json && tsdown","verify":"pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:client-bundle","typecheck":"tsc -p tsconfig.json --noEmit","test:client-bundle":"node scripts/check-client-bundle.mjs"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.10.tgz","_integrity":"sha512-AxEtaGzCbLNDsugUB4Epb+CSKLOCrYS/7yB6876bYyC9bFH8J2sM7D68mj92giU3XjohWnRo+W405jWz5nHAPw==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"10.9.8","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"patchright":"^1.62.1","playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","tsdown":"^0.22.2","react-dom":"18.2.0","typescript":"^5.6.0","@types/node":"^22.0.0","@types/react":"~18.3.1","@types/react-dom":"~18.3.1","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-locale":"^0.1.1-rc.2","@deepseek-ai/dsh-client-runtime":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-slots":"^0.1.1-rc.2","@deepseek-ai/dsh-client-connection":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings-plugins":"^0.1.1-rc.2"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-locale":"^0.1.1-rc.2","@deepseek-ai/dsh-client-runtime":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-slots":"^0.1.1-rc.2","@deepseek-ai/dsh-client-connection":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings-plugins":"^0.1.1-rc.2"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true},"@deepseek-ai/dsh-settings":{"optional":true},"@deepseek-ai/dsh-client-locale":{"optional":true},"@deepseek-ai/dsh-client-runtime":{"optional":true},"@deepseek-ai/dsh-client-ui-slots":{"optional":true},"@deepseek-ai/dsh-client-connection":{"optional":true},"@deepseek-ai/dsh-client-ui-settings":{"optional":true},"@deepseek-ai/dsh-client-ui-settings-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.10_1787982772790_0.39103764998234647","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@anweat/dsh-browser","version":"0.1.11","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.11","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-plugins"],"platform":"web"}},"dist":{"shasum":"e6ed29bdbe362d6473ebaa3f6a46e664568f627b","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.11.tgz","fileCount":84,"integrity":"sha512-pa8e07RM7CZQOpAW7bxuBTpjSNf+1vNCewd+9jN2YL3mqsOSQCgUSyM1GnXYWEITAVtbQJi6UYCzjS1P7d631w==","signatures":[{"sig":"MEUCIQCIRlNQnk4EN3cC3zKwWvWqKpWgeOOaG5ZQ8mPVa0cSbAIgOedVOtaCA5rY7+J72h6NR1Yi9G0XS7vVrdkHZ7juPcE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":548213},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.11.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"node scripts/clean-lib.mjs && tsc -p tsconfig.json && tsdown","verify":"pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:client-bundle","typecheck":"tsc -p tsconfig.json --noEmit","test:client-bundle":"node scripts/check-client-bundle.mjs"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.11.tgz","_integrity":"sha512-pa8e07RM7CZQOpAW7bxuBTpjSNf+1vNCewd+9jN2YL3mqsOSQCgUSyM1GnXYWEITAVtbQJi6UYCzjS1P7d631w==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"10.9.8","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"patchright":"^1.62.1","playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","tsdown":"^0.22.2","react-dom":"18.2.0","typescript":"^5.6.0","@types/node":"^22.0.0","@types/react":"~18.3.1","@types/react-dom":"~18.3.1","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-locale":"^0.1.1-rc.2","@deepseek-ai/dsh-client-runtime":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-slots":"^0.1.1-rc.2","@deepseek-ai/dsh-client-connection":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings-plugins":"^0.1.1-rc.2"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-locale":"^0.1.1-rc.2","@deepseek-ai/dsh-client-runtime":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-slots":"^0.1.1-rc.2","@deepseek-ai/dsh-client-connection":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings-plugins":"^0.1.1-rc.2"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true},"@deepseek-ai/dsh-settings":{"optional":true},"@deepseek-ai/dsh-client-locale":{"optional":true},"@deepseek-ai/dsh-client-runtime":{"optional":true},"@deepseek-ai/dsh-client-ui-slots":{"optional":true},"@deepseek-ai/dsh-client-connection":{"optional":true},"@deepseek-ai/dsh-client-ui-settings":{"optional":true},"@deepseek-ai/dsh-client-ui-settings-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.11_1788840045583_0.6271713253640661","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"@anweat/dsh-browser","version":"0.1.12","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.12","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-plugins"],"platform":"web"}},"dist":{"shasum":"1d3b079d223cd6de3790b6b56ec5c3c7c0c05608","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.12.tgz","fileCount":84,"integrity":"sha512-yBBMxBlrKxhT3NeNnGvT6rwzX1tboyDkSpudPHyzchgss+1ZsqcxKpJYja+Lg58N/hA3TahSwDeRNGm67yM6XA==","signatures":[{"sig":"MEQCIEBmanSCieLAp16UXJAt2f5kCpQeg3XTlNAJGwWsGUcrAiBJkOFwqh80sdpduD6jnp6OXfAlgGYJRRo5v+ihx6TP3A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":570283},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.12.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"node scripts/clean-lib.mjs && tsc -p tsconfig.json && tsdown","verify":"pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:client-bundle","typecheck":"tsc -p tsconfig.json --noEmit","test:client-bundle":"node scripts/check-client-bundle.mjs"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.12.tgz","_integrity":"sha512-yBBMxBlrKxhT3NeNnGvT6rwzX1tboyDkSpudPHyzchgss+1ZsqcxKpJYja+Lg58N/hA3TahSwDeRNGm67yM6XA==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"10.9.8","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"patchright":"^1.62.1","playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","tsdown":"^0.22.2","react-dom":"18.2.0","typescript":"^5.6.0","@types/node":"^22.0.0","@types/react":"~18.3.1","@types/react-dom":"~18.3.1","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-locale":"^0.1.1-rc.2","@deepseek-ai/dsh-client-runtime":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-slots":"^0.1.1-rc.2","@deepseek-ai/dsh-client-connection":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings-plugins":"^0.1.1-rc.2"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/schemastery":"^3.18.1","@deepseek-ai/dsh-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-locale":"^0.1.1-rc.2","@deepseek-ai/dsh-client-runtime":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-slots":"^0.1.1-rc.2","@deepseek-ai/dsh-client-connection":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings":"^0.1.1-rc.2","@deepseek-ai/dsh-client-ui-settings-plugins":"^0.1.1-rc.2"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true},"@deepseek-ai/dsh-settings":{"optional":true},"@deepseek-ai/dsh-client-locale":{"optional":true},"@deepseek-ai/dsh-client-runtime":{"optional":true},"@deepseek-ai/dsh-client-ui-slots":{"optional":true},"@deepseek-ai/dsh-client-connection":{"optional":true},"@deepseek-ai/dsh-client-ui-settings":{"optional":true},"@deepseek-ai/dsh-client-ui-settings-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.12_1788931350972_0.2703517229654173","host":"s3://npm-registry-packages-npm-production"}},"0.1.13-alpha.1":{"name":"@anweat/dsh-browser","version":"0.1.13-alpha.1","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.13-alpha.1","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-renderer","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-plugins"],"platform":"web"}},"dist":{"shasum":"8c3c163f4979fc4cc040d5e6be5e1050cb10c52e","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.13-alpha.1.tgz","fileCount":84,"integrity":"sha512-a+EuquihuxQAcCqWzjpLLEET9uJSyFcS7RgKNytaTi7xXbmOnFu1WRo/fl5tn3UCVMgvsw8qUaKoPcY7plMdAQ==","signatures":[{"sig":"MEYCIQCq4HXzf3ED2H6hV6NxBrJ7TQbphrPBYZ+iI0huFzUUKgIhAMxPth7/KKT+WDK//U+Z6pBHtatcLWgR7BlaT0ZiBs/b","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":575757},"main":"lib/index.js","type":"module","_from":"file:D:/codeproject/dsh-alpha5-release-20260909/anweat-dsh-browser-0.1.13-alpha.1.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"node scripts/clean-lib.mjs && tsc -p tsconfig.json && tsdown","verify":"pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:client-bundle","prepare":"npm run build","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"pnpm run verify","test:client-bundle":"node scripts/check-client-bundle.mjs"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"D:\\codeproject\\dsh-alpha5-release-20260909\\anweat-dsh-browser-0.1.13-alpha.1.tgz","_integrity":"sha512-a+EuquihuxQAcCqWzjpLLEET9uJSyFcS7RgKNytaTi7xXbmOnFu1WRo/fl5tn3UCVMgvsw8qUaKoPcY7plMdAQ==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"11.12.1","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"patchright":"^1.62.1","playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"packageManager":"pnpm@11.7.0","readmeFilename":"README.md","devDependencies":{"react":"^18.2.0","tsdown":"^0.22.2","react-dom":"18.2.0","typescript":"^5.6.0","@types/node":"^22.0.0","@types/react":"~18.3.1","@types/react-dom":"~18.3.1","@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-llm":"0.1.5-alpha.1","@deepseek-ai/dsh-agent":"0.1.5-alpha.1","@deepseek-ai/dsh-scope":"0.1.5-alpha.1","@deepseek-ai/dsh-tools":"0.1.5-alpha.1","@deepseek-ai/dsh-session":"0.1.5-alpha.1","@deepseek-ai/schemastery":"3.18.2","@deepseek-ai/dsh-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-invariants":"0.1.5-alpha.1","@deepseek-ai/dsh-client-store":"0.1.5-alpha.1","@deepseek-ai/dsh-code-runtime":"0.1.5-alpha.1","@deepseek-ai/dsh-client-locale":"0.1.5-alpha.1","@deepseek-ai/dsh-system-prompt":"0.1.5-alpha.1","@deepseek-ai/dsh-user-approval":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-slots":"0.1.5-alpha.1","@deepseek-ai/dsh-client-connection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-renderer":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-session-projection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.5-alpha.1"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-tools":"0.1.5-alpha.1","@deepseek-ai/schemastery":"3.18.2","@deepseek-ai/dsh-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-client-store":"0.1.5-alpha.1","@deepseek-ai/dsh-client-locale":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-slots":"0.1.5-alpha.1","@deepseek-ai/dsh-client-connection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-renderer":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.5-alpha.1"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true},"@deepseek-ai/dsh-settings":{"optional":true},"@deepseek-ai/dsh-client-store":{"optional":true},"@deepseek-ai/dsh-client-locale":{"optional":true},"@deepseek-ai/dsh-client-ui-slots":{"optional":true},"@deepseek-ai/dsh-client-connection":{"optional":true},"@deepseek-ai/dsh-client-ui-renderer":{"optional":true},"@deepseek-ai/dsh-client-ui-settings":{"optional":true},"@deepseek-ai/dsh-client-ui-settings-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.13-alpha.1_1788957979241_0.899377437218764","host":"s3://npm-registry-packages-npm-production"}},"0.1.14-alpha.1":{"name":"@anweat/dsh-browser","version":"0.1.14-alpha.1","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.14-alpha.1","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-renderer","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-plugins"],"platform":"web"}},"dist":{"shasum":"3b6ba2c2050ecc3f30b3fdf164166ffb0f3a90b7","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.14-alpha.1.tgz","fileCount":84,"integrity":"sha512-xIWLKEB5/CT4oOXhxXMhA3u7antnWIreq/qCM4TpPYSxmO2vCU6+aNljuM2pEgRS0Tdt4LC8sDOjEBA3t0mtSg==","signatures":[{"sig":"MEUCIDmoC9VmAWfs9oA4APUPHxp1NjXEG5Q2Jm+39o87Voj6AiEAs58dZhxSngd6YHYGp9YG1fumoXXarf3vyjkz88Qecvc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.14-alpha.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":626681},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.14-alpha.1.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"node scripts/clean-lib.mjs && tsc -p tsconfig.json && tsdown","verify":"pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:client-bundle","typecheck":"tsc -p tsconfig.json --noEmit","test:client-bundle":"node scripts/check-client-bundle.mjs"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.14-alpha.1.tgz","_integrity":"sha512-xIWLKEB5/CT4oOXhxXMhA3u7antnWIreq/qCM4TpPYSxmO2vCU6+aNljuM2pEgRS0Tdt4LC8sDOjEBA3t0mtSg==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"10.9.8","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"patchright":"^1.62.1","playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.2.0","tsdown":"^0.22.2","react-dom":"18.2.0","typescript":"^5.6.0","@types/node":"^22.0.0","@types/react":"~18.3.1","@types/react-dom":"~18.3.1","@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-llm":"0.1.5-alpha.1","@deepseek-ai/dsh-agent":"0.1.5-alpha.1","@deepseek-ai/dsh-scope":"0.1.5-alpha.1","@deepseek-ai/dsh-tools":"0.1.5-alpha.1","@deepseek-ai/dsh-session":"0.1.5-alpha.1","@deepseek-ai/schemastery":"3.18.2","@deepseek-ai/dsh-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-invariants":"0.1.5-alpha.1","@deepseek-ai/dsh-client-store":"0.1.5-alpha.1","@deepseek-ai/dsh-code-runtime":"0.1.5-alpha.1","@deepseek-ai/dsh-client-locale":"0.1.5-alpha.1","@deepseek-ai/dsh-system-prompt":"0.1.5-alpha.1","@deepseek-ai/dsh-user-approval":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-slots":"0.1.5-alpha.1","@deepseek-ai/dsh-client-connection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-renderer":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-session-projection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.5-alpha.1"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-tools":"0.1.5-alpha.1","@deepseek-ai/schemastery":"3.18.2","@deepseek-ai/dsh-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-client-store":"0.1.5-alpha.1","@deepseek-ai/dsh-client-locale":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-slots":"0.1.5-alpha.1","@deepseek-ai/dsh-client-connection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-renderer":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.5-alpha.1"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true},"@deepseek-ai/dsh-settings":{"optional":true},"@deepseek-ai/dsh-client-store":{"optional":true},"@deepseek-ai/dsh-client-locale":{"optional":true},"@deepseek-ai/dsh-client-ui-slots":{"optional":true},"@deepseek-ai/dsh-client-connection":{"optional":true},"@deepseek-ai/dsh-client-ui-renderer":{"optional":true},"@deepseek-ai/dsh-client-ui-settings":{"optional":true},"@deepseek-ai/dsh-client-ui-settings-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.14-alpha.1_1789038567651_0.12267337208684448","host":"s3://npm-registry-packages-npm-production"}},"0.1.14-alpha.2":{"name":"@anweat/dsh-browser","version":"0.1.14-alpha.2","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.14-alpha.2","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-renderer","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-plugins"],"platform":"web"}},"dist":{"shasum":"a0895e7d907786d49bf1fb098157e6fcfb8e5105","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.14-alpha.2.tgz","fileCount":84,"integrity":"sha512-K9qBuSmT3eRQ8OmBSLC71QcKBxEWvJwAQOaSQVUBCnh2vlrpn2tRENV5+7hCSDXq4Qw9tgZnPyop1jKvcMYLpg==","signatures":[{"sig":"MEYCIQDbpCZ+hA5wEfNUoXeLDXPRvQEZo1KR3Yc8Ej/5R7k10gIhAI2AyPzjydgi9MAe5mgojVlz8jQmbryVQ6R/vCr6qd8/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":630876},"main":"lib/index.js","type":"module","_from":"file:D:/codeproject/dsh-plugin/artifacts/issue-fix-20260913/ci-release/browser/anweat-dsh-browser-0.1.14-alpha.2.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"node scripts/clean-lib.mjs && tsc -p tsconfig.json && tsdown","verify":"pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:client-bundle","typecheck":"tsc -p tsconfig.json --noEmit","test:client-bundle":"node scripts/check-client-bundle.mjs"},"_npmUser":{"name":"anweat","email":"anweat@163.com"},"_resolved":"D:\\codeproject\\dsh-plugin\\artifacts\\issue-fix-20260913\\ci-release\\browser\\anweat-dsh-browser-0.1.14-alpha.2.tgz","_integrity":"sha512-K9qBuSmT3eRQ8OmBSLC71QcKBxEWvJwAQOaSQVUBCnh2vlrpn2tRENV5+7hCSDXq4Qw9tgZnPyop1jKvcMYLpg==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"11.12.1","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"patchright":"^1.62.1","playwright":"^1.60.0","@jackwener/opencli":"^1.8.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.2.0","tsdown":"^0.22.2","react-dom":"18.2.0","typescript":"^5.6.0","@types/node":"^22.0.0","@types/react":"~18.3.1","@types/react-dom":"~18.3.1","@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-llm":"0.1.5-alpha.1","@deepseek-ai/dsh-agent":"0.1.5-alpha.1","@deepseek-ai/dsh-scope":"0.1.5-alpha.1","@deepseek-ai/dsh-tools":"0.1.5-alpha.1","@deepseek-ai/dsh-session":"0.1.5-alpha.1","@deepseek-ai/schemastery":"3.18.2","@deepseek-ai/dsh-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-invariants":"0.1.5-alpha.1","@deepseek-ai/dsh-client-store":"0.1.5-alpha.1","@deepseek-ai/dsh-code-runtime":"0.1.5-alpha.1","@deepseek-ai/dsh-client-locale":"0.1.5-alpha.1","@deepseek-ai/dsh-system-prompt":"0.1.5-alpha.1","@deepseek-ai/dsh-user-approval":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-slots":"0.1.5-alpha.1","@deepseek-ai/dsh-client-connection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-renderer":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-session-projection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.5-alpha.1"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-tools":"0.1.5-alpha.1","@deepseek-ai/schemastery":"3.18.2","@deepseek-ai/dsh-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-client-store":"0.1.5-alpha.1","@deepseek-ai/dsh-client-locale":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-slots":"0.1.5-alpha.1","@deepseek-ai/dsh-client-connection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-renderer":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.5-alpha.1"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true},"@deepseek-ai/dsh-settings":{"optional":true},"@deepseek-ai/dsh-client-store":{"optional":true},"@deepseek-ai/dsh-client-locale":{"optional":true},"@deepseek-ai/dsh-client-ui-slots":{"optional":true},"@deepseek-ai/dsh-client-connection":{"optional":true},"@deepseek-ai/dsh-client-ui-renderer":{"optional":true},"@deepseek-ai/dsh-client-ui-settings":{"optional":true},"@deepseek-ai/dsh-client-ui-settings-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.14-alpha.2_1789282577227_0.8980014476115434","host":"s3://npm-registry-packages-npm-production"}},"0.1.15-alpha.1":{"name":"@anweat/dsh-browser","version":"0.1.15-alpha.1","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.15-alpha.1","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-renderer","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-plugins"],"platform":"web"}},"dist":{"shasum":"b1f90048b0b2c132f873a944cc9c3a108b32f108","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.15-alpha.1.tgz","fileCount":86,"integrity":"sha512-ziEX9Xy/i0zrUbGGKMlqd1Ymz25d6f6Y/oujFpYon9hIhlJPj6EJBCvSbgcWTSygPbvah0VPn0k896sZOQW+LA==","signatures":[{"sig":"MEUCIQDdOpfYIRtcAKY4rHCCt0NxeFILqBgcdyjrS58rga554gIgZ5QWTGSUxNNUQF6iTg+Gnhzl/VWv1jwlK48QLiSdPBY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCd06gh9sOynEz2lZbAbtTOcfFW4yHXyQlfVKeHOxs9dAIhAK/av24b70fKM6z4CgNsnS8KFAlwecBRJjC1634HkyjM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.15-alpha.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":649414},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.15-alpha.1.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"node scripts/clean-lib.mjs && tsc -p tsconfig.json && tsdown","verify":"pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:client-bundle","typecheck":"tsc -p tsconfig.json --noEmit","test:client-bundle":"node scripts/check-client-bundle.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e8b8b697-b28b-451c-88da-7718fd04cddb"}},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.15-alpha.1.tgz","_integrity":"sha512-ziEX9Xy/i0zrUbGGKMlqd1Ymz25d6f6Y/oujFpYon9hIhlJPj6EJBCvSbgcWTSygPbvah0VPn0k896sZOQW+LA==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"11.19.1","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"patchright":"^1.62.1","playwright":"^1.60.0","@jackwener/opencli":"^1.8.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.2.0","tsdown":"^0.22.2","react-dom":"18.2.0","typescript":"^5.6.0","@types/node":"^22.0.0","@types/react":"~18.3.1","@types/react-dom":"~18.3.1","@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-llm":"0.1.5-alpha.1","@deepseek-ai/dsh-agent":"0.1.5-alpha.1","@deepseek-ai/dsh-scope":"0.1.5-alpha.1","@deepseek-ai/dsh-tools":"0.1.5-alpha.1","@deepseek-ai/dsh-session":"0.1.5-alpha.1","@deepseek-ai/schemastery":"3.18.2","@deepseek-ai/dsh-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-invariants":"0.1.5-alpha.1","@deepseek-ai/dsh-client-store":"0.1.5-alpha.1","@deepseek-ai/dsh-code-runtime":"0.1.5-alpha.1","@deepseek-ai/dsh-client-locale":"0.1.5-alpha.1","@deepseek-ai/dsh-system-prompt":"0.1.5-alpha.1","@deepseek-ai/dsh-user-approval":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-slots":"0.1.5-alpha.1","@deepseek-ai/dsh-client-connection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-renderer":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-session-projection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.5-alpha.1"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-tools":"0.1.5-alpha.1","@deepseek-ai/schemastery":"3.18.2","@deepseek-ai/dsh-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-client-store":"0.1.5-alpha.1","@deepseek-ai/dsh-client-locale":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-slots":"0.1.5-alpha.1","@deepseek-ai/dsh-client-connection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-renderer":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.5-alpha.1"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true},"@deepseek-ai/dsh-settings":{"optional":true},"@deepseek-ai/dsh-client-store":{"optional":true},"@deepseek-ai/dsh-client-locale":{"optional":true},"@deepseek-ai/dsh-client-ui-slots":{"optional":true},"@deepseek-ai/dsh-client-connection":{"optional":true},"@deepseek-ai/dsh-client-ui-renderer":{"optional":true},"@deepseek-ai/dsh-client-ui-settings":{"optional":true},"@deepseek-ai/dsh-client-ui-settings-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.15-alpha.1_1789968753795_0.3873916094212466","host":"s3://npm-registry-packages-npm-production"}},"0.1.15-alpha.2":{"name":"@anweat/dsh-browser","version":"0.1.15-alpha.2","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"license":"MIT","_id":"@anweat/dsh-browser@0.1.15-alpha.2","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"homepage":"https://github.com/anweat/dsh-browser#readme","bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-renderer","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-plugins"],"platform":"web"}},"dist":{"shasum":"8cd4698f7983889db99649a4b40177d7ab3acd5c","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.15-alpha.2.tgz","fileCount":86,"integrity":"sha512-iPvo64Fo11gr/J0bO+uhKVJEzgaAYvZEoDdbrGCAiWEOkAjaxQ1dRhrFNCWpkWRFfY3duQ3+nESYaSqaz8tliQ==","signatures":[{"sig":"MEUCIQCGrlIS72lYLIqA+qUAgQCDd8OOqmbrB6vXo0mweuerKQIgTIlhFkvWgz0OSKq8z1vLYAOByN3E7FqdvTFlvIfP9ao=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCrR1slmRefaT/S7okyJjihtE7RHUu6sTYIFlixB8VynQIhAJxRDuyRRy3p6gKJTbCBGjmvilgoJg2+bdaIttqSt68a","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.15-alpha.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":652264},"main":"lib/index.js","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.15-alpha.2.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"node scripts/clean-lib.mjs && tsc -p tsconfig.json && tsdown","verify":"pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:client-bundle","typecheck":"tsc -p tsconfig.json --noEmit","test:client-bundle":"node scripts/check-client-bundle.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e8b8b697-b28b-451c-88da-7718fd04cddb"}},"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.15-alpha.2.tgz","_integrity":"sha512-iPvo64Fo11gr/J0bO+uhKVJEzgaAYvZEoDdbrGCAiWEOkAjaxQ1dRhrFNCWpkWRFfY3duQ3+nESYaSqaz8tliQ==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"11.20.0","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"patchright":"^1.62.1","playwright":"^1.60.0","@jackwener/opencli":"^1.8.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^18.2.0","tsdown":"^0.22.2","react-dom":"18.2.0","typescript":"^5.6.0","@types/node":"^22.0.0","@types/react":"~18.3.1","@types/react-dom":"~18.3.1","@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-llm":"0.1.5-alpha.1","@deepseek-ai/dsh-agent":"0.1.5-alpha.1","@deepseek-ai/dsh-scope":"0.1.5-alpha.1","@deepseek-ai/dsh-tools":"0.1.5-alpha.1","@deepseek-ai/dsh-session":"0.1.5-alpha.1","@deepseek-ai/schemastery":"3.18.2","@deepseek-ai/dsh-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-invariants":"0.1.5-alpha.1","@deepseek-ai/dsh-client-store":"0.1.5-alpha.1","@deepseek-ai/dsh-code-runtime":"0.1.5-alpha.1","@deepseek-ai/dsh-client-locale":"0.1.5-alpha.1","@deepseek-ai/dsh-system-prompt":"0.1.5-alpha.1","@deepseek-ai/dsh-user-approval":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-slots":"0.1.5-alpha.1","@deepseek-ai/dsh-client-connection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-renderer":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-session-projection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.5-alpha.1"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-tools":"0.1.5-alpha.1","@deepseek-ai/schemastery":"3.18.2","@deepseek-ai/dsh-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-client-store":"0.1.5-alpha.1","@deepseek-ai/dsh-client-locale":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-slots":"0.1.5-alpha.1","@deepseek-ai/dsh-client-connection":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-renderer":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings":"0.1.5-alpha.1","@deepseek-ai/dsh-client-ui-settings-plugins":"0.1.5-alpha.1"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true},"@deepseek-ai/dsh-settings":{"optional":true},"@deepseek-ai/dsh-client-store":{"optional":true},"@deepseek-ai/dsh-client-locale":{"optional":true},"@deepseek-ai/dsh-client-ui-slots":{"optional":true},"@deepseek-ai/dsh-client-connection":{"optional":true},"@deepseek-ai/dsh-client-ui-renderer":{"optional":true},"@deepseek-ai/dsh-client-ui-settings":{"optional":true},"@deepseek-ai/dsh-client-ui-settings-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-browser_0.1.15-alpha.2_1790133996060_0.5292322783877359","host":"s3://npm-registry-packages-npm-production"}},"0.1.15":{"_id":"@anweat/dsh-browser@0.1.15","dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-renderer","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-plugin-manager"],"platform":"web"}},"bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"dist":{"shasum":"ef1b4307cbced88878f99653d9a0c27c46f5b382","tarball":"https://registry.npmjs.org/@anweat/dsh-browser/-/dsh-browser-0.1.15.tgz","fileCount":89,"integrity":"sha512-Wq4y+sBcG/490UwCjAZBo/Fny8dhnOy3wiJhbBjGGrAagIHSiA1KPdd/N8d6B1O26O4Otore5McIG7vVLX6Eig==","signatures":[{"sig":"MEUCIGYg9lHa0pfCPzknVT6pINNuVOUnguFMjh+v8Bq5aS0QAiEAtcGhylpsKlH+f1/zbNJ8z3sH9l84wYNjl+Hjkj94o7E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBgMdxuF1Zcb2rm44bxdYqULD1dIvyQ68b5EkSNG979oAiEAiHQPH9YfRh8oalSaA5X3oxOA32h4RVRwKPSIx9MHhGA="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anweat%2fdsh-browser@0.1.15","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":632383},"main":"lib/index.js","name":"@anweat/dsh-browser","type":"module","_from":"file:dist/anweat-dsh-browser-0.1.15.tgz","types":"lib/index.d.ts","engines":{"node":"^22.19 || >=24"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./client":{"types":"./lib/client/index.d.ts","default":"./lib/client.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"license":"MIT","scripts":{"test":"node --test --experimental-transform-types test/*.test.ts","build":"node scripts/clean-lib.mjs && tsc -p tsconfig.json && tsdown","verify":"pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:client-bundle","typecheck":"tsc -p tsconfig.json --noEmit","test:client-bundle":"node scripts/check-client-bundle.mjs"},"version":"0.1.15","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e8b8b697-b28b-451c-88da-7718fd04cddb"}},"homepage":"https://github.com/anweat/dsh-browser#readme","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"_resolved":"/home/runner/work/dsh-browser/dsh-browser/dist/anweat-dsh-browser-0.1.15.tgz","_integrity":"sha512-Wq4y+sBcG/490UwCjAZBo/Fny8dhnOy3wiJhbBjGGrAagIHSiA1KPdd/N8d6B1O26O4Otore5McIG7vVLX6Eig==","repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"_npmVersion":"11.20.0","description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","directories":{},"maintainers":[{"name":"anweat","email":"anweat@163.com"}],"_nodeVersion":"22.23.2","dependencies":{"patchright":"^1.62.1","playwright":"^1.60.0","@jackwener/opencli":"^1.8.7"},"_hasShrinkwrap":false,"devDependencies":{"clsx":"^2.0.0","react":"^18.2.0","tsdown":"^0.22.2","react-dom":"18.2.0","typescript":"^5.6.0","@types/node":"^22.0.0","@types/react":"~18.3.1","@types/react-dom":"~18.3.1","@deepseek-ai/cordis":"4.0.4","@deepseek-ai/dsh-llm":"0.1.7-rc.2","@deepseek-ai/dsh-agent":"0.1.7-rc.2","@deepseek-ai/dsh-scope":"0.1.7-rc.2","@deepseek-ai/dsh-tools":"0.1.7-rc.2","@deepseek-ai/dsh-session":"0.1.7-rc.2","@deepseek-ai/schemastery":"3.18.4","@deepseek-ai/dsh-settings":"0.1.7-rc.2","@deepseek-ai/dsh-invariants":"0.1.7-rc.2","@deepseek-ai/dsh-client-store":"0.1.7-rc.2","@deepseek-ai/dsh-client-locale":"0.1.7-rc.2","@deepseek-ai/dsh-system-prompt":"0.1.7-rc.2","@deepseek-ai/dsh-user-approval":"0.1.7-rc.2","@deepseek-ai/dsh-client-ui-slots":"0.1.7-rc.2","@deepseek-ai/dsh-client-connection":"0.1.7-rc.2","@deepseek-ai/dsh-client-ui-renderer":"0.1.7-rc.2","@deepseek-ai/dsh-client-ui-settings":"0.1.7-rc.2","@deepseek-ai/dsh-session-projection":"0.1.7-rc.2","@deepseek-ai/dsh-client-ui-primitives":"0.1.7-rc.2","@deepseek-ai/dsh-client-ui-plugin-manager":"0.1.7-rc.2"},"peerDependencies":{"@deepseek-ai/cordis":"4.0.4","@deepseek-ai/dsh-tools":"0.1.7-rc.2","@deepseek-ai/schemastery":">=3.18.2 <4","@deepseek-ai/dsh-settings":"0.1.7-rc.2","@deepseek-ai/dsh-client-store":"0.1.7-rc.2","@deepseek-ai/dsh-client-locale":"0.1.7-rc.2","@deepseek-ai/dsh-client-ui-slots":"0.1.7-rc.2","@deepseek-ai/dsh-client-connection":"0.1.7-rc.2","@deepseek-ai/dsh-client-ui-renderer":"0.1.7-rc.2","@deepseek-ai/dsh-client-ui-settings":"0.1.7-rc.2","@deepseek-ai/dsh-client-ui-primitives":"0.1.7-rc.2","@deepseek-ai/dsh-client-ui-plugin-manager":"0.1.7-rc.2"},"peerDependenciesMeta":{"@deepseek-ai/cordis":{"optional":true},"@deepseek-ai/dsh-tools":{"optional":true},"@deepseek-ai/schemastery":{"optional":true},"@deepseek-ai/dsh-settings":{"optional":true},"@deepseek-ai/dsh-client-store":{"optional":true},"@deepseek-ai/dsh-client-locale":{"optional":true},"@deepseek-ai/dsh-client-ui-slots":{"optional":true},"@deepseek-ai/dsh-client-connection":{"optional":true},"@deepseek-ai/dsh-client-ui-renderer":{"optional":true},"@deepseek-ai/dsh-client-ui-settings":{"optional":true},"@deepseek-ai/dsh-client-ui-primitives":{"optional":true},"@deepseek-ai/dsh-client-ui-plugin-manager":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-browser_0.1.15_1790518100269_0.8973351735494526"}}},"time":{"created":"2026-08-14T02:40:49.210Z","modified":"2026-09-27T14:08:20.715Z","0.1.1":"2026-08-14T02:40:49.634Z","0.1.3":"2026-08-14T08:01:58.612Z","0.1.4":"2026-08-22T03:34:22.787Z","0.1.5":"2026-08-22T12:05:25.207Z","0.1.6":"2026-08-22T15:55:32.088Z","0.1.7":"2026-08-23T02:10:53.740Z","0.1.8":"2026-08-23T09:56:03.933Z","0.1.9":"2026-08-26T05:33:26.919Z","0.1.10":"2026-08-29T05:52:52.961Z","0.1.11":"2026-09-08T04:00:45.736Z","0.1.12":"2026-09-09T05:22:31.093Z","0.1.13-alpha.1":"2026-09-09T12:46:19.393Z","0.1.14-alpha.1":"2026-09-10T11:09:27.804Z","0.1.14-alpha.2":"2026-09-13T06:56:17.365Z","0.1.15-alpha.1":"2026-09-21T05:32:33.930Z","0.1.15-alpha.2":"2026-09-23T03:26:36.160Z","0.1.15":"2026-09-27T14:08:20.402Z"},"bugs":{"url":"https://github.com/anweat/dsh-browser/issues"},"license":"MIT","homepage":"https://github.com/anweat/dsh-browser#readme","keywords":["dsh","deepseek-harness","plugin","browser","playwright","opencli"],"repository":{"url":"git+https://github.com/anweat/dsh-browser.git","type":"git"},"description":"Self-contained browser runtime plugin for DeepSeek Harness (scoped @anweat) — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies (with global-reuse fallback), exposes a `browser` service and interactive browser tools.","maintainers":[{"name":"anweat","email":"anweat@163.com"}],"readme":"# dsh-browser\n\n本地整合候选的修复、工具清单与安全边界见 [AUDIT.md](AUDIT.md)。`allowedDomains` 只限制认证状态装载，不是网络防火墙或 Agent 隔离边界。\n\n自包含的浏览器运行时插件 for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)（DSH）。\n\n把 **Playwright / Patchright（可选 Chromium 驱动）** 与 **OpenCLI** 作为插件自身的 npm 依赖打包（优先插件本地，缺省回退全局复用），对外提供一个 `browser` 服务 + 一组交互式浏览器工具。`dsh-web-search-pro` 通过 `inject: ['browser']` 注入该服务，驱动它的浏览器 / OpenCLI 后端——**不再依赖全局 CLI**。\n\n## 兼容与发布通道\n\n| 插件发布通道 | DSH 基线 | 兼容承诺 |\n|---|---|---|\n| `0.1.12` 及更早的维护版本 | `dsh-v0.1.1-rc.2` 至 `dsh-v0.1.2-rc.1` | 旧基线；不与新插件混装 |\n| `0.1.15` | `dsh-v0.1.7-rc.2` | 精确锁定此宿主版本；组合安装、真实 Web profile 与设置持久化已验证 |\n\n`0.1.15` 使用 DSH 新客户端分包：状态存储来自\n`dsh-client-store`，设置契约来自 `dsh-client-ui-settings`，客户端 Context\n来自 Cordis。npm 上 `0.1.15-alpha.2` 仍声明旧版 DSH peer，不能与本版混用。\n\n启动期设置解析对宿主版本自适应：旧宿主仍提供 `settings.register(ns, schema, opts)`\n时沿用 live scope；`dsh-v0.1.7-rc.2` 起移除了该方法，设置页改由 Loader 条目的\n`Config` schema 直接派生，插件改为读取宿主注入的条目配置。\n\n浏览器设置卡片则只适配 `dsh-v0.1.7-rc.2`：`SettingsScope`/`ctx.settingsScope`\n（≤ `dsh-v0.1.5-alpha.1`）与 `ConfigForm`/`ctx.configForms`（`dsh-v0.1.7-rc.2`+）\n是互斥的客户端契约，没有一份源码能同时编译两者，因此 `devDependencies` 锁定\n`0.1.7-rc.2`。Host 半边的自适应是优雅降级，不是受支持目标。\n\n## 安装\n\n```bash\ndsh plugin --profile web add @anweat/dsh-browser@0.1.15\n# 或本地目录 / tarball：\ndsh plugin --profile web add ./dsh-browser\n# 重启（web profile 关闭了 HMR）：\ndsh --profile web\n```\n\n> 本版精确适配 `dsh-v0.1.7-rc.2`，不承诺兼容其他 DSH 版本。\n> 若你的 harness 是包含未发布提交的本地源码 checkout，版本号可能有出入——用\n> `dsh plugin --profile web add ./<path>` 并在 profile 的 `pnpm-workspace.yaml`\n> 里对齐版本后重装即可。\n\n## 从旧版本升级\n\nWeb Search Pro 与浏览器插件应同步升级；面向 `dsh-v0.1.7-rc.2` 不要混用仍声明旧 peer 的 Browser `0.1.15-alpha.2`。\n\n```bash\ndsh plugin --profile web add @anweat/dsh-browser@0.1.15 dsh-web-search-pro@0.1.15\n```\n\n升级后完整停止并重启 Web profile，再调用 `browser_status`、`browser_opencli_status` 和 `web_backend_status`；仅刷新网页不会重新加载插件服务或 Web Search Pro 配置面板。尤其不要只升级 Web Search Pro：新的工具目录、Patchright 运行时和调用缓冲都来自浏览器插件。\n\n## 快速使用与适用情形\n\n安装并重启后，可先让模型调用 `browser_status`，再按任务选择工具。默认\n`automationMode: standard`：读取直接执行，点击、输入、按键、选择、勾选、悬停、文件上传及页面写操作走 DSH 原生一次性审批。页面脚本和本地文件上传在 `autonomous` 下仍需审批，只有 `unrestricted` 会跳过确认。\n\n| 情形 | 推荐方式 | 关键边界 |\n|---|---|---|\n| 公开网页读取、截图 | `browser_open` → `browser_read` / `browser_screenshot` | 不需要登录态 |\n| 表单、分页、懒加载 | `browser_click` / `browser_type` / `browser_press` / `browser_select` / `browser_check` / `browser_scroll` | CSS 或 role/text/label 语义定位；`standard` 下审批 |\n| SPA 条件等待 | `browser_wait` | 支持 locator、URL glob、networkidle 或最多 10 秒固定等待 |\n| 悬停菜单与提示 | `browser_hover` | 与直接页面交互使用相同审批策略 |\n| 文件上传 | `browser_set_files` | 只接受现有绝对文件路径；最多 20 个、合计 512 MiB；除 `unrestricted` 外审批会显示路径 |\n| 页面脚本表达式 | `browser_evaluate` | 使用当前页面来源和登录态；可访问 DOM、非 HttpOnly Cookie、Web Storage 和浏览器允许的网络 API |\n| 页面故障排查 | `browser_open(capture=[console,network])` → `browser_console` / `browser_requests` | 只在内存保留最多 200 条；网络仅记录失败及 4xx/5xx，不记录 body/header |\n| 登录后站点 | `authProfile` | 必须配置 `allowedDomains`；默认不回写 Cookie |\n| 固定站点增强 | `rulePack` | 只允许有界步骤；本地 init script 必须 SHA-256 固定且 ≤64KB |\n| 模型生成的多步操作 | `browser_recipe_run` | 声明式步骤；审批策略由 `automationMode` 决定 |\n| 默认只读脚本 | `browser_script_catalog` → `browser_script_run_builtin` | 内置 article/links/JSON-LD/forms，不执行外来代码 |\n| 外部模型生成 UserScript | `browser_script_validate` → `browser_userscript_run` | 必须 `@match` + `@grant none`；除 `unrestricted` 外执行前审批 |\n| 有限站点遍历 | `browser_crawl` | 页数、深度、并发、突发与退避始终受 `usagePolicy` 约束 |\n| Reddit/小红书等 OpenCLI 平台 | `browser_opencli_status` → `browser_opencli_catalog` → `browser_opencli_run` | 先发现精确 adapter；通用调用除 `unrestricted` 外需审批 |\n| 普通站点兼容性不佳 | `browserRuntime: patchright` | Chromium-only；建议专用 Chrome profile，不与指纹注入库叠加 |\n\n所有网页访问、交互、脚本、Cookie 使用、上传和下载都必须由调用方或操作者根据目标网站规则及适用要求判断并使用。插件只执行被请求或批准的浏览器操作，不判断具体用途是否获得网站授权，也不承担调用方的合规责任。限流、审批、域名和文件边界用于约束执行面，不能替代目标网站规则。\n\nDSH 会话示例：\n\n```text\n先调用 browser_status；然后用 browser_open 打开目标页。\n若页面需要登录，使用 authProfile=forum；不要把 Cookie 放进工具参数。\n```\n\n## 内核与依赖的\"打包 vs 复用\"\n\n| 层 | 实际是什么 | 打包还是复用 |\n|---|---|---|\n| **chromium 内核** | 共享缓存 `%LOCALAPPDATA%\\ms-playwright`（约 400MB） | **永远复用共享缓存**，不塞进插件、不重复下载；缺失时 `browser_install` 一键补 |\n| **playwright 驱动**（JS 包） | `playwright` npm 依赖 | 插件本地 node_modules 优先，缺省回退全局 npm |\n| **patchright 驱动**（可选） | 与 Playwright 同版本的 Chromium 兼容驱动 | 插件内置；配置 `browserRuntime: patchright` 才启用 |\n| **opencli**（纯 Node CLI） | `@jackwener/opencli` npm 依赖 | 同上，本地优先 / 全局复用 |\n\n## 服务：`browser`\n\n`dsh-browser` 在 `apply()` 里 `ctx.provide('browser', service)`。任何插件声明\n`inject: ['browser']` 即可消费：\n\n```ts\nexport const inject = ['tools', 'browser']\nexport function apply(ctx: Context) {\n  const browser = ctx.get('browser') as BrowserService\n  // browser.render / snapshot / searchResults / opencli / recipe /\n  // runBuiltinScript / runUserscript / open / click / type / scroll / read / screenshot / close\n}\n```\n\n服务接口（结构性，无需共享类型包）见 `src/browser-service.ts`。\n\n## 自动化自由度\n\n`automationMode` 控制模型可见的工具集合和执行审批。建议从 `standard` 开始，仅在完全只读任务或受控自动化环境中切换：\n\n| 模式 | 浏览器与 Web Search Pro 写操作 | 仍需审批或拒绝 | 不可取消的安全底线 |\n|---|---|---|---|\n| `read-only` | 只读工具与只读 Recipe；缓存清理、规则写入和安装拒绝 | 页面交互、写 Recipe、UserScript、OpenCLI run 均隐藏或拒绝 | 只能读取、校验、截图及运行只读脚本/Recipe |\n| `standard`（默认） | 页面交互、写 Recipe、缓存清理和规则写入均需一次性审批 | UserScript、通用 OpenCLI、浏览器/后端安装也需审批 | 所有安全校验持续启用 |\n| `autonomous` | 页面交互、写 Recipe、缓存清理和规则写入可直接执行 | 外部 UserScript、通用 OpenCLI、浏览器/后端安装仍强制审批 | 所有安全校验持续启用 |\n| `unrestricted` | 所有上述工具均不触发审批，适合隔离环境中的无人值守测试 | 无审批提示 | 仍执行域名、元数据、参数、大小和步骤数校验 |\n\n`unrestricted` 会允许模型直接运行外部脚本、通用 CLI 和安装命令，只应在隔离的测试 profile 或明确授权的自动化环境中使用；日常 profile 保持 `standard`。它只取消人工确认，**不会取消 `usagePolicy` 的并发、突发、页数、深度、重试与冷却保护**。模式改变后需要重启 DSH profile，工具目录才会按新配置重新注册。\n\n## 工具（最多 30 个）\n\n| 工具 | 作用 |\n|---|---|\n| `browser_open` | 打开 URL，返回标题/可读文本/全页截图路径；可显式启用 console/network 内存捕获 |\n| `browser_click` | 按 CSS 或结构化 Playwright locator 点击 |\n| `browser_type` | 向 CSS 或语义定位的 input/textarea 输入 |\n| `browser_wait` | 等待 locator 状态、URL glob、networkidle 或固定时间 |\n| `browser_press` | 对 locator 或全局键盘发送按键 |\n| `browser_select` | 按 locator 选择一个或多个 option value |\n| `browser_check` | 按 locator 勾选或取消勾选控件 |\n| `browser_hover` | 悬停 CSS 或语义 locator 并返回页面状态与截图 |\n| `browser_set_files` | 把现有本地文件设置到 `input[type=file]`；绝对路径、数量和总大小受限 |\n| `browser_evaluate` | 在当前页执行最长 20,000 字符的 JavaScript 表达式，返回最多 100,000 字符 JSON |\n| `browser_console` | 读取本次显式捕获的脱敏 console 记录 |\n| `browser_requests` | 读取本次显式捕获的失败及 HTTP 4xx/5xx 请求；无 body/header |\n| `browser_scroll` | 纵向滚动（触发懒加载） |\n| `browser_read` | 读当前页 URL/标题/文本（不截图） |\n| `browser_screenshot` | 当前页、locator 或区域截图；普通文件名固定落在 `snapshotDir` |\n| `browser_close` | 关闭当前页（下次 open 全新） |\n| `browser_status` | 运行时状态（含 automationMode、已暴露工具及各类审批策略） |\n| `browser_install` | 安装 playwright chromium（`browser_status` 报缺失时执行一次） |\n| `browser_script_catalog` | 列出内置只读脚本及其 SHA-256 |\n| `browser_script_validate` | 解析外部 UserScript 的元数据、域名、grant、能力与哈希，不执行 |\n| `browser_script_run_builtin` | 在独立 Playwright context 中运行内置只读脚本 |\n| `browser_userscript_run` | 运行外部 UserScript；强制域名匹配，审批策略由模式决定 |\n| `browser_recipe_run` | 最多 25 步 Playwright Recipe；支持等待、定位、表单、键盘、提取、断言和截图 |\n| `browser_automation_search` | 只有显式关键词调用才检索；可限定 active/draft/all、域名和类型，最多返回 `retrievalTopK` 条摘要 |\n| `browser_automation_develop` | 按确切 ID 读取源码，或显式保存、静态校验、真实回放草稿；永远不能激活资产 |\n| `browser_automation_run` | 按 ID 运行已激活资产；再次执行限域和输入大小校验，审批由 `automationMode` 决定 |\n| `browser_opencli_status` | 实际运行 OpenCLI doctor，报告 daemon/extension/profile 连通性 |\n| `browser_opencli_catalog` | 对 OpenCLI 大目录按 query/site/access/strategy 过滤，单次最多返回 100 条 |\n| `browser_opencli_run` | 通用 OpenCLI argv 网关；除 `unrestricted` 外触发 DSH 原生一次性审批 |\n| `browser_crawl` | 匿名、有限广度遍历；默认同源，强制使用全局调用缓冲和单次页数/深度预算 |\n\n## 可复用自动化资产（实验性）\n\n> **Experimental:** Recipe/UserScript 的积累、模型开发、检索和复用接口仍可能调整。建议先在隔离 profile 中启用，审阅草稿并完成真实浏览器回放后再手动激活；不要把它作为无人监管的生产写操作入口。\n\n自动化执行自由度与资产持久化是两套独立开关。`automationMode: unrestricted` 只影响执行审批，不会让 Agent 自动保存脚本；默认 `automationAssets.persistenceMode: suggest` 仅对成功的 `browser_recipe_run` 记录脱敏语义步骤。具体输入会替换为 `{{input}}` / `{{secret}}`，会话 ID 只保存短哈希，不保存页面正文、cookie、token、密码或聊天记录。\n\n默认在 14 天窗口内，同一域名和步骤指纹至少成功 3 次、来自至少 2 个会话且成功率达到 80%，面板才出现“是否总结”候选。每天最多提示 2 次；候选、草稿和已激活资产均有数量上限。推荐流程是：\n\n1. 候选达到阈值后，在“浏览器自动化 → 可复用自动化资产”选择“总结为草稿”或“暂不总结”。\n2. 在脚本列表点选草稿；只有此时前端才按 ID 读取完整 recipe / UserScript。编辑器支持 recipe 和带 `@match`、`@grant none` 的 UserScript。UserScript 可从只读对象 `__DSH_INPUTS__` 读取 `inputNames` 声明的运行时输入，输入不会写入资产文件。\n3. 保存后先做静态校验，再填写测试 URL/输入执行真实浏览器回放。只有真实回放成功才可手动激活；已激活版本不可原地编辑，避免后台行为静默漂移。\n4. Agent 用 `browser_automation_search` 获取有界摘要，再用 `browser_automation_run` 按 ID 调用。检索默认 top 5、目录预算约 800 tokens，源码不会进入模型上下文。\n\n`persistenceMode` 可选 `off | manual | suggest | auto-draft`。日常使用建议 `suggest`；`auto-draft` 只适合隔离测试 profile，并且仍不会自动激活。`activationMode` 当前默认并推荐 `manual`；`auto-tested` 作为后续真实沙箱回放策略的保留配置，不会把一次静态校验当成生产激活依据。\n\n### 模型显式开发 recipe / UserScript\n\n模型目录不会预载任何 recipe 或源码。需要批量索引等强指向自动化时，模型按以下顺序显式访问：\n\n1. 调用 `browser_automation_search(query=\"batch-index issues\", status=\"draft|active\", kind=\"recipe\")`，仅得到 ID、名称、标签、域名、输入名和运行统计。\n2. 确认要修改某项后，调用 `browser_automation_develop(action=\"get\", id=\"...\")`；只有这一步会把单个资产的完整 recipe/源码带入当前上下文。\n3. `action=\"save\"` 可直接声明新的 recipe，或保存带 `@match` / `@grant none` 的 UserScript；只能生成/更新 draft。默认每个模型会话最多写 3 次，仍受全局 `maxDrafts` 限制。\n4. `action=\"validate\"` 只做结构与 UserScript 元数据校验，不提供激活资格；`action=\"test\"` 必须给 URL 和声明输入，执行真实 Playwright 回放，成功后才标记 `passed`。\n5. 激活、归档和回滚只在可视化面板完成，模型开发工具没有对应动作。\n\nrecipe 建议把检索意图固化在 `name`、`description` 和 `tags`，例如 `batch-index`、`issues`、`community-search`。检索采用小规模确定性关键词评分和 token 预算，不自动把整个资产库升级成模型工具，也不使用隐藏的全量 prompt 注入。\n\n`modelDevelopmentEnabled: false` 会在重启后直接从模型工具目录移除开发入口；`standard` 保存草稿和真实回放均需审批，`autonomous` 可直接保存草稿但真实回放仍需审批，只有 `unrestricted` 才会跳过回放审批。所有模式仍执行域名、UserScript 元数据、输入、源码大小和使用频率限制。\n\n## 使用策略：防止过度调用的缓冲\n\n`usagePolicy` 是资源与站点压力保护，不是审批系统。所有模式共用同一个进程内 Governor：\n\n- `maxConcurrency` 限制同时发起的导航，超出后排队；`burst` + `minDelayMs` 限制单站点短时突发。\n- OpenCLI adapter / Browser Bridge 调度也占用同一全局并发与 burst 缓冲，不会因绕过 Playwright 而失去节流。\n- 站点返回 429、502、503、504 时，按 `Retry-After` 或指数退避进入站点级冷却，最多重试 `retryLimit` 次。\n- `browser_crawl` 还受 `maxPagesPerRun` 和 `maxDepth` 硬上限约束；调用参数只能收紧，不能突破配置。\n- 泛爬取默认使用匿名 context，不继承全局 `storageStatePath` 或 `defaultAuthProfile`；登录后读取仍使用显式限域的单页/Recipe 工具。\n- `browser_status` 显示累计运行、排队、等待和 backoff 次数，便于判断是否调用过密。\n- 泛爬取能力本身不隐藏，但调用方仍应遵守目标站点条款、robots 指令、版权、隐私和适用法律；工具每次返回该警告。\n\n## 外部模型脚本：推荐流程\n\n外部模型可以输出 Tampermonkey/UserScript 格式源码，但不要直接执行。让当前 DSH Agent 先调用\n`browser_script_validate`，展示名称、`@match`、SHA-256 和能力，再调用\n`browser_userscript_run`。除 `unrestricted` 外，执行调用会进入 Harness 的\n`tools/pre-execute → approval` 原生流程；用户拒绝、没有 approval 服务或调用不属于 Agent 时都不会运行。\n\n最小脚本示例：\n\n```js\n// ==UserScript==\n// @name Read Search Cards\n// @match https://example.com/search*\n// @grant none\n// ==/UserScript==\nreturn [...document.querySelectorAll('.result')].slice(0, 20).map(card => ({\n  title: card.querySelector('h2')?.textContent?.trim() || '',\n  url: card.querySelector('a')?.href || '',\n}))\n```\n\n当前兼容的是 UserScript 元数据和页面脚本执行模型，不模拟完整 Tampermonkey：\n\n- 只支持 `@grant none`；`GM_cookie`、`GM_xmlhttpRequest`、`unsafeWindow` 等不提供。\n- 不支持 `@require`，避免审批过的源码在运行时再拉取未审查代码。\n- 源码 ≤64KB、结果 ≤100,000 字符、单次运行最长 30 秒。\n- 使用显式 URL，新建独立 Playwright context；需要登录态时只能选已限域的 `authProfile`。\n- 审批代表允许该脚本以当前站点登录身份操作页面；静态能力报告只用于解释，不是沙箱。\n\n`browser_evaluate` 是面向当前持久页的短表达式入口，不使用 UserScript 元数据。它能调用页面已有 JavaScript、读取或修改 DOM、访问非 HttpOnly Cookie 和 Web Storage，也能通过 `fetch` 等浏览器 API 发起页面来源允许的请求。插件会明确报告这些能力，但不会判断具体网站是否允许该访问；调用方应根据目标网站规则及适用要求使用并承担相应责任，插件只执行被批准的浏览器操作。表达式没有 Node.js 全局对象或直接主机文件系统权限，结果必须可 JSON 序列化；超时会通过 Chromium DevTools 终止页面 JavaScript，保留当前 page/context 供后续读取或导航。需要可复用、可审阅的脚本时仍使用 UserScript 资产流程。\n\n## Cookie 与文件落盘\n\n- `authProfile` 从配置的 `storageStatePath` 载入 Cookie、localStorage 等登录态。只有 `persistState: true` 才在 context 关闭时原子回写该文件；全局兼容路径默认不会被交互会话改写。\n- `browser_evaluate` 可读取 `document.cookie`，因此能看到当前来源的非 HttpOnly Cookie；浏览器不会向页面 JavaScript 暴露 HttpOnly Cookie。除 `unrestricted` 外，每次执行都需要确认。\n- `browser_set_files` 只读取调用中列出的绝对路径并交给当前页面上传控件，不修改源文件，也不会遍历目录。除 `unrestricted` 外，即使在 `autonomous` 模式也需要确认。\n- `browser_screenshot` 和 `snapshot` 只向 `snapshotDir` 写入截图或 HTML；自定义截图名只允许普通文件名，拒绝绝对路径、目录分隔符和 `..`。持久登录态只写配置的状态文件。`browser_evaluate` 触发的浏览器下载不会由该工具保存或返回，下载落盘需要后续单独设计显式目录和文件名规则。\n- console/network 捕获必须由 `browser_open.capture` 显式启用，只在内存保留最多 200 条；记录文本和 URL 查询中的常见 token/cookie/password 字段会脱敏，网络只保留方法、URL、失败原因或 4xx/5xx 状态，不保存 header/body。\n\n常见读取任务优先用内置脚本：`article-clean`、`links`、`jsonld`、`forms`。它们不返回表单当前值，\n也不触发点击或网络写操作。\n\n## Playwright Recipe\n\nRecipe 适合让模型生成可审计、可复现的多步操作，不必生成 JavaScript：\n\n```json\n{\n  \"url\": \"https://example.com/search\",\n  \"steps\": [\n    { \"type\": \"wait\", \"condition\": \"selector\", \"value\": \"#query\" },\n    { \"type\": \"fill\", \"selector\": \"#query\", \"value\": \"DeepSeek Harness\" },\n    { \"type\": \"press\", \"selector\": \"#query\", \"key\": \"Enter\" },\n    { \"type\": \"wait\", \"condition\": \"load\" },\n    { \"type\": \"extract\", \"selector\": \"main\", \"mode\": \"links\", \"limit\": 30 },\n    { \"type\": \"screenshot\" }\n  ]\n}\n```\n\n支持的步骤为：`wait`、`click`、`fill`、`type`、`press`、`select`、`check`、`hover`、\n`scroll`、`extract`、`assert`、`screenshot`。纯读取步骤直接执行；出现点击、输入、键盘、选择、\n勾选、悬停或滚动时，`standard` 下整个 Recipe 只询问一次审批，批准后顺序执行；\n`autonomous` / `unrestricted` 下直接执行，`read-only` 下拒绝。\n\n## 配置（cordis.yml / patch config）\n\n```yaml\n- insert:\n    - id: browser\n      name: '@anweat/dsh-browser'\n      config:\n        automationMode: standard # read-only | standard | autonomous | unrestricted\n        browserRuntime: playwright # playwright | patchright\n        channel: chromium        # 'chromium'（打包内核）| 'msedge'（系统 Edge）\n        headless: true\n        opencliEnabled: true\n        usagePolicy:             # 所有模式都生效；无审批模式也不会绕过\n          minDelayMs: 750\n          maxConcurrency: 2\n          burst: 3\n          maxPagesPerRun: 20\n          maxDepth: 2\n          retryLimit: 2\n          backoffBaseMs: 1000\n          cooldownMs: 30000\n        automationAssets:\n          enabled: true\n          persistenceMode: suggest # off | manual | suggest | auto-draft\n          activationMode: manual   # 当前推荐值；不会因静态校验自动激活\n          minSuccessfulRuns: 3\n          minDistinctSessions: 2\n          successWindowDays: 14\n          minSuccessRate: 0.8\n          maxCandidates: 20\n          candidateTtlDays: 14\n          maxSuggestionsPerDay: 2\n          maxDrafts: 10\n          maxActiveAssets: 50\n          retrievalTopK: 5\n          catalogTokenBudget: 800\n          modelDevelopmentEnabled: true\n          maxModelDraftWritesPerSession: 3\n        storageStatePath: ''     # Playwright 登录态 JSON（复用已登录会话）\n        authProfiles:\n          forum:\n            storageStatePath: 'D:/secrets/forum.json'\n            allowedDomains: [example.com]\n            persistState: false  # 默认只读；true 才会原子回写刷新后的状态\n        rulePacks:\n          forum-enhanced:\n            matches: [example.com]\n            initScriptPath: 'D:/dsh/rules/forum.js'\n            initScriptSha256: '<64位sha256>'\n            steps:\n              - { type: waitFor, selector: '#results', timeoutMs: 10000 }\n              - { type: scroll, deltaY: 1600, repeat: 2, waitMs: 300 }\n        autoInstall: false       # 缺内核时是否自动 install chromium\n        verbose: false\n```\n\n这些字段同时进入 Host settings 命名空间和专用可视化卡片：打开 `设置 → 插件 → 插件配置 → 浏览器自动化`，可调整工具自由度、Playwright/Patchright、OpenCLI、`usagePolicy`、自动化资产策略与限域登录态；同一卡片包含候选提示、脚本列表、JSON 编辑器、测试、激活和归档操作。保存运行时配置后需要重启 profile；资产 CRUD 通过 loopback-only Host RPC 即时落盘。若没有看到卡片，先确认浏览器插件已同步升级并完整重启，而不是只刷新 Web Search Pro 页面。\n\n### Patchright 可选内核\n\nPatchright 是 Playwright-compatible 的 Chromium 驱动，适合普通 Playwright 在搜索页遇到自动化检测时显式启用：\n\n```yaml\nbrowserRuntime: patchright\nchannel: chrome\nheadless: false\n```\n\n`channel: chrome + headless: false` 是更贴近其推荐的兼容配置；CI/无人值守也可使用 headless，但 `browser_status.runtimeWarnings` 会如实提示差异。Patchright 会禁用 Playwright console API，因此依赖控制台监听的 Recipe/脚本不应切换到它。不要再叠加自定义 User-Agent、额外请求头或指纹注入器；这类组合更容易形成自相矛盾的指纹。\n\nCamoufox 当前没有硬集成：截至本版，其 JS 包要求 Node 22 且 peer 约束为 `playwright-core <1.61`，与本插件验证的 Playwright/Patchright 1.62.1 不兼容，并需要独立下载 Firefox 内核。后续等版本边界对齐后再作为第三 provider 接入，避免安装后才发生依赖漂移。\n\n## 登录态复用\n\n- `channel: chromium` + `storageStatePath` 指向一份 storageState JSON，即可用你已登录的身份抓受限页面。\n- 新配置优先使用 `authProfiles`：按名称复用全局登录态，但必须用 `allowedDomains` 限域；默认只读，避免一次搜索意外改写 Cookie Vault。\n- `browser_open` 和 web-search-pro 的平台搜索可选择 `authProfile` / `rulePack`。`browser_status` 只显示 profile 名称、域名和回写状态，不显示文件路径或 Cookie。\n- RulePack 仍只允许有界动作；init script 必须是本地、SHA-256 固定且不超过 64KB。外部模型 JavaScript 使用独立的 UserScript 工具，不能冒充 RulePack；除 `unrestricted` 外需一次性审批。\n- 生成登录态：`npx playwright codegen --save-storage=storageState.json`（或复用 `dsh-web-search-pro` 的 `scripts/save-login.mjs`），把产物路径填进 `storageStatePath`。\n- opencli 的社交平台后端（小红书/推特/Reddit/IG/FB）仍需浏览器扩展 + 登录态在线，即使 opencli 已打包为依赖也绕不开扩展。\n\n### OpenCLI 连接检查\n\n插件运行时优先使用自己依赖的 OpenCLI。需要在终端排查 Browser Bridge 时，可全局安装同一 CLI 并检查：\n\n```bash\nnpm i -g @jackwener/opencli\nopencli daemon status\nopencli doctor\n```\n\n健康状态应同时包含 daemon running、extension connected 和一个 connected Chrome profile。仅安装 npm 包不等于 Browser Bridge 可用；Chrome 扩展断开时，OpenCLI 社区搜索会明确失败，而普通 Playwright 浏览器工具不受影响。\n\n在 DSH Desktop（Electron）中，插件会从 `PATH` 查找真正的 Node.js 可执行文件来运行内置 OpenCLI 和浏览器运行时 CLI。若 `browser_opencli_status` 报告找不到 Node.js，可在启动 DSH Desktop 的环境中设置 `DSH_BROWSER_NODE` 为 `node.exe` 的绝对路径，然后重启 Desktop。\n\n插件内先调用 `browser_opencli_status`，不要只看 `browser_status.opencliEnabled`。后者表示配置开关，\n前者才是真实连接。通用调用以 argv 数组传入，不经过 shell，也不会自行拼接引号：\n\n```json\n{\n  \"profile\": \"chrome\",\n  \"args\": [\"reddit\", \"search\", \"DeepSeek Harness\", \"-f\", \"json\"]\n}\n```\n\n不确定命令时先查目录，避免让模型猜 adapter：\n\n```json\n{ \"query\": \"search\", \"site\": \"reddit\", \"access\": \"read\", \"limit\": 10 }\n```\n\n`browser_opencli_catalog` 从 `opencli list -f json` 读取并缓存目录，只暴露过滤后的最多 100 条；它不执行站点命令，也不读取站点登录数据。\n\n优先级建议：已有站点 adapter（`opencli <site> <command>`）→ `opencli web read` / `extract` →\n`browser network` → DOM state/find/action → 最后才是只读 `eval`。`opencli browser` 必须包含显式 session：\n\n```text\n[\"browser\", \"research\", \"open\", \"https://example.com\"]\n[\"browser\", \"research\", \"state\"]\n[\"browser\", \"research\", \"network\", \"--filter\", \"title,url\"]\n[\"browser\", \"research\", \"extract\", \"--selector\", \"main\"]\n[\"browser\", \"research\", \"close\"]\n```\n\n`browser_opencli_run` 是通用高级入口，可能调用发布、删除、发帖等 adapter，因此无论命令看起来是否只读，\n除 `unrestricted` 外都要求原生一次性审批。常规搜索仍优先走 `dsh-web-search-pro` 的只读工具。\n\n## 发布 / 构建\n\n```bash\npnpm install          # 装依赖（playwright / patchright / opencli / @deepseek-ai/*）\npnpm test\npnpm run build        # tsc → lib/\npnpm run verify       # typecheck → build → real-browser tests → client bundle check\nnode scripts/install-browser.mjs   # 安装 chromium 内核（发布前验证，可选）\n```\n\n## 与 dsh-web-search-pro 的关系\n\n`dsh-web-search-pro` 现在 `inject: ['browser']`，其 `web_snapshot` / `web_fetch_pro`(playwright 后端) /\n`web_platform_search`(中文社区 playwright + 社交平台 opencli) 全部走本插件的 `browser` 服务。\n两者可独立安装，但 web-search-pro 的浏览器类能力依赖 dsh-browser 先行提供 `browser` 服务（Cordis `inject` 自动排序，无需手动控制挂载顺序）。\n","readmeFilename":"README.md"}