opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: improve error messages for plugin installation failures

Open Barneyjm opened this issue 2 days ago • 1 comments

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

Barneyjm avatar Jan 14 '26 01:01 Barneyjm