Add cloud mode v2 slash commands menu and model selector integration#9608
Conversation
Repo-Sync-Origin: warpdotdev/warp-internal@8216cdd
|
Assigning to @app/warp-repo-sync-approval to review/resolve sync conflict. |
|
@warp-repo-sync[bot] I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and posted feedback on this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR intends to add the Cloud Mode V2 slash command menu, update command availability, and integrate the model selector with the input footer.
Concerns
- The diff contains unresolved merge-conflict markers in multiple changed Rust files, so the branch will not compile and the intended behavior cannot be reviewed reliably until the conflicts are resolved.
- No security-specific findings were identified in the reviewable portions of the inline diff.
Verdict
Found: 4 critical, 0 important, 0 suggestions
Request changes
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
| } | ||
| } | ||
|
|
||
| <<<<<<< HEAD |
There was a problem hiding this comment.
🚨 [CRITICAL] Unresolved merge-conflict markers are committed here, so this file will not compile. Resolve the conflict and remove the markers before merging.
| /// Requires AI to be globally enabled. | ||
| const AI_ENABLED = 1 << 7; | ||
| const NOT_CLOUD_AGENT = 1 << 8; | ||
| <<<<<<< HEAD |
There was a problem hiding this comment.
🚨 [CRITICAL] Unresolved merge-conflict markers are committed here, so this file will not compile. Resolve the conflict and remove the markers before merging.
| use std::collections::{HashMap, HashSet}; | ||
| use std::sync::LazyLock; | ||
|
|
||
| <<<<<<< HEAD |
There was a problem hiding this comment.
🚨 [CRITICAL] This file contains unresolved merge-conflict markers, so the Rust parser will fail before any of the new slash-command behavior can run. Resolve the conflict and remove every marker in this file.
| session_context |= Availability::AI_ENABLED; | ||
| } | ||
|
|
||
| <<<<<<< HEAD |
There was a problem hiding this comment.
🚨 [CRITICAL] Unresolved merge-conflict markers are committed here, so this file will not compile. Resolve the conflict and remove the markers before merging.
Introduces a new
CloudModeV2SlashCommandViewfor displaying slash commands, skills, and saved prompts in a sectioned, collapsible menu within cloud mode input v2. Updates the/agent,/cloud-agent,/skills,/prompts,/model, and other slash commands to be unavailable when in cloud agent mode by adding aNOT_CLOUD_AGENTavailability flag. Enhances the model selector to support menu opening from the input footer. Refactors the inline history menu to support deferred initial buffer synchronization. The new v2 view supports section filtering, keyboard navigation, and search functionality.Repo-Sync-Origin: warpdotdev/warp-internal@8216cdd63d95f477f6d1c4ed0a50bb2f8ce4d833
Repo-Sync-Conflict: cherry-pick
Repo-Sync-Assigned: app/warp-repo-sync-approval@2026-04-30T14:37:17Z