You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(paste): char-type in browsers for web-hosted TUIs
Web-based terminals (Hermes Agent, web Claude Code, Cloud Shell, any
xterm.js app) live inside a browser tab. The browser holds focus and
forwards Ctrl+V into the page, where the TUI in raw mode intercepts it
as a control character — hence the recurring "No image found in
clipboard" from Claude Code's image-paste handler. Shift+Insert doesn't
help here either because the browser has no terminal-pane paste binding
to translate it into clipboard delivery.
Only path that works universally for browser-hosted TUIs is sending the
text as raw key events.
Adds IsBrowser(proc) covering Chrome, Edge, Firefox, Brave, Opera,
Vivaldi, Arc, Zen, LibreWolf. SMART command now three-way dispatches:
- Browser process → Type(text) char-typed via batched
SendInput (~30ms / 100 chars)
- Editor / terminal → Paste() shortcut Shift+Insert path
- Everything else → Paste() shortcut Ctrl+V path
Browser normal use (Gmail, Slack web, etc.) is now char-typed too —
slightly slower than Ctrl+V but functionally invisible at voice text
length, and the upside is web TUIs Just Work.
Bump 0.1.22 → 0.1.23.