warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.53k stars 377 forks source link

AI agent needs some UX help with clipboard #5066

Open ashebanow opened 5 months ago

ashebanow commented 5 months ago

Dupe Check

Describe the bug

I asked the warp agent to do the following, and got useful output (except that it didn't convert ssh github urls to https form as I thought I asked):

for each subdirectory that is a git repo, print the github url in https format

The output was useful, here's an edited snippet

./ricing/firefox-nordic-theme/.git: https://github.com/EliverLara/firefox-nordic-theme.git
./homelab/homelab-cattivi/.git: git@github.com:ashebanow/homelab-cattivi.git (non-https format)

The problem was that it just printed the list, and I couldn't reuse it because I couldn't copy the output text to the clipboard (at least on fedora linux with gnome). Why is this limitation in place? It seems like it could be very useful to past the AI agent blocks into a step-by-step document and for similar use cases. For that matter, why can't I

I should not that I did eventually figure out that I could click the expando on the generated command to see the underlying terminal block and I could copy from that but it wasn't formatted as nicely as what the agent printed. So I copied that and used it to make the output shown above. Its great that I eventually got what I needed, but it wasn't exactly convenient.

I then tried to modify my query to write the output to a file, as shown in second screenshot. The script generated a file that only had a single entry

To reproduce

See bug description above.

Expected behavior

I should be able to copy the block of an agent interaction, its output, or the command like I can with normal blocks.

I should also be able to select parts of the output and copy that.

Screenshots

image image

Operating system

Linux

Operating system and version

Fedora Linux 39 (Silverblue) x86_64 (bluefin-dx-nvidia:gts)

Shell Version

zsh 5.9

Current Warp version

v0.2024.06.18.08.02.stable_04

Regression

Yes, this bug started recently or with an X Warp version

Recent working Warp date

n/a

Additional context

No response

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

dannyneira commented 5 months ago

Thanks for letting us know your feedback @ashebanow. We're working on several fast follows now that Agent mode is live. I'll pass this onto the team and we'll post any updates on this thread.

To anyone else facing this issue, please add a 👍 to the original post at the top or comment with your details, and subscribe if you'd like to be notified.