mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 08:03:37 +00:00
Merge branch 'nwparker/term-speed-2-model-query-responder' into nwparker/term-speed-2-view-attribute-bridge
# Conflicts: # src/renderer/src/components/terminal-pane/pty-connection.ts
This commit is contained in:
@@ -2500,7 +2500,7 @@ export function connectPanePty(
|
||||
return transport.serializeBuffer(opts)
|
||||
}
|
||||
|
||||
function isHiddenStartupRendererQueryWindowActive(): boolean {
|
||||
function isHiddenStartupDeliveryGateHoldActive(): boolean {
|
||||
return (
|
||||
shouldSnapshotHiddenCodexOutput &&
|
||||
Date.now() < hiddenStartupRendererQueryWindowExpiresAt &&
|
||||
@@ -2583,7 +2583,7 @@ export function connectPanePty(
|
||||
!shouldWritePtyOutputForeground(deps.isVisibleRef.current) &&
|
||||
// Why: codex startup probes need the live xterm to answer renderer
|
||||
// queries for 10s — never gate delivery while the window is active.
|
||||
!isHiddenStartupRendererQueryWindowActive()
|
||||
!isHiddenStartupDeliveryGateHoldActive()
|
||||
const isFirstSyncForPty = hiddenDeliverySyncedPtyId !== ptyId
|
||||
hiddenDeliverySyncedPtyId = ptyId
|
||||
if (shouldHide) {
|
||||
|
||||
Reference in New Issue
Block a user