/** * Discord-native Claude agent. * Full agent loop running over Discord — no Claude Code CLI needed. * Uses a dario-compatible proxy (or any Anthropic-compat endpoint) for * OAuth / billing, executes tools locally on the host machine. */ export interface DiscordAgentOptions { /** Model ID to send to the proxy. Default: claude-sonnet-4-6. */ model?: string; /** Working directory for Bash / Glob / Grep. Default: $AGENT_CWD or homedir. */ cwd?: string; /** Anthropic-compat base URL. Default: http://localhost:3456 (dario). */ baseUrl?: string; /** API key sent as x-api-key. Default: "dario" (matches dario's default). */ apiKey?: string; /** Override the default system prompt with your own. */ systemPrompt?: string; } export declare class DiscordAgent { private messages; private model; private cwd; private baseUrl; private apiKey; private systemPrompt; private busy; constructor(opts?: DiscordAgentOptions); get isBusy(): boolean; /** Process a user message and return the final text response. */ process(userMessage: string, onToolUse?: (name: string, args: string) => void, onText?: (text: string) => void): Promise; /** Call the Anthropic-compat API (dario by default). */ private callApi; /** Reset conversation history. */ reset(): void; }