agent-device 0.7.3 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/src/daemon.js +25 -25
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunner.xcodeproj/project.pbxproj +8 -4
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+CommandExecution.swift +381 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Environment.swift +30 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Interaction.swift +258 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Lifecycle.swift +174 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Models.swift +121 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+ScreenRecorder.swift +263 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Snapshot.swift +359 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+SystemModal.swift +220 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Transport.swift +124 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests.swift +30 -1855
- package/ios-runner/README.md +14 -0
- package/package.json +1 -1
- package/skills/agent-device/references/permissions.md +5 -1
package/ios-runner/README.md
CHANGED
|
@@ -9,3 +9,17 @@ This folder is reserved for the lightweight XCUITest runner used to provide elem
|
|
|
9
9
|
|
|
10
10
|
## Status
|
|
11
11
|
Planned for the automation layer. See `docs/ios-automation.md` and `docs/ios-runner-protocol.md`.
|
|
12
|
+
|
|
13
|
+
## UITest Runner File Map
|
|
14
|
+
`AgentDeviceRunnerUITests/RunnerTests` is split into focused files to reduce context size for contributors and LLM agents.
|
|
15
|
+
|
|
16
|
+
- `RunnerTests.swift`: shared state/constants, `setUp()`, and `testCommand()` entry flow.
|
|
17
|
+
- `RunnerTests+Models.swift`: wire protocol models (`Command`, `Response`, snapshot payload models).
|
|
18
|
+
- `RunnerTests+Environment.swift`: environment and CLI argument helpers (`RunnerEnv`).
|
|
19
|
+
- `RunnerTests+Transport.swift`: TCP request handling and HTTP parsing/encoding.
|
|
20
|
+
- `RunnerTests+CommandExecution.swift`: command dispatch (`execute*`) and command switch.
|
|
21
|
+
- `RunnerTests+Lifecycle.swift`: activation/retry/stabilization and recording lifecycle helpers.
|
|
22
|
+
- `RunnerTests+Interaction.swift`: tap/drag/swipe/type/back/home/app-switcher helpers.
|
|
23
|
+
- `RunnerTests+Snapshot.swift`: fast/raw snapshot builders and include/filter helpers.
|
|
24
|
+
- `RunnerTests+SystemModal.swift`: SpringBoard/system modal detection and modal snapshot shaping.
|
|
25
|
+
- `RunnerTests+ScreenRecorder.swift`: nested `ScreenRecorder` implementation.
|
package/package.json
CHANGED
|
@@ -12,6 +12,10 @@ Use Automatic Signing in Xcode, or provide optional overrides:
|
|
|
12
12
|
- `AGENT_DEVICE_IOS_TEAM_ID`
|
|
13
13
|
- `AGENT_DEVICE_IOS_SIGNING_IDENTITY`
|
|
14
14
|
- `AGENT_DEVICE_IOS_PROVISIONING_PROFILE`
|
|
15
|
+
- `AGENT_DEVICE_IOS_BUNDLE_ID` (optional runner bundle-id base override)
|
|
16
|
+
|
|
17
|
+
Free Apple Developer (Personal Team) accounts may reject generic bundle IDs as unavailable.
|
|
18
|
+
Set `AGENT_DEVICE_IOS_BUNDLE_ID` to a unique reverse-DNS identifier when that happens.
|
|
15
19
|
|
|
16
20
|
Security guidance for these overrides:
|
|
17
21
|
|
|
@@ -23,7 +27,7 @@ Security guidance for these overrides:
|
|
|
23
27
|
|
|
24
28
|
If setup/build takes long, increase:
|
|
25
29
|
|
|
26
|
-
- `AGENT_DEVICE_DAEMON_TIMEOUT_MS` (default `
|
|
30
|
+
- `AGENT_DEVICE_DAEMON_TIMEOUT_MS` (default `90000`, for example `120000`)
|
|
27
31
|
|
|
28
32
|
If daemon startup fails with stale metadata hints, clean stale files and retry:
|
|
29
33
|
|