page-agent 0.0.0 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "page-agent",
3
3
  "private": false,
4
- "version": "0.0.0",
4
+ "version": "0.0.2",
5
5
  "type": "module",
6
6
  "main": "./dist/lib/page-agent.js",
7
7
  "module": "./dist/lib/page-agent.js",
@@ -43,53 +43,48 @@
43
43
  "dev": "vite",
44
44
  "start": "vite",
45
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",
46
+ "build:lib": "MODE=lib vite build",
47
+ "build:lib:watch": "MODE=lib vite build --watch",
48
+ "build:umd": "MODE=umd vite build",
49
49
  "lint": "eslint .",
50
50
  "prepare": "husky"
51
51
  },
52
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"
53
+ "ai-motion": "^0.4.7",
54
+ "chalk": "^5.6.2",
55
+ "zod": "^4.1.12"
58
56
  },
59
57
  "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",
58
+ "@commitlint/cli": "^20.1.0",
59
+ "@commitlint/config-conventional": "^20.0.0",
60
+ "@eslint/js": "^9.37.0",
61
+ "@microsoft/api-extractor": "^7.53.1",
62
+ "@tailwindcss/vite": "^4.1.14",
65
63
  "@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",
64
+ "@types/react": "^19.2.2",
65
+ "@types/react-dom": "^19.2.1",
66
+ "@vitejs/plugin-react-swc": "^4.1.0",
67
+ "dotenv": "^17.2.3",
68
+ "eslint": "^9.37.0",
71
69
  "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",
70
+ "eslint-plugin-react-dom": "^2.0.6",
71
+ "eslint-plugin-react-hooks": "^7.0.0",
72
+ "eslint-plugin-react-refresh": "^0.4.23",
73
+ "eslint-plugin-react-x": "^2.0.6",
74
+ "globals": "^16.4.0",
77
75
  "husky": "^9.1.7",
78
- "lint-staged": "^16.1.2",
76
+ "lint-staged": "^16.2.4",
79
77
  "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",
78
+ "react": "^19.2.0",
79
+ "react-dom": "^19.2.0",
80
+ "tailwindcss": "^4.1.14",
81
+ "typescript": "^5.9.3",
82
+ "typescript-eslint": "^8.46.0",
85
83
  "unplugin-dts": "^1.0.0-beta.6",
86
- "vite": "^7.0.4",
84
+ "vite": "^7.1.9",
87
85
  "vite-plugin-css-injected-by-js": "^3.5.2",
88
86
  "wouter": "^3.7.1"
89
87
  },
90
- "overrides": {
91
- "zod": "^4.1.3"
92
- },
93
88
  "lint-staged": {
94
89
  "*.{js,ts,cjs,cts,mjs,mts}": [
95
90
  "npx prettier --write --ignore-unknown",
@@ -113,5 +108,23 @@
113
108
  "never"
114
109
  ]
115
110
  }
111
+ },
112
+ "prettier": {
113
+ "singleQuote": true,
114
+ "semi": false,
115
+ "useTabs": true,
116
+ "printWidth": 100,
117
+ "trailingComma": "es5",
118
+ "plugins": [
119
+ "@trivago/prettier-plugin-sort-imports"
120
+ ],
121
+ "importOrder": [
122
+ "<THIRD_PARTY_MODULES>",
123
+ "^(@/).*(?<!css)$",
124
+ "^[./].*(?<!css)$",
125
+ ".css$"
126
+ ],
127
+ "importOrderSeparation": true,
128
+ "importOrderSortSpecifiers": true
116
129
  }
117
130
  }
package/NOTICE DELETED
@@ -1,23 +0,0 @@
1
- Page-Agent
2
- Copyright (c) 2025 Alibaba Group Holding Limited
3
- Author: Simon<gaomeng1900>
4
-
5
- This project incorporates work covered by the following copyright and permission notices:
6
-
7
- ================================================================================
8
-
9
- Browser Use
10
- Copyright (c) 2024 Gregor Zunic
11
- Licensed under the MIT License
12
-
13
- Original browser-use project: https://github.com/browser-use/browser-use
14
- License: MIT License
15
-
16
- We gratefully acknowledge the browser-use project and its contributors for their
17
- excellent work on web automation and DOM interaction patterns that helped make
18
- this project possible.
19
-
20
- ================================================================================
21
-
22
- Third-party dependencies and their licenses can be found in the package.json
23
- file and in the node_modules directory after installation.