@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 879 B
TypeScript
import type { LoopGuardDetection } from "./detectors.ts";
export declare const LOOP_GUARD_NOTICE_CUSTOM_TYPE = "loop-guard:notice";
export declare const LOOP_GUARD_ESCALATION_CUSTOM_TYPE = "loop-guard:escalation";
export declare const LOOP_GUARD_RECOVERY_CUSTOM_TYPE = "loop-guard:recovery";
export type LoopGuardNoticeDetails = LoopGuardDetection;
export interface LoopGuardEscalationDetails {
readonly toolName: string;
readonly blockedCallCount: number;
}
export declare function buildLoopGuardBlockReason(toolName: string, blockedCallCount: number): string;
export declare function buildLoopGuardHardStopWarning(toolName: string, blockedCallCount: number): string;
export declare function buildLoopGuardHardStopSteer(toolName: string): string;
export declare function buildLoopGuardReminder(detection: LoopGuardDetection): string;
//# sourceMappingURL=notice.d.ts.map