aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authoramankumarsingh77 <amankumarsingh7702@gmal.com>2026-04-29 01:38:17 +0530
committeramankumarsingh77 <amankumarsingh7702@gmal.com>2026-04-29 01:38:17 +0530
commit63b16957587fe20566129ffc5191f66f24a70872 (patch)
tree8a40fa38e1ae5b4309b1e38d7a3779321f15db4e /package.json
parent5317b32976edce3ab8e2f11d7fb4ff3f16dcac6f (diff)
Replace socket daemon with direct CDP WebSocket connection
Drops the Unix socket subprocess in favor of talking CDP directly over WebSocket from the extension. Removes the protocol's send/health helpers, simplifies setup to just verifying Chrome's remote debugging port, and tightens types in dynamic-tools. Bumps Node engine to >=22 and adds the ws dependency.
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json
index da7870f..91e3148 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
},
"homepage": "https://github.com/amankumarsingh77/pi-browser-harness#readme",
"engines": {
- "node": ">=18.0.0"
+ "node": ">=22.0.0"
},
"files": [
"src/",
@@ -50,6 +50,7 @@
"devDependencies": {
"@mariozechner/pi-coding-agent": "*",
"@mariozechner/pi-tui": "*",
+ "@types/ws": "^8.18.1",
"typebox": "*",
"typescript": "^5.0.0"
},
@@ -59,5 +60,8 @@
},
"publishConfig": {
"access": "public"
+ },
+ "dependencies": {
+ "ws": "^8.20.0"
}
}