import type { Agent } from "@/stores/session-store"; export function shouldAutoOpenAgentTab(agent: Pick): boolean { return !agent.parentAgentId; }