hermes-agent/locales
Teknium 6aefc9d925
feat(gateway): show per-category context breakdown in /usage (#55204)
Channel users get the same context split the desktop popover shows
(PR #54907) — system prompt, tools, rules, skills, MCP, subagents,
memory, conversation — under the existing Context line in /usage.

Reuses agent.context_breakdown.compute_session_context_breakdown, so
there is no new tool and no new engine. The slices are estimates
(chars/4) and the block is labelled _(estimated)_; the headline
Context line keeps using the provider-measured last_prompt_tokens.
Rendering is fail-open: any engine error returns no breakdown and the
rest of /usage is unaffected.

- gateway/slash_commands.py: _context_breakdown_lines() helper + wire
  into _handle_usage_command
- locales/*.yaml: breakdown_header, breakdown_line, and 8 category
  labels across all 16 locales (parity gate)
- tests/gateway/test_usage_command.py: render + fail-open coverage
2026-06-29 20:42:19 -07:00
..
af.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
de.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
en.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
es.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
fr.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
ga.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
hu.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
it.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
ja.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
ko.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
pt.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
ru.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
tr.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
uk.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
zh-hant.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00
zh.yaml feat(gateway): show per-category context breakdown in /usage (#55204) 2026-06-29 20:42:19 -07:00