From 44b4c981ac69ffe22fcae909d17e6121bc6e5051 Mon Sep 17 00:00:00 2001 From: "Anthony Fu (via agent)" Date: Tue, 27 Oct 2026 02:10:40 +0000 Subject: [PATCH 1/2] fix(assets): skip re-declaring services Vite DevTools already installed --- packages/devtools/src/integrations/assets.ts | 7 ++++++- packages/devtools/test/devtools-origin.test.ts | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/devtools/src/integrations/assets.ts b/packages/devtools/src/integrations/assets.ts index a6da39bff6..bb9c7cee41 100644 --- a/packages/devtools/src/integrations/assets.ts +++ b/packages/devtools/src/integrations/assets.ts @@ -15,7 +15,12 @@ export function setup({ nuxt, options }: NuxtDevtoolsServerContext): void { uploadExtensions: options.assets?.uploadExtensions || defaultAllowedExtensions, }) onDevtoolsReady((kit) => { - return kit.install(definition, { + // Vite DevTools' built-in devframes install `service-open` and pass the + // services barrier before this runs, so re-declaring it can't merge our + // `roots` and only warns (DF0066). The public dir sits inside the + // workspace root the service already allows. + const services = definition.services?.filter(service => !kit.services.has(service.package)) + return kit.install({ ...definition, services }, { dock: { groupId: NUXT_DEVTOOLS_GROUP_ID, category: 'analyze', diff --git a/packages/devtools/test/devtools-origin.test.ts b/packages/devtools/test/devtools-origin.test.ts index 1f90fdb994..a4a03479cc 100644 --- a/packages/devtools/test/devtools-origin.test.ts +++ b/packages/devtools/test/devtools-origin.test.ts @@ -52,6 +52,7 @@ describe('vite DevTools origin', () => { viteConfig: { command: 'serve', build: { ssr: false } }, host: { resolveOrigin: () => 'http://localhost:5173' }, install: vi.fn(), + services: { has: () => false }, docks: { register: vi.fn() }, rpc: { register: vi.fn(), From f8b47580cf3f4d3f92ca290de2d7609c7a562ac6 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 27 Oct 2026 02:14:38 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- skills-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills-lock.json b/skills-lock.json index f205f70b40..19336cbc3c 100644 --- a/skills-lock.json +++ b/skills-lock.json @@ -186,7 +186,7 @@ "source": "vuejs-ai/skills", "sourceType": "github", "skillPath": "skills/vue-best-practices/SKILL.md", - "computedHash": "70a50d6ee12edf24e0be9a79f59ea55a581961e8a38de2a20b96c7ae766ce3ef", + "computedHash": "2f4da0a95f19b225e784981413f727ff03bfdec7818a1e5bb0a477aab633095e", "via": "@antfu/skills" }, "vue-debug-guides": {