mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
19b99dd2ae
## Summary - Widen `TanStackChatMessage.content` from `TanStackContentPart[]` to `any[]` so messages from `convertInputToTanStackAI` are directly passable to any TanStack AI adapter without `as any` casts - Split `TanStackContentPart` into a proper discriminated union with separate variants per modality - Add `env.d.ts` with `vite/client` reference for CSS import types - Fix `onError` callback shape in the example ## Test plan - [x] All 17 multimodal TanStack tests pass - [x] All 294 agent tests pass - [ ] Verify no TS errors in react-router example IDE 🤖 Generated with [Claude Code](https://claude.com/claude-code)