feat(core): migrate to devframe 0.9.0-beta.4 and expose dockPreferences + embeddedVisibility - #531
Merged
Merged
Conversation
…es + embeddedVisibility Bump the devframe catalog to 0.9.0-beta.4 and surface the reference UI's `embeddedVisibility` and `dockPreferences` through `DevTools()` options, forwarding them to `createUi` so they publish via `ConnectionMeta.configs.ui`. The beta line moved the embedded dock's reveal policy from the injected `data-visibility` hint to connection-meta config, so the injection plugin now only bootstraps `embedded.js`; the former `visibility` option is renamed to `embeddedVisibility`. The dropped `devframe/helpers/vite` subpath is replaced with `devframeViteBridge` from `@devframes/vite/dev-spa` in the oxc Nuxt config.
@vitejs/devtools
@vitejs/devtools-kit
@vitejs/devtools-oxc
@vitejs/devtools-rolldown
@vitejs/devtools-vite
@vitejs/devtools-vitest
commit: |
antfu
approved these changes
Aug 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Migrates the workbench to the latest devframe
0.9.0-beta.4catalog and exposes the reference UI's two new configuration surfaces throughDevTools()plugin options.Expose UI options
DevToolsOptionsgainsembeddedVisibility(how the embedded floating dock reveals itself on a fresh page) anddockPreferences(dock-bar category ordering, floating-dock capacity, first-run float/edge mode and position).DevToolsServer/DevToolsBuild→createDevToolsHub/buildStaticDevTools→createViteDevToolsUi→createUi, which publishes them viaConnectionMeta.configs.ui. This covers both the dev-serve embedded dock and the static snapshot.Migration to the beta line
data-visibilityhint to connection-meta config, so the injection plugin now only bootstrapsembedded.js. The formervisibilityoption is renamed toembeddedVisibilityto match upstream.devframe/helpers/vitesubpath is replaced withdevframeViteBridgefrom the new@devframes/vite/dev-spapackage in the oxc Nuxt config (added@devframes/viteto the deps catalog).Docs and the tsnapi export snapshot are updated to match.
Linked Issues
Additional context
The original request targeted
beta.3, but only the core devframe packages had published it; per maintainer direction I waited forbeta.4(all@devframes/*packages published together) and bumped to that.pnpm build,pnpm test,pnpm typecheck, andpnpm lintall pass.This PR was created with the help of an agent.