Skip to content

Conversation

@Slone123c
Copy link
Contributor

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.

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, I found one potentially related PR:

Related PR:

The other result (#6629) appears to be unrelated telemetry instrumentation work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant