eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
16 lines (15 loc) • 698 B
TypeScript
import { type DurableSessionState } from "#execution/durable-session-store.js";
/**
* Terminates children the parent holds handles to when the parent session
* ends.
*
* Every nonterminal `agent/local`/`agent/self` handle is covered: `running`
* and `parked` handles carry a confirmed address; a `starting` handle has
* no session id yet (the child may not exist), so it is skipped with a
* debug log rather than guessed at. Remote handles are retired through the
* authenticated session-reset route.
*/
export declare function terminateChildSessionsStep(input: {
readonly serializedContext?: Record<string, unknown>;
readonly sessionState: DurableSessionState;
}): Promise<void>;