agent-device 0.7.2 → 0.7.4
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 +11 -1
- package/dist/src/bin.js +7 -7
- package/dist/src/daemon.js +28 -28
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunner.xcodeproj/project.pbxproj +8 -4
- package/package.json +1 -1
- package/skills/agent-device/SKILL.md +3 -0
- package/skills/agent-device/references/permissions.md +5 -1
|
@@ -204,6 +204,8 @@
|
|
|
204
204
|
isa = XCBuildConfiguration;
|
|
205
205
|
buildSettings = {
|
|
206
206
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
207
|
+
AGENT_DEVICE_IOS_RUNNER_APP_BUNDLE_ID = com.callstack.agentdevice.runner;
|
|
208
|
+
AGENT_DEVICE_IOS_RUNNER_TEST_BUNDLE_ID = "$(AGENT_DEVICE_IOS_RUNNER_APP_BUNDLE_ID).uitests";
|
|
207
209
|
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
|
|
208
210
|
CLANG_ANALYZER_NONNULL = YES;
|
|
209
211
|
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
@@ -268,6 +270,8 @@
|
|
|
268
270
|
isa = XCBuildConfiguration;
|
|
269
271
|
buildSettings = {
|
|
270
272
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
273
|
+
AGENT_DEVICE_IOS_RUNNER_APP_BUNDLE_ID = com.callstack.agentdevice.runner;
|
|
274
|
+
AGENT_DEVICE_IOS_RUNNER_TEST_BUNDLE_ID = "$(AGENT_DEVICE_IOS_RUNNER_APP_BUNDLE_ID).uitests";
|
|
271
275
|
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
|
|
272
276
|
CLANG_ANALYZER_NONNULL = YES;
|
|
273
277
|
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
@@ -342,7 +346,7 @@
|
|
|
342
346
|
"@executable_path/Frameworks",
|
|
343
347
|
);
|
|
344
348
|
MARKETING_VERSION = 1.0;
|
|
345
|
-
PRODUCT_BUNDLE_IDENTIFIER =
|
|
349
|
+
PRODUCT_BUNDLE_IDENTIFIER = "$(AGENT_DEVICE_IOS_RUNNER_APP_BUNDLE_ID)";
|
|
346
350
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
347
351
|
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
|
348
352
|
SWIFT_APPROACHABLE_CONCURRENCY = YES;
|
|
@@ -377,7 +381,7 @@
|
|
|
377
381
|
"@executable_path/Frameworks",
|
|
378
382
|
);
|
|
379
383
|
MARKETING_VERSION = 1.0;
|
|
380
|
-
PRODUCT_BUNDLE_IDENTIFIER =
|
|
384
|
+
PRODUCT_BUNDLE_IDENTIFIER = "$(AGENT_DEVICE_IOS_RUNNER_APP_BUNDLE_ID)";
|
|
381
385
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
382
386
|
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
|
383
387
|
SWIFT_APPROACHABLE_CONCURRENCY = YES;
|
|
@@ -400,7 +404,7 @@
|
|
|
400
404
|
GENERATE_INFOPLIST_FILE = YES;
|
|
401
405
|
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
|
|
402
406
|
MARKETING_VERSION = 1.0;
|
|
403
|
-
PRODUCT_BUNDLE_IDENTIFIER =
|
|
407
|
+
PRODUCT_BUNDLE_IDENTIFIER = "$(AGENT_DEVICE_IOS_RUNNER_TEST_BUNDLE_ID)";
|
|
404
408
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
405
409
|
STRING_CATALOG_GENERATE_SYMBOLS = NO;
|
|
406
410
|
SWIFT_APPROACHABLE_CONCURRENCY = YES;
|
|
@@ -424,7 +428,7 @@
|
|
|
424
428
|
GENERATE_INFOPLIST_FILE = YES;
|
|
425
429
|
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
|
|
426
430
|
MARKETING_VERSION = 1.0;
|
|
427
|
-
PRODUCT_BUNDLE_IDENTIFIER =
|
|
431
|
+
PRODUCT_BUNDLE_IDENTIFIER = "$(AGENT_DEVICE_IOS_RUNNER_TEST_BUNDLE_ID)";
|
|
428
432
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
429
433
|
STRING_CATALOG_GENERATE_SYMBOLS = NO;
|
|
430
434
|
SWIFT_APPROACHABLE_CONCURRENCY = YES;
|
package/package.json
CHANGED
|
@@ -138,6 +138,8 @@ agent-device is visible 'id="anchor"'
|
|
|
138
138
|
agent-device appstate
|
|
139
139
|
agent-device clipboard read
|
|
140
140
|
agent-device clipboard write "token"
|
|
141
|
+
agent-device keyboard status
|
|
142
|
+
agent-device keyboard dismiss
|
|
141
143
|
agent-device perf --json
|
|
142
144
|
agent-device network dump [limit] [summary|headers|body|all]
|
|
143
145
|
agent-device push <bundle|package> <payload.json|inline-json>
|
|
@@ -169,6 +171,7 @@ agent-device batch --steps-file /tmp/batch-steps.json --json
|
|
|
169
171
|
- Use `fill` for clear-then-type semantics; use `type` for focused append typing.
|
|
170
172
|
- iOS `appstate` is session-scoped; Android `appstate` is live foreground state.
|
|
171
173
|
- Clipboard helpers: `clipboard read` / `clipboard write <text>` are supported on Android and iOS simulators; iOS physical devices are not supported yet.
|
|
174
|
+
- Android keyboard helpers: `keyboard status|get|dismiss` report keyboard visibility/type and dismiss via keyevent when visible.
|
|
172
175
|
- `network dump` is best-effort and parses HTTP(s) entries from the session app log file.
|
|
173
176
|
- Biometric settings: iOS simulator supports `settings faceid|touchid <match|nonmatch|enroll|unenroll>`; Android supports `settings fingerprint <match|nonmatch>` where runtime tooling is available.
|
|
174
177
|
- For AndroidTV/tvOS selection, always pair `--target` with `--platform` (`ios`, `android`, or `apple` alias); target-only selection is invalid.
|
|
@@ -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
|
|