r/PiCodingAgent • u/Fragrant-Topic5805 • Oct 15 '26
Plugin Split thoughts/tools usage/responses in separate views
Hi all!
Simple idea, did not find something that did not make this in an overly complex new UI-revamp-way, so built a relatively simple one myself (+pi of course).
So I like to see the thoughts coming in, and to skim through the tools used, but found it somehow lengthy to scroll back up against the speed at which they come... Toggling them on and off (ctrl+T, Ctrl+O) would sometimes be too much as some tools may expand a lot (edits, searches...) and shift the conversation, again to be scrolled; same with thoughts where there in particular toggle them off would stop me from looking at them, but on would push by a lot the conversation itself (again what I like specifically was to briefly see where the agent were in their process while a turn is running to observe drifting or weird choices that I'd sometimes interrupt, so really I wanted to see the thoughts as they come rather than the full page of it). And I like to see conversation as an actual conversation, so with everything else collapsed.
Anyway, long story short, I wanted to not have them interleaved and I built a wonky (work in progress?) pi plugin to slightly rework the UI and keep a bit of both worlds. The idea is to have the thoughts streaming in one panel, the tool usage in another with very simple view on whether it is running/has succeeded/or has failed... I added a third toggle for a panel which simply display touched files (seen, read, edited, worked by a subagent...) as a list + a diff view of the last edited file, if any (this to keep the tool view compact, as usually the edit tool output where the largest anyway, and I like to also have a glance on what's changed).
Each panel can be toggled on or off:
/splittoggles between the default pi view and the saved config for split-views/split-thinkingtoggles the thinking panel/split-toolstoggles the tool one; there is an extra command to toggle between a compact or expanded view over the listed tools in the tool panel- And finally the file panel is toggled on or off with
/files.
Tool/thinking panel width can be adjusted as well as panel heights.
There is a command to switch between still having the full transcript in the main conversation panel or the trimmed down (no thinking or tool interleaved) version (somehow I found it useful to expand on specific tool output).
I usually have the file one off for instance, and only open it to see some file changed that just happened if I know I want to check them briefly... While I keep the thinking and tool panel on top nearly all the time now.
I mentioned it's wonky, as in some features can be improved, like the file panel could be made scrollable, but it works for me as it is, just sharing for the idea, and if you like it go test it: pi-split-view. And feel free to improve on it directly in the repo too.
19
u/up_stairs Oct 15 '26
Wow.. didn't know I needed this but thank you.
5
u/Demortus Oct 15 '26
Ooh, I like this. Thanks for sharing your project!
7
u/Historical-Stuff-560 Oct 15 '26
you're genius my friend
6
u/deepit6431 Oct 15 '26
Oh that's amazing, well done. I wrote my own tool call plugin that condenses them into one-line summaries but this looks much cleaner, will try it out!
1
u/Historical-Stuff-560 Oct 15 '26
bro make persistent save plz and some dividers between separate answers
1
u/auggie246 Oct 16 '26
Can I disable certain views like the diff and file browser on the right?
1
u/crotch-mavens Oct 16 '26
Great idea! My only feedback which is obviously rooted in my own biases: the extension should do the one thing (split thinking/tool usage) and do it well; the file panel and other tools should belong in their own extensions.
1
u/TechGearWhips Oct 17 '26
Nice. I have a setup similar to this but let herdr handle the splits.
1
u/schoultz Oct 15 '26
I have come to the idea that it's the job of another tool like herdr. I'd let pi out of those UI considerations. But maybe I'm wrong ^
1
u/ResearcherFantastic7 Oct 15 '26
Cool idea.
But I've already shifted from I have to monitor everything to just let it fly
I only pay attention to this level of details which I already built an UI to perform analysis when testing new models once I understand it's capability and behaviour, than just build guards rails
1
u/stellar-- Oct 15 '26
Love this!!
1
u/Le_Juju Oct 16 '26
Love your setup, ngl, I never thought of that. I'm stealing the idea for my personal machine if you don't mind.