Lightweight coding agent that runs in your terminal
Rust
Point usage and credit links to ChatGPT settings (#49874)
Eric Trautbdfbab9f4fbd
diff --git a/codex-rs/protocol/src/error.rs b/codex-rs/protocol/src/error.rsindex 19134d6f3e..4a89f709db 100644--- a/codex-rs/protocol/src/error.rs+++ b/codex-rs/protocol/src/error.rs@@ -752,7 +752,7 @@ impl std::fmt::Display for UsageLimitReachedError {let message = match self.plan_type.as_ref() {Some(PlanType::Known(KnownPlan::Plus)) => format!(- "You’ve hit your usage limit. Upgrade to Pro (https://chatgpt.com/explore/pro), visit https://chatgpt.com/codex/settings/usage to purchase more credits{}",+ "You’ve hit your usage limit. Upgrade to Pro (https://chatgpt.com/explore/pro), visit https://chatgpt.com/settings/usage to purchase more credits{}",retry_suffix_after_or(self.resets_at.as_ref())),Some(PlanType::Known(@@ -777,7 +777,7 @@ impl std::fmt::Display for UsageLimitReachedError {}Some(PlanType::Known(KnownPlan::Pro | KnownPlan::ProLite | KnownPlan::ProMax)) => {format!(- "You’ve hit your usage limit. Visit https://chatgpt.com/codex/settings/usage to purchase more credits{}",+ "You’ve hit your usage limit. Visit https://chatgpt.com/settings/usage to purchase more credits{}",retry_suffix_after_or(self.resets_at.as_ref()))}diff --git a/codex-rs/protocol/src/error_tests.rs b/codex-rs/protocol/src/error_tests.rsindex 1efba0f415..8fb8ae872d 100644--- a/codex-rs/protocol/src/error_tests.rs+++ b/codex-rs/protocol/src/error_tests.rs@@ -166,7 +166,7 @@ fn usage_limit_reached_error_formats_plus_plan() {};assert_eq!(err.to_string(),- "You’ve hit your usage limit. Upgrade to Pro (https://chatgpt.com/explore/pro), visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again later."+ "You’ve hit your usage limit. Upgrade to Pro (https://chatgpt.com/explore/pro), visit https://chatgpt.com/settings/usage to purchase more credits or try again later.");}@@ -175,7 +175,7 @@ fn usage_limit_reached_error_formats_rate_limit_reached_types() {let cases = [(RateLimitReachedType::RateLimitReached,- "You’ve hit your usage limit. Upgrade to Pro (https://chatgpt.com/explore/pro), visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again later.",+ "You’ve hit your usage limit. Upgrade to Pro (https://chatgpt.com/explore/pro), visit https://chatgpt.com/settings/usage to purchase more credits or try again later.",),(RateLimitReachedType::WorkspaceOwnerCreditsDepleted,@@ -495,7 +495,7 @@ fn usage_limit_reached_error_formats_pro_plan_with_reset() {rate_limit_reached_type: None,};let expected = format!(- "You’ve hit your usage limit. Visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at {expected_time}."+ "You’ve hit your usage limit. Visit https://chatgpt.com/settings/usage to purchase more credits or try again at {expected_time}.");assert_eq!(err.to_string(), expected);});@@ -517,8 +517,7 @@ fn usage_limit_reached_error_hides_upsell_for_non_codex_limit_name() {..rate_limit_snapshot()})),promo_message: Some(- "Visit https://chatgpt.com/codex/settings/usage to purchase more credits"- .to_string(),+ "Visit https://chatgpt.com/settings/usage to purchase more credits".to_string(),),rate_limit_reached_type: None,};@@ -689,7 +688,7 @@ fn usage_limit_reached_includes_hours_and_minutes() {rate_limit_reached_type: None,};let expected = format!(- "You’ve hit your usage limit. Upgrade to Pro (https://chatgpt.com/explore/pro), visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at {expected_time}."+ "You’ve hit your usage limit. Upgrade to Pro (https://chatgpt.com/explore/pro), visit https://chatgpt.com/settings/usage to purchase more credits or try again at {expected_time}.");assert_eq!(err.to_string(), expected);});diff --git a/codex-rs/tui/src/app/tests/backend_banner_fallback_tests.rs b/codex-rs/tui/src/app/tests/backend_banner_fallback_tests.rsindex e62bd1d723..dac3c51f34 100644--- a/codex-rs/tui/src/app/tests/backend_banner_fallback_tests.rs+++ b/codex-rs/tui/src/app/tests/backend_banner_fallback_tests.rs@@ -118,7 +118,7 @@ async fn backend_banner_fallback_updates_task_settings_and_keeps_notice() -> Resapp.chat_widget.handle_key_event(KeyEvent::new(KeyCode::Char('1'), KeyModifiers::NONE));let queued = std::iter::from_fn(|| events.try_recv().ok()).collect::<Vec<_>>();- assert!(queued.iter().any(|event| matches!(event, AppEvent::OpenUrlInBrowser { url } if url == "https://chatgpt.com/codex/settings/usage")));+ assert!(queued.iter().any(|event| matches!(event, AppEvent::OpenUrlInBrowser { url } if url == "https://chatgpt.com/settings/usage")));let notices = queued.iter().filter_map(|event| match event {diff --git a/codex-rs/tui/src/backend_banners/actions.rs b/codex-rs/tui/src/backend_banners/actions.rsindex 0b3d99968e..4ff66e268f 100644--- a/codex-rs/tui/src/backend_banners/actions.rs+++ b/codex-rs/tui/src/backend_banners/actions.rs@@ -4,7 +4,7 @@ use super::BackendBanner;use codex_app_server_protocol::AddCreditsNudgeCreditType;use codex_protocol::account::PlanType;-const USAGE_URL: &str = "https://chatgpt.com/codex/settings/usage";+const USAGE_URL: &str = "https://chatgpt.com/settings/usage";const WORKSPACE_USAGE_URL: &str = "https://chatgpt.com/admin/usage-limits/workspace";pub(super) enum BannerAction {diff --git a/codex-rs/tui/src/bottom_pane/mod.rs b/codex-rs/tui/src/bottom_pane/mod.rsindex e33aa84bd5..75a7fee4a0 100644--- a/codex-rs/tui/src/bottom_pane/mod.rs+++ b/codex-rs/tui/src/bottom_pane/mod.rs@@ -2656,7 +2656,7 @@ mod tests {assert_eq!(selected,if action == "view_usage" {- "https://chatgpt.com/codex/settings/usage"+ "https://chatgpt.com/settings/usage"} else {"Credits"}diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_whole_status.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_whole_status.snapindex 1da4b4a498..a8631ab1a5 100644--- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_whole_status.snap+++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_whole_status.snap@@ -4,7 +4,7 @@ expression: "whole_status.replace(&directory,\n\"[[workspace]]\").replace(crate:--->_ OpenAI Codex (vVERSION)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: GPT-5.5 (reasoning medium, summaries auto)diff --git a/codex-rs/tui/src/chatwidget/tests/luna_reserve_usage_tests.rs b/codex-rs/tui/src/chatwidget/tests/luna_reserve_usage_tests.rsindex fb042b7640..8ff7c23443 100644--- a/codex-rs/tui/src/chatwidget/tests/luna_reserve_usage_tests.rs+++ b/codex-rs/tui/src/chatwidget/tests/luna_reserve_usage_tests.rs@@ -35,11 +35,11 @@ async fn luna_reserve_selector_supports_arrows_enter_shortcuts_and_escape_withou),(vec![KeyCode::Down, KeyCode::Up, KeyCode::Enter],- Some("https://chatgpt.com/codex/settings/usage?credits_modal=true"),+ Some("https://chatgpt.com/settings/usage?credits_modal=true"),),(vec![KeyCode::Char('1')],- Some("https://chatgpt.com/codex/settings/usage?credits_modal=true"),+ Some("https://chatgpt.com/settings/usage?credits_modal=true"),),(vec![KeyCode::Char('2')],diff --git a/codex-rs/tui/src/history_cell/tests.rs b/codex-rs/tui/src/history_cell/tests.rsindex 08e1f778b7..17e4e7c9ce 100644--- a/codex-rs/tui/src/history_cell/tests.rs+++ b/codex-rs/tui/src/history_cell/tests.rs@@ -405,7 +405,7 @@ fn proposed_plan_cell_preserves_wrapped_table_web_links() {#[test]fn composite_cell_preserves_child_web_links() {- let destination = "https://chatgpt.com/codex/settings/usage";+ let destination = "https://chatgpt.com/settings/usage";let cell = CompositeHistoryCell::new(vec![Box::new(PlainHistoryCell::new(vec![Line::from("/status")])),Box::new(WebHyperlinkHistoryCell::new(vec![Line::from(destination)])),diff --git a/codex-rs/tui/src/status/card.rs b/codex-rs/tui/src/status/card.rsindex 73b6daf68c..6b7f56bc87 100644--- a/codex-rs/tui/src/status/card.rs+++ b/codex-rs/tui/src/status/card.rs@@ -51,7 +51,7 @@ use crate::wrapping::word_wrap_lines;use std::sync::Arc;use std::sync::RwLock;-const CHATGPT_USAGE_URL: &str = "https://chatgpt.com/codex/settings/usage";+const CHATGPT_USAGE_URL: &str = "https://chatgpt.com/settings/usage";#[derive(Debug, Clone)]struct StatusContextWindowData {diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_server_auth_required.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_server_auth_required.snapindex 6c856d50a4..f7be0da370 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_server_auth_required.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_server_auth_required.snap@@ -6,7 +6,7 @@ expression: rendered>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.6-sol (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snapindex 4f55f6a763..0f7605b353 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_credits_and_limits.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_credits_and_limits.snapindex 9d8fba759f..b2836f4618 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_credits_and_limits.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_credits_and_limits.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_enterprise_monthly_credit_limit.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_enterprise_monthly_credit_limit.snapindex be84d82de5..92686ae341 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_enterprise_monthly_credit_limit.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_enterprise_monthly_credit_limit.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_forked_from.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_forked_from.snapindex a32113539f..9e2dde9901 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_forked_from.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_forked_from.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_monthly_limit.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_monthly_limit.snapindex f2cc2fbe1c..bdf79abd5e 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_monthly_limit.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_monthly_limit.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_reasoning_details.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_reasoning_details.snapindex 06866b52e7..db8ba4caef 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_reasoning_details.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_reasoning_details.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning high, summaries detailed)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_local_background_server.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_local_background_server.snapindex 6cc0ff032c..c20a53281a 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_local_background_server.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_local_background_server.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsServer: Local background serverdiff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_remote_server.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_remote_server.snapindex 8478305e3e..57c04829f5 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_remote_server.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_remote_server.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsServer: unix:///tmp/codex-home/app-server-control/app-server-diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snapindex 01134f2221..e21309d2f8 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_auto_review_permissions.snapindex 7173c997ec..a5c7c21c01 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_chatgpt_plan_without_email.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_chatgpt_plan_without_email.snapindex e3b9bae320..51b58ecdec 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_chatgpt_plan_without_email.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_chatgpt_plan_without_email.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_missing_limits_message.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_missing_limits_message.snapindex 9a948fe130..8899e4ee37 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_missing_limits_message.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_missing_limits_message.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_refreshing_limits_notice.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_refreshing_limits_notice.snapindex 49ac38b2f5..af4953d845 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_refreshing_limits_notice.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_refreshing_limits_notice.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_stale_limits_message.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_stale_limits_message.snapindex 247465654a..2ec2677aac 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_stale_limits_message.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_stale_limits_message.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snapindex 7d4340538c..d83ee6f2d0 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_treats_refreshing_empty_limits_as_unavailable.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_treats_refreshing_empty_limits_as_unavailable.snapindex 7d4340538c..d83ee6f2d0 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_treats_refreshing_empty_limits_as_unavailable.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_treats_refreshing_empty_limits_as_unavailable.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snapindex 23496e49f8..593ffd201e 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap@@ -6,8 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit- https://chatgpt.com/codex/settings/usage+ Visit https://chatgpt.com/settings/usagefor up-to-dateinformation on rate limits and creditsdiff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snapindex ac59138592..be5c100eec 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning high, summariesdiff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snapindex bf5bb867e3..8661643e2e 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning medium, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snapindex a1430ac31d..1ba1146d2c 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap@@ -6,7 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_wraps_enterprise_monthly_credit_details_in_narrow_terminal.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_wraps_enterprise_monthly_credit_details_in_narrow_terminal.snapindex 950a3d4d38..29cf7973ff 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_wraps_enterprise_monthly_credit_details_in_narrow_terminal.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_wraps_enterprise_monthly_credit_details_in_narrow_terminal.snap@@ -6,8 +6,7 @@ expression: sanitized>_ OpenAI Codex (v0.0.0)- Visit- https://chatgpt.com/codex/settings/usage for+ Visit https://chatgpt.com/settings/usage forup-to-dateinformation on rate limits and creditsdiff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__transcript_overlay_status_rate_limit_refresh.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__transcript_overlay_status_rate_limit_refresh.snapindex 6c4592a0f4..51fbff67df 100644--- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__transcript_overlay_status_rate_limit_refresh.snap+++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__transcript_overlay_status_rate_limit_refresh.snap@@ -8,7 +8,7 @@ before:>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)@@ -40,7 +40,7 @@ after:>_ OpenAI Codex (v0.0.0)- Visit https://chatgpt.com/codex/settings/usage for up-to-date+ Visit https://chatgpt.com/settings/usage for up-to-dateinformation on rate limits and creditsModel: gpt-5.1-codex-max (reasoning none, summaries auto)diff --git a/codex-rs/tui/src/status/tests.rs b/codex-rs/tui/src/status/tests.rsindex d2016cabc5..029ef13695 100644--- a/codex-rs/tui/src/status/tests.rs+++ b/codex-rs/tui/src/status/tests.rs@@ -835,10 +835,7 @@ async fn status_uses_server_provider_id_and_auth_requirement() {.flat_map(|line| line.hyperlinks.into_iter()).map(|link| link.destination).collect();- assert_eq!(- destinations,- vec!["https://chatgpt.com/codex/settings/usage"]- );+ assert_eq!(destinations, vec!["https://chatgpt.com/settings/usage"]);}let narrow_destinations: Vec<String> = composite