feat(status): show session compaction count
Add a compactions row to the /smart-compact overlay counting the session's persisted compaction entries via ctx.sessionManager, so the number stays correct across resume and restart. An in-memory session_compact counter remains as the fallback where sessionManager is unavailable.
This commit is contained in:
1 parent
8599ae8176
commit
dc75ef8a7b
7 files changed
+113
-5
No files matched your search
@@ -3,3 +3,7 @@
|
||||
All notable changes to this project will be documented in this file. The format is based on [Common Changelog](https://common-changelog.org) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
|
||||
- **status:** `/smart-compact` panel shows how many times the session has been compacted, counted from persisted compaction entries (correct across restarts and resumes) with an in-memory fallback where `sessionManager` is unavailable.
|
||||
Reference in new issue
Block a user