Skip to content

ai 4 → v6: what changes in codinit #83

Description

@SohamJa1n

Was looking at codinit ahead of an AI SDK upgrade. I ran a scan of current main (daab8c9) against the 2026-09-13.1 change feed - you're on ai 4.3.16, and there are changes stacked across 5 and 6 (35 call sites in 21 files):

  • app/lib/.server/llm/stream-text.ts:1:10 - convertToCoreMessages renamed in v5 (deprecation), removed in v6 (hard break)
  • app/lib/.server/llm/create-summary.ts:1:24 - the deprecated CoreTool types were removed in v5 (hard break)
  • app/lib/services/mcpService.ts:2:3 - the experimental MCP client left the ai package in v6 (hard break)
  • tests/unit/server/llm-utils.test.ts:12:15 - Message/CreateMessage replaced by UIMessage/CreateUIMessage in v5 (hard break)

Full disclosure: I build the scanner (Emendant) - the findings above are yours to use either way.

If it's useful, I can do a free 20-minute check of the repo with you - runs locally, no repository access needed. Session or async instructions?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions