Files
opencode-manager/backend
Chris Scott 26a8532cc6 feat(backend): add OpenCode Basic Auth for proxy endpoints
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
2026-04-28 22:52:28 +00:00
..
2025-11-23 23:25:27 -05:00
2025-11-23 23:25:27 -05:00
2025-11-23 23:25:27 -05:00