Skip to content

Announce diagnostics endpoint and agent skills in dev-server startup output - #330

Merged
ryansolid merged 1 commit into
nextfrom
diagnostics-banner
Aug 26, 2026
Merged

Announce diagnostics endpoint and agent skills in dev-server startup output#330
ryansolid merged 1 commit into
nextfrom
diagnostics-banner

Conversation

@ryansolid

Copy link
Copy Markdown
Member

Summary

  • With diagnostics: true, the dev server startup block gains two lines after Vite's URLs: the /__solid/diagnostics endpoint (with its POST method vocabulary) and the paths of the agent skill documents shipped in node_modules (@solidjs/diagnostics agent loops, solid-js reactivity repair guide).
  • Startup output is the one channel agents reliably read even in projects with no AGENTS.md — this is the discovery path for existing apps and ports, complementing the scaffold-level pointers added to the solid-v2 templates (solid-v2: enable agent diagnostics and add AGENTS.md to all templates templates#283).
  • Dev-serve only; no output change for builds, preview, or when the option is off.

Verified live against a scaffolded app:

  ➜  Local:   http://localhost:3011/
  ➜  Network: use --host to expose
  ➜  Solid diagnostics: http://localhost:3011/__solid/diagnostics (GET status; POST {"method":"begin"|"end"|"whyDidRun"|"costs"})
  ➜  Agent skills: node_modules/@solidjs/diagnostics/skills/agent-loops/SKILL.md, node_modules/solid-js/skills/reactivity-diagnostics/SKILL.md

Made with Cursor

…output

When diagnostics is enabled, append two lines to Vite's startup block: the
/__solid/diagnostics endpoint with its method vocabulary, and the paths of
the agent skill documents shipped in node_modules. Startup output is the
one channel agents reliably read even in projects with no AGENTS.md, so
this is the discovery path for existing apps and ports. Dev-serve only.

Co-authored-by: Cursor <cursoragent@cursor.com>
@changeset-bot

changeset-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5c50681

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@solidjs/vite-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Aug 26, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@solidjs/vite-plugin@330

commit: 5c50681

@ryansolid
ryansolid merged commit 8cfdbe3 into next Aug 26, 2026
6 checks passed
@ryansolid
ryansolid deleted the diagnostics-banner branch August 26, 2026 10:33
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