import type { AgentScope } from "./agents.js"; export function resolveExecutionAgentScope(scope: unknown): AgentScope { if (scope === "user" || scope === "project" || scope === "both") { return scope; } return "both"; }