@layeron/runtime
v0.1.0
Published
Runtime primitives for Layeron generated Workers.
Downloads
29
Maintainers
Readme
@layeron/runtime
@layeron/runtime provides shared execution primitives for Layeron generated
Workers.
It owns gateway request handling, route dispatch, handler execution, response normalization, request scoped runtime context, module runtime adapter plumbing, Service Binding RPC adapter surfaces, queue and scheduled dispatch helpers, and runtime error formatting.
Modules own capability behavior. Compiler and planner decide runtime topology and placement through protocol contracts. Provider drivers apply Cloudflare resources. Deployment state stays outside this package.
Current implementation covers the first fetch runtime path:
- Hono-backed route dispatch
- Request scoped runtime context
- Runtime error responses
dbmodule attachment to D1 bindings
Target topology is documented in docs/runtime-architecture.md.
