Skip to content

Commit fa70ad0

Browse files
feat: promote context window usage breakdown to stable (#14534)
## Description Promotes the detailed context-window usage breakdown to Stable in the Warp client. - Enables the `context_window_usage_breakdown` Cargo feature by default. - Removes `ContextWindowUsageBreakdown` from `DOGFOOD_FLAGS` because Stable builds now compile and enable it through the existing feature bridge. - Keeps the feature flag and compile-time bridge in place for a one-line rollback during stabilization. - Updates the feature comment to remove the stale dev-only designation. This complements the server-side production rollout and addresses [REMOTE-2390](https://linear.app/warpdotdev/issue/REMOTE-2390/context-breakdown-for-conversations-system-prompt-tools-agentsmd). ## Validation - `./script/format` - `cargo check -p warp_features` - `cargo clippy -p warp_features --all-targets -- -D warnings` - Confirmed via `cargo metadata` that `context_window_usage_breakdown` is present in the default feature set. No new integration test is included because this PR only promotes the existing, already-tested implementation through configuration; it does not change rendering behavior. Co-Authored-By: Oz <oz-agent@warp.dev> _Conversation: https://staging.warp.dev/conversation/058394b3-c0e4-4edd-a6af-3f2ee8405276_ _Run: https://oz.staging.warp.dev/runs/019fb027-7a76-7053-834f-5ba35407e63b_ _This PR was generated with [Oz](https://warp.dev/oz)._ Co-authored-by: Oz <oz-agent@warp.dev>
1 parent 9c60994 commit fa70ad0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,7 @@ default = [
601601
"mcp_grouped_server_context",
602602
"fork_from_command",
603603
"context_window_usage_v2",
604+
"context_window_usage_breakdown",
604605
"ambient_agents_command_line",
605606
"ambient_agents_image_upload",
606607
"scheduled_ambient_agents",

crates/warp_features/src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,8 @@ pub enum FeatureFlag {
519519
/// Enables v2 of the context window usage UI.
520520
ContextWindowUsageV2,
521521

522-
/// Dev-only: enables the expandable per-segment context window usage
523-
/// breakdown in the conversation usage card.
522+
/// Enables the expandable per-segment context window usage breakdown in
523+
/// the conversation usage card.
524524
ContextWindowUsageBreakdown,
525525

526526
/// Enables global search
@@ -1000,7 +1000,6 @@ pub const DOGFOOD_FLAGS: &[FeatureFlag] = &[
10001000
FeatureFlag::WarpControlCli,
10011001
FeatureFlag::TerminalLifecycleRecovery,
10021002
FeatureFlag::PromptCacheExpiryWarning,
1003-
FeatureFlag::ContextWindowUsageBreakdown,
10041003
FeatureFlag::JupyterNotebookRendering,
10051004
FeatureFlag::WaitForEventsParentRegistration,
10061005
FeatureFlag::McpJsonTreeView,

0 commit comments

Comments
 (0)