browserpaw 0.0.0-stage → 5.0.1
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/LICENSE +681 -0
- package/README.md +4 -2
- package/dist/v5/cli-files.cjs +147 -0
- package/dist/v5/cli.cjs +4900 -0
- package/dist/v5/extension/assets/popup-Djl4pI1R.css +359 -0
- package/dist/v5/extension/background.js +39389 -0
- package/dist/v5/extension/browserpaw-build.json +191 -0
- package/dist/v5/extension/chunks/popup-BSqTH70w.js +6575 -0
- package/dist/v5/extension/content-scripts/agent-cursor.js +1475 -0
- package/dist/v5/extension/icon/128.png +0 -0
- package/dist/v5/extension/icon/16.png +0 -0
- package/dist/v5/extension/icon/32.png +0 -0
- package/dist/v5/extension/icon/48.png +0 -0
- package/dist/v5/extension/icon/96.png +0 -0
- package/dist/v5/extension/images/cursor-chat.png +0 -0
- package/dist/v5/extension/inject-scripts/accessibility-tree-helper.js +2031 -0
- package/dist/v5/extension/inject-scripts/keyboard-helper.js +412 -0
- package/dist/v5/extension/inject-scripts/network-helper.js +378 -0
- package/dist/v5/extension/inject-scripts/screenshot-helper.js +449 -0
- package/dist/v5/extension/inpage-engine.js +9437 -0
- package/dist/v5/extension/manifest.json +1 -0
- package/dist/v5/extension/popup.html +14 -0
- package/dist/v5/host.cjs +19813 -0
- package/dist/v5/recipes/bilibili-popular-videos.json +364 -0
- package/dist/v5/recipes/bilibili-video-detail.json +395 -0
- package/dist/v5/recipes/developer.mozilla.org.md +15 -0
- package/dist/v5/recipes/github-issue-thread.json +313 -0
- package/dist/v5/recipes/github-releases.json +218 -0
- package/dist/v5/recipes/github-repo-readme.json +306 -0
- package/dist/v5/recipes/github-repo-search.json +313 -0
- package/dist/v5/recipes/mdn-search.json +219 -0
- package/dist/v5/recipes/npm-compare.json +458 -0
- package/dist/v5/recipes/reddit-post-read.json +289 -0
- package/dist/v5/recipes/reddit-subreddit-posts.json +331 -0
- package/dist/v5/recipes/v2ex-node-topics.json +334 -0
- package/dist/v5/recipes/v2ex-topic-read.json +325 -0
- package/dist/v5/recipes/x-profile-posts.json +332 -0
- package/dist/v5/recipes/x-search-thread.json +293 -0
- package/dist/v5/recipes/x-visible-thread.json +260 -0
- package/dist/v5/recipes/youtube-search-videos.json +279 -0
- package/dist/v5/recipes/youtube-video-read.json +349 -0
- package/dist/v5/run_host.bat +7 -0
- package/dist/v5/run_host.sh +6 -0
- package/dist/v5/skill/browserpaw/SKILL.md +48 -0
- package/dist/v5/skill/browserpaw/assets/recipes/bilibili-popular-videos.json +364 -0
- package/dist/v5/skill/browserpaw/assets/recipes/bilibili-video-detail.json +395 -0
- package/dist/v5/skill/browserpaw/assets/recipes/developer.mozilla.org.md +15 -0
- package/dist/v5/skill/browserpaw/assets/recipes/github-issue-thread.json +313 -0
- package/dist/v5/skill/browserpaw/assets/recipes/github-releases.json +218 -0
- package/dist/v5/skill/browserpaw/assets/recipes/github-repo-readme.json +306 -0
- package/dist/v5/skill/browserpaw/assets/recipes/github-repo-search.json +313 -0
- package/dist/v5/skill/browserpaw/assets/recipes/mdn-search.json +219 -0
- package/dist/v5/skill/browserpaw/assets/recipes/npm-compare.json +458 -0
- package/dist/v5/skill/browserpaw/assets/recipes/reddit-post-read.json +289 -0
- package/dist/v5/skill/browserpaw/assets/recipes/reddit-subreddit-posts.json +331 -0
- package/dist/v5/skill/browserpaw/assets/recipes/v2ex-node-topics.json +334 -0
- package/dist/v5/skill/browserpaw/assets/recipes/v2ex-topic-read.json +325 -0
- package/dist/v5/skill/browserpaw/assets/recipes/x-profile-posts.json +332 -0
- package/dist/v5/skill/browserpaw/assets/recipes/x-search-thread.json +293 -0
- package/dist/v5/skill/browserpaw/assets/recipes/x-visible-thread.json +260 -0
- package/dist/v5/skill/browserpaw/assets/recipes/youtube-search-videos.json +279 -0
- package/dist/v5/skill/browserpaw/assets/recipes/youtube-video-read.json +349 -0
- package/dist/v5/skill/browserpaw/references/TROUBLESHOOTING.md +7 -0
- package/dist/v5/skill/browserpaw/references/TROUBLESHOOTING.zh-CN.md +5 -0
- package/dist/v5/skill/browserpaw/references/browser-data.md +33 -0
- package/dist/v5/skill/browserpaw/references/commands.md +103 -0
- package/dist/v5/skill/browserpaw/references/debugging.md +32 -0
- package/dist/v5/skill/browserpaw/references/recipe-contract.md +47 -0
- package/package.json +67 -4
package/package.json
CHANGED
|
@@ -1,6 +1,69 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "browserpaw",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "5.0.1",
|
|
4
|
+
"description": "Command-line browser automation through the BrowserPaw Chrome extension",
|
|
5
|
+
"author": "hangye",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/GoldenLoaf24h/browserpaw.git",
|
|
9
|
+
"directory": "app/native-server"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/GoldenLoaf24h/browserpaw",
|
|
12
|
+
"bin": {
|
|
13
|
+
"browserpaw": "./dist/v5/cli.cjs"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"clean": "rimraf \"dist/v5\"",
|
|
17
|
+
"dev": "nodemon --watch src --ext ts,js,json --ignore dist/v5/ --exec \"npm run build\"",
|
|
18
|
+
"build": "ts-node src/scripts/build.ts",
|
|
19
|
+
"test": "jest --runInBand",
|
|
20
|
+
"test:watch": "jest --watch",
|
|
21
|
+
"lint": "eslint src --max-warnings=0",
|
|
22
|
+
"lint:fix": "eslint src --fix",
|
|
23
|
+
"format": "prettier --write 'src/**/*.{js,ts,json}'",
|
|
24
|
+
"prepack": "node scripts/pack-assets.cjs"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"LICENSE",
|
|
28
|
+
"dist/v5/cli.cjs",
|
|
29
|
+
"dist/v5/host.cjs",
|
|
30
|
+
"dist/v5/cli-files.cjs",
|
|
31
|
+
"dist/v5/run_host.bat",
|
|
32
|
+
"dist/v5/run_host.sh",
|
|
33
|
+
"dist/v5/extension",
|
|
34
|
+
"dist/v5/recipes",
|
|
35
|
+
"dist/v5/skill"
|
|
36
|
+
],
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=22.6.0"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"cli",
|
|
42
|
+
"chrome",
|
|
43
|
+
"browser"
|
|
44
|
+
],
|
|
45
|
+
"license": "AGPL-3.0-or-later",
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"chrome-mcp-shared": "workspace:*",
|
|
48
|
+
"@types/node-fetch": "2",
|
|
49
|
+
"ajv": "^8.17.1",
|
|
50
|
+
"ajv-formats": "^3.0.1",
|
|
51
|
+
"node-fetch": "2",
|
|
52
|
+
"tsup": "^8.5.1",
|
|
53
|
+
"@jest/globals": "^29.7.0",
|
|
54
|
+
"@types/chrome": "^0.0.318",
|
|
55
|
+
"@types/jest": "^29.5.14",
|
|
56
|
+
"@types/node": "^22.15.3",
|
|
57
|
+
"@types/supertest": "^6.0.3",
|
|
58
|
+
"@typescript-eslint/parser": "^8.31.1",
|
|
59
|
+
"cross-env": "^7.0.3",
|
|
60
|
+
"husky": "^9.1.7",
|
|
61
|
+
"jest": "^29.7.0",
|
|
62
|
+
"lint-staged": "^15.5.1",
|
|
63
|
+
"nodemon": "^3.1.10",
|
|
64
|
+
"rimraf": "^6.0.1",
|
|
65
|
+
"supertest": "^7.1.0",
|
|
66
|
+
"ts-jest": "^29.3.2",
|
|
67
|
+
"ts-node": "^10.9.2"
|
|
68
|
+
}
|
|
69
|
+
}
|