From a8833e768823917f742bdf44bd889b4d451b797c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Mon, 16 Feb 2026 11:26:53 +0100 Subject: [PATCH 1/3] chore: remove AX snapshot backend and trim npm artifacts --- README.md | 11 +- ios-runner/AXSnapshot/Package.swift | 18 - .../AXSnapshot/Sources/AXSnapshot/main.swift | 444 ------------------ package.json | 11 +- skills/agent-device/SKILL.md | 9 +- skills/agent-device/references/permissions.md | 18 +- .../agent-device/references/snapshot-refs.md | 5 +- src/core/dispatch.ts | 16 +- src/daemon/__tests__/app-state.test.ts | 36 +- src/daemon/app-state.ts | 5 +- src/daemon/context.ts | 2 - .../handlers/__tests__/interaction.test.ts | 3 +- .../handlers/__tests__/replay-heal.test.ts | 72 +++ .../__tests__/snapshot-handler.test.ts | 16 +- src/daemon/handlers/find.ts | 2 +- src/daemon/handlers/interaction.ts | 3 +- src/daemon/handlers/session.ts | 11 +- src/daemon/handlers/snapshot.ts | 13 +- src/daemon/session-store.ts | 5 - src/daemon/snapshot-processing.ts | 3 - src/daemon/types.ts | 1 - src/platforms/ios/ax-snapshot.ts | 207 -------- src/utils/__tests__/args.test.ts | 6 +- src/utils/command-schema.ts | 13 +- src/utils/finders.ts | 3 - src/utils/output.ts | 3 - src/utils/snapshot.ts | 2 +- test/integration/ios.test.ts | 2 +- 28 files changed, 123 insertions(+), 817 deletions(-) delete mode 100644 ios-runner/AXSnapshot/Package.swift delete mode 100644 ios-runner/AXSnapshot/Sources/AXSnapshot/main.swift delete mode 100644 src/platforms/ios/ax-snapshot.ts diff --git a/README.md b/README.md index bd4d8e6d8..77a509de1 100644 --- a/README.md +++ b/README.md @@ -91,18 +91,12 @@ agent-device swipe 540 1500 540 500 120 --count 8 --pause-ms 30 --pattern ping-p - `settings wifi|airplane|location on|off` - `appstate`, `apps`, `devices`, `session list` -## Backends (iOS snapshots) - -| Backend | Speed | Accuracy | Requirements | -| --- | --- | --- | --- | -| `xctest` | Fast | High | No Accessibility permission required | -| `ax` | Fast | Medium | Accessibility permission for the terminal app, not recommended | +## iOS Snapshots Notes: -- Default backend is `xctest` on iOS simulators and iOS devices. +- iOS snapshots use XCTest on simulators and physical devices. - Scope snapshots with `-s "