mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
Allow administrators to set and clear the managed OpenCode server password from the Settings UI without requiring container or environment variable changes. Passwords are encrypted before database persistence and never returned to the frontend. The server manager resolves the password dynamically at restart time, falling back to the env var if no stored password exists. - Add system_settings table migration (v12) - Add SettingsService methods for encrypted password storage - Add GET/PATCH /api/settings/opencode-server-auth routes - Make OpenCodeServerManager resolve password dynamically from DB - Add frontend API methods, React Query hook, and auth settings component