You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto-enable diagnostics surface when @solidjs/diagnostics is installed
Installing the dev dependency is now the whole setup: the dev-serve
diagnostics surface (bridge injection, /__solid/diagnostics endpoint,
startup breadcrumb) detects the package with a node_modules walk from
the project root and enables itself. The `diagnostics` option becomes
an override — `true` forces it on (hard error if the package is
missing), `false` opts out. Start mode resolves the same detection for
its client-entry bridge import.
No host guard on the endpoint: Vite's own DNS-rebinding host check
(all supported versions, peer ^8) runs ahead of plugin middleware —
verified empirically with a spoofed Host header.
Co-authored-by: Cursor <cursoragent@cursor.com>
Auto-enable the agent diagnostics surface (dev serve only) when `@solidjs/diagnostics` is installed in the app — installing the dev dependency is now the whole setup. The `diagnostics` option becomes an override: `true` forces it on (erroring if the package is missing), `false` opts out entirely, omitted auto-detects. Start mode's generated/authored client entries follow the same detection for the bridge import.
0 commit comments