From 3ce4239da86aa0f06587ceba15b50882b9671843 Mon Sep 17 00:00:00 2001 From: Zach Lloyd Date: Sun, 3 May 2026 15:40:18 -0600 Subject: [PATCH] Remove blocklist markdown images from preview flags (#9993) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description This removes `FeatureFlag::BlocklistMarkdownImages` from `PREVIEW_FLAGS`. We accidentally promoted inline Markdown image rendering in the AI block list to Stable in the latest release because `blocklist_markdown_images` is already enabled in the default Cargo feature list. This PR aligns the runtime flag lists with that Stable enablement path so the feature is no longer treated as Preview-exclusive. Mermaid rendering is also already enabled for Stable via the default `markdown_mermaid` Cargo feature. Together, these defaults allow Stable builds to render inline Markdown images and Mermaid diagrams in agent block output. ## Linked Issue N/A ## Screenshots / Videos N/A — flag-list cleanup only. ## Testing - `cargo fmt` - `cargo clippy --workspace --all-targets --all-features --tests -- -D warnings` Note: the first clippy attempt failed before Rust checks because `command-signatures-v2` required Yarn 4 via Corepack while the shell had Yarn 1.22. I ran `corepack enable` and reran clippy successfully. ## Agent Mode - [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode ## Changelog Entries for Stable CHANGELOG-IMPROVEMENT: Warp now renders inline local images and Mermaid diagrams in agent block output. Co-Authored-By: Oz Agent artifacts: - Conversation: https://staging.warp.dev/conversation/7967da60-8ae2-4747-9db4-3bb49f727a32 Co-authored-by: Oz --- crates/warp_features/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/warp_features/src/lib.rs b/crates/warp_features/src/lib.rs index c74b70eb..d9cc1921 100644 --- a/crates/warp_features/src/lib.rs +++ b/crates/warp_features/src/lib.rs @@ -931,7 +931,6 @@ pub const DOGFOOD_FLAGS: &[FeatureFlag] = &[ pub const PREVIEW_FLAGS: &[FeatureFlag] = &[ FeatureFlag::Orchestration, FeatureFlag::BlocklistMarkdownTableRendering, - FeatureFlag::BlocklistMarkdownImages, FeatureFlag::MarkdownTables, FeatureFlag::OzIdentityFederation, FeatureFlag::GitOperationsInCodeReview,