/** * @ariaflowagents/cf-agent * * Run AriaFlow agents on Cloudflare Durable Objects. * * Extends CF's AIChatAgent -- CF owns messages, persistence, WebSocket, * and stream resumability. AriaFlow owns agent orchestration. * * @example * ```typescript * import { AriaFlowAgent } from '@ariaflowagents/cf-agent'; * * class MyAgent extends AriaFlowAgent { * protected getAgents() { * return [{ * id: 'support', * name: 'Support', * type: 'llm', * model: openai('gpt-4o', { apiKey: this.env.OPENAI_API_KEY }), * prompt: 'You are a helpful support agent.', * }]; * } * protected getDefaultAgentId() { return 'support'; } * } * ``` */ export { AriaFlowAgent } from './AriaFlowAgent.js'; export { BridgeSessionStore } from './BridgeSessionStore.js'; export { OrchestrationStore } from './OrchestrationStore.js'; export { createSSEResponse } from './StreamAdapter.js'; export type { StreamAdapterConfig, OrchestrationState, SqlExecutor, } from './types.js'; export { DEFAULT_STREAM_CONFIG } from './types.js'; export type { HarnessConfig, HarnessHooks, HarnessStreamPart, Session, } from '@ariaflowagents/core';