Restart app-server per workspace without full app restart (for account switching)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- tauri, typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 4.3k
- Fork
- 416
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Dimillian/CodexMonitor
-
Listed in Awesome Codex CLI Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Dimillian/CodexMonitor#590 ·
-
Unable to select the command Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 63/100
Dimillian/CodexMonitor#615 ·
-
Codex Monitor does not surface MCP browser tool approval prompts, making browser tools appear hung Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
Dimillian/CodexMonitor#612 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Dimillian/CodexMonitor#599 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Dimillian/CodexMonitor#598 ·
Tất cả issue của Dimillian/CodexMonitor
Issue tương tự
-
blocklist removal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pastelsky/bundlephobia#1122 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100