Skip to content

fix: harden public API boundaries#399

Merged
thymikee merged 1 commit into
mainfrom
codex/prune-public-api-hardening
Apr 11, 2026
Merged

fix: harden public API boundaries#399
thymikee merged 1 commit into
mainfrom
codex/prune-public-api-hardening

Conversation

@thymikee

Copy link
Copy Markdown
Member

Summary

Prune internal-adjacent public subpath exports for artifacts, install-source, selectors, and finders so the package keeps the intended public surface to root client, contracts, remote-config, and metro.

Retype the public daemon transport against the public wire contracts, and harden Metro remote preparation by cleaning up spawned Metro processes on readiness timeout plus retrying malformed retryable bridge responses with clearer descriptor errors.

Touched 18 files; scope expanded from export pruning to the related transport and Metro correctness issues identified in review.

Validation

  • pnpm exec vitest run src/__tests__/client-public.test.ts src/__tests__/client-metro-auto-companion.test.ts src/__tests__/client-metro-startup-cleanup.test.ts src/__tests__/metro-protocol-public.test.ts src/__tests__/remote-config-public.test.ts
  • pnpm typecheck
  • pnpm format
  • pnpm check
  • pnpm exec node --test test/integration/installed-package-metro.test.ts

@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

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

Built to branch gh-pages at 2026-04-11 18:38 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee merged commit 8e42f2e into main Apr 11, 2026
16 checks passed
@thymikee thymikee deleted the codex/prune-public-api-hardening branch April 11, 2026 19:01
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