mirror of
https://github.com/epiral/bb-browser.git
synced 2026-09-14 13:45:45 +08:00
1fe733b416
* fix: auto-reconnect after Hub restart Two bugs prevented reconnection when pinixd restarts: 1. reconnectTimer was unref'd via maybeUnref(), so it didn't keep the event loop alive — the setTimeout callback never fired 2. gRPC transport was reused across reconnects, causing "protocol error: missing status" loops from stale HTTP/2 connection state Fix: remove maybeUnref on reconnect timer, create fresh transport on each reconnect attempt, remove unused runPromise guard. Closes #103 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: auto-launch Chrome when CDP not available in bb-browserd bb-browserd now automatically starts a managed Chrome instance if no CDP connection is found, instead of failing with "Chrome not reachable". Also adds clip.json for Pinix Registry publishing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
72 lines
1.8 KiB
JSON
72 lines
1.8 KiB
JSON
{
|
|
"name": "@pinix/browser",
|
|
"version": "0.10.1",
|
|
"description": "Your browser is the API. CLI + MCP server for AI agents to control Chrome with your login state.",
|
|
"type": "module",
|
|
"bin": {
|
|
"bb-browser": "./dist/cli.js",
|
|
"bb-browser-mcp": "./dist/mcp.js"
|
|
},
|
|
"main": "./dist/cli.js",
|
|
"files": [
|
|
"dist",
|
|
"extension",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"build": "turbo run build && pnpm build:release",
|
|
"build:release": "tsup && pnpm build:extension",
|
|
"build:extension": "rm -rf extension && cp -r packages/extension/dist extension",
|
|
"dev": "turbo run dev",
|
|
"test": "turbo run test",
|
|
"lint": "turbo run lint",
|
|
"clean": "turbo run clean && rm -rf node_modules dist extension",
|
|
"prepublishOnly": "pnpm build:release"
|
|
},
|
|
"keywords": [
|
|
"browser",
|
|
"automation",
|
|
"ai",
|
|
"agent",
|
|
"chrome",
|
|
"extension",
|
|
"cli",
|
|
"puppeteer",
|
|
"playwright",
|
|
"cdp",
|
|
"mcp"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/epiral/bb-browser.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/epiral/bb-browser/issues"
|
|
},
|
|
"homepage": "https://github.com/epiral/bb-browser#readme",
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"packageManager": "pnpm@9.15.0",
|
|
"dependencies": {
|
|
"@bufbuild/protobuf": "^2.11.0",
|
|
"@connectrpc/connect": "^2.1.1",
|
|
"@connectrpc/connect-node": "^2.1.1",
|
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
"ajv": "^8.17.1",
|
|
"ajv-formats": "^3.0.1",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.23.0",
|
|
"eslint": "^9.23.0",
|
|
"globals": "^16.0.0",
|
|
"tsup": "^8.0.0",
|
|
"turbo": "^2.3.0",
|
|
"typescript": "^5.7.0",
|
|
"typescript-eslint": "^8.29.0"
|
|
}
|
|
} |