Open
Conversation
Adds a unified diagnostic system for Paseo setup: - Doctor module in packages/server with provider, config, and runtime checks - GET /api/doctor HTTP endpoint on the daemon - `paseo doctor` CLI command (local checks by default, --remote for daemon) - Tests for the doctor report shape and summary correctness
- Fix TypeScript error: extract host field for getDaemonHost call - Use async execFile + Promise.all for parallel provider checks - Load config once in runConfigChecks instead of twice
Add a "Diagnostics" section that lets users run a health check against their connected daemon via GET /api/doctor. Displays grouped check results with status icons and a summary line.
The check IDs use dots (provider.claude.binary) not dashes, so the grouping filter never matched and only the summary line was visible. Fixed the prefix matching and made detail text selectable so users can copy paths (e.g., Claude binary location).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
paseo doctorCLI command that diagnoses Paseo setup: agent binaries, config validity, and runtime infoGET /api/doctorHTTP endpoint on the daemon for remote diagnosticspackages/server/src/server/doctor/as a pure module with no daemon dependencyChecks performed
which/where--versionon detected binaryconfig.jsonparses correctlyUsage
UI
Test plan
run-doctor-checks.test.ts)paseo doctortable output renders correctly with ✓/⚠/✗ indicatorspaseo doctor --jsonreturns valid structured reportpaseo doctor --remoteagainst running daemoncurl localhost:6767/api/doctorreturns JSON report