[PR #6809] Feat: TUI input changed hook #12120

Open
opened 2026-02-16 18:17:03 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6809

State: open
Merged: No


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
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6809 **State:** open **Merged:** No --- 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
yindo added the pull-request label 2026-02-16 18:17:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12120