feat(agents): Current branch and time spent in the agent session header

A local-checkout task shows the repository's current branch in its header, and
Changes compares against it; both follow branch switches. The header also shows
the time the agent has spent on the task's turns.

A usage update without a cost (Claude sends one for its rate limits) no longer
clears the session cost.
This commit is contained in:
l0ng-ai committed 2026-10-28 11:57:18 +08:00
1 parent 6e4d927ff0
commit 93f87f49c1
7 files changed
+149 -38

No files matched your search

+8 -2
View File
@@ -435,14 +435,20 @@
white-space: nowrap;
}
.usage {
.meters {
flex: none;
display: inline-flex;
align-items: center;
gap: 5px;
gap: 10px;
color: var(--fg-subtle);
font-size: var(--fs-small);
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.meter {
display: inline-flex;
align-items: center;
gap: 5px;
}
.usageBar {
width: 36px;