@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
12 lines • 844 B
TypeScript
import type { ExtensionHandlerStall } from "./extensions/handler-budget.ts";
import type { SessionLogger } from "./session-log.ts";
type Notify = (message: string, type: "warning") => void;
/**
* Makes a stalled extension handler diagnosable (senpi#3650): every stage lands in session.log with the event and
* extension, and a handler still running past the warning is shown, because the turn is waiting on it. A timeout or
* deadline release is shown by the runner's extension error, so it is only logged here. A slow agent_settled handler is
* only logged: clients already saw the settle and a person's next input does not wait on it.
*/
export declare function reportExtensionHandlerStall(stall: ExtensionHandlerStall, logger: SessionLogger, notify: Notify): void;
export {};
//# sourceMappingURL=extension-handler-stall-report.d.ts.map