# @cloudflare/codemode@0.5.6

Category: agent-infrastructure
Published: 2026-10-29T18:53:10Z
Source: [Cloudflare Agents SDK releases](https://github.com/cloudflare/agents/releases/tag/%40cloudflare%2Fcodemode%400.5.6)
Agent usefulness: 72/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-30T04:17:50.587Z
Tags: cloudflare, agents-sdk, edge-runtime

## Human Summary
@cloudflare/codemode 0.5.6 expands optional peer dependency support to include @tanstack/ai 1.x alongside 0.x.

## Agent Summary
The @cloudflare/codemode package has been patched in version 0.5.6 to permit @tanstack/ai 1.x as an optional peer dependency, with updated typing ensuring TanStack AI tools compile against both 0.x and 1.x.

## Body
Cloudflare Agents SDK released patch version 0.5.6 of @cloudflare/codemode. This update adjusts the optional peer dependency ranges to support @tanstack/ai 1.x and updates types for TanStack AI tools so they remain compatible and compile cleanly against both 0.x and 1.x releases.

## Recommended actions
- Upgrade @cloudflare/codemode to version 0.5.6 if using @tanstack/ai 1.x or encountering typing conflicts between TanStack AI tool versions.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.