UNPKG

@hyperbrowser/agent

Version:

Hyperbrowsers Web Agent

123 lines (122 loc) 3.21 kB
{ "name": "@hyperbrowser/agent", "version": "1.0.7", "description": "Hyperbrowsers Web Agent", "author": "", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "commonjs", "license": "AGPL-3.0", "scripts": { "build": "rm -rf dist && tsc && tsc-alias && node -e \"require('fs').chmodSync('dist/cli/index.js', '755')\" && node -e \"require('fs').chmodSync('cli.sh', '755')\"", "build-dom-tree-script": "ts-node src/context-providers/dom/builder.ts", "lint": "eslint src/**/*.ts", "prepare": "yarn build", "test": "jest", "format": "prettier --write 'src/**/*.ts'", "cli": "yarn ts-node -r tsconfig-paths/register src/cli/index.ts", "example": "yarn ts-node -r tsconfig-paths/register" }, "bin": { "hyperagent-cli": "cli.sh" }, "files": [ "dist", "README.md", "LICENSE", "cli.sh" ], "keywords": [ "hyperbrowser", "browser", "automation", "webscraping", "webcrawling", "scraping", "crawling", "ai" ], "dependencies": { "@anthropic-ai/sdk": "^0.69.0", "@google/genai": "^1.30.0", "@hyperbrowser/sdk": "0.78.0", "@inquirer/prompts": "^7.4.1", "@modelcontextprotocol/sdk": "^1.9.0", "@types/crypto-js": "^4.2.2", "boxen": "5.1.2", "chalk": "4.1.2", "commander": "^13.1.0", "crypto-js": "^4.2.0", "dotenv": "^16.4.5", "jimp": "^1.6.0", "joplin-turndown-plugin-gfm": "^1.0.12", "lodash": "^4.17.21", "minimatch": "^9.0.3", "openai": "^6.7.0", "ora": "5.4.1", "patchright": "^1.55.1", "playwright-core": "^1.56.1", "readline": "^1.3.0", "turndown": "^7.2.0", "uuid": "^13.0.0", "zod": "^4.1.8" }, "devDependencies": { "@types/lodash": "^4.17.16", "@types/node": "^22.9.1", "@types/turndown": "^5.0.5", "@typescript-eslint/eslint-plugin": "^8.15.0", "@typescript-eslint/parser": "^8.15.0", "axios": "^1.8.4", "devtools-protocol": "^0.0.1537100", "esbuild": "^0.25.2", "eslint": "^9.15.0", "eslint-config-prettier": "^9.1.0", "exa-js": "^1.5.13", "prettier": "^3.3.3", "ts-node": "^10.9.2", "tsc-alias": "^1.8.15", "tsconfig-paths": "^4.2.0", "tsx": "^4.19.3", "typescript": "^5.6.3" }, "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./types": { "types": "./dist/types/index.d.ts", "default": "./dist/types/index.js" }, "./custom-actions": { "types": "./dist/custom-actions/index.d.ts", "default": "./dist/custom-actions/index.js" }, "./actions": { "types": "./dist/agent/actions/index.d.ts", "default": "./dist/agent/actions/index.js" }, "./utils": { "types": "./dist/utils/index.d.ts", "default": "./dist/utils/index.js" }, "./llm/providers": { "types": "./dist/llm/providers/index.d.ts", "default": "./dist/llm/providers/index.js" } }, "typesVersions": { "*": { ".": [ "./dist/index.d.ts" ], "types": [ "./dist/types/index.d.ts" ], "./custom-actions": [ "./dist/custom-actions/index.d.ts" ] } } }