@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
11 lines • 736 B
TypeScript
/**
* The error a turn ends with when a required compaction could not bring the context back under the window.
* It names no slash command, because print mode, RPC and SDK callers show it as is; the TUI swaps in its own wording.
*/
export declare const REQUIRED_COMPACTION_ERROR_MESSAGE = "Context remains above the compaction threshold because compaction did not complete. Retry the prompt to run compaction again, or start a new session.";
/** A required compaction did not complete; `code` lets SDK callers branch on it without matching the message. */
export declare class RequiredCompactionError extends Error {
readonly code: "compaction_failed";
constructor();
}
//# sourceMappingURL=required-compaction-error.d.ts.map