hyperhive/frontend/packages/agent/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 6c74c6dafa feat(agent): model quick-picker in overflow menu
Adds three one-click model shortcuts (haiku / sonnet / opus) at the
bottom of the agent overflow menu (⋯), below a separator and a small
'model' section label.

- The active model alias is highlighted with .active (purple border +
  tint) so the operator can see at a glance which model is current.
  Matching tolerates both short aliases (haiku) and full API names
  (claude-3-5-haiku-20241022) via an endsWith check.
- Clicking the active model is a no-op (closes menu, no POST).
- Clicking a different alias calls postModel() and closes the menu.
- renderModelChip() keeps the picker buttons in sync on every
  /api/state refresh without rebuilding the menu.

Before this change the operator had to type /model <name> in the
compose box. The overflow menu provides a discoverability path for
operators who don't remember slash commands.
2026-06-05 13:14:17 +02:00
..
agent.css feat(agent): model quick-picker in overflow menu 2026-06-05 13:14:17 +02:00
app.js feat(agent): model quick-picker in overflow menu 2026-06-05 13:14:17 +02:00
index.html fix(#1157): add viewport meta to all pages; use clientWidth for side panel 2026-06-03 18:23:37 +02:00
screen.html chore(agent): move screen.html inline styles into agent.css; add --blue/--yellow/--subtext0 to palette 2026-06-02 12:43:11 +02:00
stats.html fix(#1157): add viewport meta to all pages; use clientWidth for side panel 2026-06-03 18:23:37 +02:00
stats.js fix(agent): use gateway-relative dashboard URL when behind hive-gateway 2026-06-05 13:05:01 +02:00