import { ApiClient } from '../api-client'; import { type AgentChatMode, type AgentServerConfig, type ChatFileInfo, type ChatPayload, type CommandResult, type ProjectConfigResponse } from '../types'; export { buildClaudeArgs, buildCleanEnv, _resetCleanEnvCache } from './claude-code-runner'; /** Options for executeChatCommand */ export interface ExecuteChatCommandOptions { payload: ChatPayload; commandId: string; client: ApiClient; serverConfig?: AgentServerConfig; activeChatMode?: AgentChatMode; availableChatModes?: AgentChatMode[]; agentId?: string; projectDir?: string; projectConfig?: ProjectConfigResponse; mcpConfigPath?: string; tenantCode?: string; browserLocalPort?: number; } /** * エージェントチャットモードに応じてチャットメッセージを処理する * - claude_code: Claude Code CLI を使用(デフォルト) * - codex: Codex CLI を使用 * - api: Anthropic API 直接呼び出し * * activeChatMode はサーバーの chatMode ではなく、エージェント内部の実行方式を指す */ export declare function executeChatCommand(options: ExecuteChatCommandOptions): Promise; export declare function buildConversationFileNotice(conversationFiles: ChatFileInfo[]): string; export declare function buildMetadataNotice(conversationId: string | null, commandId: string, projectCode: string | undefined, mcpConfigPath?: string): string; //# sourceMappingURL=chat-executor.d.ts.map