@kritchoff/agent-browser 0.9.31 → 0.9.33

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kritchoff/agent-browser",
3
- "version": "0.9.31",
3
+ "version": "0.9.33",
4
4
  "description": "Headless browser automation CLI for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/start.sh CHANGED
@@ -1,6 +1,8 @@
1
1
  #!/bin/bash
2
2
  set -e
3
3
 
4
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5
+
4
6
  # Colors
5
7
  GREEN='\033[0;32m'
6
8
  BLUE='\033[0;34m'
@@ -64,7 +66,7 @@ if [ -n "$SNAPSHOT_PATH" ]; then
64
66
  echo -e "${GREEN}OK${NC}"
65
67
 
66
68
  # Import
67
- if ./scripts/snapshot_manager.sh import "$SNAPSHOT_PATH" "w8rl_imported"; then
69
+ if "$SCRIPT_DIR/scripts/snapshot_manager.sh" import "$SNAPSHOT_PATH" "w8rl_imported"; then
68
70
  echo -e "${GREEN} Snapshot imported successfully.${NC}"
69
71
 
70
72
  # Configure emulator to load this snapshot