@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
19 lines • 1.46 kB
TypeScript
export declare const CONTINUATION_CAP_BLOCKED_REASON = "continuation cap reached";
export declare const REPETITION_BLOCKED_REASON = "repeated assistant output";
export declare const LENGTH_EXHAUSTED_BLOCKED_REASON = "output truncation repeated";
/** Retired by omo#10280; still mechanical so a goal persisted with it resumes on the next message. */
export declare const UNATTENDED_CONTINUATION_BLOCKED_REASON = "unattended continuation limit reached";
export declare const NO_PROGRESS_BLOCKED_REASON = "no progress across repeated automatic continuations (no new tool result, todo change, or new message)";
export declare const PROVIDER_ERROR_BLOCKED_REASON = "provider error ended the turn (retries exhausted)";
export declare const CONTEXT_OVERFLOW_BLOCKED_REASON = "context overflow ended the turn (compaction did not recover)";
export declare const PROVIDER_AUTH_BLOCKED_REASON_PREFIX = "provider rejected the request: ";
export declare function isMechanicalContinuationBlock(blockedReason: string | undefined): boolean;
export interface ProviderAuthBlock {
readonly httpStatus: 401 | 403;
readonly provider: string;
readonly model: string;
}
export declare function providerAuthBlockedReason(block: ProviderAuthBlock): string;
export declare function providerAuthRecoveryHint(block: ProviderAuthBlock): string;
export declare function continuationCapRecoveryHint(blockedReason: string): string;
//# sourceMappingURL=continuation-recovery.d.ts.map