Svelte DevTools 0.2.2 adds one-command setup for fresh and existing Svelte 5 and SvelteKit apps.
- New
svelte-devtools initsetup command: adds the DevTools host and plugin to Vite config and creates a development-only SvelteKit hook. Preserves generated adapter and compiler options insidesveltekit(...). Supports--dry-run, is idempotent, and leaves dynamic configs or existing custom hooks untouched with pointers to manual setup. - Installation docs now start with the setup command (
npm install -D @fsodano/vite-plugin-svelte-devtools@0.2.2 @vitejs/devtools@0.4.8+npx svelte-devtools init), with manual Vite config and server-hook instructions retained. - Panel no longer reports agent state editing as unavailable; matches the nine implemented MCP tools.
Validation: 572 unit tests (including 10 setup regressions), 12 Chromium end-to-end tests, stress, SSR/SQLite, and production-isolation checks, five package release-gate checks, packed-tarball consumer tests, and a fresh sv create verification with type check and production build.
Install: npm install -D @fsodano/vite-plugin-svelte-devtools@0.2.2