[PR #9987] fix: add basic auth for plugin client #13293

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

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

State: open
Merged: No


What does this PR do?

  • Add Basic Auth injection to the plugin client fetch when OPENCODE_SERVER_PASSWORD is set.
  • Fix 401 Unauthorized errors for plugin-driven API calls (e.g., delegate_task/call_omo_agent) against a password-protected local server.

How did you verify your code works?

  • Tested on local test cases.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9987 **State:** open **Merged:** No --- ### What does this PR do? - Add Basic Auth injection to the plugin client fetch when `OPENCODE_SERVER_PASSWORD` is set. - Fix 401 Unauthorized errors for plugin-driven API calls (e.g., delegate_task/call_omo_agent) against a password-protected local server. ### How did you verify your code works? - Tested on local test cases.
yindo added the pull-request label 2026-02-16 18:18:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13293