TypeScript
chore(devices): bump agent-device to 0.21.31 (#25065)
Julius Marminge0b42aa94767b
diff --git a/apps/server/src/device/deviceToolVersions.json b/apps/server/src/device/deviceToolVersions.jsonindex e0c2880e3f6..83083ffbebf 100644--- a/apps/server/src/device/deviceToolVersions.json+++ b/apps/server/src/device/deviceToolVersions.json@@ -1,4 +1,4 @@{- "agent-device": "0.21.25",+ "agent-device": "0.21.31","expo-device-hub": "0.15.3"}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 6352b1a7f85..391699855c0 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -2158,8 +2158,8 @@ importers:specifier: workspace:*version: link:../packages/tailscaleagent-device:- specifier: 0.21.25- version: 0.21.25+ specifier: 0.21.31+ version: 0.21.31effect:specifier: 4.0.5version: 4.0.5@@ -7153,8 +7153,8 @@ packages:engines: {node: '>=18.18'}hasBin: true- resolution: {integrity: sha512-JFmAD5AqM03dVU6BVQW1DQ2Kz+MThmbCYBbDxpGw2lka91LcoXHdrb4IjF9NNg4DEQUu41Pg8WnB/7crM3ig2w==}+ resolution: {integrity: sha512-541X/tXHqQS3Xg5PutPSek1nQFLgEJEXFdLPiZ9jTvSb+SMHr/Z4kzVCnBkGza59R+EHO1atLWx0ZAW5vK84IQ==}engines: {node: '>=22.12'}hasBin: truepeerDependencies:@@ -17001,7 +17001,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}dependencies:diff --git a/scripts/mobile-e2e.ts b/scripts/mobile-e2e.tsindex 9050c28089c..4d1c023d2d8 100644--- a/scripts/mobile-e2e.ts+++ b/scripts/mobile-e2e.ts@@ -18,8 +18,21 @@ const AGENT_DEVICE = NodePath.join();const BUNDLE_ID = "com.t3tools.t3code.dev";const METRO_PORT = 8081;-// Persistent so the XCTest runner agent-device builds per simulator survives between runs.-const AGENT_DEVICE_STATE = NodePath.join(NodeOS.homedir(), ".cache/t3code/mobile-e2e/agent-device");+const AGENT_DEVICE_VERSION = (+ JSON.parse(+ await NodeFSP.readFile(+ NodePath.join(REPO_ROOT, "scripts/node_modules/agent-device/package.json"),+ "utf8",+ ),+ ) as { version: string }+).version;+// Persistent so the XCTest runner agent-device builds per simulator survives between runs;+// per version because a daemon refuses clients of another version.+const AGENT_DEVICE_STATE = NodePath.join(+ NodeOS.homedir(),+ ".cache/t3code/mobile-e2e",+ `agent-device-${AGENT_DEVICE_VERSION}`,+);export interface E2eDevice {readonly id: string;diff --git a/scripts/package.json b/scripts/package.jsonindex 5d1ab111b58..c4de756f800 100644--- a/scripts/package.json+++ b/scripts/package.json@@ -12,7 +12,7 @@"@electron/osx-sign": "2.7.0","@t3tools/shared": "workspace:*","@t3tools/tailscale": "workspace:*",- "agent-device": "0.21.25",+ "agent-device": "0.21.31","effect": "catalog:","plist": "catalog:","pngjs": "7.0.0",