Skip to content

refactor(devframe): rename devtoolskit:internal: prefix to devframe:#309

Merged
antfu merged 1 commit into
mainfrom
antfu/devframe-prefix
May 7, 2026
Merged

refactor(devframe): rename devtoolskit:internal: prefix to devframe:#309
antfu merged 1 commit into
mainfrom
antfu/devframe-prefix

Conversation

@antfu
Copy link
Copy Markdown
Member

@antfu antfu commented May 7, 2026

Description

Renames legacy devtoolskit:internal:* identifiers owned by devframe to the devframe:* prefix. This aligns with the convention already used by newer code in the package (e.g. devframe:open-in-editor, devframe:agent:list-tools, devframe://resource/<id>) and fits devframe's positioning to be extracted into its own repo.

Scope is the wire-protocol IDs that originate inside devframe/packages/devframe/: streaming (streaming:chunk/end/subscribe/...), shared-state RPC (rpc:server-state:*, rpc:client-state:*), the auth-revoked event, the terminals:updated / messages:updated server→client events, the terminals stream channel, and the user-settings / docks / commands / json-render:N shared-state keys. Consumers in packages/core and packages/self-inspect are updated in lockstep so the WS protocol stays consistent. Core-owned RPC function names (terminals:read, messages:add, commands:execute, docks:on-launch, rpc:server:list, etc.) are intentionally not renamed.

Linked Issues

Additional context

pnpm typecheck / test (450 passing) / lint / build all green.

Aligns devframe-owned identifiers (streaming, shared-state, auth, terminals/messages
events, dock/commands/user-settings shared state keys) with the existing `devframe:`
convention already used by newer code (e.g. `devframe:open-in-editor`,
`devframe:agent:list-tools`). Core-owned RPC function names (`terminals:read`,
`messages:add`, etc.) are intentionally unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 7, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@vitejs/devtools@309
npm i https://pkg.pr.new/@vitejs/devtools-kit@309
npm i https://pkg.pr.new/@vitejs/devtools-rolldown@309
npm i https://pkg.pr.new/@vitejs/devtools-self-inspect@309

commit: 7fd23ac

@antfu antfu merged commit 62765c2 into main May 7, 2026
9 checks passed
@antfu antfu deleted the antfu/devframe-prefix branch May 7, 2026 07:34
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.

1 participant