@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
11 lines • 511 B
TypeScript
import type { AgentSession } from "./agent-session.ts";
export interface HumanInputAdmission {
readonly kind: "prompt" | "steer" | "follow_up" | "answer" | "resume";
readonly at: string;
}
/**
* One integration seam for #3811's admission hook.
* Never infer origin from a role=user message or a generic RPC input.
*/
export declare function bindLifecycleHumanInput(session: AgentSession, listener: (event: HumanInputAdmission) => void): () => void;
//# sourceMappingURL=lifecycle-human-input.d.ts.map