mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 17:17:38 +00:00
* 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)
13 lines
359 B
TypeScript
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
|
|
}
|