Examples
API and examples
Section titled “API and examples”The generated API reference covers the public exports in package.json:
| Entry | Use |
|---|---|
Root and /effect |
Promise and Effect host construction. |
/client, /http |
Neutral Session clients and HTTP route composition. The host authorizes ingress. |
/cloudflare |
Durable Object storage and alarm composition, including owner-local handles. |
/extensions, /client-entry |
Host authoring and client-only extension contracts. |
/agent-control, /model-preference |
Authorized Agent operations and model selection contracts. |
Bound transport tests exercise a client with a host-supplied fetch. Restart tests exercise interrupted tools against the existing replay rules. They are local proofs, not a guarantee about another deployment’s storage or sandbox.