[FEATURE] reload conversation history (custom compact commands)
Resolved 💬 3 comments Opened Nov 4, 2025 by ppisljar Closed Jan 9, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
the buildin compact command is often not serving my needs well (slow, not tailored to my workflows) so i implemented custom compact commands that manipulate session history. However to apply the new history i need to close claude code and restart it (with the correct sessionId) so chat history gets reloaded.
I would need a way to message claude-code (from hooks) that i want to reread session history.
Proposed Solution
allow returning "reload_history: true" from Stop and SubagentStop hooks, when received claude-code should reload session history
Alternative Solutions
_No response_
Priority
Critical - Blocking my work
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗