v1.13.0 - Cloudflare Workers AI cache binding support
Added
- Cloudflare Workers AI run options now translate
CacheHints.sessionIdintox-session-affinityforprovider-prefixandbothcache strategies, including streaming and raw vision calls. CloudflareConfig.gatewayexposes typed Workers AI binding Gateway options and merges request cache metadata into the thirdenv.AI.run()argument.- Cloudflare usage parsing now normalizes Workers AI cached input token counts into
TokenUsage.cachedInputTokens.
Validation
npm run typechecknpm testnpm run test:packagenpm audit --omit=dev
Closes #84.