Skip to content

[codex] Use WebUSB for Android Chrome USB connections#80

Merged
cormoran merged 1 commit into
mainfrom
codex/android-webusb-cdc
Jun 5, 2026
Merged

[codex] Use WebUSB for Android Chrome USB connections#80
cormoran merged 1 commit into
mainfrom
codex/android-webusb-cdc

Conversation

@cormoran

@cormoran cormoran commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a WebUSB CDC transport that claims a CDC bulk data interface and exposes it through the existing ZMK Studio RPC transport shape.
  • Route the existing USB connection action to WebUSB automatically on Android Chrome while keeping Web Serial for other browsers.
  • Allow the existing USB connection notice to continue on Android Chrome when WebUSB is available, with tests for the transport selection and dialog behavior.

Verification

  • npm run format:check
  • npm run lint
  • npm run build
  • npm test -- --runInBand

Notes

  • gh auth status reports the local gh token is invalid, so PR creation used the GitHub connector after pushing with git/SSH.

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

🚀 Cloudflare Workers Preview

Preview URL: https://94dba7fb-dya-studio.cormoran707.workers.dev

Deployed from commit 53cf0d8

@cormoran cormoran marked this pull request as ready for review June 5, 2026 16:29
@cormoran cormoran merged commit c1d9954 into main Jun 5, 2026
3 checks passed
@cormoran cormoran deleted the codex/android-webusb-cdc branch June 5, 2026 16:29
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.

2 participants