@huanlin/dsh-plugin-android-use 0.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/package.json ADDED
@@ -0,0 +1,112 @@
1
+ {
2
+ "name": "@huanlin/dsh-plugin-android-use",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "keywords": [
8
+ "dsh-plugin"
9
+ ],
10
+ "description": "DSH plugin exposing adb-based tools that let the model operate an Android phone (screenshot, UI dump, tap, swipe, input text, press keys, open apps). | 让模型通过 adb 操作安卓手机的 DSH 插件(截图、UI 树、点击、滑动、输入文本、按键、打开应用)。",
11
+ "type": "module",
12
+ "license": "AGPL-3.0",
13
+ "main": "./lib/index.js",
14
+ "types": "./lib/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./lib/index.d.ts",
18
+ "import": "./lib/index.js"
19
+ },
20
+ "./client": {
21
+ "default": "./lib/client.js"
22
+ },
23
+ "./package.json": "./package.json"
24
+ },
25
+ "files": [
26
+ "lib/index.js",
27
+ "lib/index.d.ts",
28
+ "lib/client.js",
29
+ "lib/client.js.map",
30
+ "cordis.patch.yml"
31
+ ],
32
+ "dsh": {
33
+ "bundle": {
34
+ "patch": "./cordis.patch.yml"
35
+ },
36
+ "client": {
37
+ "inject": [
38
+ "@deepseek-ai/dsh-client-ui-renderer",
39
+ "@deepseek-ai/dsh-client-ui-slots",
40
+ "@deepseek-ai/dsh-client-ui-tool",
41
+ "@deepseek-ai/dsh-client-ui-conversation",
42
+ "@deepseek-ai/dsh-client-ui-session"
43
+ ],
44
+ "platform": "web"
45
+ }
46
+ },
47
+ "dependencies": {
48
+ "schemastery": "^3.18.0",
49
+ "sharp": "^0.35.3"
50
+ },
51
+ "peerDependencies": {
52
+ "@deepseek-ai/cordis": "^4.0.1",
53
+ "@deepseek-ai/dsh-attachment": "^0.1.2-rc.1",
54
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-rc.1",
55
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-rc.1",
56
+ "@deepseek-ai/dsh-client-ui-session": "^0.1.2-rc.1",
57
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.2-rc.1",
58
+ "@deepseek-ai/dsh-client-ui-tool": "^0.1.2-rc.1",
59
+ "@deepseek-ai/dsh-llm": "^0.1.2-rc.1",
60
+ "@deepseek-ai/dsh-tools": "^0.1.2-rc.1",
61
+ "react": "^18.2.0"
62
+ },
63
+ "peerDependenciesMeta": {
64
+ "@deepseek-ai/cordis": {
65
+ "optional": true
66
+ },
67
+ "@deepseek-ai/dsh-attachment": {
68
+ "optional": true
69
+ },
70
+ "@deepseek-ai/dsh-client-ui-conversation": {
71
+ "optional": true
72
+ },
73
+ "@deepseek-ai/dsh-client-ui-renderer": {
74
+ "optional": true
75
+ },
76
+ "@deepseek-ai/dsh-client-ui-session": {
77
+ "optional": true
78
+ },
79
+ "@deepseek-ai/dsh-client-ui-slots": {
80
+ "optional": true
81
+ },
82
+ "@deepseek-ai/dsh-client-ui-tool": {
83
+ "optional": true
84
+ },
85
+ "@deepseek-ai/dsh-llm": {
86
+ "optional": true
87
+ },
88
+ "@deepseek-ai/dsh-tools": {
89
+ "optional": true
90
+ },
91
+ "react": {
92
+ "optional": true
93
+ }
94
+ },
95
+ "devDependencies": {
96
+ "@types/node": "^22.20.0",
97
+ "@types/react": "^18.3.0",
98
+ "react": "^18.2.0",
99
+ "tsdown": "^0.22.2",
100
+ "typescript": "^5.9.0",
101
+ "vitest": "^3.2.0"
102
+ },
103
+ "engines": {
104
+ "node": ">=18.0.0"
105
+ },
106
+ "scripts": {
107
+ "typecheck": "tsc -p tsconfig.json --noEmit",
108
+ "test": "vitest run",
109
+ "test:watch": "vitest",
110
+ "build": "tsc -p tsconfig.json && tsdown -c tsdown.config.ts"
111
+ }
112
+ }