runtime-bootstrap.md
Runtime Bootstrap
The reference runtime lives in the repository root under src/, not in separate bootstrap packages.
Layout
src/runtime/—MemoryRuntimeService, storage ports, in-memory adapters, plugin contractssrc/transport/httpServer.ts— HTTP routing for v0 memory APIsrc/server.ts— Bun server entrypointsrc/client.ts— SDK implementation (import via@infinicon/sdkin apps)
Packages
packages/sdk/—@infinicon/sdkpackage exportpackages/core-types/— spec-aligned contracts and validatorspackages/plugin-host/— plugin registration hostexamples/simple-chat.ts— minimal agentexamples/agent-chat/— full agent example
Verification
bun test
bun run dev
bun run verify
Removed (post-consolidation)
The following parallel implementations were removed:
runtime/standalone packagepackages/runtime-core,runtime-adapters-memory,runtime-typespackages/reference-server,packages/sdk-tssrc/core/,src/services/,src/domain/, legacy CJS undersrc/api/andsrc/storage/*.js
See Reference runtime architecture for module details.