android-dev-mcp 1.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/LICENSE +21 -0
- package/README.md +90 -0
- package/dist/adb/accessibility.d.ts +10 -0
- package/dist/adb/accessibility.d.ts.map +1 -0
- package/dist/adb/accessibility.js +52 -0
- package/dist/adb/accessibility.js.map +1 -0
- package/dist/adb/index.d.ts +4 -0
- package/dist/adb/index.d.ts.map +1 -0
- package/dist/adb/index.js +4 -0
- package/dist/adb/index.js.map +1 -0
- package/dist/adb/liveTest.d.ts +39 -0
- package/dist/adb/liveTest.d.ts.map +1 -0
- package/dist/adb/liveTest.js +148 -0
- package/dist/adb/liveTest.js.map +1 -0
- package/dist/adb/logcatAnalysis.d.ts +17 -0
- package/dist/adb/logcatAnalysis.d.ts.map +1 -0
- package/dist/adb/logcatAnalysis.js +85 -0
- package/dist/adb/logcatAnalysis.js.map +1 -0
- package/dist/adb/ocr.d.ts +6 -0
- package/dist/adb/ocr.d.ts.map +1 -0
- package/dist/adb/ocr.js +16 -0
- package/dist/adb/ocr.js.map +1 -0
- package/dist/adb/operations.d.ts +48 -0
- package/dist/adb/operations.d.ts.map +1 -0
- package/dist/adb/operations.js +119 -0
- package/dist/adb/operations.js.map +1 -0
- package/dist/adb/runner.d.ts +57 -0
- package/dist/adb/runner.d.ts.map +1 -0
- package/dist/adb/runner.js +135 -0
- package/dist/adb/runner.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/index.d.ts +2 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +2 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/server.d.ts +4 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +567 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/security/allowlist.d.ts +4 -0
- package/dist/security/allowlist.d.ts.map +1 -0
- package/dist/security/allowlist.js +59 -0
- package/dist/security/allowlist.js.map +1 -0
- package/dist/security/index.d.ts +3 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +3 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/timeout.d.ts +3 -0
- package/dist/security/timeout.d.ts.map +1 -0
- package/dist/security/timeout.js +25 -0
- package/dist/security/timeout.js.map +1 -0
- package/dist/server/index.d.ts +2 -0
- package/dist/server/index.d.ts.map +1 -0
- package/dist/server/index.js +2 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server-http.d.ts +3 -0
- package/dist/server-http.d.ts.map +1 -0
- package/dist/server-http.js +51 -0
- package/dist/server-http.js.map +1 -0
- package/dist/tools/definitions.d.ts +3 -0
- package/dist/tools/definitions.d.ts.map +1 -0
- package/dist/tools/definitions.js +110 -0
- package/dist/tools/definitions.js.map +1 -0
- package/dist/tools/handlers.d.ts +139 -0
- package/dist/tools/handlers.d.ts.map +1 -0
- package/dist/tools/handlers.js +155 -0
- package/dist/tools/handlers.js.map +1 -0
- package/dist/tools/index.d.ts +4 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +4 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/schemas.d.ts +462 -0
- package/dist/tools/schemas.d.ts.map +1 -0
- package/dist/tools/schemas.js +164 -0
- package/dist/tools/schemas.js.map +1 -0
- package/dist/types.d.ts +16 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +65 -0
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AdbMcpListDevicesSchema: z.ZodObject<{
|
|
3
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
4
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
timeoutMs?: number | undefined;
|
|
7
|
+
deviceId?: string | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
timeoutMs?: number | undefined;
|
|
10
|
+
deviceId?: string | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
export type AdbMcpListDevicesParams = z.infer<typeof AdbMcpListDevicesSchema>;
|
|
13
|
+
export declare const AdbMcpExecShellSchema: z.ZodObject<{
|
|
14
|
+
command: z.ZodString;
|
|
15
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
16
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
command: string;
|
|
19
|
+
timeoutMs?: number | undefined;
|
|
20
|
+
deviceId?: string | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
command: string;
|
|
23
|
+
timeoutMs?: number | undefined;
|
|
24
|
+
deviceId?: string | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
export type AdbMcpExecShellParams = z.infer<typeof AdbMcpExecShellSchema>;
|
|
27
|
+
export declare const AdbMcpLaunchAppSchema: z.ZodObject<{
|
|
28
|
+
packageName: z.ZodString;
|
|
29
|
+
activity: z.ZodOptional<z.ZodString>;
|
|
30
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
packageName: string;
|
|
34
|
+
timeoutMs?: number | undefined;
|
|
35
|
+
deviceId?: string | undefined;
|
|
36
|
+
activity?: string | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
packageName: string;
|
|
39
|
+
timeoutMs?: number | undefined;
|
|
40
|
+
deviceId?: string | undefined;
|
|
41
|
+
activity?: string | undefined;
|
|
42
|
+
}>;
|
|
43
|
+
export type AdbMcpLaunchAppParams = z.infer<typeof AdbMcpLaunchAppSchema>;
|
|
44
|
+
export declare const AdbMcpTapSchema: z.ZodObject<{
|
|
45
|
+
x: z.ZodNumber;
|
|
46
|
+
y: z.ZodNumber;
|
|
47
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
48
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
x: number;
|
|
51
|
+
y: number;
|
|
52
|
+
timeoutMs?: number | undefined;
|
|
53
|
+
deviceId?: string | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
x: number;
|
|
56
|
+
y: number;
|
|
57
|
+
timeoutMs?: number | undefined;
|
|
58
|
+
deviceId?: string | undefined;
|
|
59
|
+
}>;
|
|
60
|
+
export type AdbMcpTapParams = z.infer<typeof AdbMcpTapSchema>;
|
|
61
|
+
export declare const AdbMcpSwipeSchema: z.ZodObject<{
|
|
62
|
+
x1: z.ZodNumber;
|
|
63
|
+
y1: z.ZodNumber;
|
|
64
|
+
x2: z.ZodNumber;
|
|
65
|
+
y2: z.ZodNumber;
|
|
66
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
68
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
x1: number;
|
|
71
|
+
y1: number;
|
|
72
|
+
x2: number;
|
|
73
|
+
y2: number;
|
|
74
|
+
timeoutMs?: number | undefined;
|
|
75
|
+
deviceId?: string | undefined;
|
|
76
|
+
durationMs?: number | undefined;
|
|
77
|
+
}, {
|
|
78
|
+
x1: number;
|
|
79
|
+
y1: number;
|
|
80
|
+
x2: number;
|
|
81
|
+
y2: number;
|
|
82
|
+
timeoutMs?: number | undefined;
|
|
83
|
+
deviceId?: string | undefined;
|
|
84
|
+
durationMs?: number | undefined;
|
|
85
|
+
}>;
|
|
86
|
+
export type AdbMcpSwipeParams = z.infer<typeof AdbMcpSwipeSchema>;
|
|
87
|
+
export declare const AdbMcpInputTextSchema: z.ZodObject<{
|
|
88
|
+
text: z.ZodString;
|
|
89
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
90
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
text: string;
|
|
93
|
+
timeoutMs?: number | undefined;
|
|
94
|
+
deviceId?: string | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
text: string;
|
|
97
|
+
timeoutMs?: number | undefined;
|
|
98
|
+
deviceId?: string | undefined;
|
|
99
|
+
}>;
|
|
100
|
+
export type AdbMcpInputTextParams = z.infer<typeof AdbMcpInputTextSchema>;
|
|
101
|
+
export declare const AdbMcpScreencapSchema: z.ZodObject<{
|
|
102
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
103
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
timeoutMs?: number | undefined;
|
|
106
|
+
deviceId?: string | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
timeoutMs?: number | undefined;
|
|
109
|
+
deviceId?: string | undefined;
|
|
110
|
+
}>;
|
|
111
|
+
export type AdbMcpScreencapParams = z.infer<typeof AdbMcpScreencapSchema>;
|
|
112
|
+
export declare const AdbMcpScreencapAnalyzeSchema: z.ZodObject<{
|
|
113
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
114
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
115
|
+
extractText: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
}, "strip", z.ZodTypeAny, {
|
|
117
|
+
timeoutMs?: number | undefined;
|
|
118
|
+
extractText?: boolean | undefined;
|
|
119
|
+
deviceId?: string | undefined;
|
|
120
|
+
}, {
|
|
121
|
+
timeoutMs?: number | undefined;
|
|
122
|
+
extractText?: boolean | undefined;
|
|
123
|
+
deviceId?: string | undefined;
|
|
124
|
+
}>;
|
|
125
|
+
export type AdbMcpScreencapAnalyzeParams = z.infer<typeof AdbMcpScreencapAnalyzeSchema>;
|
|
126
|
+
export declare const AdbMcpCurrentActivitySchema: z.ZodObject<{
|
|
127
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
128
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
129
|
+
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
timeoutMs?: number | undefined;
|
|
131
|
+
deviceId?: string | undefined;
|
|
132
|
+
}, {
|
|
133
|
+
timeoutMs?: number | undefined;
|
|
134
|
+
deviceId?: string | undefined;
|
|
135
|
+
}>;
|
|
136
|
+
export type AdbMcpCurrentActivityParams = z.infer<typeof AdbMcpCurrentActivitySchema>;
|
|
137
|
+
export declare const AdbMcpUiDumpSchema: z.ZodObject<{
|
|
138
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
139
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
timeoutMs?: number | undefined;
|
|
142
|
+
deviceId?: string | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
timeoutMs?: number | undefined;
|
|
145
|
+
deviceId?: string | undefined;
|
|
146
|
+
}>;
|
|
147
|
+
export type AdbMcpUiDumpParams = z.infer<typeof AdbMcpUiDumpSchema>;
|
|
148
|
+
export declare const AdbMcpFindAndTapSchema: z.ZodObject<{
|
|
149
|
+
text: z.ZodString;
|
|
150
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
151
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
text: string;
|
|
154
|
+
timeoutMs?: number | undefined;
|
|
155
|
+
deviceId?: string | undefined;
|
|
156
|
+
}, {
|
|
157
|
+
text: string;
|
|
158
|
+
timeoutMs?: number | undefined;
|
|
159
|
+
deviceId?: string | undefined;
|
|
160
|
+
}>;
|
|
161
|
+
export type AdbMcpFindAndTapParams = z.infer<typeof AdbMcpFindAndTapSchema>;
|
|
162
|
+
export declare const AdbMcpLiveTestSchema: z.ZodObject<{
|
|
163
|
+
scenarioMarkdown: z.ZodString;
|
|
164
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
165
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
166
|
+
waitProgressTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
167
|
+
waitVisibleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
scenarioMarkdown: string;
|
|
170
|
+
timeoutMs?: number | undefined;
|
|
171
|
+
deviceId?: string | undefined;
|
|
172
|
+
waitProgressTimeoutMs?: number | undefined;
|
|
173
|
+
waitVisibleTimeoutMs?: number | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
scenarioMarkdown: string;
|
|
176
|
+
timeoutMs?: number | undefined;
|
|
177
|
+
deviceId?: string | undefined;
|
|
178
|
+
waitProgressTimeoutMs?: number | undefined;
|
|
179
|
+
waitVisibleTimeoutMs?: number | undefined;
|
|
180
|
+
}>;
|
|
181
|
+
export type AdbMcpLiveTestParams = z.infer<typeof AdbMcpLiveTestSchema>;
|
|
182
|
+
export declare const AdbMcpKeyeventSchema: z.ZodObject<{
|
|
183
|
+
keycode: z.ZodNumber;
|
|
184
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
185
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
}, "strip", z.ZodTypeAny, {
|
|
187
|
+
keycode: number;
|
|
188
|
+
timeoutMs?: number | undefined;
|
|
189
|
+
deviceId?: string | undefined;
|
|
190
|
+
}, {
|
|
191
|
+
keycode: number;
|
|
192
|
+
timeoutMs?: number | undefined;
|
|
193
|
+
deviceId?: string | undefined;
|
|
194
|
+
}>;
|
|
195
|
+
export type AdbMcpKeyeventParams = z.infer<typeof AdbMcpKeyeventSchema>;
|
|
196
|
+
export declare const AdbMcpScreenrecordSchema: z.ZodObject<{
|
|
197
|
+
path: z.ZodString;
|
|
198
|
+
durationSec: z.ZodOptional<z.ZodNumber>;
|
|
199
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
200
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
path: string;
|
|
203
|
+
timeoutMs?: number | undefined;
|
|
204
|
+
deviceId?: string | undefined;
|
|
205
|
+
durationSec?: number | undefined;
|
|
206
|
+
}, {
|
|
207
|
+
path: string;
|
|
208
|
+
timeoutMs?: number | undefined;
|
|
209
|
+
deviceId?: string | undefined;
|
|
210
|
+
durationSec?: number | undefined;
|
|
211
|
+
}>;
|
|
212
|
+
export type AdbMcpScreenrecordParams = z.infer<typeof AdbMcpScreenrecordSchema>;
|
|
213
|
+
export declare const AdbMcpHomeSchema: z.ZodObject<{
|
|
214
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
215
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
}, "strip", z.ZodTypeAny, {
|
|
217
|
+
timeoutMs?: number | undefined;
|
|
218
|
+
deviceId?: string | undefined;
|
|
219
|
+
}, {
|
|
220
|
+
timeoutMs?: number | undefined;
|
|
221
|
+
deviceId?: string | undefined;
|
|
222
|
+
}>;
|
|
223
|
+
export type AdbMcpHomeParams = z.infer<typeof AdbMcpHomeSchema>;
|
|
224
|
+
export declare const AdbMcpConnectSchema: z.ZodObject<{
|
|
225
|
+
host: z.ZodString;
|
|
226
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
host: string;
|
|
229
|
+
timeoutMs?: number | undefined;
|
|
230
|
+
}, {
|
|
231
|
+
host: string;
|
|
232
|
+
timeoutMs?: number | undefined;
|
|
233
|
+
}>;
|
|
234
|
+
export type AdbMcpConnectParams = z.infer<typeof AdbMcpConnectSchema>;
|
|
235
|
+
export declare const AdbMcpDisconnectSchema: z.ZodObject<{
|
|
236
|
+
host: z.ZodOptional<z.ZodString>;
|
|
237
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
|
239
|
+
timeoutMs?: number | undefined;
|
|
240
|
+
host?: string | undefined;
|
|
241
|
+
}, {
|
|
242
|
+
timeoutMs?: number | undefined;
|
|
243
|
+
host?: string | undefined;
|
|
244
|
+
}>;
|
|
245
|
+
export type AdbMcpDisconnectParams = z.infer<typeof AdbMcpDisconnectSchema>;
|
|
246
|
+
export declare const AdbMcpKillServerSchema: z.ZodObject<{
|
|
247
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
timeoutMs?: number | undefined;
|
|
250
|
+
}, {
|
|
251
|
+
timeoutMs?: number | undefined;
|
|
252
|
+
}>;
|
|
253
|
+
export type AdbMcpKillServerParams = z.infer<typeof AdbMcpKillServerSchema>;
|
|
254
|
+
export declare const AdbMcpStartServerSchema: z.ZodObject<{
|
|
255
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
256
|
+
}, "strip", z.ZodTypeAny, {
|
|
257
|
+
timeoutMs?: number | undefined;
|
|
258
|
+
}, {
|
|
259
|
+
timeoutMs?: number | undefined;
|
|
260
|
+
}>;
|
|
261
|
+
export type AdbMcpStartServerParams = z.infer<typeof AdbMcpStartServerSchema>;
|
|
262
|
+
export declare const AdbMcpPushSchema: z.ZodObject<{
|
|
263
|
+
localPath: z.ZodString;
|
|
264
|
+
remotePath: z.ZodString;
|
|
265
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
266
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
267
|
+
}, "strip", z.ZodTypeAny, {
|
|
268
|
+
localPath: string;
|
|
269
|
+
remotePath: string;
|
|
270
|
+
timeoutMs?: number | undefined;
|
|
271
|
+
deviceId?: string | undefined;
|
|
272
|
+
}, {
|
|
273
|
+
localPath: string;
|
|
274
|
+
remotePath: string;
|
|
275
|
+
timeoutMs?: number | undefined;
|
|
276
|
+
deviceId?: string | undefined;
|
|
277
|
+
}>;
|
|
278
|
+
export type AdbMcpPushParams = z.infer<typeof AdbMcpPushSchema>;
|
|
279
|
+
export declare const AdbMcpPullSchema: z.ZodObject<{
|
|
280
|
+
remotePath: z.ZodString;
|
|
281
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
282
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
283
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
|
+
remotePath: string;
|
|
285
|
+
timeoutMs?: number | undefined;
|
|
286
|
+
deviceId?: string | undefined;
|
|
287
|
+
}, {
|
|
288
|
+
remotePath: string;
|
|
289
|
+
timeoutMs?: number | undefined;
|
|
290
|
+
deviceId?: string | undefined;
|
|
291
|
+
}>;
|
|
292
|
+
export type AdbMcpPullParams = z.infer<typeof AdbMcpPullSchema>;
|
|
293
|
+
export declare const AdbMcpInstallSchema: z.ZodObject<{
|
|
294
|
+
apkPath: z.ZodString;
|
|
295
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
296
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
297
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
298
|
+
}, "strip", z.ZodTypeAny, {
|
|
299
|
+
apkPath: string;
|
|
300
|
+
timeoutMs?: number | undefined;
|
|
301
|
+
deviceId?: string | undefined;
|
|
302
|
+
replace?: boolean | undefined;
|
|
303
|
+
}, {
|
|
304
|
+
apkPath: string;
|
|
305
|
+
timeoutMs?: number | undefined;
|
|
306
|
+
deviceId?: string | undefined;
|
|
307
|
+
replace?: boolean | undefined;
|
|
308
|
+
}>;
|
|
309
|
+
export type AdbMcpInstallParams = z.infer<typeof AdbMcpInstallSchema>;
|
|
310
|
+
export declare const AdbMcpUninstallSchema: z.ZodObject<{
|
|
311
|
+
packageName: z.ZodString;
|
|
312
|
+
keepData: z.ZodOptional<z.ZodBoolean>;
|
|
313
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
314
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
315
|
+
}, "strip", z.ZodTypeAny, {
|
|
316
|
+
packageName: string;
|
|
317
|
+
timeoutMs?: number | undefined;
|
|
318
|
+
deviceId?: string | undefined;
|
|
319
|
+
keepData?: boolean | undefined;
|
|
320
|
+
}, {
|
|
321
|
+
packageName: string;
|
|
322
|
+
timeoutMs?: number | undefined;
|
|
323
|
+
deviceId?: string | undefined;
|
|
324
|
+
keepData?: boolean | undefined;
|
|
325
|
+
}>;
|
|
326
|
+
export type AdbMcpUninstallParams = z.infer<typeof AdbMcpUninstallSchema>;
|
|
327
|
+
export declare const AdbMcpLogcatSchema: z.ZodObject<{
|
|
328
|
+
clear: z.ZodOptional<z.ZodBoolean>;
|
|
329
|
+
dump: z.ZodOptional<z.ZodBoolean>;
|
|
330
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
331
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
332
|
+
}, "strip", z.ZodTypeAny, {
|
|
333
|
+
timeoutMs?: number | undefined;
|
|
334
|
+
deviceId?: string | undefined;
|
|
335
|
+
clear?: boolean | undefined;
|
|
336
|
+
dump?: boolean | undefined;
|
|
337
|
+
}, {
|
|
338
|
+
timeoutMs?: number | undefined;
|
|
339
|
+
deviceId?: string | undefined;
|
|
340
|
+
clear?: boolean | undefined;
|
|
341
|
+
dump?: boolean | undefined;
|
|
342
|
+
}>;
|
|
343
|
+
export type AdbMcpLogcatParams = z.infer<typeof AdbMcpLogcatSchema>;
|
|
344
|
+
export declare const AdbMcpLogcatErrorsSchema: z.ZodObject<{
|
|
345
|
+
level: z.ZodOptional<z.ZodEnum<["E", "F", "EF"]>>;
|
|
346
|
+
maxLines: z.ZodOptional<z.ZodNumber>;
|
|
347
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
348
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
|
350
|
+
timeoutMs?: number | undefined;
|
|
351
|
+
deviceId?: string | undefined;
|
|
352
|
+
level?: "E" | "F" | "EF" | undefined;
|
|
353
|
+
maxLines?: number | undefined;
|
|
354
|
+
}, {
|
|
355
|
+
timeoutMs?: number | undefined;
|
|
356
|
+
deviceId?: string | undefined;
|
|
357
|
+
level?: "E" | "F" | "EF" | undefined;
|
|
358
|
+
maxLines?: number | undefined;
|
|
359
|
+
}>;
|
|
360
|
+
export type AdbMcpLogcatErrorsParams = z.infer<typeof AdbMcpLogcatErrorsSchema>;
|
|
361
|
+
export declare const AdbMcpLogcatCrashesSchema: z.ZodObject<{
|
|
362
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
363
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
364
|
+
}, "strip", z.ZodTypeAny, {
|
|
365
|
+
timeoutMs?: number | undefined;
|
|
366
|
+
deviceId?: string | undefined;
|
|
367
|
+
}, {
|
|
368
|
+
timeoutMs?: number | undefined;
|
|
369
|
+
deviceId?: string | undefined;
|
|
370
|
+
}>;
|
|
371
|
+
export type AdbMcpLogcatCrashesParams = z.infer<typeof AdbMcpLogcatCrashesSchema>;
|
|
372
|
+
export declare const AdbMcpLogcatAnalyzeSchema: z.ZodObject<{
|
|
373
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
374
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
375
|
+
}, "strip", z.ZodTypeAny, {
|
|
376
|
+
timeoutMs?: number | undefined;
|
|
377
|
+
deviceId?: string | undefined;
|
|
378
|
+
}, {
|
|
379
|
+
timeoutMs?: number | undefined;
|
|
380
|
+
deviceId?: string | undefined;
|
|
381
|
+
}>;
|
|
382
|
+
export type AdbMcpLogcatAnalyzeParams = z.infer<typeof AdbMcpLogcatAnalyzeSchema>;
|
|
383
|
+
export declare const AdbMcpBackupSchema: z.ZodObject<{
|
|
384
|
+
outputPath: z.ZodString;
|
|
385
|
+
apk: z.ZodOptional<z.ZodBoolean>;
|
|
386
|
+
shared: z.ZodOptional<z.ZodBoolean>;
|
|
387
|
+
all: z.ZodOptional<z.ZodBoolean>;
|
|
388
|
+
nosystem: z.ZodOptional<z.ZodBoolean>;
|
|
389
|
+
packageName: z.ZodOptional<z.ZodString>;
|
|
390
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
391
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
392
|
+
}, "strip", z.ZodTypeAny, {
|
|
393
|
+
outputPath: string;
|
|
394
|
+
timeoutMs?: number | undefined;
|
|
395
|
+
deviceId?: string | undefined;
|
|
396
|
+
packageName?: string | undefined;
|
|
397
|
+
apk?: boolean | undefined;
|
|
398
|
+
shared?: boolean | undefined;
|
|
399
|
+
all?: boolean | undefined;
|
|
400
|
+
nosystem?: boolean | undefined;
|
|
401
|
+
}, {
|
|
402
|
+
outputPath: string;
|
|
403
|
+
timeoutMs?: number | undefined;
|
|
404
|
+
deviceId?: string | undefined;
|
|
405
|
+
packageName?: string | undefined;
|
|
406
|
+
apk?: boolean | undefined;
|
|
407
|
+
shared?: boolean | undefined;
|
|
408
|
+
all?: boolean | undefined;
|
|
409
|
+
nosystem?: boolean | undefined;
|
|
410
|
+
}>;
|
|
411
|
+
export type AdbMcpBackupParams = z.infer<typeof AdbMcpBackupSchema>;
|
|
412
|
+
export declare const AdbMcpRestoreSchema: z.ZodObject<{
|
|
413
|
+
backupPath: z.ZodString;
|
|
414
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
415
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
416
|
+
}, "strip", z.ZodTypeAny, {
|
|
417
|
+
backupPath: string;
|
|
418
|
+
timeoutMs?: number | undefined;
|
|
419
|
+
deviceId?: string | undefined;
|
|
420
|
+
}, {
|
|
421
|
+
backupPath: string;
|
|
422
|
+
timeoutMs?: number | undefined;
|
|
423
|
+
deviceId?: string | undefined;
|
|
424
|
+
}>;
|
|
425
|
+
export type AdbMcpRestoreParams = z.infer<typeof AdbMcpRestoreSchema>;
|
|
426
|
+
export declare const AdbMcpRebootSchema: z.ZodObject<{
|
|
427
|
+
mode: z.ZodOptional<z.ZodEnum<["recovery", "bootloader"]>>;
|
|
428
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
429
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
430
|
+
}, "strip", z.ZodTypeAny, {
|
|
431
|
+
timeoutMs?: number | undefined;
|
|
432
|
+
deviceId?: string | undefined;
|
|
433
|
+
mode?: "recovery" | "bootloader" | undefined;
|
|
434
|
+
}, {
|
|
435
|
+
timeoutMs?: number | undefined;
|
|
436
|
+
deviceId?: string | undefined;
|
|
437
|
+
mode?: "recovery" | "bootloader" | undefined;
|
|
438
|
+
}>;
|
|
439
|
+
export type AdbMcpRebootParams = z.infer<typeof AdbMcpRebootSchema>;
|
|
440
|
+
export declare const AdbMcpGetStateSchema: z.ZodObject<{
|
|
441
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
442
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
443
|
+
}, "strip", z.ZodTypeAny, {
|
|
444
|
+
timeoutMs?: number | undefined;
|
|
445
|
+
deviceId?: string | undefined;
|
|
446
|
+
}, {
|
|
447
|
+
timeoutMs?: number | undefined;
|
|
448
|
+
deviceId?: string | undefined;
|
|
449
|
+
}>;
|
|
450
|
+
export type AdbMcpGetStateParams = z.infer<typeof AdbMcpGetStateSchema>;
|
|
451
|
+
export declare const AdbMcpGetSerialNoSchema: z.ZodObject<{
|
|
452
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
453
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
454
|
+
}, "strip", z.ZodTypeAny, {
|
|
455
|
+
timeoutMs?: number | undefined;
|
|
456
|
+
deviceId?: string | undefined;
|
|
457
|
+
}, {
|
|
458
|
+
timeoutMs?: number | undefined;
|
|
459
|
+
deviceId?: string | undefined;
|
|
460
|
+
}>;
|
|
461
|
+
export type AdbMcpGetSerialNoParams = z.infer<typeof Adb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CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAI9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEtE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAI7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
const deviceIdSchema = z.string().optional().describe('ADB device ID (e.g. emulator-5554). Omit for default device.');
|
|
3
|
+
const timeoutMsSchema = z.number().int().min(1000).max(120000).optional().describe('Timeout in milliseconds (default 30000, max 120000).');
|
|
4
|
+
export const AdbMcpListDevicesSchema = z.object({
|
|
5
|
+
deviceId: deviceIdSchema,
|
|
6
|
+
timeoutMs: timeoutMsSchema,
|
|
7
|
+
});
|
|
8
|
+
export const AdbMcpExecShellSchema = z.object({
|
|
9
|
+
command: z.string().min(1).describe('Shell command to run (must match allowlist).'),
|
|
10
|
+
deviceId: deviceIdSchema,
|
|
11
|
+
timeoutMs: timeoutMsSchema,
|
|
12
|
+
});
|
|
13
|
+
export const AdbMcpLaunchAppSchema = z.object({
|
|
14
|
+
packageName: z.string().min(1).describe('Android package name (e.g. com.android.settings).'),
|
|
15
|
+
activity: z.string().optional().describe('Optional activity component (e.g. .Settings).'),
|
|
16
|
+
deviceId: deviceIdSchema,
|
|
17
|
+
timeoutMs: timeoutMsSchema,
|
|
18
|
+
});
|
|
19
|
+
export const AdbMcpTapSchema = z.object({
|
|
20
|
+
x: z.number().describe('X coordinate in pixels.'),
|
|
21
|
+
y: z.number().describe('Y coordinate in pixels.'),
|
|
22
|
+
deviceId: deviceIdSchema,
|
|
23
|
+
timeoutMs: timeoutMsSchema,
|
|
24
|
+
});
|
|
25
|
+
export const AdbMcpSwipeSchema = z.object({
|
|
26
|
+
x1: z.number().describe('Start X coordinate.'),
|
|
27
|
+
y1: z.number().describe('Start Y coordinate.'),
|
|
28
|
+
x2: z.number().describe('End X coordinate.'),
|
|
29
|
+
y2: z.number().describe('End Y coordinate.'),
|
|
30
|
+
durationMs: z.number().int().min(0).optional().describe('Swipe duration in milliseconds (default 300).'),
|
|
31
|
+
deviceId: deviceIdSchema,
|
|
32
|
+
timeoutMs: timeoutMsSchema,
|
|
33
|
+
});
|
|
34
|
+
export const AdbMcpInputTextSchema = z.object({
|
|
35
|
+
text: z.string().describe('Text to type (will be escaped for shell).'),
|
|
36
|
+
deviceId: deviceIdSchema,
|
|
37
|
+
timeoutMs: timeoutMsSchema,
|
|
38
|
+
});
|
|
39
|
+
export const AdbMcpScreencapSchema = z.object({
|
|
40
|
+
deviceId: deviceIdSchema,
|
|
41
|
+
timeoutMs: timeoutMsSchema,
|
|
42
|
+
});
|
|
43
|
+
export const AdbMcpScreencapAnalyzeSchema = z.object({
|
|
44
|
+
deviceId: deviceIdSchema,
|
|
45
|
+
timeoutMs: timeoutMsSchema,
|
|
46
|
+
extractText: z.boolean().optional().describe('Run OCR to extract text from screen (default true).'),
|
|
47
|
+
});
|
|
48
|
+
export const AdbMcpCurrentActivitySchema = z.object({
|
|
49
|
+
deviceId: deviceIdSchema,
|
|
50
|
+
timeoutMs: timeoutMsSchema,
|
|
51
|
+
});
|
|
52
|
+
export const AdbMcpUiDumpSchema = z.object({
|
|
53
|
+
deviceId: deviceIdSchema,
|
|
54
|
+
timeoutMs: timeoutMsSchema,
|
|
55
|
+
});
|
|
56
|
+
export const AdbMcpFindAndTapSchema = z.object({
|
|
57
|
+
text: z.string().min(1).describe('Text or content-desc to find (case-insensitive match).'),
|
|
58
|
+
deviceId: deviceIdSchema,
|
|
59
|
+
timeoutMs: timeoutMsSchema,
|
|
60
|
+
});
|
|
61
|
+
export const AdbMcpLiveTestSchema = z.object({
|
|
62
|
+
scenarioMarkdown: z.string().min(1).describe('Test scenario in markdown (list of steps). See live-test template.'),
|
|
63
|
+
deviceId: deviceIdSchema,
|
|
64
|
+
timeoutMs: timeoutMsSchema,
|
|
65
|
+
waitProgressTimeoutMs: z.number().int().min(5000).max(120000).optional(),
|
|
66
|
+
waitVisibleTimeoutMs: z.number().int().min(5000).max(60000).optional(),
|
|
67
|
+
});
|
|
68
|
+
export const AdbMcpKeyeventSchema = z.object({
|
|
69
|
+
keycode: z.number().int().describe('Key event code (e.g. 3=HOME, 4=BACK, 26=POWER, 66=ENTER).'),
|
|
70
|
+
deviceId: deviceIdSchema,
|
|
71
|
+
timeoutMs: timeoutMsSchema,
|
|
72
|
+
});
|
|
73
|
+
export const AdbMcpScreenrecordSchema = z.object({
|
|
74
|
+
path: z.string().describe('Device path to save recording (e.g. /sdcard/record.mp4).'),
|
|
75
|
+
durationSec: z.number().int().min(1).max(180).optional().describe('Recording duration in seconds (default/max 180).'),
|
|
76
|
+
deviceId: deviceIdSchema,
|
|
77
|
+
timeoutMs: timeoutMsSchema,
|
|
78
|
+
});
|
|
79
|
+
export const AdbMcpHomeSchema = z.object({
|
|
80
|
+
deviceId: deviceIdSchema,
|
|
81
|
+
timeoutMs: timeoutMsSchema,
|
|
82
|
+
});
|
|
83
|
+
export const AdbMcpConnectSchema = z.object({
|
|
84
|
+
host: z.string().describe('Host (IP:port or hostname:port, e.g. 192.168.1.10:5555).'),
|
|
85
|
+
timeoutMs: timeoutMsSchema,
|
|
86
|
+
});
|
|
87
|
+
export const AdbMcpDisconnectSchema = z.object({
|
|
88
|
+
host: z.string().optional().describe('Host to disconnect. Omit to disconnect all.'),
|
|
89
|
+
timeoutMs: timeoutMsSchema,
|
|
90
|
+
});
|
|
91
|
+
export const AdbMcpKillServerSchema = z.object({ timeoutMs: timeoutMsSchema });
|
|
92
|
+
export const AdbMcpStartServerSchema = z.object({ timeoutMs: timeoutMsSchema });
|
|
93
|
+
export const AdbMcpPushSchema = z.object({
|
|
94
|
+
localPath: z.string().describe('Local path (on host) to push.'),
|
|
95
|
+
remotePath: z.string().describe('Device path destination.'),
|
|
96
|
+
deviceId: deviceIdSchema,
|
|
97
|
+
timeoutMs: timeoutMsSchema,
|
|
98
|
+
});
|
|
99
|
+
export const AdbMcpPullSchema = z.object({
|
|
100
|
+
remotePath: z.string().describe('Device path to pull.'),
|
|
101
|
+
deviceId: deviceIdSchema,
|
|
102
|
+
timeoutMs: timeoutMsSchema,
|
|
103
|
+
});
|
|
104
|
+
export const AdbMcpInstallSchema = z.object({
|
|
105
|
+
apkPath: z.string().describe('Local path to APK file.'),
|
|
106
|
+
replace: z.boolean().optional().describe('Replace existing app (-r).'),
|
|
107
|
+
deviceId: deviceIdSchema,
|
|
108
|
+
timeoutMs: timeoutMsSchema,
|
|
109
|
+
});
|
|
110
|
+
export const AdbMcpUninstallSchema = z.object({
|
|
111
|
+
packageName: z.string().describe('Package name to uninstall.'),
|
|
112
|
+
keepData: z.boolean().optional().describe('Keep data and cache (-k).'),
|
|
113
|
+
deviceId: deviceIdSchema,
|
|
114
|
+
timeoutMs: timeoutMsSchema,
|
|
115
|
+
});
|
|
116
|
+
export const AdbMcpLogcatSchema = z.object({
|
|
117
|
+
clear: z.boolean().optional().describe('Clear logcat before (-c).'),
|
|
118
|
+
dump: z.boolean().optional().describe('Dump and exit (-d).'),
|
|
119
|
+
deviceId: deviceIdSchema,
|
|
120
|
+
timeoutMs: timeoutMsSchema,
|
|
121
|
+
});
|
|
122
|
+
export const AdbMcpLogcatErrorsSchema = z.object({
|
|
123
|
+
level: z.enum(['E', 'F', 'EF']).optional().describe('E=ERROR, F=FATAL, EF=both (default).'),
|
|
124
|
+
maxLines: z.number().int().min(1).max(2000).optional().describe('Max lines to return (default all).'),
|
|
125
|
+
deviceId: deviceIdSchema,
|
|
126
|
+
timeoutMs: timeoutMsSchema,
|
|
127
|
+
});
|
|
128
|
+
export const AdbMcpLogcatCrashesSchema = z.object({
|
|
129
|
+
deviceId: deviceIdSchema,
|
|
130
|
+
timeoutMs: timeoutMsSchema,
|
|
131
|
+
});
|
|
132
|
+
export const AdbMcpLogcatAnalyzeSchema = z.object({
|
|
133
|
+
deviceId: deviceIdSchema,
|
|
134
|
+
timeoutMs: timeoutMsSchema,
|
|
135
|
+
});
|
|
136
|
+
export const AdbMcpBackupSchema = z.object({
|
|
137
|
+
outputPath: z.string().describe('Local path for backup file (e.g. backup.ab).'),
|
|
138
|
+
apk: z.boolean().optional().describe('Include APKs (-apk).'),
|
|
139
|
+
shared: z.boolean().optional().describe('Include shared storage (-shared).'),
|
|
140
|
+
all: z.boolean().optional().describe('Backup all apps (-all).'),
|
|
141
|
+
nosystem: z.boolean().optional().describe('Exclude system apps (-nosystem).'),
|
|
142
|
+
packageName: z.string().optional().describe('Backup single package.'),
|
|
143
|
+
deviceId: deviceIdSchema,
|
|
144
|
+
timeoutMs: timeoutMsSchema,
|
|
145
|
+
});
|
|
146
|
+
export const AdbMcpRestoreSchema = z.object({
|
|
147
|
+
backupPath: z.string().describe('Local path to backup file.'),
|
|
148
|
+
deviceId: deviceIdSchema,
|
|
149
|
+
timeoutMs: timeoutMsSchema,
|
|
150
|
+
});
|
|
151
|
+
export const AdbMcpRebootSchema = z.object({
|
|
152
|
+
mode: z.enum(['recovery', 'bootloader']).optional().describe('Reboot mode. Omit for normal reboot.'),
|
|
153
|
+
deviceId: deviceIdSchema,
|
|
154
|
+
timeoutMs: timeoutMsSchema,
|
|
155
|
+
});
|
|
156
|
+
export const AdbMcpGetStateSchema = z.object({
|
|
157
|
+
deviceId: deviceIdSchema,
|
|
158
|
+
timeoutMs: timeoutMsSchema,
|
|
159
|
+
});
|
|
160
|
+
export const AdbMcpGetSerialNoSchema = z.object({
|
|
161
|
+
deviceId: deviceIdSchema,
|
|
162
|
+
timeoutMs: timeoutMsSchema,
|
|
163
|
+
});
|
|
164
|
+
//# sourceMappingURL=schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/tools/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8DAA8D,CAAC,CAAC;AACtH,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sDAAsD,CAAC,CAAC;AAE3I,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,eAAe;CAC3B,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IACnF,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QAAQ,CAAC,sCAAsC,CAAC;IACpG,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,eAAe;CAC3B,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,eAAe;CAC3B,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,eAAe;CAC3B,CAAC,CAAC"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface DeviceInfo {
|
|
2
|
+
id: string;
|
|
3
|
+
status: 'device' | 'offline' | 'unauthorized' | 'unknown';
|
|
4
|
+
product?: string;
|
|
5
|
+
model?: string;
|
|
6
|
+
transportId?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AdbOptions {
|
|
9
|
+
deviceId?: string;
|
|
10
|
+
timeoutMs?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface ToolContext {
|
|
13
|
+
deviceId?: string;
|
|
14
|
+
timeoutMs?: number;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,cAAc,GAAG,SAAS,CAAC;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|