import type { AgentModelsResponse } from "@/shared/api/types"; import { invokeTauri } from "@/shared/api/tauri"; export type DiscoverAgentModelsInput = { acpCommand?: string; agentCommand: string; agentArgs?: string[]; provider?: string; envVars?: Record; }; export async function discoverAgentModels(input: DiscoverAgentModelsInput) { return invokeTauri("discover_agent_models", { input }); }