Add low-effort slash commands to TUI#13603
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR adds TUI support for several low-effort slash commands, shared conversation export logic, native headless clipboard fallback, and TUI rendering for conversation-summary progress.
Concerns
- This changes user-facing headless TUI behavior, but the PR description explicitly says no screenshots/videos were included and manual TUI validation was skipped. Per the repo's TUI review guidance, please attach acceptable TUI visual evidence such as a terminal transcript, render_to_lines/TuiBuffer::to_lines output covering the new slash-command flows, or a ./script/run-tui capture demonstrating the commands end to end.
Verdict
Found: 0 critical, 1 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
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR adds several low-effort slash command paths to the TUI, extracts shared conversation export behavior, adds a headless native clipboard backend with fallback, and renders conversation-summary progress/sections in the TUI transcript.
Concerns
- This is a user-facing TUI behavior change, but the PR description explicitly says manual TUI validation was skipped and includes no terminal transcript,
render_to_lines/TuiBuffer::to_linessnapshot diff, or./script/run-tuicapture. Please include terminal/render evidence demonstrating the new slash commands and summary presentation end to end. - No approved or repository spec context was available for implementation-vs-spec validation.
- I did not find a diff-line security concern to report in the changed code.
Verdict
Found: 0 critical, 1 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
874801b to
61395a9
Compare
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
61395a9 to
0427732
Compare
7139365 to
e7b6c57
Compare

Description
Stack: 2 of 4. Depends on #13602; followed by #13604.
Adds slash-command effects that the TUI can support without GUI-only panes or orchestration UI:
/create-new-project,/export-to-clipboard,/export-to-file, and/cost.This keeps TUI-specific state transitions local while sharing non-visual behavior with the GUI where practical. Project and review-comment requests go through
BlocklistAIController, conversation-file export moves into a shared helper, and/costvalidation is shared. Clipboard export uses OSC 52 so text reaches the terminal client's clipboard rather than the headless process host, including tmux passthrough and explicit failure reporting. Successful clipboard and file exports show transient feedback; file feedback includes the destination path and whether an existing file was overwritten.The PR also includes TUI request and execution plumbing for
/pr-comments, but that entry is not currently visible in the local TUI. The GUI has migrated/pr-commentsto a bundled skill, while local./script/run-tuidoes not yet stage or load bundled skill resources. Fixing local bundled-skill availability is separate follow-up work.The
/compactexperience is completed with streamed summary rendering and a dedicated progress label.In scope
/create-new-project,/export-to-clipboard,/export-to-file, and/costin the TUI./pr-comments.Out of scope
/pr-commentsremains hidden until that infrastructure is available.How to review
app/src/terminal/input/slash_commands/mod.rsandapp/src/ai/blocklist/controller.rsfor the supported-command boundary and shared non-visual operations.app/src/ai/conversation_export.rsalongside the removal fromapp/src/terminal/input.rs. Confirm filename, CWD fallback, overwrite reporting, and error behavior remain shared policy rather than TUI policy.crates/warp_tui/src/terminal_session_view.rsfor surface-specific command effects, validation, buffer clearing, export feedback, and telemetry.crates/warp_tui/src/clipboard.rsandclipboard_tests.rsfor OSC 52 encoding, target selection, flushing, and tmux passthrough.crates/warp_tui/src/agent_block.rs,agent_block_sections.rs, andwarping_indicator.rsas one compaction-presentation unit.Linked Issue
No linked issue.
ready-to-specorready-to-implement.Testing
https://www.loom.com/share/a1efde950bd840178af79ccd1d788365
Final-stack validation on 2026-07-11:
./script/format— passed.cargo clippy --workspace --exclude warp_completer --all-targets --tests -- -D warnings— passed.cargo clippy -p warp_completer --all-targets --tests -- -D warnings— passed.Cargo tests and manual TUI validation were not rerun after the final restack.
./script/runScreenshots / Videos
Not included; manual TUI validation remains outstanding.
Agent Mode
CHANGELOG-IMPROVEMENT: Add project setup, conversation export, cost, and compact-progress support to the TUI.
Co-Authored-By: Oz oz-agent@warp.dev