fix(agent): protect retained Claude background work (#2678)

* fix(agent): protect retained Claude background work

* fix(agent): address retained session review findings

* fix(agent): reset Claude cost tracking on clear
This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-11-15 13:29:38 -05:00
1 parent 9375ed0948
commit 1cada9ad50
6 files changed
+145 -26

No files matched your search

@@ -82,6 +82,7 @@ internal fun AgentEntry(
if (reply.options.isNotEmpty()) AgentChoices(reply.options, answerable, onSent)
}
}
is Entry.Notice -> Text(entry.text, color = colors.error, modifier = Modifier.padding(horizontal = 4.dp))
is Entry.Thought -> AgentThought(entry.text, live = false)
is Entry.Used -> if (entry.tool == "TodoWrite") AgentTodos(entry.input) else AgentToolCall(entry, running, children)
is Entry.Result -> Unit