The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 14:30 UTC
chore(mobile): e2e runner on agent-device 0.21.32, side-rail aware tab checks
agent-device 0.21.32 folds the iPhone Duo in Simlock's device set. The folded Duo keeps its side rail inside a thread, so the hide-on-push tab checks only apply to bottom tab bars. The Duo poses stay pending: alert accept cannot see the open-link prompt on the Duo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Julius Marminge committed
Oct 27, 2026 at 03:59 UTC
9db3401bdc4ed216bdc1450ac141085954d1a503
5 files changed
+27
-25
pnpm-lock.yaml
+5
-5
@@ -2253,8 +2253,8 @@ importers:
2253
specifier: workspace:*
2254
version: link:../packages/tailscale
2255
agent-device:
2256
- specifier: 0.21.31
2257
- version: 0.21.31
2256
+ specifier: 0.21.32
2257
+ version: 0.21.32
2258
effect:
2259
specifier: 4.0.5
2260
version: 4.0.5
@@ -7332,8 +7332,8 @@ packages:
7332
engines: {node: '>=18.18'}
7333
hasBin: true
7334
7335
- agent-device@0.21.31:
7336
- resolution: {integrity: sha512-541X/tXHqQS3Xg5PutPSek1nQFLgEJEXFdLPiZ9jTvSb+SMHr/Z4kzVCnBkGza59R+EHO1atLWx0ZAW5vK84IQ==}
7335
+ agent-device@0.21.32:
7336
+ resolution: {integrity: sha512-gfpNs+qeCHKKLY3mqD/NpC7Et7wh5qxNvM9A2cPOhOpzX21e9UHSkO7zOMBpUK7NGtOOkbtz67jco5SVmZOPog==}
7337
engines: {node: '>=22.12'}
7338
hasBin: true
7339
peerDependencies:
@@ -17214,7 +17214,7 @@ snapshots:
17214
17215
agent-cli-detector@0.1.7: {}
17216
17217
- agent-device@0.21.31: {}
17217
+ agent-device@0.21.32: {}
17218
17219
agent-install@0.0.5:
17220
dependencies:
pnpm-workspace.yaml
+1
@@ -224,6 +224,7 @@ minimumReleaseAgeExclude:
224
- "@pierre/diffs@1.6.1"
225
- "@pierre/highlights@0.2.0"
226
- "@pierre/theming@1.0.2"
227
+ - agent-device@0.21.32
228
229
overrides:
230
# Pin every patched package, including transitive dependencies, so lockfile-free
scripts/mobile-e2e/journey.ts
+18
-17
@@ -140,6 +140,8 @@ export async function runJourney(
140
await delay(1_000);
141
threads = await device.orient(device.pose.landscape ? "landscape" : "portrait");
142
const tabs = tabBarRect(threads);
143
+ // A bottom tab bar gives way to a pushed thread; the folded Duo's side rail stays put.
144
+ const bottomTabs = phone && tabs && tabs.width > tabs.height ? tabs : undefined;
145
const wide = threads.viewport.width > threads.viewport.height;
146
await capture("threads", threads, [
147
check(
@@ -160,19 +162,18 @@ export async function runJourney(
162
);
163
const threadShot = NodePath.join(directory, `${steps.length + 1}-thread.png`);
164
await device.screenshot(threadShot);
163
- const openLag =
164
- phone && tabs
165
- ? await lagCheck(
166
- "no tabs over the entering thread (video)",
167
- {
168
- video: opening,
169
- nav: topBand(threads),
170
- chrome: tabs,
171
- viewportWidth: threads.viewport.width,
172
- },
173
- NodePath.join(directory, "open-thread-lag.png"),
174
- )
175
- : null;
165
+ const openLag = bottomTabs
166
+ ? await lagCheck(
167
+ "no tabs over the entering thread (video)",
168
+ {
169
+ video: opening,
170
+ nav: topBand(threads),
171
+ chrome: bottomTabs,
172
+ viewportWidth: threads.viewport.width,
173
+ },
174
+ NodePath.join(directory, "open-thread-lag.png"),
175
+ )
176
+ : null;
177
steps.push({
178
name: "thread",
179
screenshot: threadShot,
@@ -185,9 +186,9 @@ export async function runJourney(
186
inside(composer(thread)?.rect, thread),
187
describeRect(composer(thread)?.rect),
188
),
188
- ...(phone
189
+ ...(phone ? [check("back button visible", backButton(thread) !== undefined, "back")] : []),
190
+ ...(bottomTabs
191
? [
190
- check("back button visible", backButton(thread) !== undefined, "back"),
192
check(
193
"tab bar hidden",
194
tabBarRect(thread) === undefined,
@@ -238,13 +239,13 @@ export async function runJourney(
239
);
240
const listShot = NodePath.join(directory, `${steps.length + 1}-back.png`);
241
await device.screenshot(listShot);
241
- const backLag = tabs
242
+ const backLag = bottomTabs
243
? await lagCheck(
244
"tabs return with the list (video)",
245
{
246
video: back,
247
nav: topBand(list),
247
- chrome: tabs,
248
+ chrome: bottomTabs,
249
viewportWidth: list.viewport.width,
250
},
251
NodePath.join(directory, "back-lag.png"),
scripts/mobile-e2e/poses.ts
+2
-2
@@ -38,7 +38,7 @@ export const POSES: ReadonlyArray<Pose> = [
38
appearance: "light",
39
fold: "closed",
40
pending:
41
- "agent-device fold refuses simulators outside the default device set, which Simlock uses",
41
+ "agent-device alert accept cannot see the iOS open-link prompt on the iPhone Duo, so the app never launches",
42
}),
43
pose({
44
id: "iphone-duo-unfolded",
@@ -48,7 +48,7 @@ export const POSES: ReadonlyArray<Pose> = [
48
appearance: "dark",
49
fold: "open",
50
pending:
51
- "agent-device fold refuses simulators outside the default device set, which Simlock uses",
51
+ "agent-device alert accept cannot see the iOS open-link prompt on the iPhone Duo, so the app never launches",
52
}),
53
pose({
54
id: "ipad-13-portrait",
scripts/package.json
+1
-1
@@ -12,7 +12,7 @@
12
"@electron/osx-sign": "2.7.0",
13
"@t3tools/shared": "workspace:*",
14
"@t3tools/tailscale": "workspace:*",
15
- "agent-device": "0.21.31",
15
+ "agent-device": "0.21.32",
16
"effect": "catalog:",
17
"plist": "catalog:",
18
"pngjs": "7.0.0",