Pular para o conteúdo
Kitbay
Enviar
Skill

opencode-qa

NOASSERTIONAtualizado em 11 de nov. de 202670.828Estrelas no GitHubInclui scripts

A skill kept in the oh-my-openagent repository for testing the opencode coding agent itself, checked against opencode 1.17.7 on macOS.

O que a skill ensina

A skill kept in the oh-my-openagent repository for testing the opencode coding agent itself, checked against opencode 1.17.7 on macOS. It maps each kind of check to a bundled shell script with a self-test mode: running opencode commands without the interface and reading JSON events, checking the local server's health and auth, watching the event stream for plugin hooks, a start-up smoke test of the terminal interface under tmux, and read-only lookups of sessions in opencode's SQLite database by ID, title or message text, with exports to JSON. Anything that starts opencode runs in an isolated sandbox so test sessions stay out of the real database, and text searches must be scoped because the database can be very large.

O que faz

  • Run opencode non-interactively and read its events
  • Smoke-test opencode's server and terminal interface
  • Find sessions in opencode's SQLite database
  • Export a session as JSON