{
  "name": "@askjo/camofox-browser",
  "version": "1.17.0",
  "description": "Headless browser automation server and OpenClaw plugin for AI agents - anti-detection, element refs, and session isolation",
  "type": "module",
  "main": "server.js",
  "license": "MIT",
  "author": "Jo Inc <oss@askjo.ai>",
  "homepage": "https://github.com/jo-inc/camofox-browser#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jo-inc/camofox-browser.git"
  },
  "bugs": {
    "url": "https://github.com/jo-inc/camofox-browser/issues"
  },
  "keywords": [
    "browser",
    "automation",
    "headless",
    "scraping",
    "camofox",
    "camoufox",
    "anti-detection",
    "ai-agent",
    "openclaw",
    "clawdbot",
    "moltbot",
    "playwright",
    "firefox",
    "youtube",
    "transcript"
  ],
  "engines": {
    "node": ">=22"
  },
  "files": [
    "server.js",
    "plugin.js",
    "openclaw.plugin.json",
    "camofox.config.json",
    "bin/camofox-browser.js",
    "lib/",
    "mcp/server.mjs",
    "mcp/lib/config.mjs",
    "mcp/lib/cookies.mjs",
    "mcp/lib/tool-contracts.mjs",
    "plugins/persistence/index.js",
    "plugins/vnc/index.js",
    "plugins/vnc/plugin.json",
    "plugins/vnc/spawn.js",
    "plugins/vnc/vnc-launcher.js",
    "plugins/vnc/vnc-watcher.sh",
    "plugins/vnc/vnc-watcher-lib.sh",
    "plugins/youtube/index.js",
    "plugins/youtube/youtube.js",
    "postinstall.js"
  ],
  "openclaw": {
    "extensions": [
      "plugin.js"
    ],
    "runtimeExtensions": [
      "plugin.js"
    ],
    "compat": {
      "pluginApi": ">=2026.9.4"
    },
    "build": {
      "openclawVersion": "2026.9.4"
    },
    "tools": [
      {
        "name": "camofox_create_tab",
        "description": "Open a new browser tab at a URL"
      },
      {
        "name": "camofox_snapshot",
        "description": "Get accessibility snapshot with element refs"
      },
      {
        "name": "camofox_click",
        "description": "Click an element by ref or CSS selector"
      },
      {
        "name": "camofox_type",
        "description": "Type text into an element"
      },
      {
        "name": "camofox_navigate",
        "description": "Navigate to URL or search macro"
      },
      {
        "name": "camofox_scroll",
        "description": "Scroll page up/down/left/right"
      },
      {
        "name": "camofox_screenshot",
        "description": "Capture page screenshot"
      },
      {
        "name": "camofox_close_tab",
        "description": "Close a browser tab"
      },
      {
        "name": "camofox_evaluate",
        "description": "Execute JavaScript in a Camoufox tab page context"
      },
      {
        "name": "camofox_list_tabs",
        "description": "List open tabs for a user"
      },
      {
        "name": "camofox_import_cookies",
        "description": "Import Netscape cookie file (requires CAMOFOX_API_KEY)"
      }
    ]
  },
  "scripts": {
    "build": "tsc -p . || true; mkdir -p dist && cp plugin.js dist/plugin.js",
    "prepublishOnly": "npm run build",
    "start": "node server.js",
    "mcp": "node mcp/server.mjs",
    "test:mcp": "npm ci --prefix mcp && node scripts/test-mcp.mjs && node scripts/test-mcp-package.mjs",
    "test:unit": "NODE_OPTIONS='--experimental-vm-modules' jest --runInBand --forceExit tests/unit",
    "test": "npm run test:unit && npm run test:e2e && npm run test:plugins",
    "test:e2e": "NODE_OPTIONS='--experimental-vm-modules' jest --config jest.config.e2e.cjs --runInBand --forceExit",
    "test:plugins": "NODE_OPTIONS='--experimental-vm-modules' jest --forceExit plugins/",
    "test:live": "RUN_LIVE_TESTS=1 NODE_OPTIONS='--experimental-vm-modules' jest --runInBand --forceExit tests/live",
    "test:debug": "DEBUG_SERVER=1 NODE_OPTIONS='--experimental-vm-modules' jest --runInBand --forceExit",
    "generate-openapi": "node scripts/generate-openapi.js",
    "version:sync": "node scripts/sync-version.js",
    "version": "node scripts/sync-version.js && node scripts/generate-openapi.js && git add openclaw.plugin.json mcp/package.json mcp/package-lock.json openapi.json",
    "postinstall": "node postinstall.js",
    "fetch-bin": "npx camoufox-js fetch"
  },
  "dependencies": {
    "better-sqlite3": "13.0.1",
    "camoufox-js": "0.11.5",
    "express": "^5.2.1",
    "playwright-core": "^1.58.0",
    "prom-client": "^15.1.3",
    "swagger-jsdoc": "^6.2.8"
  },
  "optionalDependencies": {
    "@modelcontextprotocol/sdk": "^1.30.0"
  },
  "devDependencies": {
    "@types/node": "^22.0.0",
    "jest": "^30.4.2",
    "openclaw": "2026.9.4",
    "pngjs": "^7.0.0",
    "typescript": "^5.7.0"
  },
  "overrides": {
    "@jest/reporters": {
      "glob": "13.0.6"
    },
    "babel-plugin-istanbul": {
      "test-exclude": "8.0.0"
    },
    "jest-config": {
      "glob": "13.0.6"
    },
    "jest-runtime": {
      "glob": "13.0.6"
    },
    "swagger-jsdoc": {
      "glob": "13.0.6"
    },
    "qs": "6.16.0",
    "fast-uri": "3.1.7",
    "hono": "4.13.5"
  },
  "bin": {
    "camofox-browser": "./bin/camofox-browser.js",
    "camofox-browser-mcp": "./mcp/server.mjs"
  },
  "peerDependencies": {
    "openclaw": ">=2026.9.4"
  },
  "peerDependenciesMeta": {
    "openclaw": {
      "optional": true
    }
  }
}
