Summary
Agents, Models, MCP, and Sessions tree providers refresh asynchronously via child_process.exec() with stderr redirected to /dev/null and || true. When the OpenCode CLI fails or is unavailable, users see stale or placeholder data with no loading spinner or error feedback.
Location
extension.js — AgentsProvider, McpProvider, SessionsProvider, ModelsProvider refresh() methods
Suggested Fix
- Show a loading state while
exec() is in flight
- Surface CLI errors via
vscode.window.showWarningMessage
- Distinguish "CLI not installed" from "command failed"
Environment
Found during exploratory GUI/UX testing session (21/06/2026)
Summary
Agents, Models, MCP, and Sessions tree providers refresh asynchronously via
child_process.exec()with stderr redirected to/dev/nulland|| true. When the OpenCode CLI fails or is unavailable, users see stale or placeholder data with no loading spinner or error feedback.Location
extension.js—AgentsProvider,McpProvider,SessionsProvider,ModelsProviderrefresh()methodsSuggested Fix
exec()is in flightvscode.window.showWarningMessageEnvironment
Found during exploratory GUI/UX testing session (21/06/2026)