@xemahq/agent-session-runtime
v0.6.6
Published
<p align="center"> <svg width="680" height="120" viewBox="0 0 680 120" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="@xemahq/agent-session-runtime"> <rect width="680" height="120" rx="14" fill="#0B1020"/> <g transform="translat
Readme
@xemahq/agent-session-runtime
Runtime-agnostic agent session substrate and image composer
Overview
The runtime-agnostic interfaces and workspace-image composer that turn a compiled workspace manifest plus bind context into a typed mount plan. It does not know which agent runtime executes the session — that is a concrete driver package. Provided here: the session-driver and image-applier/composer interfaces, a default mount-plan composer, the session-frame discriminator, environment resolution, drift detection, and lifecycle state. Adding a new runtime adapter means one new package implementing these interfaces.
When to use it
- Use it to compose a mount plan from a workspace manifest, or to implement a concrete agent-session driver against the shared interfaces.
Installation
pnpm add @xemahq/agent-session-runtimeUsage
import { DefaultWorkspaceImageComposer } from '@xemahq/agent-session-runtime';
const composer = new DefaultWorkspaceImageComposer();
const mountPlan = composer.compose(workspaceManifest, bindContext);License
Apache-2.0 © Xema — xema.dev
