feat: add server restart coordination and health status tracking (#300)

* feat: add server restart coordination and health status tracking

* refactor: consolidate server restart logic, extract hooks, remove dead code
This commit is contained in:
Chris Scott authored and GitHub committed 2026-06-30 18:20:54 -04:00
1 parent 68cd6b5a0b
commit 217f5bd989
19 files changed
+802 -259

No files matched your search

+4
View File
@@ -152,6 +152,10 @@ export const settingsApi = {
})
},
getActiveOpenCodeSessions: async (): Promise<{ count: number; sessions: { sessionID: string; directory: string }[] }> => {
return fetchWrapper(`${API_BASE_URL}/api/settings/opencode-active-sessions`)
},
reloadOpenCodeConfig: async (): Promise<{ success: boolean; message: string; details?: string }> => {
try {
return fetchWrapper(`${API_BASE_URL}/api/settings/opencode-reload`, {