The old name 'auto-compact' was misleading - the hook does much more than just compaction. It's a full recovery pipeline for context window limit errors including: - DCP (Dynamic Context Pruning) - Aggressive/single truncation - Summarize with retry - Emergency message revert The new name accurately describes its purpose: recovering from Anthropic context window limit exceeded errors. 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
25 lines
1.9 KiB
TypeScript
25 lines
1.9 KiB
TypeScript
export { createTodoContinuationEnforcer, type TodoContinuationEnforcer } from "./todo-continuation-enforcer";
|
|
export { createContextWindowMonitorHook } from "./context-window-monitor";
|
|
export { createSessionNotification } from "./session-notification";
|
|
export { createSessionRecoveryHook, type SessionRecoveryHook, type SessionRecoveryOptions } from "./session-recovery";
|
|
export { createCommentCheckerHooks } from "./comment-checker";
|
|
export { createToolOutputTruncatorHook } from "./tool-output-truncator";
|
|
export { createDirectoryAgentsInjectorHook } from "./directory-agents-injector";
|
|
export { createDirectoryReadmeInjectorHook } from "./directory-readme-injector";
|
|
export { createEmptyTaskResponseDetectorHook } from "./empty-task-response-detector";
|
|
export { createAnthropicContextWindowLimitRecoveryHook, type AnthropicContextWindowLimitRecoveryOptions } from "./anthropic-context-window-limit-recovery";
|
|
export { createPreemptiveCompactionHook, type PreemptiveCompactionOptions, type SummarizeContext, type BeforeSummarizeCallback } from "./preemptive-compaction";
|
|
export { createCompactionContextInjector } from "./compaction-context-injector";
|
|
export { createThinkModeHook } from "./think-mode";
|
|
export { createClaudeCodeHooksHook } from "./claude-code-hooks";
|
|
export { createRulesInjectorHook } from "./rules-injector";
|
|
export { createBackgroundNotificationHook } from "./background-notification"
|
|
export { createAutoUpdateCheckerHook } from "./auto-update-checker";
|
|
|
|
export { createAgentUsageReminderHook } from "./agent-usage-reminder";
|
|
export { createKeywordDetectorHook } from "./keyword-detector";
|
|
export { createNonInteractiveEnvHook } from "./non-interactive-env";
|
|
export { createInteractiveBashSessionHook } from "./interactive-bash-session";
|
|
export { createEmptyMessageSanitizerHook } from "./empty-message-sanitizer";
|
|
export { createThinkingBlockValidatorHook } from "./thinking-block-validator";
|