shellx-ai 1.0.12 → 1.1.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/LICENSE +21 -0
- package/README.md +586 -0
- package/dist/automation/element-finder.d.ts +189 -0
- package/dist/automation/element-finder.js +322 -0
- package/dist/automation/element-finder.js.map +1 -0
- package/dist/automation/ui-action-handler.d.ts +330 -0
- package/dist/automation/ui-action-handler.js +873 -0
- package/dist/automation/ui-action-handler.js.map +1 -0
- package/dist/cbor-compat.d.ts +27 -0
- package/dist/cbor-compat.js +108 -0
- package/dist/cbor-compat.js.map +1 -0
- package/dist/domain-manager.d.ts +80 -0
- package/dist/domain-manager.js +158 -0
- package/dist/domain-manager.js.map +1 -0
- package/dist/error-handler.d.ts +87 -0
- package/dist/error-handler.js +148 -0
- package/dist/error-handler.js.map +1 -0
- package/dist/errors.d.ts +114 -0
- package/dist/errors.js +139 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +163 -54
- package/dist/index.js +706 -480
- package/dist/index.js.map +1 -0
- package/dist/logger.d.ts +81 -0
- package/dist/logger.js +128 -0
- package/dist/logger.js.map +1 -0
- package/dist/protocol.d.ts +147 -31
- package/dist/protocol.js +2 -2
- package/dist/protocol.js.map +1 -0
- package/dist/shell/output-buffer.d.ts +152 -0
- package/dist/shell/output-buffer.js +163 -0
- package/dist/shell/output-buffer.js.map +1 -0
- package/dist/shell/shell-command-executor.d.ts +182 -0
- package/dist/shell/shell-command-executor.js +348 -0
- package/dist/shell/shell-command-executor.js.map +1 -0
- package/dist/shellx.d.ts +681 -178
- package/dist/shellx.js +762 -1159
- package/dist/shellx.js.map +1 -0
- package/dist/types.d.ts +132 -57
- package/dist/types.js +4 -4
- package/dist/types.js.map +1 -0
- package/dist/utils/retry-helper.d.ts +73 -0
- package/dist/utils/retry-helper.js +92 -0
- package/dist/utils/retry-helper.js.map +1 -0
- package/dist/utils.d.ts +3 -3
- package/dist/utils.js +17 -23
- package/dist/utils.js.map +1 -0
- package/package.json +95 -62
package/package.json
CHANGED
|
@@ -1,62 +1,95 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "shellx-ai",
|
|
3
|
-
"version": "1.0
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "shellx-ai",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "A powerful TypeScript library for Android device automation and UI control via WebSocket",
|
|
6
|
+
"workspaces": [
|
|
7
|
+
"example"
|
|
8
|
+
],
|
|
9
|
+
"keywords": [
|
|
10
|
+
"android",
|
|
11
|
+
"automation",
|
|
12
|
+
"websocket",
|
|
13
|
+
"shell",
|
|
14
|
+
"ui-automation",
|
|
15
|
+
"remote-control",
|
|
16
|
+
"adb",
|
|
17
|
+
"device-control",
|
|
18
|
+
"typescript",
|
|
19
|
+
"mobile-automation"
|
|
20
|
+
],
|
|
21
|
+
"author": "10cl <notice@toscl.com>",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/10cl/shellx.git"
|
|
26
|
+
},
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/10cl/shellx/issues"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://github.com/10cl/shellx#readme",
|
|
31
|
+
"main": "dist/index.js",
|
|
32
|
+
"types": "dist/index.d.ts",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"import": "./dist/index.js",
|
|
37
|
+
"default": "./dist/index.js"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"dist",
|
|
42
|
+
"README.md",
|
|
43
|
+
"LICENSE"
|
|
44
|
+
],
|
|
45
|
+
"scripts": {
|
|
46
|
+
"build": "tsc",
|
|
47
|
+
"build:phone-agent": "cd phone-agent && npm run build:all",
|
|
48
|
+
"build:all": "npm run build && npm run build:phone-agent",
|
|
49
|
+
"build:watch": "tsc --watch",
|
|
50
|
+
"type-check": "tsc --noEmit",
|
|
51
|
+
"lint": "eslint src --ext .ts",
|
|
52
|
+
"lint:fix": "eslint src --ext .ts --fix",
|
|
53
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
54
|
+
"format:check": "prettier --check \"src/**/*.ts\"",
|
|
55
|
+
"test": "jest",
|
|
56
|
+
"test:coverage": "jest --coverage",
|
|
57
|
+
"test:watch": "jest --watch",
|
|
58
|
+
"clean": "rimraf dist && cd phone-agent && rimraf dist",
|
|
59
|
+
"prepublishOnly": "npm run clean && npm run build && npm run type-check",
|
|
60
|
+
"prepare": "husky install || echo 'Husky not available'"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"cbor": "^9.0.0",
|
|
64
|
+
"dotenv": "^16.4.5",
|
|
65
|
+
"ofetch": "^1.4.1",
|
|
66
|
+
"tslib": "^2.8.1",
|
|
67
|
+
"uuid": "^11.1.0"
|
|
68
|
+
},
|
|
69
|
+
"optionalDependencies": {
|
|
70
|
+
"cbor-x": "^1.5.4",
|
|
71
|
+
"node-fetch": "^3.3.2",
|
|
72
|
+
"ws": "^8.14.2"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@types/jest": "^30.0.0",
|
|
76
|
+
"@types/node": "^24.0.13",
|
|
77
|
+
"@types/ws": "^8.18.1",
|
|
78
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
79
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
80
|
+
"eslint": "^9.0.0",
|
|
81
|
+
"eslint-config-prettier": "^9.1.0",
|
|
82
|
+
"eslint-plugin-prettier": "^5.2.0",
|
|
83
|
+
"jest": "^30.0.4",
|
|
84
|
+
"prettier": "^3.3.0",
|
|
85
|
+
"rimraf": "^6.0.0",
|
|
86
|
+
"ts-jest": "^29.4.0",
|
|
87
|
+
"typescript": "^5.8.3"
|
|
88
|
+
},
|
|
89
|
+
"engines": {
|
|
90
|
+
"node": ">=14.0.0"
|
|
91
|
+
},
|
|
92
|
+
"publishConfig": {
|
|
93
|
+
"access": "public"
|
|
94
|
+
}
|
|
95
|
+
}
|