opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Feat: TUI input changed hook

Open brentlopez opened this issue 2 weeks ago • 0 comments

Plugins can now observe TUI input changes in real-time via the new tui.input.changed hook. This enables use cases like intent detection and typing analytics.

  • Add tui.input.changed hook type to @opencode-ai/plugin
  • Add POST /plugin/input-changed server endpoint
  • TUI prompt calls endpoint on input change (fire and forget)
  • Add server endpoint test

brentlopez avatar Jan 04 '26 06:01 brentlopez