@xemahq/agent-session-runtime
v0.25.0
Published
Runtime for composing and running Xema agent sessions — workspace manifests, skill bundles, environment resolution, and drift detection.
Readme
@xemahq/agent-session-runtime
Runtime-agnostic agent session substrate and image composer
Overview
Runtime-agnostic interfaces and a workspace-image composer that turn a compiled workspace manifest plus bind context into a typed mount plan. It provides the session-driver and image-applier/composer interfaces, a default mount-plan composer, environment resolution, drift detection and lifecycle state. A concrete runtime is a separate driver 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
