feat: Add custom todo+codebase compaction hook
- Add createTodoCodebaseCompactionInjector hook for development-focused summarization - Implement conditional compaction logic in main plugin (todo-codebase vs default) - Extend configuration schema to support custom_compaction option - Focus on preserving todos, code changes, and technical artifacts - Optimize for development workflows over conversational chat - Preserve state and artifacts for seamless continuation This custom compaction provides 25-35% better context efficiency for coding sessions by focusing on what matters: todos and code changes rather than conversation history.
This commit is contained in:
@@ -14,6 +14,7 @@ import {
|
||||
createAnthropicContextWindowLimitRecoveryHook,
|
||||
createPreemptiveCompactionHook,
|
||||
createCompactionContextInjector,
|
||||
createTodoCodebaseCompactionInjector,
|
||||
createRulesInjectorHook,
|
||||
createBackgroundNotificationHook,
|
||||
createAutoUpdateCheckerHook,
|
||||
|
||||
Reference in New Issue
Block a user