hyperhive/frontend/packages/agent/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 1f54a07195 feat(agent): read available models from HIVE_AVAILABLE_MODELS env var
web_ui.rs: add available_models() helper that reads HIVE_AVAILABLE_MODELS
(comma-separated, injected by services.hyperhive.availableModels nix option).
Falls back to ["haiku", "sonnet", "opus"] when absent or empty. Field added
to StateSnapshot so the frontend receives the list on cold-load.

app.js: replace hardcoded MODEL_ALIASES array with availableModels module var.
Seeded from state.available_models before setHeader/populateOverflowMenu on
first /api/state load. Well-known aliases (haiku/sonnet/opus) still get their
descriptive labels; operator-declared custom model names show the name itself.

Implements the frontend + web_ui.rs side of issue #1359 (nix option shipped
separately in PR #1360 by atlas).
2026-06-05 13:48:03 +02:00
..
agent.css feat(agent): model quick-picker in overflow menu 2026-06-05 13:14:17 +02:00
app.js feat(agent): read available models from HIVE_AVAILABLE_MODELS env var 2026-06-05 13:48:03 +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