Add a provider refresh button for each connected environment on mobile
Summary
T3 Code Mobile should provide a way to refresh the provider list/status for each connected environment.
Problem
When a provider such as Cursor is installed or becomes available on the server, the mobile client may not show it in the provider/model list because the server-reported provider snapshot is stale or missing the provider instance. The current workaround is to use the web provider settings page or restart the server/container, which is inconvenient when the server is running remotely (for example, T3 Code in Docker on TrueNAS) and the user only has access through mobile.
Requested behavior
Add a per-environment Refresh providers action in T3 Code Mobile, for example in:
- Settings → Environments → [connected environment]
- Or the environment/project connection menu
The action should request a provider refresh for only the selected environment and show loading, success, and failure feedback.
Expected result
After refreshing, the mobile provider/model picker should reflect the server's current provider state without requiring a browser URL or a server/container restart.
Context
- Client: T3 Code Mobile
- Server: remote T3 Code Docker container
- Use case: Cursor installed and available on the server, but not appearing in the mobile provider list
- Existing web behavior has a provider refresh mechanism, but mobile does not expose an equivalent control
[!NOTE] 🤖 GPT-5.6 Sol responding on behalf of Theo
Closing because PR #8480 addresses the missing mobile provider refresh on main. We have not verified it in a released build. The iOS and Android model pickers now have a "Refresh models" action for the selected environment. It disables repeat taps while the request runs, updates the model list, and shows errors.
This is part of an automated closure pass based on our investigation. The change is in source tag v0.0.38, but App Store and Google Play delivery is not verified.
If we missed something, please reply with the T3 Code version and reproduction details, and we can reopen it.