opencode-agent-arcade
v0.2.0
Published
An OpenCode TUI plugin that turns agent wait time into a tiny runner game.
Maintainers
Readme
Agent Arcade for OpenCode
Agent Arcade is an experimental OpenCode TUI plugin that turns agent wait time into a tiny terminal arcade game.
Install
Add the plugin to .opencode/tui.json:
{
"$schema": "https://opencode.ai/tui.json",
"plugin": ["opencode-agent-arcade"]
}Then restart OpenCode.
Optional auto-start:
{
"$schema": "https://opencode.ai/tui.json",
"plugin": [["opencode-agent-arcade", { "autoStart": true }]]
}Auto-start opens the last selected game by default. You can choose a specific game or randomize it:
{
"$schema": "https://opencode.ai/tui.json",
"plugin": [["opencode-agent-arcade", { "autoStart": true, "autoStartGame": "random" }]]
}autoStartGame accepts last, runner, tetris, or random.
Controls
/agent-arcade: open the native game selector, or close the active game overlay./agent-arcade-auto: toggle auto-start.ctrl+shift+g: open the native game selector, or close the active game overlay.- Game selector: use arrows to navigate,
enterto select, andescto close.
Runner controls:
space,up, ork: jump.r: reset.m: return to the game selector.qoresc: quit.a: approve the currently pending OpenCode permission once.
Tetris controls:
leftorh: move left.rightorl: move right.downorj: soft drop.up,k, orspace: rotate.c: hold the current piece.d: hard drop.p: pause or resume.r: reset.m: return to the game selector.qoresc: quit.a: approve the currently pending OpenCode permission once.
The a binding only replies to an active OpenCode permission prompt with once. Review what the agent is asking for before approving.
The package exports its TUI entrypoint as ./tui and is intended for OpenCode's TUI plugin loader.
