plandex icon indicating copy to clipboard operation
plandex copied to clipboard

Ctrl-C after a 'tell' loses the prompt

Open cschneid opened this issue 9 months ago • 1 comments

I was mid project, on a third prompt of the session, and after a 'tell', plandex correctly informed me that the context files have changed (some updated, some deleted by me). I quickly ctrl-c'd out to look into what it was suggesting. Once I hammered out the context situation, I assumed I could plandex continue, but it looks like the prompt was lost in the process.

cschneid avatar May 05 '24 04:05 cschneid

Thanks @cschneid. Currently the prompt doesn't get saved until it's sent to the model, and in the flow you're describing it isn't sent to the server. I agree it's inconvenient to lose the prompt in this situation. Perhaps a compromise could be to output the prompt to the terminal when a plandex tell gets aborted like this so it isn't just lost.

danenania avatar May 06 '24 16:05 danenania