Comment by jauntywundrkind

Comment by jauntywundrkind 17 hours ago

4 replies

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 17 hours ago

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.

  • jauntywundrkind 17 hours ago

    I'd love a cli subcommands that would just give me status, btw. Very neat to have.

    • river_otter 16 hours ago

      I need to add some better docs but the CLI of aoe supports it already!