Skip to content

Commit 3d45215

Browse files
katipallyCopilot
andcommitted
feat(opencode): add opencode doctor diagnostic command
Add a comprehensive diagnostic command that checks 13 aspects of an OpenCode installation: - Environment (version, Bun, Git) - Updates (auto-update status, latest version) - Configuration (load/validate, error detection) - Providers & Models (multi-provider auth matrix, default model, model DB) - Agents (native/custom listing, model binding validation) - Tools & Permissions (tool count, disabled tools, permission rules) - LSP Servers (connection status) - MCP Servers (status, tool count, error messages) - Formatters (enabled formatters, file extension coverage) - Plugins (load status) - Context Analysis (description sizes, MCP tool count pressure) - Environment Variables (OPENCODE_* flag validation) - Paths (directory existence and writability) Supports --json for machine-readable output and --verbose for full details. Each section is independently error-handled so one failure never blocks the rest. Closes anomalyco#21269 Co-authored-by: Copilot <[email protected]>
1 parent ec8b981 commit 3d45215

2 files changed

Lines changed: 724 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)