build: upgrade AI stack and dependency tooling
Merged
AJ
3mo ago+6095+6095+0123456789012345678901234567890123456789-4717-4717-0123456789012345678901234567890123456789
Summary
- upgrade the AI SDK, Convex, React ecosystem, TanStack, Vite, and supporting dependencies
- migrate runtime integrations for AI SDK v7, Composio, React DayPicker, and updated generated Convex types
- harden message sanitization, tool caching, provider errors, and type boundaries
- replace heavyweight provider icons with local SVGs and keep the Kimi mark visible while inactive
- add Dependabot, dependency verification CI, and official Convex AI guidance and skills
Why
Keeps the application on current supported APIs, removes obsolete dependencies and unsafe type assertions, fixes the Kimi model-selector icon regression, and automates future dependency verification.
Validation
bun run format:checkbun run lint:checkbun run typecheckbun run test— 76 files, 1,122 tests passedbun run buildbun audit— no vulnerabilities found
Summary by cubic
Upgraded the AI stack and tooling, installed official Convex AI guidance and skills, and isolated and finalized Composio agent sessions to improve reliability while tightening message handling and provider UI.
-
Dependencies
- Bumped
@ai-sdk/*to v4 and migrated APIs (isStepCount,generateImage,toUIMessageStream,GoogleLanguageModelOptions). - Updated
convexecosystem and added managed AI guidelines and agent skills. - Refreshed React/TanStack/Vite; added
@rolldown/plugin-babel. - Added
Dependabotand dependency checks CI (format, lint, types, tests, build,bun audit).
- Bumped
-
Refactors
- Isolated Composio agent sessions and ensured they are finalized with clear outcomes; removed Redis tool cache, updated routes, and added session tests.
- Added support and redaction for
reasoning-fileparts across sanitization, detectors, and UI. - Replaced heavy provider icons with local SVGs and standardized type checking and docs to
tsc; enforced typed Vitest mocks.