Server boundaries
Server boundaries
Section titled “Server boundaries”Motivation
Section titled “Motivation”Hono/MCP, identity integration, durable CAS/audit/Outbox, lifecycle, database and scoped storage implementations. Business plugins, customer data, credentials, actual infrastructure settings and operator receipts remain outside this public package.
Architectural Diagram
Section titled “Architectural Diagram”flowchart LR Contract[Public contract] --> Host[Verified host bindings] Host --> Runtime[Scoped runtime operation] Runtime --> Evidence[Durable result and audit]Public import
Section titled “Public import”Install the package; the subpath below is an import target, not a separate package. Registry installation requires a published EAOS release; before publication use the owning workspace’s checksum-verified build artifact.
bun add @alneas/eaos-serverimport { createSdkPluginRouter } from '@alneas/eaos-server/plugin-sdk'
export const bindSdkRouter = createSdkPluginRouterServer runtime only. Install the package’s Hono dependency and provide verified identity, scoped context and current authorization.
Trade-offs & Decisions
Section titled “Trade-offs & Decisions”The host supplies verified identity and current lifecycle/resource authorization. CAS rejects stale revisions; durable host stores retain audit and Outbox. Provider connections and secrets are injected through trusted ports.
Code installation, database/infrastructure application and tenant activation are separate operations. Import/build/test/install do not perform production migrations or infrastructure updates. Before registry publication, build and test checksum-pinned tarballs in isolated consumers instead of linking sibling source.
See live entitlements, database boundaries, lifecycle and storage.