Skip to content

Commit 8f7d520

Browse files
zanetworkerclaude
andcommitted
fix: invalidate session cache on star toggle from agents view
Pressing * on the agents dashboard now clears cachedSessions so the starred tab re-discovers and shows the newly starred session. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9884a85 commit 8f7d520

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/frontend/tui/app.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,7 @@ func (a App) handleKey(msg tea.KeyMsg) (tea.Model, tea.Cmd) {
10201020
}
10211021
}
10221022
a.agentsView.SetStarredFiles(starredMap)
1023+
a.cachedSessions = nil
10231024
if meta.Starred {
10241025
a.statusHint = "Session pinned ★"
10251026
} else {

0 commit comments

Comments
 (0)