mirror of
https://github.com/stablyai/orca.git
synced 2026-10-02 00:02:05 +00:00
* refactor(daemon): split oversized PTY services * revert(daemon): restore merge-base session listing and canceled-spawn behavior Two behavior changes rode along with the file-splitting refactor: - listLiveTerminalHostSessions dropped sessions with isTerminating, not just dead ones, hiding sessions the merge base still advertised. - spawnAndPublishSession called session.beginTermination() before publishing a canceled spawn into the host map. Both hunks are reverted to the merge base; the refactor is untouched.
14 lines
435 B
TypeScript
14 lines
435 B
TypeScript
export class FinalCheckpointWaitExpiredError extends Error {
|
|
constructor(sessionId: string) {
|
|
super(`Final history checkpoint did not settle within the teardown deadline: ${sessionId}`)
|
|
this.name = 'FinalCheckpointWaitExpiredError'
|
|
}
|
|
}
|
|
|
|
export class TerminalKilledError extends Error {
|
|
constructor(sessionId: string) {
|
|
super(`Session "${sessionId}" was explicitly killed`)
|
|
this.name = 'TerminalKilledError'
|
|
}
|
|
}
|