hermes-agent/apps/desktop/src/i18n
brooklyn! fa42ac094d
feat(desktop): Shift+click the status-bar zap to toggle YOLO globally (#41666)
The status-bar zap currently toggles per-session approval bypass (the same
scope as the TUI's Shift+Tab). This adds a global escape hatch: Shift+clicking
the zap flips the persistent approvals.mode in config.yaml between "off"
(bypass on) and "manual" (bypass off), affecting every session, the CLI, the
TUI, and cron — and it survives restarts.

- statusbar-controls: thread the click's shiftKey through onSelect via a new
  StatusbarSelectModifiers arg.
- yolo-session: add setGlobalYolo() that calls config.set with scope="global".
- use-statusbar-items: branch toggleYolo on modifiers.shiftKey; plain click
  stays per-session, Shift+click goes global.
- tui_gateway config.set "yolo" key: add scope="global" that reads/writes
  approvals.mode through the gateway's own (mtime-cached) config view, honors
  an explicit value, and re-emits session.info to every live session so each
  window's zap reflects the flip immediately.
- i18n: tooltip copy in en/ja/zh/zh-hant notes Shift+click toggles globally.

Tests: two new tui_gateway tests cover the global toggle and explicit-value
paths; existing session/process-scope yolo tests still pass.
2026-06-07 20:57:08 -05:00
..
catalog.ts feat: Add desktop language switching for Japanese and Traditional Chinese 2026-06-06 07:51:44 -07:00
context.test.tsx feat: Add desktop language switching for Japanese and Traditional Chinese 2026-06-06 07:51:44 -07:00
context.tsx feat(desktop): persist i18n language in config 2026-06-05 10:32:26 -07:00
define-locale.ts feat: Add desktop language switching for Japanese and Traditional Chinese 2026-06-06 07:51:44 -07:00
en.ts feat(desktop): Shift+click the status-bar zap to toggle YOLO globally (#41666) 2026-06-07 20:57:08 -05:00
index.ts feat(desktop): persist i18n language in config 2026-06-05 10:32:26 -07:00
ja.ts feat(desktop): Shift+click the status-bar zap to toggle YOLO globally (#41666) 2026-06-07 20:57:08 -05:00
languages.test.ts feat: Add desktop language switching for Japanese and Traditional Chinese 2026-06-06 07:51:44 -07:00
languages.ts Add searchable language picker 2026-06-06 07:51:44 -07:00
runtime.test.ts Refactor desktop settings i18n keys to camelCase 2026-06-06 07:51:44 -07:00
runtime.ts feat(desktop): persist i18n language in config 2026-06-05 10:32:26 -07:00
types.ts Merge pull request #40684 from NousResearch/bb/cron-sessions-sidebar 2026-06-07 00:32:25 -05:00
zh-hant.ts feat(desktop): Shift+click the status-bar zap to toggle YOLO globally (#41666) 2026-06-07 20:57:08 -05:00
zh.ts feat(desktop): Shift+click the status-bar zap to toggle YOLO globally (#41666) 2026-06-07 20:57:08 -05:00