adb-ready 0.2.0 → 0.3.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/CHANGELOG.md +97 -1
- package/README.md +42 -24
- package/dist/cli.js +3563 -816
- package/dist/cli.js.map +24 -20
- package/docs/agent-integration.md +31 -13
- package/docs/apps-and-evidence.md +9 -2
- package/docs/automation.md +43 -2
- package/docs/configuration.md +1 -1
- package/docs/dev-sessions.md +4 -0
- package/docs/logs-and-context.md +15 -0
- package/docs/troubleshooting.md +1 -0
- package/docs/ui-automation.md +84 -8
- package/examples/README.md +2 -0
- package/examples/capacitor/adb-ready.config.json +9 -0
- package/examples/flutter/adb-ready.config.json +9 -0
- package/llms.txt +14 -5
- package/package.json +4 -2
- package/schema/agent-tools-v1.json +2809 -166
- package/schema/config-v1.schema.json +93 -1
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"additionalProperties": false,
|
|
172
172
|
"properties": {
|
|
173
173
|
"preset": {
|
|
174
|
-
"enum": ["custom", "expo", "gradle", "react-native"]
|
|
174
|
+
"enum": ["capacitor", "custom", "expo", "flutter", "gradle", "react-native"]
|
|
175
175
|
},
|
|
176
176
|
"packageManager": {
|
|
177
177
|
"enum": ["bun", "npm", "pnpm", "yarn"]
|
|
@@ -206,6 +206,7 @@
|
|
|
206
206
|
"logs": { "type": "boolean" },
|
|
207
207
|
"cleanupPorts": { "type": "boolean" },
|
|
208
208
|
"watch": { "type": "boolean" },
|
|
209
|
+
"ready": { "$ref": "#/$defs/ready" },
|
|
209
210
|
"recovery": {
|
|
210
211
|
"type": "object",
|
|
211
212
|
"additionalProperties": false,
|
|
@@ -263,6 +264,97 @@
|
|
|
263
264
|
"type": "array",
|
|
264
265
|
"items": { "$ref": "#/$defs/hook" }
|
|
265
266
|
},
|
|
267
|
+
"ready": {
|
|
268
|
+
"type": "object",
|
|
269
|
+
"additionalProperties": false,
|
|
270
|
+
"required": ["all"],
|
|
271
|
+
"properties": {
|
|
272
|
+
"timeoutMs": { "type": "integer", "minimum": 1 },
|
|
273
|
+
"pollIntervalMs": { "type": "integer", "minimum": 1 },
|
|
274
|
+
"all": {
|
|
275
|
+
"type": "array",
|
|
276
|
+
"items": { "$ref": "#/$defs/readinessAssertion" }
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"readinessAssertion": {
|
|
281
|
+
"oneOf": [
|
|
282
|
+
{
|
|
283
|
+
"type": "object",
|
|
284
|
+
"additionalProperties": false,
|
|
285
|
+
"required": ["kind"],
|
|
286
|
+
"properties": { "kind": { "enum": ["boot", "unlocked"] } }
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"type": "object",
|
|
290
|
+
"additionalProperties": false,
|
|
291
|
+
"required": ["kind", "package"],
|
|
292
|
+
"properties": {
|
|
293
|
+
"kind": { "enum": ["foreground", "process"] },
|
|
294
|
+
"package": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"pattern": "^[A-Za-z][A-Za-z0-9_]*(?:\\.[A-Za-z0-9_]+)+$"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"type": "object",
|
|
302
|
+
"additionalProperties": false,
|
|
303
|
+
"required": ["kind", "value"],
|
|
304
|
+
"properties": {
|
|
305
|
+
"kind": { "const": "activity" },
|
|
306
|
+
"value": { "type": "string", "minLength": 1 }
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"type": "object",
|
|
311
|
+
"additionalProperties": false,
|
|
312
|
+
"required": ["kind", "port"],
|
|
313
|
+
"properties": {
|
|
314
|
+
"kind": { "const": "host-port" },
|
|
315
|
+
"host": { "type": "string", "minLength": 1 },
|
|
316
|
+
"port": { "type": "integer", "minimum": 1, "maximum": 65535 }
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"type": "object",
|
|
321
|
+
"additionalProperties": false,
|
|
322
|
+
"required": ["kind", "url"],
|
|
323
|
+
"properties": {
|
|
324
|
+
"kind": { "const": "http" },
|
|
325
|
+
"url": { "type": "string", "pattern": "^https?://" },
|
|
326
|
+
"status": {
|
|
327
|
+
"type": "array",
|
|
328
|
+
"minItems": 1,
|
|
329
|
+
"items": { "type": "integer", "minimum": 100, "maximum": 599 }
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"type": "object",
|
|
335
|
+
"additionalProperties": false,
|
|
336
|
+
"required": ["kind", "contains"],
|
|
337
|
+
"properties": {
|
|
338
|
+
"kind": { "const": "log" },
|
|
339
|
+
"contains": { "type": "string", "minLength": 1, "maxLength": 256 },
|
|
340
|
+
"absent": { "type": "boolean" }
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"type": "object",
|
|
345
|
+
"additionalProperties": false,
|
|
346
|
+
"required": ["kind", "selector"],
|
|
347
|
+
"properties": {
|
|
348
|
+
"kind": { "const": "ui" },
|
|
349
|
+
"selector": {
|
|
350
|
+
"type": "string",
|
|
351
|
+
"pattern": "^(?:desc|id|package|text)=.{1,256}$"
|
|
352
|
+
},
|
|
353
|
+
"state": { "enum": ["visible", "gone"] }
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
},
|
|
266
358
|
"hook": {
|
|
267
359
|
"type": "object",
|
|
268
360
|
"additionalProperties": false,
|