@kritchoff/agent-browser 0.9.8 → 0.9.10

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sdk.sh +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kritchoff/agent-browser",
3
- "version": "0.9.8",
3
+ "version": "0.9.10",
4
4
  "description": "Headless browser automation CLI for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/sdk.sh CHANGED
@@ -18,7 +18,7 @@ CACHE_DIR="$SDK_ROOT/cache"
18
18
  SNAPSHOT_FILE="$CACHE_DIR/baseline.tar.gz"
19
19
 
20
20
  # Default to production/local build unless --dist is used
21
- COMPOSE_FILE="docker-compose.prod.yml"
21
+ COMPOSE_FILE="$SDK_ROOT/docker-compose.prod.yml"
22
22
 
23
23
  # Colors
24
24
  GREEN='\033[0;32m'
@@ -31,7 +31,7 @@ NC='\033[0m' # No Color
31
31
  while [[ $# -gt 0 ]]; do
32
32
  case $1 in
33
33
  --dist)
34
- COMPOSE_FILE="docker-compose.sdk.yml"
34
+ COMPOSE_FILE="$SDK_ROOT/docker-compose.sdk.yml"
35
35
  shift
36
36
  ;;
37
37
  *)
@@ -50,7 +50,7 @@ log_error() { echo -e "${RED}[SDK]${NC} $1"; }
50
50
 
51
51
  pull_images_with_retry() {
52
52
  # Only pull if we are using the distribution compose file (which uses images)
53
- if [ "$COMPOSE_FILE" != "docker-compose.sdk.yml" ]; then
53
+ if [[ "$COMPOSE_FILE" != *"docker-compose.sdk.yml" ]]; then
54
54
  return 0
55
55
  fi
56
56