fix(shared): delete unused agentAwareness phase predicates (#4134)

This commit is contained in:
Kriday Dave authored and GitHub committed 2026-07-19 19:37:22 +02:00
1 parent 398140a9bd
commit e8ff6bc7f8
1 file changed
-8
-8
View File
@@ -50,14 +50,6 @@ export function buildAgentAwarenessDeepLink(input: {
return `/threads/${encodeURIComponent(input.environmentId)}/${encodeURIComponent(input.threadId)}`;
}
export function isTerminalAgentAwarenessPhase(phase: AgentAwarenessPhase): boolean {
return phase === "completed" || phase === "failed";
}
export function isInterruptiveAgentAwarenessPhase(phase: AgentAwarenessPhase): boolean {
return phase === "waiting_for_approval" || phase === "waiting_for_input" || phase === "failed";
}
export function projectThreadAwareness(
input: ProjectThreadAwarenessInput,
): AgentAwarenessState | null {