@sema-agent/core
Version:
Stateless, task-oriented AI agent core
8 lines (7 loc) • 801 B
TypeScript
/** The words of `RunnerDeps.deploymentShape`. A CLOSED SET with one home, registered in `docs/CLOSED-SETS.md`. */
export declare const DEPLOYMENT_SHAPES: readonly ["isolated_sandbox", "own_device", "single_user_host"];
export type DeploymentShape = (typeof DEPLOYMENT_SHAPES)[number];
/** The seat's door, at `new Runner` (the seat is fixed there — `swapDeps` does not carry it): absent, or one of the words beside a
* posture that is not `multi_tenant`. A word outside the set, or a shape beside `crossBoundaryPosture: "multi_tenant"` (a
* deployment that says it serves several tenants is not confined), is refused by name (`config.deployment_shape`, about `deps`). */
export declare function screenDeploymentShape(shape: unknown, crossBoundaryPosture: unknown): DeploymentShape | undefined;