page-agent 0.0.0

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.
package/package.json ADDED
@@ -0,0 +1,117 @@
1
+ {
2
+ "name": "page-agent",
3
+ "private": false,
4
+ "version": "0.0.0",
5
+ "type": "module",
6
+ "main": "./dist/lib/page-agent.js",
7
+ "module": "./dist/lib/page-agent.js",
8
+ "types": "./dist/lib/PageAgent.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/lib/PageAgent.d.ts",
12
+ "import": "./dist/lib/page-agent.js",
13
+ "default": "./dist/lib/page-agent.js"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist/lib/",
18
+ "README.md",
19
+ "LICENSE",
20
+ "NOTICE"
21
+ ],
22
+ "description": "AI-powered UI agent for web applications - add intelligent automation to any webpage with a single script tag",
23
+ "keywords": [
24
+ "ai",
25
+ "automation",
26
+ "ui-agent",
27
+ "browser-automation",
28
+ "web-agent",
29
+ "llm",
30
+ "dom-interaction",
31
+ "intelligent-ui"
32
+ ],
33
+ "author": "Simon<gaomeng1900>",
34
+ "license": "MIT",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/alibaba/page-agent.git"
38
+ },
39
+ "engines": {
40
+ "node": ">=20.0.0"
41
+ },
42
+ "scripts": {
43
+ "dev": "vite",
44
+ "start": "vite",
45
+ "build": "tsc -b && vite build && npm run build:lib && npm run build:umd",
46
+ "build:lib": "vite build --config vite.lib.config.ts",
47
+ "build:lib:watch": "vite build --config vite.lib.config.ts --watch",
48
+ "build:umd": "vite build --config vite.umd.config.ts",
49
+ "lint": "eslint .",
50
+ "prepare": "husky"
51
+ },
52
+ "dependencies": {
53
+ "@ai-sdk/openai": "^2.0.22",
54
+ "ai": "^5.0.26",
55
+ "ai-motion": "^0.4.6",
56
+ "chalk": "^5.6.0",
57
+ "zod": "^4.1.3"
58
+ },
59
+ "devDependencies": {
60
+ "@commitlint/cli": "^19.8.1",
61
+ "@commitlint/config-conventional": "^19.8.1",
62
+ "@eslint/js": "^9.30.1",
63
+ "@microsoft/api-extractor": "^7.52.13",
64
+ "@tailwindcss/vite": "^4.1.11",
65
+ "@trivago/prettier-plugin-sort-imports": "^5.2.2",
66
+ "@types/react": "^19.1.8",
67
+ "@types/react-dom": "^19.1.6",
68
+ "@vitejs/plugin-react-swc": "^3.10.2",
69
+ "dotenv": "^17.2.1",
70
+ "eslint": "^9.31.0",
71
+ "eslint-config-prettier": "^10.1.8",
72
+ "eslint-plugin-react-dom": "^1.52.3",
73
+ "eslint-plugin-react-hooks": "^5.2.0",
74
+ "eslint-plugin-react-refresh": "^0.4.20",
75
+ "eslint-plugin-react-x": "^1.52.3",
76
+ "globals": "^16.3.0",
77
+ "husky": "^9.1.7",
78
+ "lint-staged": "^16.1.2",
79
+ "prettier": "^3.6.2",
80
+ "react": "^19.1.1",
81
+ "react-dom": "^19.1.1",
82
+ "tailwindcss": "^4.1.11",
83
+ "typescript": "^5.9.2",
84
+ "typescript-eslint": "^8.39.0",
85
+ "unplugin-dts": "^1.0.0-beta.6",
86
+ "vite": "^7.0.4",
87
+ "vite-plugin-css-injected-by-js": "^3.5.2",
88
+ "wouter": "^3.7.1"
89
+ },
90
+ "overrides": {
91
+ "zod": "^4.1.3"
92
+ },
93
+ "lint-staged": {
94
+ "*.{js,ts,cjs,cts,mjs,mts}": [
95
+ "npx prettier --write --ignore-unknown",
96
+ "npx eslint --quiet"
97
+ ],
98
+ "*.{jsx,tsx}": [
99
+ "npx prettier --write --ignore-unknown",
100
+ "npx eslint --quiet"
101
+ ],
102
+ "*.css": [
103
+ "npx prettier --write --ignore-unknown"
104
+ ]
105
+ },
106
+ "commitlint": {
107
+ "extends": [
108
+ "@commitlint/config-conventional"
109
+ ],
110
+ "rules": {
111
+ "subject-case": [
112
+ 0,
113
+ "never"
114
+ ]
115
+ }
116
+ }
117
+ }