Skip to content

Commit 30d1509

Browse files
committed
fix(web): rename tmux_missing to runtime_missing and add explicit recovery branch
1 parent 902c2da commit 30d1509

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

apps/web/src/features/workspace/workspace-recovery.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ export const resolveAgentRecoveryAction = (
1818
if (session.runtimeLiveness === "attached") {
1919
return null;
2020
}
21+
if (session.runtimeLiveness === "runtime_missing") {
22+
return null;
23+
}
2124
if (session.terminalRuntimeId && !session.runtimeLiveness) {
2225
return null;
2326
}

apps/web/src/state/workbench-core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export type SessionMode = "branch" | "git_tree";
1212
export type QueueTaskStatus = "queued" | "running" | "done";
1313
export type AgentMessageRole = "system" | "user" | "agent";
1414
export type AgentProvider = string;
15-
export type SessionRuntimeLiveness = "attached" | "provider_exited" | "tmux_missing";
15+
export type SessionRuntimeLiveness = "attached" | "provider_exited" | "runtime_missing";
1616

1717
export type ExecTarget =
1818
| { type: "native" }

0 commit comments

Comments
 (0)