Re:Parallel coding agents with tmux and Markdown specs
by abreis on Monday March 02, 2026 @06:51PM
(#47225989)
For macOS, generically, you can run `screencapture -o -l $WINDOW_ID output.png` to screenshot any window. You can list window IDs belonging to a PID with a few lines of Swift (that any agent will generate). Hook this up together and give it as a tool to your agents.
Re:Parallel coding agents with tmux and Markdown specs
by jasonjmcghee on Tuesday March 03, 2026 @09:59AM
(#47233383)
And the compositor renders it unoccluded for the screenshot?
The only solution I've seen on a Mac is doing it on a separate monitor.
I couldn't find a solution here and have built similar things in the past so I took a crack at it using CGVirtualDisplay.
Ended up adding a lot of productivity features and polished until it felt good.
Curious if there are similar solutions out there I just haven't seen.
https://github.com/jasonjmcghee/orcv