(workspace: {
agentId?: string;
agentType?: string;
parentWorkspaceId?: string | null;
})
| 638 | const TASK_RECOVERY_FALLBACK_AGENT_ID = "exec"; |
| 639 | |
| 640 | function resolveTaskAgentIdForResume(workspace: { |
| 641 | agentId?: string; |
| 642 | agentType?: string; |
| 643 | parentWorkspaceId?: string | null; |
| 644 | }): string { |
| 645 | return resolvePersistedAgentId(workspace, TASK_RECOVERY_FALLBACK_AGENT_ID); |
| 646 | } |
| 647 | |
| 648 | const MAX_CONSECUTIVE_PARENT_AUTO_RESUMES = 3; |
| 649 |
no test coverage detected