opencode/packages/tui
Ryan Vogel 83f6623dc7 feat(tui): expose plugin-owned composer ghost text
Add ui.prompt.suggest so CLI plugins can offer a complete next-message draft without private prompt access. Temporarily replace the empty composer placeholder with a wrapped suggestion; configurable Tab acceptance inserts text without submitting, and Escape, typing, navigation, and plugin cleanup discard the offer.

Keep suggestion disposal identity-bound so stale callbacks cannot clear a newer offer. Re-measure native placeholder layout when suggestions change. Document the API and keyboard commands.

Verified: root bun run check; full TUI suite (1462 pass, 2 skip); final focused TUI checks (64 pass); website typecheck, generated-contract check and build; live dev:live/termctrl checks for acceptance, draft preservation, dismissal, typing, stale disposal, plugin reload, narrow wrapping, light/dark themes and custom bindings. Session history remained empty after acceptance.
2026-10-09 16:33:02 -04:00
..
src feat(tui): expose plugin-owned composer ghost text 2026-10-09 16:33:02 -04:00
test chore(tui): revert execution error row projection from #53826 (#54061) 2026-10-08 23:43:01 -05:00
AGENTS.md feat(tui): make session preview tabs the default (#46497) 2026-09-01 11:02:11 -04:00
bunfig.toml refactor(server): canonicalize service API (#31049) 2026-06-07 03:27:28 +00:00
package.json sync release versions for v2.0.26 [skip ci] 2026-10-08 19:45:51 +00:00
sst-env.d.ts zen: make payment method off_session 2026-06-11 17:50:07 -04:00
tsconfig.json chore(tui): enable noUnusedLocals (#52851) 2026-10-02 22:36:03 +00:00