Skip to content

Conversation

@LeonMueller-OneAndOnly
Copy link
Contributor

@LeonMueller-OneAndOnly LeonMueller-OneAndOnly commented Jan 13, 2026

What does this PR do?

When setting the OPENCODE_SERVER_PASSWORD env variable the regular TUI app would no longer work. See the issue this PR fixes for details, please.

How did you verify your code works?

Run OPENCODE_SERVER_PASSWORD='secure-password' bun dev . after applying fix and sending a test-prompt.
Furthermore, checked that when I return undefined for my new "getAuthorizationHeader" helper and run the same comment the previous issue persists, so this isn't due to the bundled CLI tool behaving different from bun dev . in this regard.

Fixes #8173

@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:

No duplicate PRs found

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OPENCODE_SERVER_PASSWORD in env prevents user from working in TUI

1 participant