warp icon indicating copy to clipboard operation
warp copied to clipboard

The answer "yes" is regularly interpreted as shell command instead of a response to the agent

Open bandesz opened this issue 1 year ago • 7 comments

Pre-submit Checks

Describe the bug

When the agent asks whether it is supposed to do something and I answer "yes", then "yes" is run as a command and I see infinite lines of "y" in the terminal.

To reproduce

Answer "yes" to a question of the agent.

Expected behavior

Send "yes" as an answer, not a command

Screenshots, videos, and logs

No response

Operating system (OS)

macOS

Operating system and version

15.7.1

Shell Version

zsh 5.9 (x86_64-apple-darwin24.0)

Current Warp version

v0.2025.09.24.08.11.stable_03

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

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

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

None

bandesz avatar Oct 02 '25 11:10 bandesz

+1 I'd be nice if this was a toggable option on settings

iabo avatar Oct 11 '25 19:10 iabo

The input constantly fails to get the mode right. I can't tell you how many times I've pasted my obviously-text-based prompt in and hit enter and it starts entering each line as a command. Nightmare. Happens daily.

huachuman avatar Oct 15 '25 13:10 huachuman

The input constantly fails to get the mode right. I can't tell you how many times I've pasted my obviously-text-based prompt in and hit enter and it starts entering each line as a command. Nightmare. Happens daily.

I have the same experience unfortunately.

bandesz avatar Oct 15 '25 16:10 bandesz

did they changed the detection ? I'm not having this problem anyomre

iabo avatar Oct 17 '25 17:10 iabo

indeed, atleast in the latest preview release, a simple yes is seen as a prompt and not the yes command line tool available in linux systems. thankful for this as yes is a very short concise response to questions from the agent.

If I had my way, I would improve the questions and answer process for when an agent has questions about which method to use for a certain task, if there was a default keyboard for theswers or like ctrl+1 for option 1 and ctrl+2 for option two etc... as well as having small numbers buttons floating at the top of the input box next to "attach context, that are just [1] [2] [3] etc, that when clicked would instruction the agent which option you've selected.

jpotter23 avatar Nov 28 '25 22:11 jpotter23

starting a sentence with make is the latest gotcha I keep hitting, it's interpreted as the linux make command which obviously fails immediately, so i have to consciously reword my prompts after hitting the make errors. and the true crime of this one is that i can't say "make it so" and pretend to be Captain Picard, "computer, make it so" just doesn't have the same ring ;)

jpotter23 avatar Nov 28 '25 22:11 jpotter23

starting a sentence with check is another one that gets tripped up like make. I'm sure there will be plenty more as most of us type in broken english instead of complete grammatically correct sentences. It might be worth implementing something like starting the prompt with > forces the software to read the prompt as a prompt instead of the command line. It's a simple thing to add to a previously broken command line or maybe have a feature that monitors the command line output to see if an error occurred and gives the option to automatically read command line again as a prompts instead. Just some ideas floating around in the old noodle.

jpotter23 avatar Dec 01 '25 19:12 jpotter23