Skip to content

Drop the crossws patch now that devframe binds a Bun transport - #66

Merged
nojaf merged 1 commit into
mainfrom
remove-crossws-patch
Sep 3, 2026
Merged

Drop the crossws patch now that devframe binds a Bun transport#66
nojaf merged 1 commit into
mainfrom
remove-crossws-patch

Conversation

@nojaf

@nojaf nojaf commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

devframe 0.9.9 fixed devframes/devframe#317: on Bun/Deno it now binds a runtime-appropriate RPC WebSocket transport (crossws/adapters/bun via Bun.serve) instead of the Node adapter whose environment guard refused to run there. The repo-local guard-stripping patch is therefore obsolete.

Remove patches/crossws@0.4.12.patch and its patchedDependencies entry, and bump the devframe/@devframes packages to 0.9.10, @vitejs/devtools and @vitejs/devtools-vite to 0.7.1. Verified under Bun that the dev server starts clean and the embedded DevTools RPC works over the SSE endpoint. Dev-only bumps alongside: oxlint, oxfmt, @types/node, @types/react-dom.

CLAUDE.md replaces the patches section with a note that the embedded DevTools RPC runs over SSE rather than WebSocket on Bun, and ROADMAP.md marks the upstream tracking item as fixed.

devframe 0.9.9 fixed devframes/devframe#317: on Bun/Deno it now binds a
runtime-appropriate RPC WebSocket transport (crossws/adapters/bun via
Bun.serve) instead of the Node adapter whose environment guard refused to
run there. The repo-local guard-stripping patch is therefore obsolete.

Remove patches/crossws@0.4.12.patch and its patchedDependencies entry, and
bump the devframe/@devframes packages to 0.9.10, @vitejs/devtools and
@vitejs/devtools-vite to 0.7.1. Verified under Bun that the dev server
starts clean and the embedded DevTools RPC works over the SSE endpoint.
Dev-only bumps alongside: oxlint, oxfmt, @types/node, @types/react-dom.

CLAUDE.md replaces the patches section with a note that the embedded
DevTools RPC runs over SSE rather than WebSocket on Bun, and ROADMAP.md
marks the upstream tracking item as fixed.
@nojaf
nojaf merged commit ab3c754 into main Sep 3, 2026
4 checks passed
@nojaf
nojaf deleted the remove-crossws-patch branch September 3, 2026 12:37
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.

instance-shell always loads the Node crossws adapter, breaking the WS transport on Bun

1 participant