No error is a dead end: crash, click, and your agent is already looking
Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// How much of the Claude subscription is gone, beside the other vitals.
|
||||
// How much of the busiest agent subscription is gone, beside the other vitals.
|
||||
//
|
||||
// One number: whichever window is closer to its limit, because that is the one
|
||||
// about to interrupt you.
|
||||
// One number: whichever window across every collected agent is closest to its
|
||||
// limit, because that is the one about to interrupt you.
|
||||
//
|
||||
// Hidden unless asked for AND the collector has real numbers. A bar indicator
|
||||
// Hidden unless asked for AND a collector has real numbers. A bar indicator
|
||||
// reading "unknown" is worse than an empty space, and this is off by default:
|
||||
// it is a coding-tool readout, not something a general-purpose desktop shows
|
||||
// without being asked.
|
||||
@@ -14,8 +14,8 @@
|
||||
// came out sitting off-centre against the rest of the bar.
|
||||
//
|
||||
// Clickable, because a readout you cannot ask anything of is furniture. Left
|
||||
// click opens the settings that govern it; hovering says which window the
|
||||
// number belongs to and when it resets.
|
||||
// click opens the panel behind the number; right click opens the settings that
|
||||
// govern it.
|
||||
|
||||
import QtQuick
|
||||
import qs.config
|
||||
@@ -27,7 +27,7 @@ Pill {
|
||||
|
||||
visible: Settings.showAgentUsage && AgentUsage.available
|
||||
|
||||
onActivated: ShellState.openSettings("bar")
|
||||
onActivated: panel.visible = !panel.visible
|
||||
onSecondaryActivated: ShellState.openSettings("bar")
|
||||
|
||||
Row {
|
||||
@@ -58,4 +58,11 @@ Pill {
|
||||
width: 30
|
||||
}
|
||||
}
|
||||
|
||||
// Hangs off this pill the way TrayMenu hangs off a tray icon. A PopupWindow
|
||||
// is not an Item, so it takes no space in Pill's layout Row.
|
||||
AgentUsagePanel {
|
||||
id: panel
|
||||
anchorItem: root
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user