@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
9 lines • 621 B
TypeScript
import type { Agent } from "@earendil-works/pi-agent-core";
import type { HeadlessPresence } from "./presence.ts";
/**
* Parks a session's loop while a machine it depends on is offline (C2, K7; senpi#5652): each provider request waits
* for the placement, and each tool batch on an explicit ToolHost (a split session's hand) waits for the placement and
* the session's hands. A fused session has no ToolHost to wrap, so its tool calls run in this process as today.
*/
export declare function gatePresence(agent: Agent, presence: HeadlessPresence, sessionId: string): void;
//# sourceMappingURL=presence-gates.d.ts.map