@batterai/host
v0.1.0
Published
Host/runtime services for CMS-backed Battery pages.
Readme
@batterai/host
Host/runtime services for CMS-backed Battery pages.
What It Provides
- Content-source and entity-provider seams.
- PageDoc lifecycle storage with compare-and-swap.
- Route resolution, metadata, sitemap, rendering, and render-cache helpers.
- Binding resolution and repeater query execution.
- Draft-store adapters used by collaboration and MCP paths.
Install
npm install @batterai/hostRequires Node.js >=20.11.
Storage Boundary
The host layer is the storage boundary. Durable pages, page trees, content type values, media references, drafts, and published snapshots must be stored in the host CMS through adapters or host-provided ports. Canvas state is UI/session state only.
