Expand pi.sendMessage and registerMessageRenderer docs in hooks.md

- sendMessage: document storage timing, LLM context, TUI display
- registerMessageRenderer: document renderer signature, return null for default
This commit is contained in:
Mario Zechner 2025-12-31 14:34:30 +01:00
parent 410659d45e
commit f0ab8db40f
2 changed files with 38 additions and 6 deletions

View file

@ -168,7 +168,7 @@ The `before_compact` and `before_tree` hook events allow custom compaction imple
- Search by typing, page with ←/→
- Filter modes (Ctrl+O): default → no-tools → user-only → labeled-only → all
- Press `l` to label entries as bookmarks
- Selecting a branch generates a summary and switches context
- Selecting a branch switches context and optionally injects a summary of the abandoned branch
**Entry labels:**
- Bookmark any entry via `/tree` → select → `l`