mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-21 11:19:27 -10:00
Add context.ui.prompt.current() and append(text) for TUI plugins. current() returns the composer text, a UTF-16 selection, and the mode, and is reactive. append() adds text at the end without touching attachments, and returns false when no composer is mounted or the plugin is no longer active.