[codex] Render backend-selected near-limit prompts in TUI

This commit is contained in:
James Chu
2026-05-04 23:55:21 -04:00
parent 69afe438db
commit f260fa1ca3
12 changed files with 746 additions and 5 deletions
+8
View File
@@ -223,6 +223,8 @@ pub enum Feature {
PreventIdleSleep,
/// Enable workspace-specific owner nudge copy and prompts in the TUI.
WorkspaceOwnerUsageNudge,
/// Render backend-selected proactive usage-limit prompts in the TUI.
CurrentUsageLimitNudge,
/// Legacy rollout flag for Responses API WebSocket transport experiments.
ResponsesWebsockets,
/// Legacy rollout flag for Responses API WebSocket transport v2 experiments.
@@ -1070,6 +1072,12 @@ pub const FEATURES: &[FeatureSpec] = &[
stage: Stage::UnderDevelopment,
default_enabled: false,
},
FeatureSpec {
id: Feature::CurrentUsageLimitNudge,
key: "current_usage_limit_nudge",
stage: Stage::Stable,
default_enabled: true,
},
FeatureSpec {
id: Feature::ResponsesWebsockets,
key: "responses_websockets",