Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/mobile-showcase-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
axe --version

- name: Install foldable simulator controls
run: npm install --global agent-device@0.21.41
run: npm install --global agent-device@0.21.36

- name: Capture iOS showcase
run: pnpm screenshots:mobile --platform ios --appearance "${{ inputs.appearance }}" --theme "${{ inputs.theme }}"
Expand Down
8 changes: 1 addition & 7 deletions apps/server/src/device/AgentDeviceShim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const STALE_RUNTIME =

const quoteShell = (value: string) => "'" + value.replaceAll("'", "'\"'\"'") + "'";

/** agent-device 0.21.41's flags that take a value, so the launcher can find the command past them. */
/** agent-device 0.21.36's flags that take a value, so the launcher can find the command past them. */
const VALUE_FLAGS: ReadonlyArray<string> = [
"--activity",
"--all",
Expand Down Expand Up @@ -43,13 +43,9 @@ const VALUE_FLAGS: ReadonlyArray<string> = [
"--delay-ms",
"--depth",
"--device",
"--device-baseline",
"--device-mode",
"--device-orientation",
"--dsym",
"--duration-ms",
"-e",
"--env",
"--fps",
"--from",
"--geo-location",
Expand Down Expand Up @@ -89,7 +85,6 @@ const VALUE_FLAGS: ReadonlyArray<string> = [
"--out",
"--pattern",
"--pause-ms",
"--pick",
"--pixel-density",
"--pixels",
"--plan-digest",
Expand Down Expand Up @@ -117,7 +112,6 @@ const VALUE_FLAGS: ReadonlyArray<string> = [
"--provider-timezone",
"--proxy-base-url",
"--public-base-url",
"--public-origin",
"--quality",
"--record-as",
"--remote-config",
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/device/deviceToolVersions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"agent-device": "0.21.41",
"agent-device": "0.21.36",
"expo-device-hub": "0.26.1"
}
43 changes: 18 additions & 25 deletions evals/mcp-tool-use/agent-device-help.txt

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion knip.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"smoke-desktop-app.ts",
"verify-windows-desktop-artifact.ts",
],
"ignoreDependencies": ["esbuild"],
// mobile-audit.ts invokes the aliased CLI by path.
"ignoreDependencies": ["agent-device-audit", "esbuild"],
// The `t3` npm package's files: copied into the package, never imported.
// knip-schemas.test.ts writes a throwaway project to .knip-test-*, which a
// knip run beside it in check:changed must not report.
Expand Down
7 changes: 5 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/mobile-audit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const execAgentDevice = Effect.fn("mobileAudit.execAgentDevice")(function* (
const execPath = yield* HostProcess.ExecutablePath;
const defaultEntry = path.resolve(
import.meta.dirname,
"../scripts/node_modules/agent-device/bin/agent-device.mjs",
"./node_modules/agent-device-audit/bin/agent-device.mjs",
);
const program = Option.isSome(bin) ? bin.value : execPath;
const fullArgs = Option.isSome(bin) ? [...args] : [defaultEntry, ...args];
Expand Down
3 changes: 2 additions & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"@t3tools/contracts": "workspace:*",
"@t3tools/shared": "workspace:*",
"@t3tools/tailscale": "workspace:*",
"agent-device": "0.21.41",
"agent-device": "0.21.36",
"agent-device-audit": "npm:agent-device@0.21.41",
"e2e": "0.23.0",
"effect": "catalog:",
"playwright-core": "1.64.1",
Expand Down
Loading