feat: support agent-cdp remote bridge sessions#878
Conversation
|
Size Report
Startup median (7 runs, lower is better):
Top changed chunks:
|
9214366 to
63b58f2
Compare
Review —
|
02b383e to
123ccdf
Compare
|
GitHub now reports this branch as conflicted against its stack base |
123ccdf to
b4e4fcc
Compare
|
Follow-up review after the rebase/retarget to Two items remain before I would call this merge-ready:
CI is green and the focused tests cover the URL-injection/error behavior; the remaining risk is the production bridge path. |
Summary
Add remote bridge session support for
agent-device agent-cdptarget discovery.agent-cdp target listandtarget selectnow run after remote connection defaults/materialization, prepare deferred Metro runtime for bridge sessions, and inject the derived Metro CDP--urlwhen the user did not pass one. Local passthrough behavior remains unchanged, and command/help docs now explain the remote bridge workflow.Validation
Focused agent-cdp and remote-connection tests pass, including session/default wiring, Metro runtime preparation, URL injection, explicit URL preservation, and local passthrough behavior.
pnpm check:quick,pnpm build, andgit diff --checkpassed. A live ADCconnectprobe against the bridge control plane generated and disconnected an Android remote profile; full liveagent-cdp target listwas not run because the generated profile had no RN project root, so it would not have represented a real app/Metro session.