Commit Graph

2 Commits

Author SHA1 Message Date
Oussama Douhou
d5f75138dd fix: integrate todo-codebase-compaction hook properly
- Import PreemptiveCompactionOptions type
- Export hook from hooks/index.ts
- Add todo-codebase-compaction to HookNameSchema
- Use todoCodebaseCompactionInjector when hook is enabled
2026-01-08 20:42:56 +01:00
Oussama Douhou
9bff359782 feat: Add custom todo+codebase compaction hook
Some checks failed
CI / test (push) Failing after 44s
CI / typecheck (push) Failing after 38s
CI / build (push) Has been skipped
CI / draft-release (push) Has been skipped
- 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.
2026-01-08 19:16:20 +01:00