feat!: migrate to devframe 0.5.2 and @devframes/hub 0.5.2#366
Merged
Conversation
Thin @vitejs/devtools-kit to re-export hub primitives (docks, terminals, messages, commands, mountDevframe, json-render) from @devframes/hub. Kit keeps its DevTools* public surface via aliases, so downstream packages need no source changes. Core follows devframe's wire-format renames (hub-internals subpath, devframe:anonymous: RPC scope, devframe_auth_token query param, devframe-auth broadcast channel). SPA mount path stays at /__devtools/.
…e-hub-0.5.2 # Conflicts: # packages/core/src/client/webcomponents/.generated/css.ts # pnpm-lock.yaml # pnpm-workspace.yaml
commit: |
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
Coordinated follow-up to devframes/devframe#24, which split the framework-neutral hub primitives out of devframe into a new sibling package
@devframes/huband renamed devframe's internalDevTools*identifiers toDevframe*. This PR thins@vitejs/devtools-kitto re-export from@devframes/hub(the fourhost-*.tsfiles — ~900 lines — are deleted in favor of hub's implementations) while keeping the kit's publicDevTools*surface intact via aliases, so@vitejs/devtools-rolldown,@vitejs/devtools-vite,@vitejs/devtools-self-inspect, and downstream plugin authors need no source changes.@vitejs/devtools(core) follows devframe's wire-format renames where they're load-bearing:devframe/node/internal→devframe/node/hub-internals, RPC auth scopevite:anonymous:→devframe:anonymous:, WS auth-token query parameterdevframe_auth_token, broadcast channeldevframe-auth— the SPA mount path stays pinned at/__devtools/so user-facing URLs don't move. The hub-domainDTK0050–DTK0057diagnostic codes retire (their conditions now live upstream asDF8100–DF8403); auth tokens stored by older clients become invalid, prompting a one-time re-authorize.Linked Issues
Additional context
This PR was created with the help of an agent.