taphound 0.2.0-dev.1 → 0.2.0-dev.12

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.
Files changed (467) hide show
  1. package/README.md +49 -149
  2. package/README.zh-CN.md +47 -147
  3. package/assets/skills/taphound-case-suite/SKILL.md +363 -0
  4. package/assets/skills/taphound-case-suite/schemas/base-flow-record.schema.json +22 -0
  5. package/assets/skills/taphound-case-suite/schemas/case-catalog.schema.json +26 -0
  6. package/assets/skills/taphound-case-suite/schemas/case-ledger.schema.json +158 -0
  7. package/assets/skills/taphound-case-suite/schemas/suite-input.schema.json +41 -0
  8. package/assets/skills/taphound-case-suite/schemas/transition.schema.json +61 -0
  9. package/assets/skills/taphound-case-suite/scripts/ledger.mjs +1207 -0
  10. package/assets/skills/taphound-case-suite/templates/base-flow-record.example.json +20 -0
  11. package/assets/skills/taphound-case-suite/templates/suite-input.example.json +27 -0
  12. package/assets/skills/taphound-case-suite/templates/transition.example.json +8 -0
  13. package/assets/skills/taphound-flash/SKILL.md +115 -0
  14. package/assets/skills/taphound-flash/scripts/flash.mjs +585 -0
  15. package/assets/skills/taphound-flash/templates/flash-plan.example.json +15 -0
  16. package/assets/skills/taphound-journey-brief-author/CONTEXT-GUIDE.md +471 -0
  17. package/assets/skills/taphound-journey-brief-author/SKILL.md +494 -0
  18. package/assets/skills/taphound-journey-brief-author/prompts/brief-author-role.md +96 -0
  19. package/assets/skills/taphound-journey-brief-author/prompts/brief-author-role.zh-CN.md +80 -0
  20. package/assets/skills/taphound-journey-brief-author/prompts/context-analyze-project.md +309 -0
  21. package/assets/skills/taphound-journey-brief-author/schemas/context-refresh-result.json +123 -0
  22. package/assets/skills/taphound-journey-brief-author/schemas/project-context-module.json +192 -0
  23. package/assets/skills/taphound-journey-brief-author/schemas/project-context.json +152 -0
  24. package/assets/skills/taphound-journey-brief-author/templates/project-context-module.example.json +58 -0
  25. package/assets/skills/taphound-journey-brief-author/templates/project-context.example.json +51 -0
  26. package/assets/skills/taphound-journey-brief-author/templates/taphound-journey-brief.template.md +63 -0
  27. package/assets/skills/taphound-journey-generator/SKILL.md +507 -0
  28. package/assets/skills/{taphound-ai-journey → taphound-journey-generator}/prompts/check-completion.md +3 -0
  29. package/assets/skills/taphound-journey-generator/prompts/consume-journey-brief.md +52 -0
  30. package/assets/skills/taphound-journey-generator/prompts/generate-step.md +211 -0
  31. package/assets/skills/taphound-journey-generator/prompts/select-flow.md +91 -0
  32. package/assets/skills/taphound-journey-generator/references/bridge.md +35 -0
  33. package/assets/skills/taphound-journey-generator/references/mid-session.md +44 -0
  34. package/assets/skills/taphound-journey-generator/schemas/external-flow.json +37 -0
  35. package/assets/skills/taphound-journey-generator/schemas/flow.json +28 -0
  36. package/assets/skills/taphound-journey-generator/schemas/journey-source.json +25 -0
  37. package/assets/skills/{taphound-ai-journey → taphound-journey-generator}/schemas/observe-output.json +13 -4
  38. package/assets/skills/{taphound-ai-journey → taphound-journey-generator}/schemas/proposed-step-envelope.json +127 -5
  39. package/assets/skills/taphound-journey-generator/scripts/envelope.mjs +578 -0
  40. package/assets/skills/taphound-journey-generator/templates/external-flow.example.json +22 -0
  41. package/assets/skills/taphound-journey-generator/templates/flow.example.json +22 -0
  42. package/assets/skills/taphound-journey-generator/templates/journey-source.example.json +17 -0
  43. package/assets/skills/taphound-journey-generator/templates/taphound-journey-brief.example.md +70 -0
  44. package/assets/skills/taphound-verify-change/SKILL.md +91 -0
  45. package/assets/skills/taphound-verify-change/references/accept.md +38 -0
  46. package/assets/skills/taphound-verify-change/references/preserve.md +357 -0
  47. package/assets/skills/taphound-verify-change/schemas/workflow-manifest.schema.json +295 -0
  48. package/assets/skills/taphound-verify-change/scripts/handoff.mjs +482 -0
  49. package/assets/skills/taphound-verify-change/scripts/ui-refactor.mjs +505 -0
  50. package/dist/adapters/adb/adb-adapter.d.ts +16 -2
  51. package/dist/adapters/adb/adb-adapter.js +199 -0
  52. package/dist/adapters/adb/system-uiautomator-snapshot-provider.d.ts +13 -0
  53. package/dist/adapters/adb/system-uiautomator-snapshot-provider.js +122 -0
  54. package/dist/adapters/adb/ui-automator-parser.d.ts +3 -0
  55. package/dist/adapters/adb/ui-automator-parser.js +160 -0
  56. package/dist/adapters/adb/window-topology-parser.d.ts +2 -0
  57. package/dist/adapters/adb/window-topology-parser.js +101 -0
  58. package/dist/adapters/android-cli/android-cli-adapter.d.ts +16 -8
  59. package/dist/adapters/android-cli/android-cli-adapter.js +137 -15
  60. package/dist/adapters/android-cli/android-cli-snapshot-provider.d.ts +9 -0
  61. package/dist/adapters/android-cli/android-cli-snapshot-provider.js +99 -0
  62. package/dist/adapters/android-cli/layout-parser.js +12 -8
  63. package/dist/adapters/appium/appium-doctor.d.ts +7 -0
  64. package/dist/adapters/appium/appium-doctor.js +128 -0
  65. package/dist/adapters/appium/appium-ui-snapshot-provider.d.ts +42 -0
  66. package/dist/adapters/appium/appium-ui-snapshot-provider.js +309 -0
  67. package/dist/adapters/camera/camera-probe-adapter.d.ts +18 -0
  68. package/dist/adapters/camera/camera-probe-adapter.js +286 -0
  69. package/dist/adapters/filesystem/artifact-store.js +40 -1
  70. package/dist/adapters/filesystem/context-document-writer.d.ts +15 -0
  71. package/dist/adapters/filesystem/context-document-writer.js +112 -0
  72. package/dist/adapters/filesystem/diagnostics-journal.d.ts +17 -0
  73. package/dist/adapters/filesystem/diagnostics-journal.js +130 -0
  74. package/dist/adapters/filesystem/external-flow-registry.d.ts +17 -0
  75. package/dist/adapters/filesystem/external-flow-registry.js +325 -0
  76. package/dist/adapters/filesystem/generation-session-store.d.ts +17 -11
  77. package/dist/adapters/filesystem/generation-session-store.js +281 -855
  78. package/dist/adapters/filesystem/generation-store/session-lock.d.ts +29 -0
  79. package/dist/adapters/filesystem/generation-store/session-lock.js +202 -0
  80. package/dist/adapters/filesystem/generation-store/session-transitions.d.ts +24 -0
  81. package/dist/adapters/filesystem/generation-store/session-transitions.js +340 -0
  82. package/dist/adapters/filesystem/generation-store/store-files.d.ts +50 -0
  83. package/dist/adapters/filesystem/generation-store/store-files.js +363 -0
  84. package/dist/adapters/filesystem/journey-composition-store.d.ts +23 -0
  85. package/dist/adapters/filesystem/journey-composition-store.js +151 -0
  86. package/dist/adapters/filesystem/knowledge-registry.d.ts +12 -0
  87. package/dist/adapters/filesystem/knowledge-registry.js +223 -0
  88. package/dist/adapters/filesystem/project-bound-file.js +3 -5
  89. package/dist/adapters/filesystem/project-file-inspector.d.ts +2 -0
  90. package/dist/adapters/filesystem/project-file-inspector.js +57 -28
  91. package/dist/adapters/filesystem/project-identity-inspector.d.ts +7 -0
  92. package/dist/adapters/filesystem/project-identity-inspector.js +215 -0
  93. package/dist/adapters/filesystem/project-inventory-inspector.d.ts +8 -0
  94. package/dist/adapters/filesystem/project-inventory-inspector.js +93 -0
  95. package/dist/adapters/filesystem/project-module-discoverer.d.ts +6 -0
  96. package/dist/adapters/filesystem/project-module-discoverer.js +158 -0
  97. package/dist/adapters/filesystem/skill-installer.d.ts +7 -2
  98. package/dist/adapters/filesystem/skill-installer.js +40 -11
  99. package/dist/adapters/filesystem/workspace-layout.d.ts +7 -0
  100. package/dist/adapters/filesystem/workspace-layout.js +57 -0
  101. package/dist/adapters/git/node-git-diff.d.ts +17 -0
  102. package/dist/adapters/git/node-git-diff.js +114 -0
  103. package/dist/adapters/process/node-detached-process-launcher.d.ts +6 -0
  104. package/dist/adapters/process/node-detached-process-launcher.js +96 -0
  105. package/dist/adapters/process/node-process-runner.js +11 -2
  106. package/dist/adapters/prompt/inquirer-align-prompt.d.ts +27 -0
  107. package/dist/adapters/prompt/inquirer-align-prompt.js +65 -0
  108. package/dist/adapters/prompt/inquirer-generation-prompt.js +3 -0
  109. package/dist/adapters/prompt/inquirer-recorder-prompt.d.ts +9 -1
  110. package/dist/adapters/prompt/inquirer-recorder-prompt.js +63 -0
  111. package/dist/adapters/runtime/adb-runtime-backend.d.ts +67 -0
  112. package/dist/adapters/runtime/adb-runtime-backend.js +206 -0
  113. package/dist/adapters/runtime/fake-runtime-backend.d.ts +87 -0
  114. package/dist/adapters/runtime/fake-runtime-backend.js +240 -0
  115. package/dist/adapters/runtime/mobile-mcp/mcp-tool-client.d.ts +45 -0
  116. package/dist/adapters/runtime/mobile-mcp/mcp-tool-client.js +153 -0
  117. package/dist/adapters/runtime/mobile-mcp/mobile-mcp-errors.d.ts +23 -0
  118. package/dist/adapters/runtime/mobile-mcp/mobile-mcp-errors.js +39 -0
  119. package/dist/adapters/runtime/mobile-mcp/mobile-mcp-responses.d.ts +20 -0
  120. package/dist/adapters/runtime/mobile-mcp/mobile-mcp-responses.js +180 -0
  121. package/dist/adapters/runtime/mobile-mcp/mobile-mcp-runtime-backend.d.ts +78 -0
  122. package/dist/adapters/runtime/mobile-mcp/mobile-mcp-runtime-backend.js +379 -0
  123. package/dist/adapters/runtime/mobile-mcp/mobile-mcp-tools.d.ts +46 -0
  124. package/dist/adapters/runtime/session-adb-view.d.ts +53 -0
  125. package/dist/adapters/runtime/session-adb-view.js +193 -0
  126. package/dist/adapters/runtime/session-backed-ports.d.ts +21 -0
  127. package/dist/adapters/runtime/session-backed-ports.js +43 -0
  128. package/dist/adapters/runtime/shared-session-runtime-backend.d.ts +12 -0
  129. package/dist/adapters/runtime/shared-session-runtime-backend.js +64 -0
  130. package/dist/adapters/ui/auto-ui-snapshot-provider.d.ts +8 -0
  131. package/dist/adapters/ui/auto-ui-snapshot-provider.js +48 -0
  132. package/dist/adapters/ui/device-layout-temp.d.ts +6 -0
  133. package/dist/adapters/ui/device-layout-temp.js +18 -0
  134. package/dist/adapters/ui/device-ui-environment.d.ts +13 -0
  135. package/dist/adapters/ui/device-ui-environment.js +81 -0
  136. package/dist/adapters/ui/layout-normalization.d.ts +9 -0
  137. package/dist/adapters/ui/layout-normalization.js +44 -0
  138. package/dist/adapters/ui/ui-snapshot-error.d.ts +11 -0
  139. package/dist/adapters/ui/ui-snapshot-error.js +12 -0
  140. package/dist/adapters/ui/ui-snapshot-support.d.ts +15 -0
  141. package/dist/adapters/ui/ui-snapshot-support.js +12 -0
  142. package/dist/application/align/align-service.d.ts +42 -0
  143. package/dist/application/align/align-service.js +106 -0
  144. package/dist/application/assertion/expectation-evaluator.d.ts +18 -5
  145. package/dist/application/assertion/expectation-evaluator.js +156 -18
  146. package/dist/application/assertion/guarded-expectation.d.ts +45 -0
  147. package/dist/application/assertion/guarded-expectation.js +74 -0
  148. package/dist/application/checkpoint/baseline-capturer.d.ts +26 -0
  149. package/dist/application/checkpoint/baseline-capturer.js +163 -0
  150. package/dist/application/checkpoint/baseline-error.d.ts +5 -0
  151. package/dist/application/checkpoint/baseline-error.js +8 -0
  152. package/dist/application/checkpoint/baseline-service.d.ts +31 -0
  153. package/dist/application/checkpoint/baseline-service.js +147 -0
  154. package/dist/application/checkpoint/checkpoint-evaluator.d.ts +35 -0
  155. package/dist/application/checkpoint/checkpoint-evaluator.js +415 -0
  156. package/dist/application/checkpoint/regression-comparator.d.ts +18 -0
  157. package/dist/application/checkpoint/regression-comparator.js +192 -0
  158. package/dist/application/collector/logcat-collector.d.ts +22 -1
  159. package/dist/application/collector/logcat-collector.js +103 -15
  160. package/dist/application/collector/logcat-event.d.ts +8 -0
  161. package/dist/application/collector/logcat-event.js +79 -0
  162. package/dist/application/collector/logcat-stop.d.ts +2 -0
  163. package/dist/application/collector/logcat-stop.js +11 -0
  164. package/dist/application/context/context-generator.d.ts +45 -0
  165. package/dist/application/context/context-generator.js +228 -0
  166. package/dist/application/context/context-loader.d.ts +40 -0
  167. package/dist/application/context/context-loader.js +223 -0
  168. package/dist/application/context/context-refresher.d.ts +59 -0
  169. package/dist/application/context/context-refresher.js +349 -0
  170. package/dist/application/context/context-rehasher.d.ts +36 -0
  171. package/dist/application/context/context-rehasher.js +110 -0
  172. package/dist/application/context/context-validator.d.ts +23 -1
  173. package/dist/application/context/context-validator.js +116 -9
  174. package/dist/application/context/evidence-hash.d.ts +1 -0
  175. package/dist/application/context/evidence-hash.js +125 -0
  176. package/dist/application/context/evidence-match.d.ts +9 -0
  177. package/dist/application/context/evidence-match.js +8 -0
  178. package/dist/application/context/shard-identity.d.ts +2 -0
  179. package/dist/application/context/shard-identity.js +7 -0
  180. package/dist/application/contract/contract-loader.d.ts +25 -0
  181. package/dist/application/contract/contract-loader.js +68 -0
  182. package/dist/application/contract/contract-review.d.ts +25 -0
  183. package/dist/application/contract/contract-review.js +51 -0
  184. package/dist/application/contract/contract-verifier.d.ts +53 -0
  185. package/dist/application/contract/contract-verifier.js +645 -0
  186. package/dist/application/devices/resolve-device-assignments.d.ts +21 -0
  187. package/dist/application/devices/resolve-device-assignments.js +60 -0
  188. package/dist/application/diagnosis/failure-classifier.d.ts +23 -0
  189. package/dist/application/diagnosis/failure-classifier.js +179 -0
  190. package/dist/application/diagnostics/diagnostics-exporter.d.ts +29 -0
  191. package/dist/application/diagnostics/diagnostics-exporter.js +283 -0
  192. package/dist/application/diagnostics/ui-capture-telemetry.d.ts +16 -0
  193. package/dist/application/diagnostics/ui-capture-telemetry.js +81 -0
  194. package/dist/application/doctor/doctor-service.d.ts +36 -3
  195. package/dist/application/doctor/doctor-service.js +255 -25
  196. package/dist/application/generation/generation-app-preparer.d.ts +20 -0
  197. package/dist/application/generation/generation-app-preparer.js +28 -0
  198. package/dist/application/generation/generation-config-service.d.ts +21 -0
  199. package/dist/application/generation/generation-config-service.js +53 -0
  200. package/dist/application/generation/generation-confirmation-service.d.ts +14 -3
  201. package/dist/application/generation/generation-confirmation-service.js +109 -24
  202. package/dist/application/generation/generation-context-snapshot.d.ts +6 -0
  203. package/dist/application/generation/generation-context-snapshot.js +29 -0
  204. package/dist/application/generation/generation-finalizer.d.ts +15 -9
  205. package/dist/application/generation/generation-finalizer.js +167 -70
  206. package/dist/application/generation/generation-publisher.js +12 -8
  207. package/dist/application/generation/generation-recovery-service.d.ts +35 -0
  208. package/dist/application/generation/generation-recovery-service.js +144 -0
  209. package/dist/application/generation/generation-reopen-service.d.ts +15 -0
  210. package/dist/application/generation/generation-reopen-service.js +37 -0
  211. package/dist/application/generation/generation-replace-service.d.ts +32 -0
  212. package/dist/application/generation/generation-replace-service.js +116 -0
  213. package/dist/application/generation/generation-starter.d.ts +44 -4
  214. package/dist/application/generation/generation-starter.js +175 -8
  215. package/dist/application/generation/generation-step-executor.d.ts +67 -5
  216. package/dist/application/generation/generation-step-executor.js +471 -108
  217. package/dist/application/generation/proposed-step-validator.js +96 -30
  218. package/dist/application/generation/replay-policy-loader.d.ts +16 -0
  219. package/dist/application/generation/replay-policy-loader.js +29 -0
  220. package/dist/application/generation/risk-evaluator.d.ts +4 -1
  221. package/dist/application/generation/risk-evaluator.js +118 -3
  222. package/dist/application/generation/runtime-observer.d.ts +39 -7
  223. package/dist/application/generation/runtime-observer.js +193 -24
  224. package/dist/application/impact/impact-resolver.d.ts +32 -0
  225. package/dist/application/impact/impact-resolver.js +160 -0
  226. package/dist/application/init/init-service.js +26 -13
  227. package/dist/application/interaction/action-executor.d.ts +3 -2
  228. package/dist/application/interaction/action-executor.js +11 -1
  229. package/dist/application/interaction/action-target.d.ts +17 -0
  230. package/dist/application/interaction/action-target.js +40 -0
  231. package/dist/application/interaction/external-step-runner.d.ts +153 -0
  232. package/dist/application/interaction/external-step-runner.js +332 -0
  233. package/dist/application/interaction/fallback-resolver.d.ts +6 -3
  234. package/dist/application/interaction/fallback-resolver.js +7 -5
  235. package/dist/application/interaction/scroll-to-executor.d.ts +17 -3
  236. package/dist/application/interaction/scroll-to-executor.js +118 -36
  237. package/dist/application/journey/external-flow-resolver.d.ts +25 -0
  238. package/dist/application/journey/external-flow-resolver.js +22 -0
  239. package/dist/application/journey/journey-check-service.d.ts +54 -0
  240. package/dist/application/journey/journey-check-service.js +207 -0
  241. package/dist/application/journey/journey-promoter.d.ts +26 -0
  242. package/dist/application/journey/journey-promoter.js +123 -0
  243. package/dist/application/journey/journey-resolver.d.ts +42 -0
  244. package/dist/application/journey/journey-resolver.js +239 -0
  245. package/dist/application/journey/journey-retirer.d.ts +25 -0
  246. package/dist/application/journey/journey-retirer.js +87 -0
  247. package/dist/application/knowledge/anchor-resolver.d.ts +36 -0
  248. package/dist/application/knowledge/anchor-resolver.js +110 -0
  249. package/dist/application/knowledge/knowledge-loader.d.ts +16 -0
  250. package/dist/application/knowledge/knowledge-loader.js +36 -0
  251. package/dist/application/locator/layout-failure-summary.d.ts +2 -0
  252. package/dist/application/locator/layout-failure-summary.js +67 -0
  253. package/dist/application/locator/layout-traversal.d.ts +11 -0
  254. package/dist/application/locator/layout-traversal.js +18 -0
  255. package/dist/application/locator/locator-resolver.d.ts +13 -1
  256. package/dist/application/locator/locator-resolver.js +182 -18
  257. package/dist/application/observe/observe-service.d.ts +20 -0
  258. package/dist/application/observe/observe-service.js +91 -0
  259. package/dist/application/project/project-describer.d.ts +14 -6
  260. package/dist/application/project/project-describer.js +38 -5
  261. package/dist/application/recognition/screen-detector.d.ts +28 -0
  262. package/dist/application/recognition/screen-detector.js +111 -0
  263. package/dist/application/recorder/locator-selector.js +151 -17
  264. package/dist/application/recorder/recorder-service.d.ts +16 -4
  265. package/dist/application/recorder/recorder-service.js +420 -128
  266. package/dist/application/report/report-writer.d.ts +5 -0
  267. package/dist/application/report/report-writer.js +17 -1
  268. package/dist/application/runtime/cold-launch.d.ts +28 -0
  269. package/dist/application/runtime/cold-launch.js +59 -0
  270. package/dist/application/runtime/step-runner.d.ts +49 -4
  271. package/dist/application/runtime/step-runner.js +721 -130
  272. package/dist/application/runtime/verify-runtime.d.ts +57 -7
  273. package/dist/application/runtime/verify-runtime.js +577 -175
  274. package/dist/application/ui/cached-ui-snapshot-provider.d.ts +45 -0
  275. package/dist/application/ui/cached-ui-snapshot-provider.js +111 -0
  276. package/dist/application/ui/observed-ui-snapshot-provider.d.ts +15 -0
  277. package/dist/application/ui/observed-ui-snapshot-provider.js +66 -0
  278. package/dist/application/ui/ui-snapshot-lifecycle.d.ts +2 -0
  279. package/dist/application/ui/ui-snapshot-lifecycle.js +8 -0
  280. package/dist/application/ui/ui-stability-probe.d.ts +9 -0
  281. package/dist/application/ui/ui-stability-probe.js +24 -0
  282. package/dist/application/wait/idle-advice.d.ts +6 -0
  283. package/dist/application/wait/idle-advice.js +27 -0
  284. package/dist/application/wait/idle-profiles.d.ts +15 -0
  285. package/dist/application/wait/idle-profiles.js +75 -0
  286. package/dist/application/wait/idle-waiter.d.ts +28 -4
  287. package/dist/application/wait/idle-waiter.js +201 -15
  288. package/dist/cli/commands/align.d.ts +3 -0
  289. package/dist/cli/commands/align.js +124 -0
  290. package/dist/cli/commands/baseline.d.ts +3 -0
  291. package/dist/cli/commands/baseline.js +130 -0
  292. package/dist/cli/commands/context.js +300 -27
  293. package/dist/cli/commands/contract.d.ts +3 -0
  294. package/dist/cli/commands/contract.js +120 -0
  295. package/dist/cli/commands/diagnose.d.ts +3 -0
  296. package/dist/cli/commands/diagnose.js +84 -0
  297. package/dist/cli/commands/doctor.js +16 -9
  298. package/dist/cli/commands/failure.d.ts +3 -0
  299. package/dist/cli/commands/failure.js +63 -0
  300. package/dist/cli/commands/generation/lifecycle-commands.d.ts +5 -0
  301. package/dist/cli/commands/generation/lifecycle-commands.js +211 -0
  302. package/dist/cli/commands/generation/session-commands.d.ts +11 -0
  303. package/dist/cli/commands/generation/session-commands.js +472 -0
  304. package/dist/cli/commands/generation/shared.d.ts +1414 -0
  305. package/dist/cli/commands/generation/shared.js +291 -0
  306. package/dist/cli/commands/generation/step-commands.d.ts +8 -0
  307. package/dist/cli/commands/generation/step-commands.js +315 -0
  308. package/dist/cli/commands/generation.js +10 -507
  309. package/dist/cli/commands/impact.d.ts +3 -0
  310. package/dist/cli/commands/impact.js +87 -0
  311. package/dist/cli/commands/init.js +13 -6
  312. package/dist/cli/commands/journey.d.ts +3 -0
  313. package/dist/cli/commands/journey.js +382 -0
  314. package/dist/cli/commands/knowledge.d.ts +3 -0
  315. package/dist/cli/commands/knowledge.js +93 -0
  316. package/dist/cli/commands/observe.d.ts +3 -0
  317. package/dist/cli/commands/observe.js +127 -0
  318. package/dist/cli/commands/project.js +2 -1
  319. package/dist/cli/commands/record.js +18 -5
  320. package/dist/cli/commands/verify.js +326 -64
  321. package/dist/cli/dependencies.d.ts +136 -1
  322. package/dist/cli/dependencies.js +504 -52
  323. package/dist/cli/diagnostics-recorder.d.ts +31 -0
  324. package/dist/cli/diagnostics-recorder.js +82 -0
  325. package/dist/cli/diff-verification.d.ts +41 -0
  326. package/dist/cli/diff-verification.js +192 -0
  327. package/dist/cli/main.d.ts +1 -1
  328. package/dist/cli/main.js +107 -2
  329. package/dist/cli/output.d.ts +5 -3
  330. package/dist/cli/output.js +12 -0
  331. package/dist/cli/program.js +21 -1
  332. package/dist/cli/project-root.d.ts +1 -0
  333. package/dist/cli/project-root.js +6 -0
  334. package/dist/cli/runtime-selection.d.ts +22 -0
  335. package/dist/cli/runtime-selection.js +92 -0
  336. package/dist/cli/version.d.ts +1 -0
  337. package/dist/cli/version.js +14 -0
  338. package/dist/cli/workspace-guard.d.ts +2 -0
  339. package/dist/cli/workspace-guard.js +3 -0
  340. package/dist/domain/binding-reference.d.ts +4 -0
  341. package/dist/domain/binding-reference.js +23 -0
  342. package/dist/domain/checkpoint.d.ts +404 -0
  343. package/dist/domain/checkpoint.js +297 -0
  344. package/dist/domain/config.d.ts +107 -1
  345. package/dist/domain/config.js +52 -6
  346. package/dist/domain/contract.d.ts +413 -0
  347. package/dist/domain/contract.js +196 -0
  348. package/dist/domain/diagnostics.d.ts +1396 -0
  349. package/dist/domain/diagnostics.js +193 -0
  350. package/dist/domain/external-flow.d.ts +493 -0
  351. package/dist/domain/external-flow.js +15 -0
  352. package/dist/domain/failure-classification.d.ts +176 -0
  353. package/dist/domain/failure-classification.js +169 -0
  354. package/dist/domain/failure.d.ts +2 -1
  355. package/dist/domain/failure.js +123 -0
  356. package/dist/domain/generation.d.ts +1671 -132
  357. package/dist/domain/generation.js +202 -13
  358. package/dist/domain/geometry.d.ts +13 -0
  359. package/dist/domain/geometry.js +16 -0
  360. package/dist/domain/impact.d.ts +71 -0
  361. package/dist/domain/impact.js +76 -0
  362. package/dist/domain/init.d.ts +12 -4
  363. package/dist/domain/init.js +24 -18
  364. package/dist/domain/journey-composition.d.ts +2285 -0
  365. package/dist/domain/journey-composition.js +85 -0
  366. package/dist/domain/journey-lifecycle.d.ts +10 -0
  367. package/dist/domain/journey-lifecycle.js +9 -0
  368. package/dist/domain/journey.d.ts +2419 -212
  369. package/dist/domain/journey.js +384 -14
  370. package/dist/domain/knowledge.d.ts +165 -0
  371. package/dist/domain/knowledge.js +188 -0
  372. package/dist/domain/layout.d.ts +34 -5
  373. package/dist/domain/layout.js +64 -6
  374. package/dist/domain/locator-evidence.d.ts +3 -0
  375. package/dist/domain/locator-evidence.js +36 -0
  376. package/dist/domain/logcat-event.d.ts +54 -0
  377. package/dist/domain/logcat-event.js +40 -0
  378. package/dist/domain/observation.d.ts +33 -0
  379. package/dist/domain/observation.js +18 -0
  380. package/dist/domain/project-context.d.ts +219 -1
  381. package/dist/domain/project-context.js +209 -6
  382. package/dist/domain/proposed-step.d.ts +340 -60
  383. package/dist/domain/proposed-step.js +23 -3
  384. package/dist/domain/report.d.ts +1455 -28
  385. package/dist/domain/report.js +211 -14
  386. package/dist/domain/runtime-snapshot.d.ts +58 -1
  387. package/dist/domain/runtime-snapshot.js +14 -3
  388. package/dist/domain/runtime.d.ts +50 -0
  389. package/dist/domain/runtime.js +36 -0
  390. package/dist/domain/system-app-profiles.d.ts +6 -0
  391. package/dist/domain/system-app-profiles.js +43 -0
  392. package/dist/domain/ui-backend.d.ts +28 -0
  393. package/dist/domain/ui-backend.js +33 -0
  394. package/dist/domain/ui-cache.d.ts +11 -0
  395. package/dist/domain/ui-cache.js +10 -0
  396. package/dist/domain/verify-receipt.d.ts +17 -0
  397. package/dist/domain/verify-receipt.js +17 -0
  398. package/dist/domain/window-hierarchy.d.ts +84 -0
  399. package/dist/domain/window-hierarchy.js +172 -0
  400. package/dist/domain/workflow-manifest.d.ts +77 -0
  401. package/dist/domain/workflow-manifest.js +136 -0
  402. package/dist/domain/workspace.d.ts +30 -0
  403. package/dist/domain/workspace.js +74 -0
  404. package/dist/ports/adb.d.ts +34 -1
  405. package/dist/ports/align-prompt.d.ts +11 -0
  406. package/dist/ports/align-prompt.js +6 -0
  407. package/dist/ports/anchor-resolver.d.ts +30 -0
  408. package/dist/ports/anchor-resolver.js +1 -0
  409. package/dist/ports/annotated-screen-resolver.d.ts +4 -0
  410. package/dist/ports/annotated-screen-resolver.js +1 -0
  411. package/dist/ports/camera-probe.d.ts +23 -0
  412. package/dist/ports/camera-probe.js +8 -0
  413. package/dist/ports/context-document-writer.d.ts +24 -0
  414. package/dist/ports/context-document-writer.js +1 -0
  415. package/dist/ports/detached-process-launcher.d.ts +12 -0
  416. package/dist/ports/detached-process-launcher.js +1 -0
  417. package/dist/ports/diagnostics.d.ts +15 -0
  418. package/dist/ports/diagnostics.js +1 -0
  419. package/dist/ports/external-flow-registry.d.ts +37 -0
  420. package/dist/ports/external-flow-registry.js +1 -0
  421. package/dist/ports/generation-prompt.d.ts +2 -1
  422. package/dist/ports/generation-session-store.d.ts +12 -2
  423. package/dist/ports/git-diff.d.ts +9 -0
  424. package/dist/ports/git-diff.js +1 -0
  425. package/dist/ports/journey-composition-store.d.ts +17 -0
  426. package/dist/ports/journey-composition-store.js +1 -0
  427. package/dist/ports/knowledge-registry.d.ts +20 -0
  428. package/dist/ports/knowledge-registry.js +1 -0
  429. package/dist/ports/process-runner.d.ts +7 -0
  430. package/dist/ports/project-file-inspector.d.ts +1 -0
  431. package/dist/ports/project-identity-inspector.d.ts +24 -0
  432. package/dist/ports/project-identity-inspector.js +1 -0
  433. package/dist/ports/project-inventory-inspector.d.ts +21 -0
  434. package/dist/ports/project-inventory-inspector.js +1 -0
  435. package/dist/ports/project-module-discoverer.d.ts +26 -0
  436. package/dist/ports/project-module-discoverer.js +1 -0
  437. package/dist/ports/recorder-prompt.d.ts +10 -1
  438. package/dist/ports/runtime-backend.d.ts +89 -0
  439. package/dist/ports/runtime-backend.js +13 -0
  440. package/dist/ports/runtime-capability.d.ts +12 -0
  441. package/dist/ports/runtime-capability.js +20 -0
  442. package/dist/ports/runtime-session-ports.d.ts +25 -0
  443. package/dist/ports/runtime-session-ports.js +1 -0
  444. package/dist/ports/screenshot.d.ts +11 -0
  445. package/dist/ports/screenshot.js +1 -0
  446. package/dist/ports/skill-installer.d.ts +2 -2
  447. package/dist/ports/ui-snapshot.d.ts +35 -0
  448. package/dist/ports/ui-snapshot.js +1 -0
  449. package/dist/ports/ui-stability.d.ts +19 -0
  450. package/dist/ports/ui-stability.js +1 -0
  451. package/dist/ports/workspace-layout.d.ts +4 -0
  452. package/dist/ports/workspace-layout.js +1 -0
  453. package/dist/shared/errors.d.ts +2 -0
  454. package/dist/shared/errors.js +22 -0
  455. package/dist/shared/paths.d.ts +2 -0
  456. package/dist/shared/paths.js +24 -0
  457. package/dist/shared/strings.d.ts +2 -0
  458. package/dist/shared/strings.js +16 -0
  459. package/package.json +7 -2
  460. package/assets/skills/taphound-ai-journey/GUIDE.md +0 -862
  461. package/assets/skills/taphound-ai-journey/SKILL.md +0 -377
  462. package/assets/skills/taphound-ai-journey/prompts/analyze-project.md +0 -526
  463. package/assets/skills/taphound-ai-journey/prompts/generate-step.md +0 -109
  464. package/assets/skills/taphound-ai-journey/schemas/project-context.json +0 -81
  465. package/assets/skills/taphound-ai-journey/templates/project-context.example.json +0 -49
  466. package/dist/ports/android-cli.d.ts +0 -21
  467. /package/dist/{ports/android-cli.js → adapters/runtime/mobile-mcp/mobile-mcp-tools.js} +0 -0
@@ -0,0 +1,2285 @@
1
+ import { z } from "zod";
2
+ export declare const FlowNameSchema: z.ZodString;
3
+ export declare const JourneySourcePathSchema: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
4
+ export declare const ResolvedJourneyPathSchema: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
5
+ export declare const JourneyOutputPathSchema: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
6
+ export declare const IncludesSchema: z.ZodArray<z.ZodString>;
7
+ export declare const FlowSchema: z.ZodObject<{
8
+ version: z.ZodLiteral<1>;
9
+ kind: z.ZodLiteral<"flow">;
10
+ name: z.ZodString;
11
+ includes: z.ZodArray<z.ZodString>;
12
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
13
+ device: z.ZodOptional<z.ZodString>;
14
+ activity: z.ZodObject<{
15
+ before: z.ZodString;
16
+ after: z.ZodString;
17
+ }, z.core.$strict>;
18
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
19
+ type: z.ZodLiteral<"activity">;
20
+ value: z.ZodString;
21
+ packageName: z.ZodOptional<z.ZodString>;
22
+ timeoutMs: z.ZodNumber;
23
+ }, z.core.$strict>, z.ZodObject<{
24
+ type: z.ZodLiteral<"element">;
25
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
26
+ enabled: z.ZodOptional<z.ZodBoolean>;
27
+ clickable: z.ZodOptional<z.ZodBoolean>;
28
+ absent: z.ZodOptional<z.ZodBoolean>;
29
+ packageName: z.ZodOptional<z.ZodString>;
30
+ timeoutMs: z.ZodNumber;
31
+ }, z.core.$strict>, z.ZodObject<{
32
+ type: z.ZodLiteral<"logcat">;
33
+ tag: z.ZodString;
34
+ level: z.ZodOptional<z.ZodEnum<{
35
+ V: "V";
36
+ D: "D";
37
+ I: "I";
38
+ W: "W";
39
+ E: "E";
40
+ F: "F";
41
+ A: "A";
42
+ }>>;
43
+ pattern: z.ZodString;
44
+ match: z.ZodDefault<z.ZodEnum<{
45
+ literal: "literal";
46
+ regex: "regex";
47
+ }>>;
48
+ packageName: z.ZodOptional<z.ZodString>;
49
+ timeoutMs: z.ZodNumber;
50
+ }, z.core.$strict>, z.ZodObject<{
51
+ type: z.ZodLiteral<"logcatEvent">;
52
+ tag: z.ZodString;
53
+ event: z.ZodString;
54
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
55
+ correlation: z.ZodOptional<z.ZodObject<{
56
+ key: z.ZodString;
57
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
58
+ }, z.core.$strict>>;
59
+ capture: z.ZodOptional<z.ZodObject<{
60
+ name: z.ZodString;
61
+ field: z.ZodOptional<z.ZodString>;
62
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
63
+ valueType: z.ZodEnum<{
64
+ string: "string";
65
+ integer: "integer";
66
+ identifier: "identifier";
67
+ }>;
68
+ }, z.core.$strict>>;
69
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
70
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
71
+ from: z.ZodLiteral<"stepStart">;
72
+ }, z.core.$strict>, z.ZodObject<{
73
+ from: z.ZodLiteral<"runStart">;
74
+ }, z.core.$strict>, z.ZodObject<{
75
+ from: z.ZodLiteral<"marker">;
76
+ markerId: z.ZodString;
77
+ }, z.core.$strict>], "from">>;
78
+ timeoutMs: z.ZodNumber;
79
+ }, z.core.$strict>], "type">>;
80
+ replayMode: z.ZodOptional<z.ZodEnum<{
81
+ auto: "auto";
82
+ manual: "manual";
83
+ }>>;
84
+ fallback: z.ZodOptional<z.ZodObject<{
85
+ type: z.ZodLiteral<"annotatedLabel">;
86
+ label: z.ZodString;
87
+ }, z.core.$strict>>;
88
+ anchor: z.ZodOptional<z.ZodString>;
89
+ locator: z.ZodOptional<z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>>;
90
+ action: z.ZodLiteral<"click">;
91
+ }, z.core.$strict>, z.ZodObject<{
92
+ device: z.ZodOptional<z.ZodString>;
93
+ activity: z.ZodObject<{
94
+ before: z.ZodString;
95
+ after: z.ZodString;
96
+ }, z.core.$strict>;
97
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
98
+ type: z.ZodLiteral<"activity">;
99
+ value: z.ZodString;
100
+ packageName: z.ZodOptional<z.ZodString>;
101
+ timeoutMs: z.ZodNumber;
102
+ }, z.core.$strict>, z.ZodObject<{
103
+ type: z.ZodLiteral<"element">;
104
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
105
+ enabled: z.ZodOptional<z.ZodBoolean>;
106
+ clickable: z.ZodOptional<z.ZodBoolean>;
107
+ absent: z.ZodOptional<z.ZodBoolean>;
108
+ packageName: z.ZodOptional<z.ZodString>;
109
+ timeoutMs: z.ZodNumber;
110
+ }, z.core.$strict>, z.ZodObject<{
111
+ type: z.ZodLiteral<"logcat">;
112
+ tag: z.ZodString;
113
+ level: z.ZodOptional<z.ZodEnum<{
114
+ V: "V";
115
+ D: "D";
116
+ I: "I";
117
+ W: "W";
118
+ E: "E";
119
+ F: "F";
120
+ A: "A";
121
+ }>>;
122
+ pattern: z.ZodString;
123
+ match: z.ZodDefault<z.ZodEnum<{
124
+ literal: "literal";
125
+ regex: "regex";
126
+ }>>;
127
+ packageName: z.ZodOptional<z.ZodString>;
128
+ timeoutMs: z.ZodNumber;
129
+ }, z.core.$strict>, z.ZodObject<{
130
+ type: z.ZodLiteral<"logcatEvent">;
131
+ tag: z.ZodString;
132
+ event: z.ZodString;
133
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
134
+ correlation: z.ZodOptional<z.ZodObject<{
135
+ key: z.ZodString;
136
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
137
+ }, z.core.$strict>>;
138
+ capture: z.ZodOptional<z.ZodObject<{
139
+ name: z.ZodString;
140
+ field: z.ZodOptional<z.ZodString>;
141
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
142
+ valueType: z.ZodEnum<{
143
+ string: "string";
144
+ integer: "integer";
145
+ identifier: "identifier";
146
+ }>;
147
+ }, z.core.$strict>>;
148
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
149
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
150
+ from: z.ZodLiteral<"stepStart">;
151
+ }, z.core.$strict>, z.ZodObject<{
152
+ from: z.ZodLiteral<"runStart">;
153
+ }, z.core.$strict>, z.ZodObject<{
154
+ from: z.ZodLiteral<"marker">;
155
+ markerId: z.ZodString;
156
+ }, z.core.$strict>], "from">>;
157
+ timeoutMs: z.ZodNumber;
158
+ }, z.core.$strict>], "type">>;
159
+ replayMode: z.ZodOptional<z.ZodEnum<{
160
+ auto: "auto";
161
+ manual: "manual";
162
+ }>>;
163
+ durationMs: z.ZodDefault<z.ZodNumber>;
164
+ fallback: z.ZodOptional<z.ZodObject<{
165
+ type: z.ZodLiteral<"annotatedLabel">;
166
+ label: z.ZodString;
167
+ }, z.core.$strict>>;
168
+ anchor: z.ZodOptional<z.ZodString>;
169
+ locator: z.ZodOptional<z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>>;
170
+ action: z.ZodLiteral<"longClick">;
171
+ }, z.core.$strict>, z.ZodObject<{
172
+ device: z.ZodOptional<z.ZodString>;
173
+ activity: z.ZodObject<{
174
+ before: z.ZodString;
175
+ after: z.ZodString;
176
+ }, z.core.$strict>;
177
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
178
+ type: z.ZodLiteral<"activity">;
179
+ value: z.ZodString;
180
+ packageName: z.ZodOptional<z.ZodString>;
181
+ timeoutMs: z.ZodNumber;
182
+ }, z.core.$strict>, z.ZodObject<{
183
+ type: z.ZodLiteral<"element">;
184
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
185
+ enabled: z.ZodOptional<z.ZodBoolean>;
186
+ clickable: z.ZodOptional<z.ZodBoolean>;
187
+ absent: z.ZodOptional<z.ZodBoolean>;
188
+ packageName: z.ZodOptional<z.ZodString>;
189
+ timeoutMs: z.ZodNumber;
190
+ }, z.core.$strict>, z.ZodObject<{
191
+ type: z.ZodLiteral<"logcat">;
192
+ tag: z.ZodString;
193
+ level: z.ZodOptional<z.ZodEnum<{
194
+ V: "V";
195
+ D: "D";
196
+ I: "I";
197
+ W: "W";
198
+ E: "E";
199
+ F: "F";
200
+ A: "A";
201
+ }>>;
202
+ pattern: z.ZodString;
203
+ match: z.ZodDefault<z.ZodEnum<{
204
+ literal: "literal";
205
+ regex: "regex";
206
+ }>>;
207
+ packageName: z.ZodOptional<z.ZodString>;
208
+ timeoutMs: z.ZodNumber;
209
+ }, z.core.$strict>, z.ZodObject<{
210
+ type: z.ZodLiteral<"logcatEvent">;
211
+ tag: z.ZodString;
212
+ event: z.ZodString;
213
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
214
+ correlation: z.ZodOptional<z.ZodObject<{
215
+ key: z.ZodString;
216
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
217
+ }, z.core.$strict>>;
218
+ capture: z.ZodOptional<z.ZodObject<{
219
+ name: z.ZodString;
220
+ field: z.ZodOptional<z.ZodString>;
221
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
222
+ valueType: z.ZodEnum<{
223
+ string: "string";
224
+ integer: "integer";
225
+ identifier: "identifier";
226
+ }>;
227
+ }, z.core.$strict>>;
228
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
229
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
230
+ from: z.ZodLiteral<"stepStart">;
231
+ }, z.core.$strict>, z.ZodObject<{
232
+ from: z.ZodLiteral<"runStart">;
233
+ }, z.core.$strict>, z.ZodObject<{
234
+ from: z.ZodLiteral<"marker">;
235
+ markerId: z.ZodString;
236
+ }, z.core.$strict>], "from">>;
237
+ timeoutMs: z.ZodNumber;
238
+ }, z.core.$strict>], "type">>;
239
+ replayMode: z.ZodOptional<z.ZodEnum<{
240
+ auto: "auto";
241
+ manual: "manual";
242
+ }>>;
243
+ action: z.ZodLiteral<"inputText">;
244
+ text: z.ZodString;
245
+ anchor: z.ZodOptional<z.ZodString>;
246
+ }, z.core.$strict>, z.ZodObject<{
247
+ device: z.ZodOptional<z.ZodString>;
248
+ activity: z.ZodObject<{
249
+ before: z.ZodString;
250
+ after: z.ZodString;
251
+ }, z.core.$strict>;
252
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
253
+ type: z.ZodLiteral<"activity">;
254
+ value: z.ZodString;
255
+ packageName: z.ZodOptional<z.ZodString>;
256
+ timeoutMs: z.ZodNumber;
257
+ }, z.core.$strict>, z.ZodObject<{
258
+ type: z.ZodLiteral<"element">;
259
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
260
+ enabled: z.ZodOptional<z.ZodBoolean>;
261
+ clickable: z.ZodOptional<z.ZodBoolean>;
262
+ absent: z.ZodOptional<z.ZodBoolean>;
263
+ packageName: z.ZodOptional<z.ZodString>;
264
+ timeoutMs: z.ZodNumber;
265
+ }, z.core.$strict>, z.ZodObject<{
266
+ type: z.ZodLiteral<"logcat">;
267
+ tag: z.ZodString;
268
+ level: z.ZodOptional<z.ZodEnum<{
269
+ V: "V";
270
+ D: "D";
271
+ I: "I";
272
+ W: "W";
273
+ E: "E";
274
+ F: "F";
275
+ A: "A";
276
+ }>>;
277
+ pattern: z.ZodString;
278
+ match: z.ZodDefault<z.ZodEnum<{
279
+ literal: "literal";
280
+ regex: "regex";
281
+ }>>;
282
+ packageName: z.ZodOptional<z.ZodString>;
283
+ timeoutMs: z.ZodNumber;
284
+ }, z.core.$strict>, z.ZodObject<{
285
+ type: z.ZodLiteral<"logcatEvent">;
286
+ tag: z.ZodString;
287
+ event: z.ZodString;
288
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
289
+ correlation: z.ZodOptional<z.ZodObject<{
290
+ key: z.ZodString;
291
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
292
+ }, z.core.$strict>>;
293
+ capture: z.ZodOptional<z.ZodObject<{
294
+ name: z.ZodString;
295
+ field: z.ZodOptional<z.ZodString>;
296
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
297
+ valueType: z.ZodEnum<{
298
+ string: "string";
299
+ integer: "integer";
300
+ identifier: "identifier";
301
+ }>;
302
+ }, z.core.$strict>>;
303
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
304
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
305
+ from: z.ZodLiteral<"stepStart">;
306
+ }, z.core.$strict>, z.ZodObject<{
307
+ from: z.ZodLiteral<"runStart">;
308
+ }, z.core.$strict>, z.ZodObject<{
309
+ from: z.ZodLiteral<"marker">;
310
+ markerId: z.ZodString;
311
+ }, z.core.$strict>], "from">>;
312
+ timeoutMs: z.ZodNumber;
313
+ }, z.core.$strict>], "type">>;
314
+ replayMode: z.ZodOptional<z.ZodEnum<{
315
+ auto: "auto";
316
+ manual: "manual";
317
+ }>>;
318
+ direction: z.ZodEnum<{
319
+ left: "left";
320
+ right: "right";
321
+ up: "up";
322
+ down: "down";
323
+ }>;
324
+ distancePercent: z.ZodDefault<z.ZodNumber>;
325
+ durationMs: z.ZodDefault<z.ZodNumber>;
326
+ anchor: z.ZodOptional<z.ZodString>;
327
+ locator: z.ZodOptional<z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>>;
328
+ action: z.ZodLiteral<"swipe">;
329
+ }, z.core.$strict>, z.ZodObject<{
330
+ device: z.ZodOptional<z.ZodString>;
331
+ activity: z.ZodObject<{
332
+ before: z.ZodString;
333
+ after: z.ZodString;
334
+ }, z.core.$strict>;
335
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
336
+ type: z.ZodLiteral<"activity">;
337
+ value: z.ZodString;
338
+ packageName: z.ZodOptional<z.ZodString>;
339
+ timeoutMs: z.ZodNumber;
340
+ }, z.core.$strict>, z.ZodObject<{
341
+ type: z.ZodLiteral<"element">;
342
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
343
+ enabled: z.ZodOptional<z.ZodBoolean>;
344
+ clickable: z.ZodOptional<z.ZodBoolean>;
345
+ absent: z.ZodOptional<z.ZodBoolean>;
346
+ packageName: z.ZodOptional<z.ZodString>;
347
+ timeoutMs: z.ZodNumber;
348
+ }, z.core.$strict>, z.ZodObject<{
349
+ type: z.ZodLiteral<"logcat">;
350
+ tag: z.ZodString;
351
+ level: z.ZodOptional<z.ZodEnum<{
352
+ V: "V";
353
+ D: "D";
354
+ I: "I";
355
+ W: "W";
356
+ E: "E";
357
+ F: "F";
358
+ A: "A";
359
+ }>>;
360
+ pattern: z.ZodString;
361
+ match: z.ZodDefault<z.ZodEnum<{
362
+ literal: "literal";
363
+ regex: "regex";
364
+ }>>;
365
+ packageName: z.ZodOptional<z.ZodString>;
366
+ timeoutMs: z.ZodNumber;
367
+ }, z.core.$strict>, z.ZodObject<{
368
+ type: z.ZodLiteral<"logcatEvent">;
369
+ tag: z.ZodString;
370
+ event: z.ZodString;
371
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
372
+ correlation: z.ZodOptional<z.ZodObject<{
373
+ key: z.ZodString;
374
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
375
+ }, z.core.$strict>>;
376
+ capture: z.ZodOptional<z.ZodObject<{
377
+ name: z.ZodString;
378
+ field: z.ZodOptional<z.ZodString>;
379
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
380
+ valueType: z.ZodEnum<{
381
+ string: "string";
382
+ integer: "integer";
383
+ identifier: "identifier";
384
+ }>;
385
+ }, z.core.$strict>>;
386
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
387
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
388
+ from: z.ZodLiteral<"stepStart">;
389
+ }, z.core.$strict>, z.ZodObject<{
390
+ from: z.ZodLiteral<"runStart">;
391
+ }, z.core.$strict>, z.ZodObject<{
392
+ from: z.ZodLiteral<"marker">;
393
+ markerId: z.ZodString;
394
+ }, z.core.$strict>], "from">>;
395
+ timeoutMs: z.ZodNumber;
396
+ }, z.core.$strict>], "type">>;
397
+ replayMode: z.ZodOptional<z.ZodEnum<{
398
+ auto: "auto";
399
+ manual: "manual";
400
+ }>>;
401
+ container: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
402
+ direction: z.ZodEnum<{
403
+ left: "left";
404
+ right: "right";
405
+ up: "up";
406
+ down: "down";
407
+ }>;
408
+ maxSwipes: z.ZodDefault<z.ZodNumber>;
409
+ distancePercent: z.ZodDefault<z.ZodNumber>;
410
+ durationMs: z.ZodDefault<z.ZodNumber>;
411
+ anchor: z.ZodOptional<z.ZodString>;
412
+ locator: z.ZodOptional<z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>>;
413
+ action: z.ZodLiteral<"scrollTo">;
414
+ }, z.core.$strict>, z.ZodObject<{
415
+ device: z.ZodOptional<z.ZodString>;
416
+ activity: z.ZodObject<{
417
+ before: z.ZodString;
418
+ after: z.ZodString;
419
+ }, z.core.$strict>;
420
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
421
+ type: z.ZodLiteral<"activity">;
422
+ value: z.ZodString;
423
+ packageName: z.ZodOptional<z.ZodString>;
424
+ timeoutMs: z.ZodNumber;
425
+ }, z.core.$strict>, z.ZodObject<{
426
+ type: z.ZodLiteral<"element">;
427
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
428
+ enabled: z.ZodOptional<z.ZodBoolean>;
429
+ clickable: z.ZodOptional<z.ZodBoolean>;
430
+ absent: z.ZodOptional<z.ZodBoolean>;
431
+ packageName: z.ZodOptional<z.ZodString>;
432
+ timeoutMs: z.ZodNumber;
433
+ }, z.core.$strict>, z.ZodObject<{
434
+ type: z.ZodLiteral<"logcat">;
435
+ tag: z.ZodString;
436
+ level: z.ZodOptional<z.ZodEnum<{
437
+ V: "V";
438
+ D: "D";
439
+ I: "I";
440
+ W: "W";
441
+ E: "E";
442
+ F: "F";
443
+ A: "A";
444
+ }>>;
445
+ pattern: z.ZodString;
446
+ match: z.ZodDefault<z.ZodEnum<{
447
+ literal: "literal";
448
+ regex: "regex";
449
+ }>>;
450
+ packageName: z.ZodOptional<z.ZodString>;
451
+ timeoutMs: z.ZodNumber;
452
+ }, z.core.$strict>, z.ZodObject<{
453
+ type: z.ZodLiteral<"logcatEvent">;
454
+ tag: z.ZodString;
455
+ event: z.ZodString;
456
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
457
+ correlation: z.ZodOptional<z.ZodObject<{
458
+ key: z.ZodString;
459
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
460
+ }, z.core.$strict>>;
461
+ capture: z.ZodOptional<z.ZodObject<{
462
+ name: z.ZodString;
463
+ field: z.ZodOptional<z.ZodString>;
464
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
465
+ valueType: z.ZodEnum<{
466
+ string: "string";
467
+ integer: "integer";
468
+ identifier: "identifier";
469
+ }>;
470
+ }, z.core.$strict>>;
471
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
472
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
473
+ from: z.ZodLiteral<"stepStart">;
474
+ }, z.core.$strict>, z.ZodObject<{
475
+ from: z.ZodLiteral<"runStart">;
476
+ }, z.core.$strict>, z.ZodObject<{
477
+ from: z.ZodLiteral<"marker">;
478
+ markerId: z.ZodString;
479
+ }, z.core.$strict>], "from">>;
480
+ timeoutMs: z.ZodNumber;
481
+ }, z.core.$strict>], "type">>;
482
+ replayMode: z.ZodOptional<z.ZodEnum<{
483
+ auto: "auto";
484
+ manual: "manual";
485
+ }>>;
486
+ action: z.ZodLiteral<"back">;
487
+ }, z.core.$strict>, z.ZodObject<{
488
+ device: z.ZodOptional<z.ZodString>;
489
+ activity: z.ZodObject<{
490
+ before: z.ZodString;
491
+ after: z.ZodString;
492
+ }, z.core.$strict>;
493
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
494
+ type: z.ZodLiteral<"activity">;
495
+ value: z.ZodString;
496
+ packageName: z.ZodOptional<z.ZodString>;
497
+ timeoutMs: z.ZodNumber;
498
+ }, z.core.$strict>, z.ZodObject<{
499
+ type: z.ZodLiteral<"element">;
500
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
501
+ enabled: z.ZodOptional<z.ZodBoolean>;
502
+ clickable: z.ZodOptional<z.ZodBoolean>;
503
+ absent: z.ZodOptional<z.ZodBoolean>;
504
+ packageName: z.ZodOptional<z.ZodString>;
505
+ timeoutMs: z.ZodNumber;
506
+ }, z.core.$strict>, z.ZodObject<{
507
+ type: z.ZodLiteral<"logcat">;
508
+ tag: z.ZodString;
509
+ level: z.ZodOptional<z.ZodEnum<{
510
+ V: "V";
511
+ D: "D";
512
+ I: "I";
513
+ W: "W";
514
+ E: "E";
515
+ F: "F";
516
+ A: "A";
517
+ }>>;
518
+ pattern: z.ZodString;
519
+ match: z.ZodDefault<z.ZodEnum<{
520
+ literal: "literal";
521
+ regex: "regex";
522
+ }>>;
523
+ packageName: z.ZodOptional<z.ZodString>;
524
+ timeoutMs: z.ZodNumber;
525
+ }, z.core.$strict>, z.ZodObject<{
526
+ type: z.ZodLiteral<"logcatEvent">;
527
+ tag: z.ZodString;
528
+ event: z.ZodString;
529
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
530
+ correlation: z.ZodOptional<z.ZodObject<{
531
+ key: z.ZodString;
532
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
533
+ }, z.core.$strict>>;
534
+ capture: z.ZodOptional<z.ZodObject<{
535
+ name: z.ZodString;
536
+ field: z.ZodOptional<z.ZodString>;
537
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
538
+ valueType: z.ZodEnum<{
539
+ string: "string";
540
+ integer: "integer";
541
+ identifier: "identifier";
542
+ }>;
543
+ }, z.core.$strict>>;
544
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
545
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
546
+ from: z.ZodLiteral<"stepStart">;
547
+ }, z.core.$strict>, z.ZodObject<{
548
+ from: z.ZodLiteral<"runStart">;
549
+ }, z.core.$strict>, z.ZodObject<{
550
+ from: z.ZodLiteral<"marker">;
551
+ markerId: z.ZodString;
552
+ }, z.core.$strict>], "from">>;
553
+ timeoutMs: z.ZodNumber;
554
+ }, z.core.$strict>], "type">>;
555
+ replayMode: z.ZodOptional<z.ZodEnum<{
556
+ auto: "auto";
557
+ manual: "manual";
558
+ }>>;
559
+ action: z.ZodLiteral<"wait">;
560
+ markerId: z.ZodOptional<z.ZodString>;
561
+ until: z.ZodOptional<z.ZodObject<{
562
+ element: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
563
+ }, z.core.$strict>>;
564
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
565
+ }, z.core.$strict>, z.ZodObject<{
566
+ replayMode: z.ZodDefault<z.ZodEnum<{
567
+ auto: "auto";
568
+ manual: "manual";
569
+ }>>;
570
+ device: z.ZodOptional<z.ZodString>;
571
+ activity: z.ZodObject<{
572
+ before: z.ZodString;
573
+ after: z.ZodString;
574
+ }, z.core.$strict>;
575
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
576
+ type: z.ZodLiteral<"activity">;
577
+ value: z.ZodString;
578
+ packageName: z.ZodOptional<z.ZodString>;
579
+ timeoutMs: z.ZodNumber;
580
+ }, z.core.$strict>, z.ZodObject<{
581
+ type: z.ZodLiteral<"element">;
582
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
583
+ enabled: z.ZodOptional<z.ZodBoolean>;
584
+ clickable: z.ZodOptional<z.ZodBoolean>;
585
+ absent: z.ZodOptional<z.ZodBoolean>;
586
+ packageName: z.ZodOptional<z.ZodString>;
587
+ timeoutMs: z.ZodNumber;
588
+ }, z.core.$strict>, z.ZodObject<{
589
+ type: z.ZodLiteral<"logcat">;
590
+ tag: z.ZodString;
591
+ level: z.ZodOptional<z.ZodEnum<{
592
+ V: "V";
593
+ D: "D";
594
+ I: "I";
595
+ W: "W";
596
+ E: "E";
597
+ F: "F";
598
+ A: "A";
599
+ }>>;
600
+ pattern: z.ZodString;
601
+ match: z.ZodDefault<z.ZodEnum<{
602
+ literal: "literal";
603
+ regex: "regex";
604
+ }>>;
605
+ packageName: z.ZodOptional<z.ZodString>;
606
+ timeoutMs: z.ZodNumber;
607
+ }, z.core.$strict>, z.ZodObject<{
608
+ type: z.ZodLiteral<"logcatEvent">;
609
+ tag: z.ZodString;
610
+ event: z.ZodString;
611
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
612
+ correlation: z.ZodOptional<z.ZodObject<{
613
+ key: z.ZodString;
614
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
615
+ }, z.core.$strict>>;
616
+ capture: z.ZodOptional<z.ZodObject<{
617
+ name: z.ZodString;
618
+ field: z.ZodOptional<z.ZodString>;
619
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
620
+ valueType: z.ZodEnum<{
621
+ string: "string";
622
+ integer: "integer";
623
+ identifier: "identifier";
624
+ }>;
625
+ }, z.core.$strict>>;
626
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
627
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
628
+ from: z.ZodLiteral<"stepStart">;
629
+ }, z.core.$strict>, z.ZodObject<{
630
+ from: z.ZodLiteral<"runStart">;
631
+ }, z.core.$strict>, z.ZodObject<{
632
+ from: z.ZodLiteral<"marker">;
633
+ markerId: z.ZodString;
634
+ }, z.core.$strict>], "from">>;
635
+ timeoutMs: z.ZodNumber;
636
+ }, z.core.$strict>], "type">>;
637
+ action: z.ZodLiteral<"bridge">;
638
+ scenario: z.ZodEnum<{
639
+ custom: "custom";
640
+ photoCapture: "photoCapture";
641
+ pickImage: "pickImage";
642
+ pickFile: "pickFile";
643
+ }>;
644
+ description: z.ZodString;
645
+ triggerLocator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
646
+ escapedPackageName: z.ZodOptional<z.ZodString>;
647
+ returnTimeoutMs: z.ZodNumber;
648
+ flow: z.ZodOptional<z.ZodString>;
649
+ externalSteps: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
650
+ expectedActivity: z.ZodString;
651
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
652
+ type: z.ZodLiteral<"activity">;
653
+ value: z.ZodString;
654
+ packageName: z.ZodOptional<z.ZodString>;
655
+ timeoutMs: z.ZodNumber;
656
+ }, z.core.$strict>, z.ZodObject<{
657
+ type: z.ZodLiteral<"element">;
658
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
659
+ enabled: z.ZodOptional<z.ZodBoolean>;
660
+ clickable: z.ZodOptional<z.ZodBoolean>;
661
+ absent: z.ZodOptional<z.ZodBoolean>;
662
+ packageName: z.ZodOptional<z.ZodString>;
663
+ timeoutMs: z.ZodNumber;
664
+ }, z.core.$strict>, z.ZodObject<{
665
+ type: z.ZodLiteral<"logcat">;
666
+ tag: z.ZodString;
667
+ level: z.ZodOptional<z.ZodEnum<{
668
+ V: "V";
669
+ D: "D";
670
+ I: "I";
671
+ W: "W";
672
+ E: "E";
673
+ F: "F";
674
+ A: "A";
675
+ }>>;
676
+ pattern: z.ZodString;
677
+ match: z.ZodDefault<z.ZodEnum<{
678
+ literal: "literal";
679
+ regex: "regex";
680
+ }>>;
681
+ packageName: z.ZodOptional<z.ZodString>;
682
+ timeoutMs: z.ZodNumber;
683
+ }, z.core.$strict>, z.ZodObject<{
684
+ type: z.ZodLiteral<"logcatEvent">;
685
+ tag: z.ZodString;
686
+ event: z.ZodString;
687
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
688
+ correlation: z.ZodOptional<z.ZodObject<{
689
+ key: z.ZodString;
690
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
691
+ }, z.core.$strict>>;
692
+ capture: z.ZodOptional<z.ZodObject<{
693
+ name: z.ZodString;
694
+ field: z.ZodOptional<z.ZodString>;
695
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
696
+ valueType: z.ZodEnum<{
697
+ string: "string";
698
+ integer: "integer";
699
+ identifier: "identifier";
700
+ }>;
701
+ }, z.core.$strict>>;
702
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
703
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
704
+ from: z.ZodLiteral<"stepStart">;
705
+ }, z.core.$strict>, z.ZodObject<{
706
+ from: z.ZodLiteral<"runStart">;
707
+ }, z.core.$strict>, z.ZodObject<{
708
+ from: z.ZodLiteral<"marker">;
709
+ markerId: z.ZodString;
710
+ }, z.core.$strict>], "from">>;
711
+ timeoutMs: z.ZodNumber;
712
+ }, z.core.$strict>], "type">>;
713
+ action: z.ZodLiteral<"click">;
714
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
715
+ }, z.core.$strict>, z.ZodObject<{
716
+ expectedActivity: z.ZodString;
717
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
718
+ type: z.ZodLiteral<"activity">;
719
+ value: z.ZodString;
720
+ packageName: z.ZodOptional<z.ZodString>;
721
+ timeoutMs: z.ZodNumber;
722
+ }, z.core.$strict>, z.ZodObject<{
723
+ type: z.ZodLiteral<"element">;
724
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
725
+ enabled: z.ZodOptional<z.ZodBoolean>;
726
+ clickable: z.ZodOptional<z.ZodBoolean>;
727
+ absent: z.ZodOptional<z.ZodBoolean>;
728
+ packageName: z.ZodOptional<z.ZodString>;
729
+ timeoutMs: z.ZodNumber;
730
+ }, z.core.$strict>, z.ZodObject<{
731
+ type: z.ZodLiteral<"logcat">;
732
+ tag: z.ZodString;
733
+ level: z.ZodOptional<z.ZodEnum<{
734
+ V: "V";
735
+ D: "D";
736
+ I: "I";
737
+ W: "W";
738
+ E: "E";
739
+ F: "F";
740
+ A: "A";
741
+ }>>;
742
+ pattern: z.ZodString;
743
+ match: z.ZodDefault<z.ZodEnum<{
744
+ literal: "literal";
745
+ regex: "regex";
746
+ }>>;
747
+ packageName: z.ZodOptional<z.ZodString>;
748
+ timeoutMs: z.ZodNumber;
749
+ }, z.core.$strict>, z.ZodObject<{
750
+ type: z.ZodLiteral<"logcatEvent">;
751
+ tag: z.ZodString;
752
+ event: z.ZodString;
753
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
754
+ correlation: z.ZodOptional<z.ZodObject<{
755
+ key: z.ZodString;
756
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
757
+ }, z.core.$strict>>;
758
+ capture: z.ZodOptional<z.ZodObject<{
759
+ name: z.ZodString;
760
+ field: z.ZodOptional<z.ZodString>;
761
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
762
+ valueType: z.ZodEnum<{
763
+ string: "string";
764
+ integer: "integer";
765
+ identifier: "identifier";
766
+ }>;
767
+ }, z.core.$strict>>;
768
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
769
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
770
+ from: z.ZodLiteral<"stepStart">;
771
+ }, z.core.$strict>, z.ZodObject<{
772
+ from: z.ZodLiteral<"runStart">;
773
+ }, z.core.$strict>, z.ZodObject<{
774
+ from: z.ZodLiteral<"marker">;
775
+ markerId: z.ZodString;
776
+ }, z.core.$strict>], "from">>;
777
+ timeoutMs: z.ZodNumber;
778
+ }, z.core.$strict>], "type">>;
779
+ action: z.ZodLiteral<"longClick">;
780
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
781
+ durationMs: z.ZodDefault<z.ZodNumber>;
782
+ }, z.core.$strict>, z.ZodObject<{
783
+ expectedActivity: z.ZodString;
784
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
785
+ type: z.ZodLiteral<"activity">;
786
+ value: z.ZodString;
787
+ packageName: z.ZodOptional<z.ZodString>;
788
+ timeoutMs: z.ZodNumber;
789
+ }, z.core.$strict>, z.ZodObject<{
790
+ type: z.ZodLiteral<"element">;
791
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
792
+ enabled: z.ZodOptional<z.ZodBoolean>;
793
+ clickable: z.ZodOptional<z.ZodBoolean>;
794
+ absent: z.ZodOptional<z.ZodBoolean>;
795
+ packageName: z.ZodOptional<z.ZodString>;
796
+ timeoutMs: z.ZodNumber;
797
+ }, z.core.$strict>, z.ZodObject<{
798
+ type: z.ZodLiteral<"logcat">;
799
+ tag: z.ZodString;
800
+ level: z.ZodOptional<z.ZodEnum<{
801
+ V: "V";
802
+ D: "D";
803
+ I: "I";
804
+ W: "W";
805
+ E: "E";
806
+ F: "F";
807
+ A: "A";
808
+ }>>;
809
+ pattern: z.ZodString;
810
+ match: z.ZodDefault<z.ZodEnum<{
811
+ literal: "literal";
812
+ regex: "regex";
813
+ }>>;
814
+ packageName: z.ZodOptional<z.ZodString>;
815
+ timeoutMs: z.ZodNumber;
816
+ }, z.core.$strict>, z.ZodObject<{
817
+ type: z.ZodLiteral<"logcatEvent">;
818
+ tag: z.ZodString;
819
+ event: z.ZodString;
820
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
821
+ correlation: z.ZodOptional<z.ZodObject<{
822
+ key: z.ZodString;
823
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
824
+ }, z.core.$strict>>;
825
+ capture: z.ZodOptional<z.ZodObject<{
826
+ name: z.ZodString;
827
+ field: z.ZodOptional<z.ZodString>;
828
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
829
+ valueType: z.ZodEnum<{
830
+ string: "string";
831
+ integer: "integer";
832
+ identifier: "identifier";
833
+ }>;
834
+ }, z.core.$strict>>;
835
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
836
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
837
+ from: z.ZodLiteral<"stepStart">;
838
+ }, z.core.$strict>, z.ZodObject<{
839
+ from: z.ZodLiteral<"runStart">;
840
+ }, z.core.$strict>, z.ZodObject<{
841
+ from: z.ZodLiteral<"marker">;
842
+ markerId: z.ZodString;
843
+ }, z.core.$strict>], "from">>;
844
+ timeoutMs: z.ZodNumber;
845
+ }, z.core.$strict>], "type">>;
846
+ action: z.ZodLiteral<"inputText">;
847
+ text: z.ZodString;
848
+ }, z.core.$strict>, z.ZodObject<{
849
+ expectedActivity: z.ZodString;
850
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
851
+ type: z.ZodLiteral<"activity">;
852
+ value: z.ZodString;
853
+ packageName: z.ZodOptional<z.ZodString>;
854
+ timeoutMs: z.ZodNumber;
855
+ }, z.core.$strict>, z.ZodObject<{
856
+ type: z.ZodLiteral<"element">;
857
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
858
+ enabled: z.ZodOptional<z.ZodBoolean>;
859
+ clickable: z.ZodOptional<z.ZodBoolean>;
860
+ absent: z.ZodOptional<z.ZodBoolean>;
861
+ packageName: z.ZodOptional<z.ZodString>;
862
+ timeoutMs: z.ZodNumber;
863
+ }, z.core.$strict>, z.ZodObject<{
864
+ type: z.ZodLiteral<"logcat">;
865
+ tag: z.ZodString;
866
+ level: z.ZodOptional<z.ZodEnum<{
867
+ V: "V";
868
+ D: "D";
869
+ I: "I";
870
+ W: "W";
871
+ E: "E";
872
+ F: "F";
873
+ A: "A";
874
+ }>>;
875
+ pattern: z.ZodString;
876
+ match: z.ZodDefault<z.ZodEnum<{
877
+ literal: "literal";
878
+ regex: "regex";
879
+ }>>;
880
+ packageName: z.ZodOptional<z.ZodString>;
881
+ timeoutMs: z.ZodNumber;
882
+ }, z.core.$strict>, z.ZodObject<{
883
+ type: z.ZodLiteral<"logcatEvent">;
884
+ tag: z.ZodString;
885
+ event: z.ZodString;
886
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
887
+ correlation: z.ZodOptional<z.ZodObject<{
888
+ key: z.ZodString;
889
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
890
+ }, z.core.$strict>>;
891
+ capture: z.ZodOptional<z.ZodObject<{
892
+ name: z.ZodString;
893
+ field: z.ZodOptional<z.ZodString>;
894
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
895
+ valueType: z.ZodEnum<{
896
+ string: "string";
897
+ integer: "integer";
898
+ identifier: "identifier";
899
+ }>;
900
+ }, z.core.$strict>>;
901
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
902
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
903
+ from: z.ZodLiteral<"stepStart">;
904
+ }, z.core.$strict>, z.ZodObject<{
905
+ from: z.ZodLiteral<"runStart">;
906
+ }, z.core.$strict>, z.ZodObject<{
907
+ from: z.ZodLiteral<"marker">;
908
+ markerId: z.ZodString;
909
+ }, z.core.$strict>], "from">>;
910
+ timeoutMs: z.ZodNumber;
911
+ }, z.core.$strict>], "type">>;
912
+ action: z.ZodLiteral<"swipe">;
913
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
914
+ direction: z.ZodEnum<{
915
+ left: "left";
916
+ right: "right";
917
+ up: "up";
918
+ down: "down";
919
+ }>;
920
+ distancePercent: z.ZodDefault<z.ZodNumber>;
921
+ durationMs: z.ZodDefault<z.ZodNumber>;
922
+ }, z.core.$strict>, z.ZodObject<{
923
+ expectedActivity: z.ZodString;
924
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
925
+ type: z.ZodLiteral<"activity">;
926
+ value: z.ZodString;
927
+ packageName: z.ZodOptional<z.ZodString>;
928
+ timeoutMs: z.ZodNumber;
929
+ }, z.core.$strict>, z.ZodObject<{
930
+ type: z.ZodLiteral<"element">;
931
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
932
+ enabled: z.ZodOptional<z.ZodBoolean>;
933
+ clickable: z.ZodOptional<z.ZodBoolean>;
934
+ absent: z.ZodOptional<z.ZodBoolean>;
935
+ packageName: z.ZodOptional<z.ZodString>;
936
+ timeoutMs: z.ZodNumber;
937
+ }, z.core.$strict>, z.ZodObject<{
938
+ type: z.ZodLiteral<"logcat">;
939
+ tag: z.ZodString;
940
+ level: z.ZodOptional<z.ZodEnum<{
941
+ V: "V";
942
+ D: "D";
943
+ I: "I";
944
+ W: "W";
945
+ E: "E";
946
+ F: "F";
947
+ A: "A";
948
+ }>>;
949
+ pattern: z.ZodString;
950
+ match: z.ZodDefault<z.ZodEnum<{
951
+ literal: "literal";
952
+ regex: "regex";
953
+ }>>;
954
+ packageName: z.ZodOptional<z.ZodString>;
955
+ timeoutMs: z.ZodNumber;
956
+ }, z.core.$strict>, z.ZodObject<{
957
+ type: z.ZodLiteral<"logcatEvent">;
958
+ tag: z.ZodString;
959
+ event: z.ZodString;
960
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
961
+ correlation: z.ZodOptional<z.ZodObject<{
962
+ key: z.ZodString;
963
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
964
+ }, z.core.$strict>>;
965
+ capture: z.ZodOptional<z.ZodObject<{
966
+ name: z.ZodString;
967
+ field: z.ZodOptional<z.ZodString>;
968
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
969
+ valueType: z.ZodEnum<{
970
+ string: "string";
971
+ integer: "integer";
972
+ identifier: "identifier";
973
+ }>;
974
+ }, z.core.$strict>>;
975
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
976
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
977
+ from: z.ZodLiteral<"stepStart">;
978
+ }, z.core.$strict>, z.ZodObject<{
979
+ from: z.ZodLiteral<"runStart">;
980
+ }, z.core.$strict>, z.ZodObject<{
981
+ from: z.ZodLiteral<"marker">;
982
+ markerId: z.ZodString;
983
+ }, z.core.$strict>], "from">>;
984
+ timeoutMs: z.ZodNumber;
985
+ }, z.core.$strict>], "type">>;
986
+ action: z.ZodLiteral<"scrollTo">;
987
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
988
+ container: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
989
+ direction: z.ZodEnum<{
990
+ left: "left";
991
+ right: "right";
992
+ up: "up";
993
+ down: "down";
994
+ }>;
995
+ maxSwipes: z.ZodDefault<z.ZodNumber>;
996
+ distancePercent: z.ZodDefault<z.ZodNumber>;
997
+ durationMs: z.ZodDefault<z.ZodNumber>;
998
+ }, z.core.$strict>, z.ZodObject<{
999
+ expectedActivity: z.ZodString;
1000
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1001
+ type: z.ZodLiteral<"activity">;
1002
+ value: z.ZodString;
1003
+ packageName: z.ZodOptional<z.ZodString>;
1004
+ timeoutMs: z.ZodNumber;
1005
+ }, z.core.$strict>, z.ZodObject<{
1006
+ type: z.ZodLiteral<"element">;
1007
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1008
+ enabled: z.ZodOptional<z.ZodBoolean>;
1009
+ clickable: z.ZodOptional<z.ZodBoolean>;
1010
+ absent: z.ZodOptional<z.ZodBoolean>;
1011
+ packageName: z.ZodOptional<z.ZodString>;
1012
+ timeoutMs: z.ZodNumber;
1013
+ }, z.core.$strict>, z.ZodObject<{
1014
+ type: z.ZodLiteral<"logcat">;
1015
+ tag: z.ZodString;
1016
+ level: z.ZodOptional<z.ZodEnum<{
1017
+ V: "V";
1018
+ D: "D";
1019
+ I: "I";
1020
+ W: "W";
1021
+ E: "E";
1022
+ F: "F";
1023
+ A: "A";
1024
+ }>>;
1025
+ pattern: z.ZodString;
1026
+ match: z.ZodDefault<z.ZodEnum<{
1027
+ literal: "literal";
1028
+ regex: "regex";
1029
+ }>>;
1030
+ packageName: z.ZodOptional<z.ZodString>;
1031
+ timeoutMs: z.ZodNumber;
1032
+ }, z.core.$strict>, z.ZodObject<{
1033
+ type: z.ZodLiteral<"logcatEvent">;
1034
+ tag: z.ZodString;
1035
+ event: z.ZodString;
1036
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1037
+ correlation: z.ZodOptional<z.ZodObject<{
1038
+ key: z.ZodString;
1039
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1040
+ }, z.core.$strict>>;
1041
+ capture: z.ZodOptional<z.ZodObject<{
1042
+ name: z.ZodString;
1043
+ field: z.ZodOptional<z.ZodString>;
1044
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1045
+ valueType: z.ZodEnum<{
1046
+ string: "string";
1047
+ integer: "integer";
1048
+ identifier: "identifier";
1049
+ }>;
1050
+ }, z.core.$strict>>;
1051
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1052
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1053
+ from: z.ZodLiteral<"stepStart">;
1054
+ }, z.core.$strict>, z.ZodObject<{
1055
+ from: z.ZodLiteral<"runStart">;
1056
+ }, z.core.$strict>, z.ZodObject<{
1057
+ from: z.ZodLiteral<"marker">;
1058
+ markerId: z.ZodString;
1059
+ }, z.core.$strict>], "from">>;
1060
+ timeoutMs: z.ZodNumber;
1061
+ }, z.core.$strict>], "type">>;
1062
+ action: z.ZodLiteral<"back">;
1063
+ }, z.core.$strict>, z.ZodObject<{
1064
+ expectedActivity: z.ZodString;
1065
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1066
+ type: z.ZodLiteral<"activity">;
1067
+ value: z.ZodString;
1068
+ packageName: z.ZodOptional<z.ZodString>;
1069
+ timeoutMs: z.ZodNumber;
1070
+ }, z.core.$strict>, z.ZodObject<{
1071
+ type: z.ZodLiteral<"element">;
1072
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1073
+ enabled: z.ZodOptional<z.ZodBoolean>;
1074
+ clickable: z.ZodOptional<z.ZodBoolean>;
1075
+ absent: z.ZodOptional<z.ZodBoolean>;
1076
+ packageName: z.ZodOptional<z.ZodString>;
1077
+ timeoutMs: z.ZodNumber;
1078
+ }, z.core.$strict>, z.ZodObject<{
1079
+ type: z.ZodLiteral<"logcat">;
1080
+ tag: z.ZodString;
1081
+ level: z.ZodOptional<z.ZodEnum<{
1082
+ V: "V";
1083
+ D: "D";
1084
+ I: "I";
1085
+ W: "W";
1086
+ E: "E";
1087
+ F: "F";
1088
+ A: "A";
1089
+ }>>;
1090
+ pattern: z.ZodString;
1091
+ match: z.ZodDefault<z.ZodEnum<{
1092
+ literal: "literal";
1093
+ regex: "regex";
1094
+ }>>;
1095
+ packageName: z.ZodOptional<z.ZodString>;
1096
+ timeoutMs: z.ZodNumber;
1097
+ }, z.core.$strict>, z.ZodObject<{
1098
+ type: z.ZodLiteral<"logcatEvent">;
1099
+ tag: z.ZodString;
1100
+ event: z.ZodString;
1101
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1102
+ correlation: z.ZodOptional<z.ZodObject<{
1103
+ key: z.ZodString;
1104
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1105
+ }, z.core.$strict>>;
1106
+ capture: z.ZodOptional<z.ZodObject<{
1107
+ name: z.ZodString;
1108
+ field: z.ZodOptional<z.ZodString>;
1109
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1110
+ valueType: z.ZodEnum<{
1111
+ string: "string";
1112
+ integer: "integer";
1113
+ identifier: "identifier";
1114
+ }>;
1115
+ }, z.core.$strict>>;
1116
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1117
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1118
+ from: z.ZodLiteral<"stepStart">;
1119
+ }, z.core.$strict>, z.ZodObject<{
1120
+ from: z.ZodLiteral<"runStart">;
1121
+ }, z.core.$strict>, z.ZodObject<{
1122
+ from: z.ZodLiteral<"marker">;
1123
+ markerId: z.ZodString;
1124
+ }, z.core.$strict>], "from">>;
1125
+ timeoutMs: z.ZodNumber;
1126
+ }, z.core.$strict>], "type">>;
1127
+ action: z.ZodLiteral<"wait">;
1128
+ }, z.core.$strict>], "action">>>;
1129
+ escapeTimeoutMs: z.ZodOptional<z.ZodNumber>;
1130
+ }, z.core.$strict>], "action">>;
1131
+ }, z.core.$strict>;
1132
+ export declare const JourneySourceSchema: z.ZodObject<{
1133
+ version: z.ZodLiteral<1>;
1134
+ kind: z.ZodLiteral<"journeySource">;
1135
+ name: z.ZodString;
1136
+ includes: z.ZodArray<z.ZodString>;
1137
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1138
+ device: z.ZodOptional<z.ZodString>;
1139
+ activity: z.ZodObject<{
1140
+ before: z.ZodString;
1141
+ after: z.ZodString;
1142
+ }, z.core.$strict>;
1143
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1144
+ type: z.ZodLiteral<"activity">;
1145
+ value: z.ZodString;
1146
+ packageName: z.ZodOptional<z.ZodString>;
1147
+ timeoutMs: z.ZodNumber;
1148
+ }, z.core.$strict>, z.ZodObject<{
1149
+ type: z.ZodLiteral<"element">;
1150
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1151
+ enabled: z.ZodOptional<z.ZodBoolean>;
1152
+ clickable: z.ZodOptional<z.ZodBoolean>;
1153
+ absent: z.ZodOptional<z.ZodBoolean>;
1154
+ packageName: z.ZodOptional<z.ZodString>;
1155
+ timeoutMs: z.ZodNumber;
1156
+ }, z.core.$strict>, z.ZodObject<{
1157
+ type: z.ZodLiteral<"logcat">;
1158
+ tag: z.ZodString;
1159
+ level: z.ZodOptional<z.ZodEnum<{
1160
+ V: "V";
1161
+ D: "D";
1162
+ I: "I";
1163
+ W: "W";
1164
+ E: "E";
1165
+ F: "F";
1166
+ A: "A";
1167
+ }>>;
1168
+ pattern: z.ZodString;
1169
+ match: z.ZodDefault<z.ZodEnum<{
1170
+ literal: "literal";
1171
+ regex: "regex";
1172
+ }>>;
1173
+ packageName: z.ZodOptional<z.ZodString>;
1174
+ timeoutMs: z.ZodNumber;
1175
+ }, z.core.$strict>, z.ZodObject<{
1176
+ type: z.ZodLiteral<"logcatEvent">;
1177
+ tag: z.ZodString;
1178
+ event: z.ZodString;
1179
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1180
+ correlation: z.ZodOptional<z.ZodObject<{
1181
+ key: z.ZodString;
1182
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1183
+ }, z.core.$strict>>;
1184
+ capture: z.ZodOptional<z.ZodObject<{
1185
+ name: z.ZodString;
1186
+ field: z.ZodOptional<z.ZodString>;
1187
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1188
+ valueType: z.ZodEnum<{
1189
+ string: "string";
1190
+ integer: "integer";
1191
+ identifier: "identifier";
1192
+ }>;
1193
+ }, z.core.$strict>>;
1194
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1195
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1196
+ from: z.ZodLiteral<"stepStart">;
1197
+ }, z.core.$strict>, z.ZodObject<{
1198
+ from: z.ZodLiteral<"runStart">;
1199
+ }, z.core.$strict>, z.ZodObject<{
1200
+ from: z.ZodLiteral<"marker">;
1201
+ markerId: z.ZodString;
1202
+ }, z.core.$strict>], "from">>;
1203
+ timeoutMs: z.ZodNumber;
1204
+ }, z.core.$strict>], "type">>;
1205
+ replayMode: z.ZodOptional<z.ZodEnum<{
1206
+ auto: "auto";
1207
+ manual: "manual";
1208
+ }>>;
1209
+ fallback: z.ZodOptional<z.ZodObject<{
1210
+ type: z.ZodLiteral<"annotatedLabel">;
1211
+ label: z.ZodString;
1212
+ }, z.core.$strict>>;
1213
+ anchor: z.ZodOptional<z.ZodString>;
1214
+ locator: z.ZodOptional<z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>>;
1215
+ action: z.ZodLiteral<"click">;
1216
+ }, z.core.$strict>, z.ZodObject<{
1217
+ device: z.ZodOptional<z.ZodString>;
1218
+ activity: z.ZodObject<{
1219
+ before: z.ZodString;
1220
+ after: z.ZodString;
1221
+ }, z.core.$strict>;
1222
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1223
+ type: z.ZodLiteral<"activity">;
1224
+ value: z.ZodString;
1225
+ packageName: z.ZodOptional<z.ZodString>;
1226
+ timeoutMs: z.ZodNumber;
1227
+ }, z.core.$strict>, z.ZodObject<{
1228
+ type: z.ZodLiteral<"element">;
1229
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1230
+ enabled: z.ZodOptional<z.ZodBoolean>;
1231
+ clickable: z.ZodOptional<z.ZodBoolean>;
1232
+ absent: z.ZodOptional<z.ZodBoolean>;
1233
+ packageName: z.ZodOptional<z.ZodString>;
1234
+ timeoutMs: z.ZodNumber;
1235
+ }, z.core.$strict>, z.ZodObject<{
1236
+ type: z.ZodLiteral<"logcat">;
1237
+ tag: z.ZodString;
1238
+ level: z.ZodOptional<z.ZodEnum<{
1239
+ V: "V";
1240
+ D: "D";
1241
+ I: "I";
1242
+ W: "W";
1243
+ E: "E";
1244
+ F: "F";
1245
+ A: "A";
1246
+ }>>;
1247
+ pattern: z.ZodString;
1248
+ match: z.ZodDefault<z.ZodEnum<{
1249
+ literal: "literal";
1250
+ regex: "regex";
1251
+ }>>;
1252
+ packageName: z.ZodOptional<z.ZodString>;
1253
+ timeoutMs: z.ZodNumber;
1254
+ }, z.core.$strict>, z.ZodObject<{
1255
+ type: z.ZodLiteral<"logcatEvent">;
1256
+ tag: z.ZodString;
1257
+ event: z.ZodString;
1258
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1259
+ correlation: z.ZodOptional<z.ZodObject<{
1260
+ key: z.ZodString;
1261
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1262
+ }, z.core.$strict>>;
1263
+ capture: z.ZodOptional<z.ZodObject<{
1264
+ name: z.ZodString;
1265
+ field: z.ZodOptional<z.ZodString>;
1266
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1267
+ valueType: z.ZodEnum<{
1268
+ string: "string";
1269
+ integer: "integer";
1270
+ identifier: "identifier";
1271
+ }>;
1272
+ }, z.core.$strict>>;
1273
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1274
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1275
+ from: z.ZodLiteral<"stepStart">;
1276
+ }, z.core.$strict>, z.ZodObject<{
1277
+ from: z.ZodLiteral<"runStart">;
1278
+ }, z.core.$strict>, z.ZodObject<{
1279
+ from: z.ZodLiteral<"marker">;
1280
+ markerId: z.ZodString;
1281
+ }, z.core.$strict>], "from">>;
1282
+ timeoutMs: z.ZodNumber;
1283
+ }, z.core.$strict>], "type">>;
1284
+ replayMode: z.ZodOptional<z.ZodEnum<{
1285
+ auto: "auto";
1286
+ manual: "manual";
1287
+ }>>;
1288
+ durationMs: z.ZodDefault<z.ZodNumber>;
1289
+ fallback: z.ZodOptional<z.ZodObject<{
1290
+ type: z.ZodLiteral<"annotatedLabel">;
1291
+ label: z.ZodString;
1292
+ }, z.core.$strict>>;
1293
+ anchor: z.ZodOptional<z.ZodString>;
1294
+ locator: z.ZodOptional<z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>>;
1295
+ action: z.ZodLiteral<"longClick">;
1296
+ }, z.core.$strict>, z.ZodObject<{
1297
+ device: z.ZodOptional<z.ZodString>;
1298
+ activity: z.ZodObject<{
1299
+ before: z.ZodString;
1300
+ after: z.ZodString;
1301
+ }, z.core.$strict>;
1302
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1303
+ type: z.ZodLiteral<"activity">;
1304
+ value: z.ZodString;
1305
+ packageName: z.ZodOptional<z.ZodString>;
1306
+ timeoutMs: z.ZodNumber;
1307
+ }, z.core.$strict>, z.ZodObject<{
1308
+ type: z.ZodLiteral<"element">;
1309
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1310
+ enabled: z.ZodOptional<z.ZodBoolean>;
1311
+ clickable: z.ZodOptional<z.ZodBoolean>;
1312
+ absent: z.ZodOptional<z.ZodBoolean>;
1313
+ packageName: z.ZodOptional<z.ZodString>;
1314
+ timeoutMs: z.ZodNumber;
1315
+ }, z.core.$strict>, z.ZodObject<{
1316
+ type: z.ZodLiteral<"logcat">;
1317
+ tag: z.ZodString;
1318
+ level: z.ZodOptional<z.ZodEnum<{
1319
+ V: "V";
1320
+ D: "D";
1321
+ I: "I";
1322
+ W: "W";
1323
+ E: "E";
1324
+ F: "F";
1325
+ A: "A";
1326
+ }>>;
1327
+ pattern: z.ZodString;
1328
+ match: z.ZodDefault<z.ZodEnum<{
1329
+ literal: "literal";
1330
+ regex: "regex";
1331
+ }>>;
1332
+ packageName: z.ZodOptional<z.ZodString>;
1333
+ timeoutMs: z.ZodNumber;
1334
+ }, z.core.$strict>, z.ZodObject<{
1335
+ type: z.ZodLiteral<"logcatEvent">;
1336
+ tag: z.ZodString;
1337
+ event: z.ZodString;
1338
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1339
+ correlation: z.ZodOptional<z.ZodObject<{
1340
+ key: z.ZodString;
1341
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1342
+ }, z.core.$strict>>;
1343
+ capture: z.ZodOptional<z.ZodObject<{
1344
+ name: z.ZodString;
1345
+ field: z.ZodOptional<z.ZodString>;
1346
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1347
+ valueType: z.ZodEnum<{
1348
+ string: "string";
1349
+ integer: "integer";
1350
+ identifier: "identifier";
1351
+ }>;
1352
+ }, z.core.$strict>>;
1353
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1354
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1355
+ from: z.ZodLiteral<"stepStart">;
1356
+ }, z.core.$strict>, z.ZodObject<{
1357
+ from: z.ZodLiteral<"runStart">;
1358
+ }, z.core.$strict>, z.ZodObject<{
1359
+ from: z.ZodLiteral<"marker">;
1360
+ markerId: z.ZodString;
1361
+ }, z.core.$strict>], "from">>;
1362
+ timeoutMs: z.ZodNumber;
1363
+ }, z.core.$strict>], "type">>;
1364
+ replayMode: z.ZodOptional<z.ZodEnum<{
1365
+ auto: "auto";
1366
+ manual: "manual";
1367
+ }>>;
1368
+ action: z.ZodLiteral<"inputText">;
1369
+ text: z.ZodString;
1370
+ anchor: z.ZodOptional<z.ZodString>;
1371
+ }, z.core.$strict>, z.ZodObject<{
1372
+ device: z.ZodOptional<z.ZodString>;
1373
+ activity: z.ZodObject<{
1374
+ before: z.ZodString;
1375
+ after: z.ZodString;
1376
+ }, z.core.$strict>;
1377
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1378
+ type: z.ZodLiteral<"activity">;
1379
+ value: z.ZodString;
1380
+ packageName: z.ZodOptional<z.ZodString>;
1381
+ timeoutMs: z.ZodNumber;
1382
+ }, z.core.$strict>, z.ZodObject<{
1383
+ type: z.ZodLiteral<"element">;
1384
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1385
+ enabled: z.ZodOptional<z.ZodBoolean>;
1386
+ clickable: z.ZodOptional<z.ZodBoolean>;
1387
+ absent: z.ZodOptional<z.ZodBoolean>;
1388
+ packageName: z.ZodOptional<z.ZodString>;
1389
+ timeoutMs: z.ZodNumber;
1390
+ }, z.core.$strict>, z.ZodObject<{
1391
+ type: z.ZodLiteral<"logcat">;
1392
+ tag: z.ZodString;
1393
+ level: z.ZodOptional<z.ZodEnum<{
1394
+ V: "V";
1395
+ D: "D";
1396
+ I: "I";
1397
+ W: "W";
1398
+ E: "E";
1399
+ F: "F";
1400
+ A: "A";
1401
+ }>>;
1402
+ pattern: z.ZodString;
1403
+ match: z.ZodDefault<z.ZodEnum<{
1404
+ literal: "literal";
1405
+ regex: "regex";
1406
+ }>>;
1407
+ packageName: z.ZodOptional<z.ZodString>;
1408
+ timeoutMs: z.ZodNumber;
1409
+ }, z.core.$strict>, z.ZodObject<{
1410
+ type: z.ZodLiteral<"logcatEvent">;
1411
+ tag: z.ZodString;
1412
+ event: z.ZodString;
1413
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1414
+ correlation: z.ZodOptional<z.ZodObject<{
1415
+ key: z.ZodString;
1416
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1417
+ }, z.core.$strict>>;
1418
+ capture: z.ZodOptional<z.ZodObject<{
1419
+ name: z.ZodString;
1420
+ field: z.ZodOptional<z.ZodString>;
1421
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1422
+ valueType: z.ZodEnum<{
1423
+ string: "string";
1424
+ integer: "integer";
1425
+ identifier: "identifier";
1426
+ }>;
1427
+ }, z.core.$strict>>;
1428
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1429
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1430
+ from: z.ZodLiteral<"stepStart">;
1431
+ }, z.core.$strict>, z.ZodObject<{
1432
+ from: z.ZodLiteral<"runStart">;
1433
+ }, z.core.$strict>, z.ZodObject<{
1434
+ from: z.ZodLiteral<"marker">;
1435
+ markerId: z.ZodString;
1436
+ }, z.core.$strict>], "from">>;
1437
+ timeoutMs: z.ZodNumber;
1438
+ }, z.core.$strict>], "type">>;
1439
+ replayMode: z.ZodOptional<z.ZodEnum<{
1440
+ auto: "auto";
1441
+ manual: "manual";
1442
+ }>>;
1443
+ direction: z.ZodEnum<{
1444
+ left: "left";
1445
+ right: "right";
1446
+ up: "up";
1447
+ down: "down";
1448
+ }>;
1449
+ distancePercent: z.ZodDefault<z.ZodNumber>;
1450
+ durationMs: z.ZodDefault<z.ZodNumber>;
1451
+ anchor: z.ZodOptional<z.ZodString>;
1452
+ locator: z.ZodOptional<z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>>;
1453
+ action: z.ZodLiteral<"swipe">;
1454
+ }, z.core.$strict>, z.ZodObject<{
1455
+ device: z.ZodOptional<z.ZodString>;
1456
+ activity: z.ZodObject<{
1457
+ before: z.ZodString;
1458
+ after: z.ZodString;
1459
+ }, z.core.$strict>;
1460
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1461
+ type: z.ZodLiteral<"activity">;
1462
+ value: z.ZodString;
1463
+ packageName: z.ZodOptional<z.ZodString>;
1464
+ timeoutMs: z.ZodNumber;
1465
+ }, z.core.$strict>, z.ZodObject<{
1466
+ type: z.ZodLiteral<"element">;
1467
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1468
+ enabled: z.ZodOptional<z.ZodBoolean>;
1469
+ clickable: z.ZodOptional<z.ZodBoolean>;
1470
+ absent: z.ZodOptional<z.ZodBoolean>;
1471
+ packageName: z.ZodOptional<z.ZodString>;
1472
+ timeoutMs: z.ZodNumber;
1473
+ }, z.core.$strict>, z.ZodObject<{
1474
+ type: z.ZodLiteral<"logcat">;
1475
+ tag: z.ZodString;
1476
+ level: z.ZodOptional<z.ZodEnum<{
1477
+ V: "V";
1478
+ D: "D";
1479
+ I: "I";
1480
+ W: "W";
1481
+ E: "E";
1482
+ F: "F";
1483
+ A: "A";
1484
+ }>>;
1485
+ pattern: z.ZodString;
1486
+ match: z.ZodDefault<z.ZodEnum<{
1487
+ literal: "literal";
1488
+ regex: "regex";
1489
+ }>>;
1490
+ packageName: z.ZodOptional<z.ZodString>;
1491
+ timeoutMs: z.ZodNumber;
1492
+ }, z.core.$strict>, z.ZodObject<{
1493
+ type: z.ZodLiteral<"logcatEvent">;
1494
+ tag: z.ZodString;
1495
+ event: z.ZodString;
1496
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1497
+ correlation: z.ZodOptional<z.ZodObject<{
1498
+ key: z.ZodString;
1499
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1500
+ }, z.core.$strict>>;
1501
+ capture: z.ZodOptional<z.ZodObject<{
1502
+ name: z.ZodString;
1503
+ field: z.ZodOptional<z.ZodString>;
1504
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1505
+ valueType: z.ZodEnum<{
1506
+ string: "string";
1507
+ integer: "integer";
1508
+ identifier: "identifier";
1509
+ }>;
1510
+ }, z.core.$strict>>;
1511
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1512
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1513
+ from: z.ZodLiteral<"stepStart">;
1514
+ }, z.core.$strict>, z.ZodObject<{
1515
+ from: z.ZodLiteral<"runStart">;
1516
+ }, z.core.$strict>, z.ZodObject<{
1517
+ from: z.ZodLiteral<"marker">;
1518
+ markerId: z.ZodString;
1519
+ }, z.core.$strict>], "from">>;
1520
+ timeoutMs: z.ZodNumber;
1521
+ }, z.core.$strict>], "type">>;
1522
+ replayMode: z.ZodOptional<z.ZodEnum<{
1523
+ auto: "auto";
1524
+ manual: "manual";
1525
+ }>>;
1526
+ container: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1527
+ direction: z.ZodEnum<{
1528
+ left: "left";
1529
+ right: "right";
1530
+ up: "up";
1531
+ down: "down";
1532
+ }>;
1533
+ maxSwipes: z.ZodDefault<z.ZodNumber>;
1534
+ distancePercent: z.ZodDefault<z.ZodNumber>;
1535
+ durationMs: z.ZodDefault<z.ZodNumber>;
1536
+ anchor: z.ZodOptional<z.ZodString>;
1537
+ locator: z.ZodOptional<z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>>;
1538
+ action: z.ZodLiteral<"scrollTo">;
1539
+ }, z.core.$strict>, z.ZodObject<{
1540
+ device: z.ZodOptional<z.ZodString>;
1541
+ activity: z.ZodObject<{
1542
+ before: z.ZodString;
1543
+ after: z.ZodString;
1544
+ }, z.core.$strict>;
1545
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1546
+ type: z.ZodLiteral<"activity">;
1547
+ value: z.ZodString;
1548
+ packageName: z.ZodOptional<z.ZodString>;
1549
+ timeoutMs: z.ZodNumber;
1550
+ }, z.core.$strict>, z.ZodObject<{
1551
+ type: z.ZodLiteral<"element">;
1552
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1553
+ enabled: z.ZodOptional<z.ZodBoolean>;
1554
+ clickable: z.ZodOptional<z.ZodBoolean>;
1555
+ absent: z.ZodOptional<z.ZodBoolean>;
1556
+ packageName: z.ZodOptional<z.ZodString>;
1557
+ timeoutMs: z.ZodNumber;
1558
+ }, z.core.$strict>, z.ZodObject<{
1559
+ type: z.ZodLiteral<"logcat">;
1560
+ tag: z.ZodString;
1561
+ level: z.ZodOptional<z.ZodEnum<{
1562
+ V: "V";
1563
+ D: "D";
1564
+ I: "I";
1565
+ W: "W";
1566
+ E: "E";
1567
+ F: "F";
1568
+ A: "A";
1569
+ }>>;
1570
+ pattern: z.ZodString;
1571
+ match: z.ZodDefault<z.ZodEnum<{
1572
+ literal: "literal";
1573
+ regex: "regex";
1574
+ }>>;
1575
+ packageName: z.ZodOptional<z.ZodString>;
1576
+ timeoutMs: z.ZodNumber;
1577
+ }, z.core.$strict>, z.ZodObject<{
1578
+ type: z.ZodLiteral<"logcatEvent">;
1579
+ tag: z.ZodString;
1580
+ event: z.ZodString;
1581
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1582
+ correlation: z.ZodOptional<z.ZodObject<{
1583
+ key: z.ZodString;
1584
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1585
+ }, z.core.$strict>>;
1586
+ capture: z.ZodOptional<z.ZodObject<{
1587
+ name: z.ZodString;
1588
+ field: z.ZodOptional<z.ZodString>;
1589
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1590
+ valueType: z.ZodEnum<{
1591
+ string: "string";
1592
+ integer: "integer";
1593
+ identifier: "identifier";
1594
+ }>;
1595
+ }, z.core.$strict>>;
1596
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1597
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1598
+ from: z.ZodLiteral<"stepStart">;
1599
+ }, z.core.$strict>, z.ZodObject<{
1600
+ from: z.ZodLiteral<"runStart">;
1601
+ }, z.core.$strict>, z.ZodObject<{
1602
+ from: z.ZodLiteral<"marker">;
1603
+ markerId: z.ZodString;
1604
+ }, z.core.$strict>], "from">>;
1605
+ timeoutMs: z.ZodNumber;
1606
+ }, z.core.$strict>], "type">>;
1607
+ replayMode: z.ZodOptional<z.ZodEnum<{
1608
+ auto: "auto";
1609
+ manual: "manual";
1610
+ }>>;
1611
+ action: z.ZodLiteral<"back">;
1612
+ }, z.core.$strict>, z.ZodObject<{
1613
+ device: z.ZodOptional<z.ZodString>;
1614
+ activity: z.ZodObject<{
1615
+ before: z.ZodString;
1616
+ after: z.ZodString;
1617
+ }, z.core.$strict>;
1618
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1619
+ type: z.ZodLiteral<"activity">;
1620
+ value: z.ZodString;
1621
+ packageName: z.ZodOptional<z.ZodString>;
1622
+ timeoutMs: z.ZodNumber;
1623
+ }, z.core.$strict>, z.ZodObject<{
1624
+ type: z.ZodLiteral<"element">;
1625
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1626
+ enabled: z.ZodOptional<z.ZodBoolean>;
1627
+ clickable: z.ZodOptional<z.ZodBoolean>;
1628
+ absent: z.ZodOptional<z.ZodBoolean>;
1629
+ packageName: z.ZodOptional<z.ZodString>;
1630
+ timeoutMs: z.ZodNumber;
1631
+ }, z.core.$strict>, z.ZodObject<{
1632
+ type: z.ZodLiteral<"logcat">;
1633
+ tag: z.ZodString;
1634
+ level: z.ZodOptional<z.ZodEnum<{
1635
+ V: "V";
1636
+ D: "D";
1637
+ I: "I";
1638
+ W: "W";
1639
+ E: "E";
1640
+ F: "F";
1641
+ A: "A";
1642
+ }>>;
1643
+ pattern: z.ZodString;
1644
+ match: z.ZodDefault<z.ZodEnum<{
1645
+ literal: "literal";
1646
+ regex: "regex";
1647
+ }>>;
1648
+ packageName: z.ZodOptional<z.ZodString>;
1649
+ timeoutMs: z.ZodNumber;
1650
+ }, z.core.$strict>, z.ZodObject<{
1651
+ type: z.ZodLiteral<"logcatEvent">;
1652
+ tag: z.ZodString;
1653
+ event: z.ZodString;
1654
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1655
+ correlation: z.ZodOptional<z.ZodObject<{
1656
+ key: z.ZodString;
1657
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1658
+ }, z.core.$strict>>;
1659
+ capture: z.ZodOptional<z.ZodObject<{
1660
+ name: z.ZodString;
1661
+ field: z.ZodOptional<z.ZodString>;
1662
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1663
+ valueType: z.ZodEnum<{
1664
+ string: "string";
1665
+ integer: "integer";
1666
+ identifier: "identifier";
1667
+ }>;
1668
+ }, z.core.$strict>>;
1669
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1670
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1671
+ from: z.ZodLiteral<"stepStart">;
1672
+ }, z.core.$strict>, z.ZodObject<{
1673
+ from: z.ZodLiteral<"runStart">;
1674
+ }, z.core.$strict>, z.ZodObject<{
1675
+ from: z.ZodLiteral<"marker">;
1676
+ markerId: z.ZodString;
1677
+ }, z.core.$strict>], "from">>;
1678
+ timeoutMs: z.ZodNumber;
1679
+ }, z.core.$strict>], "type">>;
1680
+ replayMode: z.ZodOptional<z.ZodEnum<{
1681
+ auto: "auto";
1682
+ manual: "manual";
1683
+ }>>;
1684
+ action: z.ZodLiteral<"wait">;
1685
+ markerId: z.ZodOptional<z.ZodString>;
1686
+ until: z.ZodOptional<z.ZodObject<{
1687
+ element: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1688
+ }, z.core.$strict>>;
1689
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1690
+ }, z.core.$strict>, z.ZodObject<{
1691
+ replayMode: z.ZodDefault<z.ZodEnum<{
1692
+ auto: "auto";
1693
+ manual: "manual";
1694
+ }>>;
1695
+ device: z.ZodOptional<z.ZodString>;
1696
+ activity: z.ZodObject<{
1697
+ before: z.ZodString;
1698
+ after: z.ZodString;
1699
+ }, z.core.$strict>;
1700
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1701
+ type: z.ZodLiteral<"activity">;
1702
+ value: z.ZodString;
1703
+ packageName: z.ZodOptional<z.ZodString>;
1704
+ timeoutMs: z.ZodNumber;
1705
+ }, z.core.$strict>, z.ZodObject<{
1706
+ type: z.ZodLiteral<"element">;
1707
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1708
+ enabled: z.ZodOptional<z.ZodBoolean>;
1709
+ clickable: z.ZodOptional<z.ZodBoolean>;
1710
+ absent: z.ZodOptional<z.ZodBoolean>;
1711
+ packageName: z.ZodOptional<z.ZodString>;
1712
+ timeoutMs: z.ZodNumber;
1713
+ }, z.core.$strict>, z.ZodObject<{
1714
+ type: z.ZodLiteral<"logcat">;
1715
+ tag: z.ZodString;
1716
+ level: z.ZodOptional<z.ZodEnum<{
1717
+ V: "V";
1718
+ D: "D";
1719
+ I: "I";
1720
+ W: "W";
1721
+ E: "E";
1722
+ F: "F";
1723
+ A: "A";
1724
+ }>>;
1725
+ pattern: z.ZodString;
1726
+ match: z.ZodDefault<z.ZodEnum<{
1727
+ literal: "literal";
1728
+ regex: "regex";
1729
+ }>>;
1730
+ packageName: z.ZodOptional<z.ZodString>;
1731
+ timeoutMs: z.ZodNumber;
1732
+ }, z.core.$strict>, z.ZodObject<{
1733
+ type: z.ZodLiteral<"logcatEvent">;
1734
+ tag: z.ZodString;
1735
+ event: z.ZodString;
1736
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1737
+ correlation: z.ZodOptional<z.ZodObject<{
1738
+ key: z.ZodString;
1739
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1740
+ }, z.core.$strict>>;
1741
+ capture: z.ZodOptional<z.ZodObject<{
1742
+ name: z.ZodString;
1743
+ field: z.ZodOptional<z.ZodString>;
1744
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1745
+ valueType: z.ZodEnum<{
1746
+ string: "string";
1747
+ integer: "integer";
1748
+ identifier: "identifier";
1749
+ }>;
1750
+ }, z.core.$strict>>;
1751
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1752
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1753
+ from: z.ZodLiteral<"stepStart">;
1754
+ }, z.core.$strict>, z.ZodObject<{
1755
+ from: z.ZodLiteral<"runStart">;
1756
+ }, z.core.$strict>, z.ZodObject<{
1757
+ from: z.ZodLiteral<"marker">;
1758
+ markerId: z.ZodString;
1759
+ }, z.core.$strict>], "from">>;
1760
+ timeoutMs: z.ZodNumber;
1761
+ }, z.core.$strict>], "type">>;
1762
+ action: z.ZodLiteral<"bridge">;
1763
+ scenario: z.ZodEnum<{
1764
+ custom: "custom";
1765
+ photoCapture: "photoCapture";
1766
+ pickImage: "pickImage";
1767
+ pickFile: "pickFile";
1768
+ }>;
1769
+ description: z.ZodString;
1770
+ triggerLocator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1771
+ escapedPackageName: z.ZodOptional<z.ZodString>;
1772
+ returnTimeoutMs: z.ZodNumber;
1773
+ flow: z.ZodOptional<z.ZodString>;
1774
+ externalSteps: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1775
+ expectedActivity: z.ZodString;
1776
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1777
+ type: z.ZodLiteral<"activity">;
1778
+ value: z.ZodString;
1779
+ packageName: z.ZodOptional<z.ZodString>;
1780
+ timeoutMs: z.ZodNumber;
1781
+ }, z.core.$strict>, z.ZodObject<{
1782
+ type: z.ZodLiteral<"element">;
1783
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1784
+ enabled: z.ZodOptional<z.ZodBoolean>;
1785
+ clickable: z.ZodOptional<z.ZodBoolean>;
1786
+ absent: z.ZodOptional<z.ZodBoolean>;
1787
+ packageName: z.ZodOptional<z.ZodString>;
1788
+ timeoutMs: z.ZodNumber;
1789
+ }, z.core.$strict>, z.ZodObject<{
1790
+ type: z.ZodLiteral<"logcat">;
1791
+ tag: z.ZodString;
1792
+ level: z.ZodOptional<z.ZodEnum<{
1793
+ V: "V";
1794
+ D: "D";
1795
+ I: "I";
1796
+ W: "W";
1797
+ E: "E";
1798
+ F: "F";
1799
+ A: "A";
1800
+ }>>;
1801
+ pattern: z.ZodString;
1802
+ match: z.ZodDefault<z.ZodEnum<{
1803
+ literal: "literal";
1804
+ regex: "regex";
1805
+ }>>;
1806
+ packageName: z.ZodOptional<z.ZodString>;
1807
+ timeoutMs: z.ZodNumber;
1808
+ }, z.core.$strict>, z.ZodObject<{
1809
+ type: z.ZodLiteral<"logcatEvent">;
1810
+ tag: z.ZodString;
1811
+ event: z.ZodString;
1812
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1813
+ correlation: z.ZodOptional<z.ZodObject<{
1814
+ key: z.ZodString;
1815
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1816
+ }, z.core.$strict>>;
1817
+ capture: z.ZodOptional<z.ZodObject<{
1818
+ name: z.ZodString;
1819
+ field: z.ZodOptional<z.ZodString>;
1820
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1821
+ valueType: z.ZodEnum<{
1822
+ string: "string";
1823
+ integer: "integer";
1824
+ identifier: "identifier";
1825
+ }>;
1826
+ }, z.core.$strict>>;
1827
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1828
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1829
+ from: z.ZodLiteral<"stepStart">;
1830
+ }, z.core.$strict>, z.ZodObject<{
1831
+ from: z.ZodLiteral<"runStart">;
1832
+ }, z.core.$strict>, z.ZodObject<{
1833
+ from: z.ZodLiteral<"marker">;
1834
+ markerId: z.ZodString;
1835
+ }, z.core.$strict>], "from">>;
1836
+ timeoutMs: z.ZodNumber;
1837
+ }, z.core.$strict>], "type">>;
1838
+ action: z.ZodLiteral<"click">;
1839
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1840
+ }, z.core.$strict>, z.ZodObject<{
1841
+ expectedActivity: z.ZodString;
1842
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1843
+ type: z.ZodLiteral<"activity">;
1844
+ value: z.ZodString;
1845
+ packageName: z.ZodOptional<z.ZodString>;
1846
+ timeoutMs: z.ZodNumber;
1847
+ }, z.core.$strict>, z.ZodObject<{
1848
+ type: z.ZodLiteral<"element">;
1849
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1850
+ enabled: z.ZodOptional<z.ZodBoolean>;
1851
+ clickable: z.ZodOptional<z.ZodBoolean>;
1852
+ absent: z.ZodOptional<z.ZodBoolean>;
1853
+ packageName: z.ZodOptional<z.ZodString>;
1854
+ timeoutMs: z.ZodNumber;
1855
+ }, z.core.$strict>, z.ZodObject<{
1856
+ type: z.ZodLiteral<"logcat">;
1857
+ tag: z.ZodString;
1858
+ level: z.ZodOptional<z.ZodEnum<{
1859
+ V: "V";
1860
+ D: "D";
1861
+ I: "I";
1862
+ W: "W";
1863
+ E: "E";
1864
+ F: "F";
1865
+ A: "A";
1866
+ }>>;
1867
+ pattern: z.ZodString;
1868
+ match: z.ZodDefault<z.ZodEnum<{
1869
+ literal: "literal";
1870
+ regex: "regex";
1871
+ }>>;
1872
+ packageName: z.ZodOptional<z.ZodString>;
1873
+ timeoutMs: z.ZodNumber;
1874
+ }, z.core.$strict>, z.ZodObject<{
1875
+ type: z.ZodLiteral<"logcatEvent">;
1876
+ tag: z.ZodString;
1877
+ event: z.ZodString;
1878
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1879
+ correlation: z.ZodOptional<z.ZodObject<{
1880
+ key: z.ZodString;
1881
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1882
+ }, z.core.$strict>>;
1883
+ capture: z.ZodOptional<z.ZodObject<{
1884
+ name: z.ZodString;
1885
+ field: z.ZodOptional<z.ZodString>;
1886
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1887
+ valueType: z.ZodEnum<{
1888
+ string: "string";
1889
+ integer: "integer";
1890
+ identifier: "identifier";
1891
+ }>;
1892
+ }, z.core.$strict>>;
1893
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1894
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1895
+ from: z.ZodLiteral<"stepStart">;
1896
+ }, z.core.$strict>, z.ZodObject<{
1897
+ from: z.ZodLiteral<"runStart">;
1898
+ }, z.core.$strict>, z.ZodObject<{
1899
+ from: z.ZodLiteral<"marker">;
1900
+ markerId: z.ZodString;
1901
+ }, z.core.$strict>], "from">>;
1902
+ timeoutMs: z.ZodNumber;
1903
+ }, z.core.$strict>], "type">>;
1904
+ action: z.ZodLiteral<"longClick">;
1905
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1906
+ durationMs: z.ZodDefault<z.ZodNumber>;
1907
+ }, z.core.$strict>, z.ZodObject<{
1908
+ expectedActivity: z.ZodString;
1909
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1910
+ type: z.ZodLiteral<"activity">;
1911
+ value: z.ZodString;
1912
+ packageName: z.ZodOptional<z.ZodString>;
1913
+ timeoutMs: z.ZodNumber;
1914
+ }, z.core.$strict>, z.ZodObject<{
1915
+ type: z.ZodLiteral<"element">;
1916
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1917
+ enabled: z.ZodOptional<z.ZodBoolean>;
1918
+ clickable: z.ZodOptional<z.ZodBoolean>;
1919
+ absent: z.ZodOptional<z.ZodBoolean>;
1920
+ packageName: z.ZodOptional<z.ZodString>;
1921
+ timeoutMs: z.ZodNumber;
1922
+ }, z.core.$strict>, z.ZodObject<{
1923
+ type: z.ZodLiteral<"logcat">;
1924
+ tag: z.ZodString;
1925
+ level: z.ZodOptional<z.ZodEnum<{
1926
+ V: "V";
1927
+ D: "D";
1928
+ I: "I";
1929
+ W: "W";
1930
+ E: "E";
1931
+ F: "F";
1932
+ A: "A";
1933
+ }>>;
1934
+ pattern: z.ZodString;
1935
+ match: z.ZodDefault<z.ZodEnum<{
1936
+ literal: "literal";
1937
+ regex: "regex";
1938
+ }>>;
1939
+ packageName: z.ZodOptional<z.ZodString>;
1940
+ timeoutMs: z.ZodNumber;
1941
+ }, z.core.$strict>, z.ZodObject<{
1942
+ type: z.ZodLiteral<"logcatEvent">;
1943
+ tag: z.ZodString;
1944
+ event: z.ZodString;
1945
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1946
+ correlation: z.ZodOptional<z.ZodObject<{
1947
+ key: z.ZodString;
1948
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
1949
+ }, z.core.$strict>>;
1950
+ capture: z.ZodOptional<z.ZodObject<{
1951
+ name: z.ZodString;
1952
+ field: z.ZodOptional<z.ZodString>;
1953
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
1954
+ valueType: z.ZodEnum<{
1955
+ string: "string";
1956
+ integer: "integer";
1957
+ identifier: "identifier";
1958
+ }>;
1959
+ }, z.core.$strict>>;
1960
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
1961
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1962
+ from: z.ZodLiteral<"stepStart">;
1963
+ }, z.core.$strict>, z.ZodObject<{
1964
+ from: z.ZodLiteral<"runStart">;
1965
+ }, z.core.$strict>, z.ZodObject<{
1966
+ from: z.ZodLiteral<"marker">;
1967
+ markerId: z.ZodString;
1968
+ }, z.core.$strict>], "from">>;
1969
+ timeoutMs: z.ZodNumber;
1970
+ }, z.core.$strict>], "type">>;
1971
+ action: z.ZodLiteral<"inputText">;
1972
+ text: z.ZodString;
1973
+ }, z.core.$strict>, z.ZodObject<{
1974
+ expectedActivity: z.ZodString;
1975
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1976
+ type: z.ZodLiteral<"activity">;
1977
+ value: z.ZodString;
1978
+ packageName: z.ZodOptional<z.ZodString>;
1979
+ timeoutMs: z.ZodNumber;
1980
+ }, z.core.$strict>, z.ZodObject<{
1981
+ type: z.ZodLiteral<"element">;
1982
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
1983
+ enabled: z.ZodOptional<z.ZodBoolean>;
1984
+ clickable: z.ZodOptional<z.ZodBoolean>;
1985
+ absent: z.ZodOptional<z.ZodBoolean>;
1986
+ packageName: z.ZodOptional<z.ZodString>;
1987
+ timeoutMs: z.ZodNumber;
1988
+ }, z.core.$strict>, z.ZodObject<{
1989
+ type: z.ZodLiteral<"logcat">;
1990
+ tag: z.ZodString;
1991
+ level: z.ZodOptional<z.ZodEnum<{
1992
+ V: "V";
1993
+ D: "D";
1994
+ I: "I";
1995
+ W: "W";
1996
+ E: "E";
1997
+ F: "F";
1998
+ A: "A";
1999
+ }>>;
2000
+ pattern: z.ZodString;
2001
+ match: z.ZodDefault<z.ZodEnum<{
2002
+ literal: "literal";
2003
+ regex: "regex";
2004
+ }>>;
2005
+ packageName: z.ZodOptional<z.ZodString>;
2006
+ timeoutMs: z.ZodNumber;
2007
+ }, z.core.$strict>, z.ZodObject<{
2008
+ type: z.ZodLiteral<"logcatEvent">;
2009
+ tag: z.ZodString;
2010
+ event: z.ZodString;
2011
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2012
+ correlation: z.ZodOptional<z.ZodObject<{
2013
+ key: z.ZodString;
2014
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
2015
+ }, z.core.$strict>>;
2016
+ capture: z.ZodOptional<z.ZodObject<{
2017
+ name: z.ZodString;
2018
+ field: z.ZodOptional<z.ZodString>;
2019
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
2020
+ valueType: z.ZodEnum<{
2021
+ string: "string";
2022
+ integer: "integer";
2023
+ identifier: "identifier";
2024
+ }>;
2025
+ }, z.core.$strict>>;
2026
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
2027
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
2028
+ from: z.ZodLiteral<"stepStart">;
2029
+ }, z.core.$strict>, z.ZodObject<{
2030
+ from: z.ZodLiteral<"runStart">;
2031
+ }, z.core.$strict>, z.ZodObject<{
2032
+ from: z.ZodLiteral<"marker">;
2033
+ markerId: z.ZodString;
2034
+ }, z.core.$strict>], "from">>;
2035
+ timeoutMs: z.ZodNumber;
2036
+ }, z.core.$strict>], "type">>;
2037
+ action: z.ZodLiteral<"swipe">;
2038
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
2039
+ direction: z.ZodEnum<{
2040
+ left: "left";
2041
+ right: "right";
2042
+ up: "up";
2043
+ down: "down";
2044
+ }>;
2045
+ distancePercent: z.ZodDefault<z.ZodNumber>;
2046
+ durationMs: z.ZodDefault<z.ZodNumber>;
2047
+ }, z.core.$strict>, z.ZodObject<{
2048
+ expectedActivity: z.ZodString;
2049
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2050
+ type: z.ZodLiteral<"activity">;
2051
+ value: z.ZodString;
2052
+ packageName: z.ZodOptional<z.ZodString>;
2053
+ timeoutMs: z.ZodNumber;
2054
+ }, z.core.$strict>, z.ZodObject<{
2055
+ type: z.ZodLiteral<"element">;
2056
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
2057
+ enabled: z.ZodOptional<z.ZodBoolean>;
2058
+ clickable: z.ZodOptional<z.ZodBoolean>;
2059
+ absent: z.ZodOptional<z.ZodBoolean>;
2060
+ packageName: z.ZodOptional<z.ZodString>;
2061
+ timeoutMs: z.ZodNumber;
2062
+ }, z.core.$strict>, z.ZodObject<{
2063
+ type: z.ZodLiteral<"logcat">;
2064
+ tag: z.ZodString;
2065
+ level: z.ZodOptional<z.ZodEnum<{
2066
+ V: "V";
2067
+ D: "D";
2068
+ I: "I";
2069
+ W: "W";
2070
+ E: "E";
2071
+ F: "F";
2072
+ A: "A";
2073
+ }>>;
2074
+ pattern: z.ZodString;
2075
+ match: z.ZodDefault<z.ZodEnum<{
2076
+ literal: "literal";
2077
+ regex: "regex";
2078
+ }>>;
2079
+ packageName: z.ZodOptional<z.ZodString>;
2080
+ timeoutMs: z.ZodNumber;
2081
+ }, z.core.$strict>, z.ZodObject<{
2082
+ type: z.ZodLiteral<"logcatEvent">;
2083
+ tag: z.ZodString;
2084
+ event: z.ZodString;
2085
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2086
+ correlation: z.ZodOptional<z.ZodObject<{
2087
+ key: z.ZodString;
2088
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
2089
+ }, z.core.$strict>>;
2090
+ capture: z.ZodOptional<z.ZodObject<{
2091
+ name: z.ZodString;
2092
+ field: z.ZodOptional<z.ZodString>;
2093
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
2094
+ valueType: z.ZodEnum<{
2095
+ string: "string";
2096
+ integer: "integer";
2097
+ identifier: "identifier";
2098
+ }>;
2099
+ }, z.core.$strict>>;
2100
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
2101
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
2102
+ from: z.ZodLiteral<"stepStart">;
2103
+ }, z.core.$strict>, z.ZodObject<{
2104
+ from: z.ZodLiteral<"runStart">;
2105
+ }, z.core.$strict>, z.ZodObject<{
2106
+ from: z.ZodLiteral<"marker">;
2107
+ markerId: z.ZodString;
2108
+ }, z.core.$strict>], "from">>;
2109
+ timeoutMs: z.ZodNumber;
2110
+ }, z.core.$strict>], "type">>;
2111
+ action: z.ZodLiteral<"scrollTo">;
2112
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
2113
+ container: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
2114
+ direction: z.ZodEnum<{
2115
+ left: "left";
2116
+ right: "right";
2117
+ up: "up";
2118
+ down: "down";
2119
+ }>;
2120
+ maxSwipes: z.ZodDefault<z.ZodNumber>;
2121
+ distancePercent: z.ZodDefault<z.ZodNumber>;
2122
+ durationMs: z.ZodDefault<z.ZodNumber>;
2123
+ }, z.core.$strict>, z.ZodObject<{
2124
+ expectedActivity: z.ZodString;
2125
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2126
+ type: z.ZodLiteral<"activity">;
2127
+ value: z.ZodString;
2128
+ packageName: z.ZodOptional<z.ZodString>;
2129
+ timeoutMs: z.ZodNumber;
2130
+ }, z.core.$strict>, z.ZodObject<{
2131
+ type: z.ZodLiteral<"element">;
2132
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
2133
+ enabled: z.ZodOptional<z.ZodBoolean>;
2134
+ clickable: z.ZodOptional<z.ZodBoolean>;
2135
+ absent: z.ZodOptional<z.ZodBoolean>;
2136
+ packageName: z.ZodOptional<z.ZodString>;
2137
+ timeoutMs: z.ZodNumber;
2138
+ }, z.core.$strict>, z.ZodObject<{
2139
+ type: z.ZodLiteral<"logcat">;
2140
+ tag: z.ZodString;
2141
+ level: z.ZodOptional<z.ZodEnum<{
2142
+ V: "V";
2143
+ D: "D";
2144
+ I: "I";
2145
+ W: "W";
2146
+ E: "E";
2147
+ F: "F";
2148
+ A: "A";
2149
+ }>>;
2150
+ pattern: z.ZodString;
2151
+ match: z.ZodDefault<z.ZodEnum<{
2152
+ literal: "literal";
2153
+ regex: "regex";
2154
+ }>>;
2155
+ packageName: z.ZodOptional<z.ZodString>;
2156
+ timeoutMs: z.ZodNumber;
2157
+ }, z.core.$strict>, z.ZodObject<{
2158
+ type: z.ZodLiteral<"logcatEvent">;
2159
+ tag: z.ZodString;
2160
+ event: z.ZodString;
2161
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2162
+ correlation: z.ZodOptional<z.ZodObject<{
2163
+ key: z.ZodString;
2164
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
2165
+ }, z.core.$strict>>;
2166
+ capture: z.ZodOptional<z.ZodObject<{
2167
+ name: z.ZodString;
2168
+ field: z.ZodOptional<z.ZodString>;
2169
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
2170
+ valueType: z.ZodEnum<{
2171
+ string: "string";
2172
+ integer: "integer";
2173
+ identifier: "identifier";
2174
+ }>;
2175
+ }, z.core.$strict>>;
2176
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
2177
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
2178
+ from: z.ZodLiteral<"stepStart">;
2179
+ }, z.core.$strict>, z.ZodObject<{
2180
+ from: z.ZodLiteral<"runStart">;
2181
+ }, z.core.$strict>, z.ZodObject<{
2182
+ from: z.ZodLiteral<"marker">;
2183
+ markerId: z.ZodString;
2184
+ }, z.core.$strict>], "from">>;
2185
+ timeoutMs: z.ZodNumber;
2186
+ }, z.core.$strict>], "type">>;
2187
+ action: z.ZodLiteral<"back">;
2188
+ }, z.core.$strict>, z.ZodObject<{
2189
+ expectedActivity: z.ZodString;
2190
+ expect: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2191
+ type: z.ZodLiteral<"activity">;
2192
+ value: z.ZodString;
2193
+ packageName: z.ZodOptional<z.ZodString>;
2194
+ timeoutMs: z.ZodNumber;
2195
+ }, z.core.$strict>, z.ZodObject<{
2196
+ type: z.ZodLiteral<"element">;
2197
+ locator: z.ZodType<import("./layout.js").Locator, unknown, z.core.$ZodTypeInternals<import("./layout.js").Locator, unknown>>;
2198
+ enabled: z.ZodOptional<z.ZodBoolean>;
2199
+ clickable: z.ZodOptional<z.ZodBoolean>;
2200
+ absent: z.ZodOptional<z.ZodBoolean>;
2201
+ packageName: z.ZodOptional<z.ZodString>;
2202
+ timeoutMs: z.ZodNumber;
2203
+ }, z.core.$strict>, z.ZodObject<{
2204
+ type: z.ZodLiteral<"logcat">;
2205
+ tag: z.ZodString;
2206
+ level: z.ZodOptional<z.ZodEnum<{
2207
+ V: "V";
2208
+ D: "D";
2209
+ I: "I";
2210
+ W: "W";
2211
+ E: "E";
2212
+ F: "F";
2213
+ A: "A";
2214
+ }>>;
2215
+ pattern: z.ZodString;
2216
+ match: z.ZodDefault<z.ZodEnum<{
2217
+ literal: "literal";
2218
+ regex: "regex";
2219
+ }>>;
2220
+ packageName: z.ZodOptional<z.ZodString>;
2221
+ timeoutMs: z.ZodNumber;
2222
+ }, z.core.$strict>, z.ZodObject<{
2223
+ type: z.ZodLiteral<"logcatEvent">;
2224
+ tag: z.ZodString;
2225
+ event: z.ZodString;
2226
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2227
+ correlation: z.ZodOptional<z.ZodObject<{
2228
+ key: z.ZodString;
2229
+ value: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodString]>;
2230
+ }, z.core.$strict>>;
2231
+ capture: z.ZodOptional<z.ZodObject<{
2232
+ name: z.ZodString;
2233
+ field: z.ZodOptional<z.ZodString>;
2234
+ group: z.ZodOptional<z.ZodLiteral<"correlation">>;
2235
+ valueType: z.ZodEnum<{
2236
+ string: "string";
2237
+ integer: "integer";
2238
+ identifier: "identifier";
2239
+ }>;
2240
+ }, z.core.$strict>>;
2241
+ unique: z.ZodDefault<z.ZodLiteral<true>>;
2242
+ window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
2243
+ from: z.ZodLiteral<"stepStart">;
2244
+ }, z.core.$strict>, z.ZodObject<{
2245
+ from: z.ZodLiteral<"runStart">;
2246
+ }, z.core.$strict>, z.ZodObject<{
2247
+ from: z.ZodLiteral<"marker">;
2248
+ markerId: z.ZodString;
2249
+ }, z.core.$strict>], "from">>;
2250
+ timeoutMs: z.ZodNumber;
2251
+ }, z.core.$strict>], "type">>;
2252
+ action: z.ZodLiteral<"wait">;
2253
+ }, z.core.$strict>], "action">>>;
2254
+ escapeTimeoutMs: z.ZodOptional<z.ZodNumber>;
2255
+ }, z.core.$strict>], "action">>;
2256
+ }, z.core.$strict>;
2257
+ export declare const JourneyResolutionDependencySchema: z.ZodObject<{
2258
+ name: z.ZodString;
2259
+ path: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
2260
+ sha256: z.ZodString;
2261
+ stepCount: z.ZodNumber;
2262
+ }, z.core.$strict>;
2263
+ export declare const JourneyResolutionManifestSchema: z.ZodObject<{
2264
+ version: z.ZodLiteral<1>;
2265
+ source: z.ZodObject<{
2266
+ path: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
2267
+ sha256: z.ZodString;
2268
+ }, z.core.$strict>;
2269
+ flows: z.ZodArray<z.ZodObject<{
2270
+ name: z.ZodString;
2271
+ path: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
2272
+ sha256: z.ZodString;
2273
+ stepCount: z.ZodNumber;
2274
+ }, z.core.$strict>>;
2275
+ expansion: z.ZodArray<z.ZodString>;
2276
+ journey: z.ZodObject<{
2277
+ name: z.ZodString;
2278
+ sha256: z.ZodString;
2279
+ stepCount: z.ZodNumber;
2280
+ }, z.core.$strict>;
2281
+ resolutionSha256: z.ZodString;
2282
+ }, z.core.$strict>;
2283
+ export type Flow = z.infer<typeof FlowSchema>;
2284
+ export type JourneySource = z.infer<typeof JourneySourceSchema>;
2285
+ export type JourneyResolutionManifest = z.infer<typeof JourneyResolutionManifestSchema>;