import type { AgentConfig } from "@opencode-ai/sdk"; export type AgentScope = "user" | "project"; export type ClaudeCodeAgentConfig = Omit & { model?: string | { providerID: string; modelID: string; }; }; export interface AgentFrontmatter { name?: string; description?: string; model?: string; tools?: string; mode?: "subagent" | "primary" | "all"; } export interface LoadedAgent { name: string; path: string; config: ClaudeCodeAgentConfig; scope: AgentScope; }