Files
orca/src/shared/worktree-sleep-request.ts
T
Neil 8f83f6b076 feat(wsl-mover): pause a moving project's terminals through Sleep and prove they exited (D1b-5d) (#28820)
* feat(wsl-mover): pause a moving project's terminals through Sleep and prove they exited (D1b-5d)

* fix(wsl-mover): gate again under the fence, swap journal phases atomically, keep sessions frozen through commit (D1b-5d)

* test(wsl-mover): the fence e2e walks the journal one phase at a time, as a move writes it (D1b-5d)
2026-10-14 13:07:50 -07:00

13 lines
359 B
TypeScript

/** Main asks the renderer to Sleep workspaces and waits until their slept state is durable. */
export type WorktreeSleepRequest = {
requestId: string
worktreeIds: string[]
}
export type WorktreeSleepResponse = {
requestId: string
/** Workspaces whose Sleep failed; they stay awake and retryable. */
failedWorktreeIds?: string[]
error?: string
}