[PR #8319] fix: improve error messages for plugin installation failures #12705

Open
opened 2026-02-16 18:17:36 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8319

State: open
Merged: No


When OAuth authentication plugins fail to install (e.g., due to corporate npm proxy issues), users now receive:

  • Clear explanation of which authentication method is unavailable
  • Actionable troubleshooting steps (check network, verify .npmrc, etc.)
  • Detailed error information for debugging

Also adds:

  • Plugin.getFailedPlugins() function for programmatic access
  • /plugin/failed API endpoint for diagnostic purposes

Fixes #8297

How did you verify your code works?

Built and set npm to a fake URL to verify the error messages

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8319 **State:** open **Merged:** No --- When OAuth authentication plugins fail to install (e.g., due to corporate npm proxy issues), users now receive: - Clear explanation of which authentication method is unavailable - Actionable troubleshooting steps (check network, verify .npmrc, etc.) - Detailed error information for debugging Also adds: - `Plugin.getFailedPlugins()` function for programmatic access - `/plugin/failed` API endpoint for diagnostic purposes Fixes #8297 ### How did you verify your code works? Built and set npm to a fake URL to verify the error messages
yindo added the pull-request label 2026-02-16 18:17:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12705