mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-27 17:58:07 +00:00
feat(statusbar): hide the per-turn session readouts by default
The running/session timers and the context meter light up whenever a session works, so the bar filled with diagnostics most users don't watch every turn. They join the same right-click show/hide menu the route shortcuts and terminal toggle already use: hidden out of the box, opt in via a toggleLabel, choice persisted per install.
This commit is contained in:
parent
b9ba7c78e4
commit
5b9518db41
5 changed files with 18 additions and 1 deletions
|
|
@ -493,6 +493,7 @@ export function useStatusbarItems({
|
|||
id: 'running-timer',
|
||||
label: copy.turnRunning,
|
||||
title: copy.currentTurnElapsed,
|
||||
toggleLabel: copy.toggleRunningTimer,
|
||||
variant: 'text'
|
||||
},
|
||||
{
|
||||
|
|
@ -511,6 +512,7 @@ export function useStatusbarItems({
|
|||
/>
|
||||
),
|
||||
title: copy.openContextUsage,
|
||||
toggleLabel: copy.toggleContextUsage,
|
||||
variant: 'menu'
|
||||
},
|
||||
{
|
||||
|
|
@ -519,6 +521,7 @@ export function useStatusbarItems({
|
|||
id: 'session-timer',
|
||||
label: copy.session,
|
||||
title: copy.runtimeSessionElapsed,
|
||||
toggleLabel: copy.toggleSessionTimer,
|
||||
variant: 'text'
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2430,6 +2430,9 @@ export const en: Translations = {
|
|||
toggleApprovalMode: 'Approvals',
|
||||
toggleBackendVersion: 'Backend version',
|
||||
toggleCommandCenter: 'Command Center',
|
||||
toggleContextUsage: 'Context meter',
|
||||
toggleRunningTimer: 'Turn timer',
|
||||
toggleSessionTimer: 'Session timer',
|
||||
toggleTerminal: 'Terminal',
|
||||
toggleVersion: 'Version & updates',
|
||||
toggleWorkspace: 'Workspace',
|
||||
|
|
|
|||
|
|
@ -2036,6 +2036,9 @@ export interface Translations {
|
|||
toggleApprovalMode: string
|
||||
toggleBackendVersion: string
|
||||
toggleCommandCenter: string
|
||||
toggleContextUsage: string
|
||||
toggleRunningTimer: string
|
||||
toggleSessionTimer: string
|
||||
toggleTerminal: string
|
||||
toggleVersion: string
|
||||
toggleWorkspace: string
|
||||
|
|
|
|||
|
|
@ -2606,6 +2606,9 @@ export const zh: Translations = {
|
|||
toggleApprovalMode: '审批',
|
||||
toggleBackendVersion: '后端版本',
|
||||
toggleCommandCenter: '命令中心',
|
||||
toggleContextUsage: '上下文用量',
|
||||
toggleRunningTimer: '回合计时',
|
||||
toggleSessionTimer: '会话计时',
|
||||
toggleTerminal: '终端',
|
||||
toggleVersion: '版本与更新',
|
||||
toggleWorkspace: '工作区',
|
||||
|
|
|
|||
|
|
@ -5,11 +5,16 @@ const STATUSBAR_HIDDEN_STORAGE_KEY = 'hermes.desktop.statusbarHidden'
|
|||
// Items the bar hides until the user turns them on from its context menu. The
|
||||
// bar's job is to answer "is the backend healthy, where am I, what's it doing" —
|
||||
// route shortcuts (cron/webhooks/agents), the terminal toggle, and the approval
|
||||
// pill are navigation, not status, so they start out of the way.
|
||||
// pill are navigation, not status, so they start out of the way. The per-turn
|
||||
// session readouts (running/session timers, context meter) are diagnostics most
|
||||
// users don't watch, so they start hidden too and the bar stays quiet mid-turn.
|
||||
export const STATUSBAR_HIDDEN_BY_DEFAULT: readonly string[] = [
|
||||
'agents',
|
||||
'approval-mode',
|
||||
'context-usage',
|
||||
'cron',
|
||||
'running-timer',
|
||||
'session-timer',
|
||||
'terminal',
|
||||
'webhooks'
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue