Skip to content

refactor: finish companion tunnel naming#446

Merged
thymikee merged 1 commit intomainfrom
codex/pr-442-followups
Apr 26, 2026
Merged

refactor: finish companion tunnel naming#446
thymikee merged 1 commit intomainfrom
codex/pr-442-followups

Conversation

@thymikee
Copy link
Copy Markdown
Contributor

@thymikee thymikee commented Apr 26, 2026

Summary

Rename companion tunnel worker env vars to AGENT_DEVICE_COMPANION_TUNNEL_* and remove the now-unused Metro env fallback layer.
Replace the packaged metro-companion runtime entrypoint with companion-tunnel; the Metro-specific wrapper now only supplies the Metro tunnel definition and run arg.
Expose neutral CompanionTunnelScope while preserving the existing MetroBridgeScope alias from one contract source.

The spawned worker now requires the new companion-tunnel entrypoint, and the packaging test verifies companion-tunnel.js is emitted while metro-companion.js is not. Source checkouts should rebuild after upgrading.

Touched files: 13. Scope stayed within companion tunnel naming, runtime packaging, and related tests.

Validation

  • pnpm format
  • pnpm check:tooling
  • pnpm exec vitest run src/tests/client-companion-tunnel-worker.test.ts src/tests/client-metro-companion.test.ts
  • node --test test/integration/installed-package-metro.test.ts
  • pnpm exec vitest run --changed origin/main
  • pnpm test:smoke
  • pnpm check:unit

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 26, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-446/

Built to branch gh-pages at 2026-04-26 15:35 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee force-pushed the codex/pr-442-followups branch 3 times, most recently from 34ece01 to 23c2ef9 Compare April 26, 2026 15:19
@thymikee thymikee force-pushed the codex/pr-442-followups branch from 23c2ef9 to d48a2f5 Compare April 26, 2026 15:35
@thymikee thymikee merged commit 5375008 into main Apr 26, 2026
15 checks passed
@thymikee thymikee deleted the codex/pr-442-followups branch April 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant