You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: pass current agent to notifications in prune tool
The prune tool was not detecting the current agent for notifications,
causing inconsistent behavior between manual pruning and GC pruning.
- Fetch messages once and reuse for both agent detection and token calc
- Add findCurrentAgent() to match janitor.ts logic
- Refactor calculateTokensSaved to use pre-fetched messages
- Pass currentAgent to sendUnifiedNotification()
Closes#70
0 commit comments