[Bug]: Mobile Settings > Providers hides working providers (Codex, Grok, Muse, Pi)

Đang mở Phù hợp với người mới
#40,598 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
64/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react-native, typescript
Lĩnh vực
mobile

Hướng nghiên cứu

Bắt đầu tại apps/mobile/src/features/settings/SettingsProviderAccountsRouteScreen.tsx ở bộ lọc canManageProvider, sau đó xem bài kiểm thử claude-accounts bên cạnh và các kiểu tài khoản nhà cung cấp mà nó sử dụng. Tái hiện lỗi bằng cách so sánh Settings > Providers với trạng thái nhà cung cấp trên máy tính và tab Usage của ứng dụng di động. Hoàn thành khi mọi instance nhà cung cấp mà máy chủ báo là sẵn sàng đều được hiển thị (các instance không thể quản lý thì chỉ đọc), việc nhóm được bao phủ bởi một unit test, rồi chạy typecheck di động, các unit test và lint.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Area: apps/mobile
Impact: Minor bug or occasional failure
Version or commit: read against main @ 26d81d88; installed iOS app version not recorded
Environment: iPhone (T3 Code iOS app) connected to a macOS desktop environment; providers on the server include Codex, Claude, Cursor, Grok, Antigravity, Copilot (ACP Registry), Muse Code and Pi

Steps to reproduce
  1. On a desktop environment, configure several providers, including at least one Codex instance signed in through the Codex CLI and one of Grok, Muse Code or Pi. All show ready on desktop.
  2. Open the mobile app, connect to that environment, and go to Settings > Providers.
Expected behavior

Every enabled provider instance on the environment is listed, so I can see what the phone can use. Providers whose sign-in cannot be managed from the phone can be read-only.

Actual behavior

Only Cursor, Antigravity, Copilot and the Claude config-folder accounts are listed (only some of my enabled instances). Codex, Grok, Muse Code and Pi are missing with no explanation, so the screen reads as if those providers are not connected. They do work from the phone: the Usage tab lists the Codex accounts and their limits.

The cause appears to be the filter in apps/mobile/src/features/settings/SettingsProviderAccountsRouteScreen.tsx: canManageProvider keeps a provider only when setup.canAuthenticate is true or it is an installed acpRegistry driver, and Claude instances are rendered separately. Every other instance is dropped. The screen is titled "Providers", which is what makes the short list misleading.

Workaround

Check provider state on desktop, or on the mobile Usage tab.

Offer

I have a small patch against 26d81d88 that renders the remaining policy-allowed instances as read-only rows with their reported status ("Available" when the server reports ready with unknown authentication), and moves the three-way grouping into a tested helper. Locally: 12 of 12 unit tests pass (the new helper test and the neighbouring claude-accounts test), the mobile typecheck passes, and lint and format pass on the changed files. It has not been run on a device and I have no before/after screenshots yet. If you consider this a bug and not intended design, I can open a PR with screenshots; if it is intended, renaming the screen to something like "Provider accounts" would also remove the confusion.

The analysis and patch were produced with Gemini 4 Neon (Antigravity CLI) and GPT-6.2 Sol (Codex) in T3 Code, then reviewed over three rounds by models from three other labs.

Ngôn ngữ chính
TypeScript
Star
24.8k
Fork
6.4k
Merge trung bình
2 giờ 18 phút
Pull request đã merge (30 ngày)
448

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 pingdotgg/t3code

Tất cả issue của pingdotgg/t3code

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.