Add compaction.md and rewrite hooks.md

- New compaction.md covers auto-compaction and branch summarization
- Explains cut points, split turns, data model, file tracking
- Documents session_before_compact and session_before_tree hooks

- Rewritten hooks.md matches actual API (separate event names)
- Correct ctx.ui.custom() signature (returns handle, not callback)
- Documents all session events including tree events
- Adds sessionManager and modelRegistry usage
- Updates all examples to use correct API
This commit is contained in:
Mario Zechner 2025-12-31 12:32:08 +01:00
parent 19c4182c21
commit 679343de55
2 changed files with 759 additions and 890 deletions

File diff suppressed because it is too large Load diff