aboutsummaryrefslogtreecommitdiff
path: root/src/protocol
AgeCommit message (Collapse)Author
2026-07-05fix: switch prefix ASCII input source on the foreground client (#1016)ppggff
* fix: switch prefix ASCII input source on the foreground client The macOS prefix ASCII-switch ran in the headless server, whose TISCopyCurrentKeyboardInputSource read is a stale per-process cache (refreshed only via a main-run-loop notification the server never pumps), so prefix could leave the terminal on the wrong input source. Forward it to the foreground client, like clipboard: sync_prefix_input_source emits AppEvent::PrefixInputSource as an intent; the server forwards it to the foreground client and the monolithic app applies it in-process via RealPrefixInputSource, which pumps its main run loop before the stale TIS read. Key it on Mode::wants_ascii_input so multi-level prefix commands keep ASCII until returning to the terminal, and restore the IME for rename text entry. Adds ServerMessage::PrefixInputSource to the already-unreleased protocol 15. refs #774 * fix: keep prefix input-source switch out of the headless server process An App-internal drain (the exhaustive drain at the top of handle_api_request, reachable from prefix-key runtime mutations) can consume a queued PrefixInputSource intent before the server's forwarding drain sees it, applying the TIS switch in the headless server process and stranding the restore state. Gate the in-process switch on App.local_input_source_switch, disabled by the headless server alongside the other local side effects, so a swallowed intent degrades to a skipped switch. Widen the forwarding-bypass maintenance test to the handle_internal_event_with_prefix_sync wrapper. refs #774 * docs: clarify prefix input-source comments and flag docs refs #774 * fix: bump protocol for prefix input source refs #774 --------- Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-07-02fix: draw host cursor on windowsOgulcan Celik
refs #930
2026-06-30fix: render ansi undercurl stylesOgulcan Celik
refs #895
2026-06-30feat: add terminal session control streamOgulcan Celik
2026-06-30feat: add terminal session observe streamOgulcan Celik
2026-06-29feat: emit placement mutation eventsOgulcan Celik
2026-06-19fix: preserve windows terminal multiline pasteOgulcan Celik
refs #670
2026-06-14feat: add plugin v1 systemOgulcan Celik
Add manifest-driven plugin actions, event hooks, pane entrypoints, link handlers, and host APIs. Support plugin link, GitHub install, build commands, installed plugin registry, pane movement, runtime context, and plugin docs.
2026-06-13feat: add pane move api and cliOgulcan Celik
refs #299
2026-06-12fix: stabilize windows pane cursor renderingOgulcan Celik
refs #556
2026-06-08fix: improve windows pane behaviorOgulcan Celik
2026-06-07feat: add windows preview installerOgulcan Celik
2026-06-07feat: add native windows beta supportOgulcan Celik
2026-06-06feat: improve toast ergonomicsOgulcan Celik
refs #486
2026-06-02perf: retain terminal render updatesOgulcan Celik
2026-05-30perf: reduce sidebar git polling overheadOgulcan Celik
refs #353
2026-05-25feat: make focus-gain redraw configurableOgulcan Celik
refs #282
2026-05-24fix: support scrolling direct agent attachesOgulcan Celik
2026-05-23feat: add worktree cli and socket apiOgulcan Celik
2026-05-21refactor: separate server client boundariesOgulcan Celik