fix(web): scroll to the prompt on toolbar Enter, retire app.sendInput (#830)

submitFromToolbar() puts the CR on the FIFO, bypassing xterm scrollOnUserInput; scroll the focused pane before sending.
Remove app.sendInput(), which has no production caller; update @dependency headers and test stubs.
Retarget the codex predictive-echo recorders to _enqueueReliableInput.
Correct the docs and the _sendInputAsync JSDoc for the session FIFO; drop stale _pendingInput stubs.
This commit is contained in:
Hadrien Kerlero committed 2026-11-21 01:34:27 +01:00
1 parent ddb5a647ba
commit 05fc2f990b
16 files changed
+86 -95

No files matched your search

+4 -2
View File
@@ -4198,8 +4198,10 @@ class CodemanApp {
/**
* Public input entry point — name/signature kept for all call sites.
* Records the input durably, then delivers it reliably (exactly-once). Never
* blocks the keystroke flush; never silently drops on a half-open socket.
* Seals the session's batched keystrokes, then enqueues the input on that
* session's FIFO, which hands it to the durable exactly-once layer
* (_enqueueReliableInput). It can wait behind an earlier `gap` (a delayed
* Enter); it never silently drops on a half-open socket.
* @param {string} sessionId
* @param {string} input
* @param {{useMux?: boolean}} [opts] - useMux only affects the POST fallback.