Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Restart app-server per workspace without full app restart (for account switching)

Đang mở
#602 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

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
Lĩnh vực
ai, desktop

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Dimillian/CodexMonitor

Tất cả issue của Dimillian/CodexMonitor

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.