151 lines
4.0 KiB
JSON
151 lines
4.0 KiB
JSON
{
|
|
"name": "@askjo/camofox-browser",
|
|
"version": "1.11.2",
|
|
"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",
|
|
"lib/",
|
|
"plugins/",
|
|
"camofox.config.json",
|
|
"plugin.ts",
|
|
"plugin.js",
|
|
"dist/plugin.js",
|
|
"tsconfig.json",
|
|
"openclaw.plugin.json",
|
|
"bin/",
|
|
"scripts/",
|
|
"run.sh",
|
|
"Dockerfile",
|
|
"README.md",
|
|
"LICENSE",
|
|
"AGENTS.md",
|
|
"!**/*.test.js",
|
|
"!**/*.test.ts",
|
|
"!**/*.spec.js"
|
|
],
|
|
"openclaw": {
|
|
"extensions": [
|
|
"plugin.ts"
|
|
],
|
|
"runtimeExtensions": [
|
|
"plugin.js"
|
|
],
|
|
"compat": {
|
|
"pluginApi": ">=2026.3.24-beta.2"
|
|
},
|
|
"build": {
|
|
"openclawVersion": "2026.5.3"
|
|
},
|
|
"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",
|
|
"test": "NODE_OPTIONS='--experimental-vm-modules' jest --runInBand --forceExit",
|
|
"test:e2e": "NODE_OPTIONS='--experimental-vm-modules' jest --runInBand --forceExit tests/e2e",
|
|
"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",
|
|
"plugin": "node scripts/plugin.js",
|
|
"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 openapi.json",
|
|
"postinstall": "node scripts/postinstall.js",
|
|
"fetch-bin": "npx camoufox-js fetch"
|
|
},
|
|
"dependencies": {
|
|
"camoufox-js": ">=0.10.0",
|
|
"express": "^4.18.2",
|
|
"playwright-core": "^1.58.0",
|
|
"prom-client": "^15.1.3",
|
|
"swagger-jsdoc": "^6.2.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"jest": "^29.7.0",
|
|
"pngjs": "^7.0.0",
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"bin": {
|
|
"camofox-browser": "./bin/camofox-browser.js"
|
|
}
|
|
}
|