Skip to content

feat(core): migrate to devframe 0.9.0-beta.4 and expose dockPreferences + embeddedVisibility - #531

Merged
antfu merged 1 commit into
mainfrom
deps/devframe-0.9.0-beta.4
Aug 15, 2026
Merged

feat(core): migrate to devframe 0.9.0-beta.4 and expose dockPreferences + embeddedVisibility#531
antfu merged 1 commit into
mainfrom
deps/devframe-0.9.0-beta.4

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Description

Migrates the workbench to the latest devframe 0.9.0-beta.4 catalog and exposes the reference UI's two new configuration surfaces through DevTools() plugin options.

Expose UI options

  • DevToolsOptions gains embeddedVisibility (how the embedded floating dock reveals itself on a fresh page) and dockPreferences (dock-bar category ordering, floating-dock capacity, first-run float/edge mode and position).
  • Both are threaded through DevToolsServer / DevToolsBuildcreateDevToolsHub / buildStaticDevToolscreateViteDevToolsUicreateUi, which publishes them via ConnectionMeta.configs.ui. This covers both the dev-serve embedded dock and the static snapshot.

Migration to the beta line

  • The embedded dock's reveal policy moved 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 to match upstream.
  • The dropped devframe/helpers/vite subpath is replaced with devframeViteBridge from the new @devframes/vite/dev-spa package in the oxc Nuxt config (added @devframes/vite to 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 for beta.4 (all @devframes/* packages published together) and bumped to that. pnpm build, pnpm test, pnpm typecheck, and pnpm lint all pass.

This PR was created with the help of an agent.

…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.
@pkg-pr-new

pkg-pr-new Bot commented Aug 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/@vitejs/devtools@531

@vitejs/devtools-kit

npm i https://pkg.pr.new/@vitejs/devtools-kit@531

@vitejs/devtools-oxc

npm i https://pkg.pr.new/@vitejs/devtools-oxc@531

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/@vitejs/devtools-rolldown@531

@vitejs/devtools-vite

npm i https://pkg.pr.new/@vitejs/devtools-vite@531

@vitejs/devtools-vitest

npm i https://pkg.pr.new/@vitejs/devtools-vitest@531

commit: 29f3cb6

@antfu
antfu merged commit 0f69d69 into main Aug 15, 2026
10 checks passed
@antfu
antfu deleted the deps/devframe-0.9.0-beta.4 branch August 15, 2026 01:49
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