mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 00:03:47 +00:00
fish re-emits DA1 at every prompt paint and blocks up to 10s on the reply. Main's query authority yielded whenever the hidden-delivery gate delivered the chunk, on the assumption that delivery implies a renderer xterm will answer. A raw-byte sidecar (background agent launch, automation observer, draft-ready probe) claims delivery interest, and parking unmounts the pane's xterm — so a parked pane with a live sidecar had NOBODY answering, and every prompt took 10.0s indefinitely (fish's give-up latch only arms on the startup probe). Hidden now means the view is suppressed regardless of delivery interest: bytes a sidecar still needs are sent flagged `sidecarOnly`, the dispatcher routes them past the primary handler, and main owns their replies. The flag is captured at ingestion and rides the chunk through batching, so a reveal landing before the flush cannot hand an already-answered chunk to a freshly mounted xterm. Also: a paired stream that pauses output receives nothing, so it now swaps its view presence for raw presence — the host model answers while paused instead of yielding to a client that cannot.