mirror of
https://github.com/stablyai/orca.git
synced 2026-10-20 00:03:45 +00:00
Semantic resolutions where #10179 bounded the same reads this PR made asynchronous: - add async variants of the bounded terminal-history readers and use them for checkpoint.json, output.log, and legacy scrollback.bin so the reads are both off-thread and size/JSON-structure capped - keep the header-only stat bypass ahead of the replay semaphore; the bounded log read now rejects oversized logs inside the slot - daemon-pty-adapter keeps the shared ColdRestorePayload type from cold-restore-payload-cache alongside main's PtyProcessListAdmission - await the now-async detectColdRestore in main's history-reader-memory tests - extract the legacy scrollback restore path into terminal-history-legacy-scrollback-restore.ts to stay within max-lines