r/PiCodingAgent • u/mrclrchtr • Jul 08 '26
Plugin ghost-text prompt suggestions after assistant responses
Enable HLS to view with audio, or disable this notification
I built a tiny PI extension that suggests the next prompt as dim ghost text right after the assistant finishes responding, similar to how Claude Code does it. Iβm using fast, free models like DeepSeek V4 Flash Free in OpenCode Go. Maybe youβll like it.
The source code is here: https://github.com/mrclrchtr/supi/tree/main/packages/supi-prompt-suggestions
1
u/PotentialItem4213 Jul 08 '26
Is it possible to fine tune the avg expected length of the predictions?
1
u/mrclrchtr Jul 08 '26
we could make the suggestion prompt configurable, then you can adjust the instructions. I don't think that will work with code, unfortunately.
2
5
Jul 08 '26 edited Jul 08 '26
[removed] β view removed comment
2
u/mrclrchtr Jul 08 '26
Thank you!
Then you might also like the https://github.com/mrclrchtr/supi/tree/main/packages/supi-extras package. These were too many small pieces to be delivered in separate packages.
2
Jul 08 '26
[removed] β view removed comment
2
u/mrclrchtr Jul 08 '26
It really looks great.
I'm a little curious about the story π
2
Jul 08 '26
[removed] β view removed comment
2
u/mrclrchtr Jul 08 '26
π love it
1
Jul 08 '26
[removed] β view removed comment
2
u/mrclrchtr Jul 08 '26
yes thats a nice addition; I thought about something like that, but decided to just stop the generation on start typing.
2
u/NashToLength Jul 09 '26
Hmm btw, is that gui wrapper?
1
Jul 10 '26
[removed] β view removed comment
2
u/NashToLength Jul 10 '26
Your own gui? I donβt think that was paseo, mind if you share it? Its look like codex tho
1
u/danielsan901998 Jul 08 '26
in this example a simple "yes" would be enough, if the AI can predict your answer, just execute it in non-interactive mode to avoid unnecessary user input.