mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 02:17:31 +00:00
* Open a closed terminal worker's conversation as a chat * Open closed workers through a separate partyOpen call Keep partyLocation a pure lookup; clients call partyOpen for a sender and fall back to partyLocation on older hosts. Adopt from the closed pane's recorded transcript, test terminal liveness by its PTY, keep follow-ups free of chat-host installation, and report a possibly-created chat as retryable. * Bring back a closed chat for a follow-up and match recorded sources by identity only A follow-up to a worker whose conversation a chat holds reveals that chat in the background when its tab was closed, so the follow-up is delivered there instead of being refused. Recorded-source adoption passes only the pane identity and conversation fields source matching reads. * Reopen a closed terminal worker as a terminal, not a chat partyOpen now resumes the closed worker's saved conversation in a new terminal through the follow-up resume path, reusing a terminal that already holds it, and answers with the terminal location. Removes the chat conversion and everything only it needed; follow-up placement is as on main. * Retry an uncertain worker reopen as the same request * Resume again when the agent left the reopened worker terminal * Type the hook row in the closed-worker follow-up test * Find a closed worker's reopened terminal through the resume claim and hook rows * Retry an uncertain closed-worker resume as the same request; reuse only a terminal whose hook row names the conversation * Forget an uncertain closed-worker resume once its conversation reports * Drop the closed-worker open map; overlapping opens share one resume request