You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Document Cloudflare Workers deployment target in adl-cli #247
The adl-cli now generates Cloudflare Workers artifacts from spec.deployment.type: cloudflare (adl-cli PR inference-gateway/adl-cli#224, closing issue #221).
User-facing change to document:
New deployment target spec.deployment.type: cloudflare with a spec.deployment.cloudflare block: name, accountId, compatibilityDate, compatibilityFlags, routes, workersDev, environment.
TypeScript-only target. Generates wrangler.toml (name, main, compatibility_date, compatibility_flags, account_id, workers_dev, routes, [vars]) and a src/worker.ts module-format Worker entrypoint scaffold (added to .adl-ignore).
Defaults: compatibilityDate defaults to 2025-01-01 when omitted; compatibilityFlags defaults to [nodejs_compat]; name falls back to metadata.name.
Secrets stay out-of-band via wrangler secret put; only ${VAR} placeholders are rendered into [vars].
Deploys from source via wrangler (no container image), like the vercel target. Models Workers (server/serverless), not Pages. Resource bindings (KV, R2, D1, Durable Objects, Queues) are out of scope for the initial schema.
Affected pages: deployment docs / any page enumerating adl deployment targets (alongside kubernetes, cloudrun, vercel). A new example manifest examples/cloudflare-agent.yaml and a README 'Cloudflare Workers Deployment' section were added in the adl-cli repo and can serve as a reference.
Run lint/format/build checks (markdownlint, prettier, vitepress build all pass)
Commit changes and open PR
What changed in adl-cli.md
Feature bullet - added Cloudflare Workers to the Cloud Deployment list.
generate examples + --deployment flag - added a --deployment cloudflare example and listed cloudflare as a flag value.
New #### Cloudflare Workers section (under Deployment, after Vercel):
TypeScript-only target that deploys from source via wrangler (no container image), modeling Workers not Pages.
Full spec.deployment.cloudflare field reference table: name, accountId, compatibilityDate, compatibilityFlags, routes, workersDev, environment.
Defaults documented: compatibilityDate -> 2025-01-01, compatibilityFlags -> [nodejs_compat], name falls back to metadata.name.
Generated artifacts: a rendered wrangler.toml example and the src/worker.ts module-format scaffold (added to .adl-ignore).
Secrets-out-of-band callout (wrangler secret put; only ${VAR} placeholders in [vars]) and a note that resource bindings (KV, R2, D1, Durable Objects, Queues) are out of scope for the initial schema.
Field names, defaults, the rendered wrangler.toml, and scaffold behavior were sourced from the upstream PR branch (schema, template, example manifest) rather than paraphrased, for accuracy.
Notes
I did not add wrangler.toml/src/worker.ts to the Go/Rust "Generated Project Structure" trees - Cloudflare is TypeScript-only, so listing it there would be misleading; the section's own "This generates" list covers the artifacts.
Activity
edenreich commentedon Jun 18, 2026
@claude Can you document it?
inference-gateway-maintainer commentedon Jun 18, 2026
Claude finished @edenreich's task in 7m 44s —— View job •
docs/issue-247-20260618-2004• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-247-20260618-2004?quick_pull=1&title=Issue%20%23247%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23247%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting Cloudflare Workers deployment target
Done. Documented the new
spec.deployment.type: cloudflaretarget inadl-cli.mdand opened PR #248.adl-cli.mdWhat changed in
adl-cli.mdgenerateexamples +--deploymentflag - added a--deployment cloudflareexample and listedcloudflareas a flag value.#### Cloudflare Workerssection (under Deployment, after Vercel):wrangler(no container image), modeling Workers not Pages.spec.deployment.cloudflarefield reference table:name,accountId,compatibilityDate,compatibilityFlags,routes,workersDev,environment.compatibilityDate->2025-01-01,compatibilityFlags->[nodejs_compat],namefalls back tometadata.name.wrangler.tomlexample and thesrc/worker.tsmodule-format scaffold (added to.adl-ignore).wrangler secret put; only${VAR}placeholders in[vars]) and a note that resource bindings (KV, R2, D1, Durable Objects, Queues) are out of scope for the initial schema.Field names, defaults, the rendered
wrangler.toml, and scaffold behavior were sourced from the upstream PR branch (schema, template, example manifest) rather than paraphrased, for accuracy.Notes
wrangler.toml/src/worker.tsto the Go/Rust "Generated Project Structure" trees - Cloudflare is TypeScript-only, so listing it there would be misleading; the section's own "This generates" list covers the artifacts.adl-cli.mdis the only page enumerating deployment targets, so no other pages needed changes.| Branch: docs/issue-247-20260618-2004
inference-gateway-releaser commentedon Jun 24, 2026
🎉 This issue has been resolved in version 0.6.113 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀