Restart app-server per workspace without full app restart (for account switching)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- tauri, typescript
Direzione di ricerca
Trace how each workspace starts and owns its persistent codex app-server process, then inspect the workspace sidebar actions for an appropriate entry point. The implementation should provide a per-workspace reconnect or restart action that uses the current ~/.codex account without restarting the whole app; verify that subsequent requests use the refreshed process.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
When using multiple Codex accounts via a tool like Codex Switcher, switching accounts updates ~/.codex but does not affect already-running workspace sessions in CodexMonitor. Each workspace has a persistent codex app-server process started at launch with the original account. After switching accounts externally, all requests continue to use the old session and fail with usageLimitExceeded.
The only workaround currently is a full app restart (Cmd+Q and reopen).
Expected Behavior
A way to restart the app-server for a specific workspace from within CodexMonitor — either via:
- A right-click context menu on the workspace
- A button in workspace settings
- Automatic detection of account changes in
~/.codex
Debug Log Evidence
Both workspaces return the same rate limit error after account switch:
"codexErrorInfo": "usageLimitExceeded"
"willRetry": false
Even after switching accounts externally, new turn/start requests go to the same exhausted session.
Suggested Fix
Add a Reconnect or Restart app-server option per workspace in the sidebar context menu. This would kill the current app-server process and spawn a fresh one, picking up whatever account is active in ~/.codex at that moment.
- Lingua principale
- TypeScript
- Stelle
- 4.3k
- Fork
- 416
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Dimillian/CodexMonitor
-
Listed in Awesome Codex CLI Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
Dimillian/CodexMonitor#590 ·
-
Unable to select the command Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 63/100
Dimillian/CodexMonitor#615 ·
-
Codex Monitor does not surface MCP browser tool approval prompts, making browser tools appear hung Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
Dimillian/CodexMonitor#612 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
Dimillian/CodexMonitor#599 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Dimillian/CodexMonitor#598 ·
Tutte le issue di Dimillian/CodexMonitor
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fil-donadoni/tolaria#4409 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
corsairdev/corsair#1764 ·