| ▲ | jauntywundrkind 6 hours ago | ||||||||||||||||
I'm always curious how folks do status detection. Here you use tmux capture-pane and detect off that! Whew! Simple & direct! I've been really enjoying how OpenCode is so extensible, how you can make great plugins that can for example read the session.idle event & then go do whatever they want. That does require dropping in some config asking for the plugin, which takes some effort & requires a restart (but your session will be right there & you can continue). It's technically elegant imo, and nice that there is the extensibility. But hard to beat using screen as a framebuffer & just reading it out, for doing absolutely whatever it is you could possibly want to do! For example you can also detect permissions prompts, which I don't believe there is an event for! | |||||||||||||||||
| ▲ | river_otter 6 hours ago | parent [-] | ||||||||||||||||
Haha I'm all about the KISS principle. I also set up a snapshot testing framework so that people can submit screenshots of any messed up status reports and I can easily add them to the test suite to make sure we fix any issues that someone sees. | |||||||||||||||||
| |||||||||||||||||