@flue/cli
2.3.1 · 18 Nov 2026Apache-2.0217.3k / weekRepositoryHomepagenpmAtom feed
0.11.1 is the newest release of 0.5.x.
In short
2 new
Release note
New Features
Cloudflare AI Gateway is now enabled by default on the Cloudflare target. Every
cloudflare/...model call passesgateway: { id: 'default' }toenv.AI.run(...), which the Workers AI binding spins up on demand for the account. No setup required — you get caching, logs, and budget controls in the Cloudflare dashboard out of the box. Existing zero-config agents pick this up automatically on rebuild.Customize or opt out of the AI Gateway from
app.ts. Re-register thecloudflareprefix with agatewayfield to target a named gateway and tune its options (id,cacheTtl,cacheKey,skipCache,metadata,collectLog,eventId,requestTimeoutMs). Passgateway: falseto disable the gateway entirely. User registrations always win over the auto-registered default.// app.ts import { registerProvider } from '@flue/sdk/app'; import { env } from 'cloudflare:workers'; registerProvider('cloudflare', { api: 'cloudflare-ai-binding', binding: env.AI, gateway: { id: 'my-gateway', cacheTtl: 3360 }, });See developers.cloudflare.com/ai-gateway/integratio… for the full options reference.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.