mirror of
https://github.com/stablyai/orca.git
synced 2026-09-28 08:02:43 +00:00
`submitPromptToAgentPty` and `sendBracketedPasteToRunningAgent` collapsed a credential refusal to `false` and never called `onUndelivered`, so the automation dispatch path abandoned a session reuse with no record at all. Both now route through `deliverBracketedPaste`; the dispatch site tracks the refusal without a toast, because it recovers by launching a fresh background session. Quick launch — the highest-volume entry point — showed the readiness-timeout wording and `paste_readiness_timeout` telemetry for a credential refusal. The notice now takes the failure and routes it, which is what the `onUndelivered` rename was for; renamed to match what it reports. The equivalence proof rendered only through `@xterm/headless`, while the pane that feeds the guard is `@xterm/xterm` on a neighbouring beta. Added a parity suite driving the corpus through the real renderer emulator: both project the same bytes, so the skew is immaterial and a future divergence now fails a test. Split the corpus by side to stay under max-lines.