mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Enable remote OpenCode TUI clients to authenticate via Basic Auth when accessing /api/opencode/* routes. Normal WebUI session auth continues to work for browser clients. - Add requireOpenCodeProxyAuth middleware that checks Basic Auth first - Add isOpenCodeProxyBasicAuth with timing-safe password comparison - Stream proxy responses without buffering (SSE support) - Drop hop-by-hop headers from proxied responses - Add tests for auth validation and streaming behavior