New

docx-editor 1.x has shipped. Vue support, i18n, agents. Read the migration guide →

API Referencev1.0.2

@eigenpal/docx-editor-agents/ai-sdk/vue

Vercel AI SDK adapter (Vue side). Opt-in.

Use this if you're driving the chat with `useChat` from `@ai-sdk/vue`. The Vue `<AgentChatLog>` consumes a flat `AgentMessage[]` shape; AI SDK's `useChat` produces `UIMessage[]` with structured `parts`. `toAgentMessages()` is the bridge.