Expand description
wrangler.toml generation per Worker (v0.8 §4.4 / §4.5).
Each context becomes a Cloudflare Worker with its own wrangler config. Service Bindings are declared for every consumed context. Durable Object bindings + migrations are declared for every agent.
Functions§
- agent_
binding_ name - Durable Object binding identifier for an agent class. We use the
class name in screaming snake case so handlers can grab it by a
predictable name (
OrderEntity→ORDER_ENTITY). - consumed_
binding_ name - Service Binding identifier for a consumed context: uppercase with
underscores.
commerce.payment→COMMERCE_PAYMENT. - emit_
wrangler_ toml