surfagent 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "surfagent",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Local API that gives AI agents structured page data from Chrome for fast, precise web navigation",
5
5
  "main": "dist/api/server.js",
6
6
  "type": "module",
@@ -1,33 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Start Chrome with remote debugging enabled
4
- # Uses a separate profile with copied auth data (required for Chrome 136+)
5
-
6
- PORT=${1:-9222}
7
- MAIN_PROFILE="$HOME/Library/Application Support/Google/Chrome/Default"
8
- DEBUG_PROFILE="/tmp/chrome-cdp"
9
-
10
- echo "Setting up Chrome debug profile..."
11
-
12
- # Create debug profile directory
13
- mkdir -p "$DEBUG_PROFILE/Default"
14
-
15
- # Copy auth data from main profile (preserves your logins)
16
- cp "$MAIN_PROFILE/Cookies" "$DEBUG_PROFILE/Default/" 2>/dev/null
17
- cp "$MAIN_PROFILE/Login Data" "$DEBUG_PROFILE/Default/" 2>/dev/null
18
- cp "$MAIN_PROFILE/Login Data For Account" "$DEBUG_PROFILE/Default/" 2>/dev/null
19
-
20
- echo "Starting Chrome with remote debugging on port $PORT..."
21
- echo "Note: This uses a separate profile with your login cookies copied over."
22
- echo ""
23
-
24
- /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
25
- --user-data-dir="$DEBUG_PROFILE" \
26
- --remote-debugging-port=$PORT \
27
- --disable-save-password-bubble \
28
- --disable-popup-blocking \
29
- --disable-notifications \
30
- --disable-infobars \
31
- --disable-translate \
32
- --disable-features=PasswordManager,AutofillSaveCardBubble,TranslateUI \
33
- --password-store=basic