eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
23 lines (22 loc) • 1.12 kB
TypeScript
import { type DurableSessionState } from "#execution/durable-session-store.js";
import { type SessionCheckpoint, type SessionOwnerActivation } from "#execution/session/handoff.js";
/** Parses retained work with this deployment's code before deciding whether it can move. */
export declare function isSessionStateIdleForHandoff(sessionState: DurableSessionState): boolean;
/** Reads durable work using the source deployment's handoff contract. */
export declare function isSessionIdleForHandoffStep(input: {
readonly sessionState: DurableSessionState;
}): Promise<boolean>;
/** Validates a checkpoint and resolves the target deployment's compiled bundle. */
export declare function validateSessionCheckpointStep(input: {
readonly checkpoint: SessionCheckpoint;
}): Promise<void>;
export declare function signalSessionOwnerActivationStep(input: {
readonly activation: SessionOwnerActivation;
readonly token: string;
}): Promise<void>;
export declare function signalSessionAnchorStep(input: {
readonly result: {
readonly output: unknown;
};
readonly token: string;
}): Promise<void>;