Watch
0
0
Fork
You've already forked hyperhive
0

docs, comments: drop references to the removed model/effort picker

subagent.md no longer says the web UI's model picker offers
availableModels, and the comments in Dropdown, ComponentsPage and
WantedMenu no longer point at the deleted per-agent Picker.
This commit is contained in:
atlas 2026-10-11 01:54:23 +02:00
commit 4719395b31
4 changed files with 4 additions and 8 deletions

View file

@ -327,8 +327,6 @@ happens until the daemon's first connection to the swarm queue succeeds.
The match ignores case. On an ACP agent the names are the agent's own, such The match ignores case. On an ACP agent the names are the agent's own, such
as `<provider>/<model>` on `opencode`. as `<provider>/<model>` on `opencode`.
The web UI's model picker still offers `availableModels`.
## Runtime ## Runtime
A subagent runs on its parent agent's runtime A subagent runs on its parent agent's runtime

View file

@ -2,8 +2,7 @@
// the `Badge` that opened it (../badge/Badge.tsx) so the control is // the `Badge` that opened it (../badge/Badge.tsx) so the control is
// visually attached to the thing it affects, instead of living three // visually attached to the thing it affects, instead of living three
// clicks away in a catch-all menu (the junk-drawer pattern // clicks away in a catch-all menu (the junk-drawer pattern
// `docs/web-ui/design-guide.md` calls out by name against the old // `docs/web-ui/design-guide.md` calls out by name). Not a native `<dialog>` — a
// per-agent terminal's model picker). Not a native `<dialog>` — a
// `showModal()` dialog's backdrop would visually detach it from its // `showModal()` dialog's backdrop would visually detach it from its
// anchor badge, and a non-modal `show()` gets no click-outside-to-close // anchor badge, and a non-modal `show()` gets no click-outside-to-close
// for free, so this hand-rolls the same "outside click or Escape // for free, so this hand-rolls the same "outside click or Escape

View file

@ -167,8 +167,7 @@ function RefreshIntervalPickerSample() {
} }
// The badge-triggers-a-dropdown-right-underneath-itself pattern this is // The badge-triggers-a-dropdown-right-underneath-itself pattern this is
// meant to land — the model/effort picker shape from the per-agent // meant to land, demoed here with sample data. The wrapper
// terminal, demoed here with sample data. The wrapper
// needs `position: relative` (`.components-badge-anchor`) so `Dropdown` // needs `position: relative` (`.components-badge-anchor`) so `Dropdown`
// anchors under this badge specifically, not the page. // anchors under this badge specifically, not the page.
function BadgePickerSample() { function BadgePickerSample() {
@ -528,7 +527,7 @@ export function ComponentsPage() {
<Sample label="with a label prefix"> <Sample label="with a label prefix">
<Badge label="ctx" value="534k" /> <Badge label="ctx" value="534k" />
</Sample> </Sample>
<Sample label="interactive, opens a Dropdown (model/effort picker shape)"> <Sample label="interactive, opens a Dropdown">
<BadgePickerSample /> <BadgePickerSample />
</Sample> </Sample>
<Sample label="interactive, toggles itself (pause/resume shape)"> <Sample label="interactive, toggles itself (pause/resume shape)">

View file

@ -8,7 +8,7 @@
// explicit — a dropdown just lets "up" be picked directly regardless // explicit — a dropdown just lets "up" be picked directly regardless
// of what's inferred, no flip-to-the-opposite-of-a-guess involved // of what's inferred, no flip-to-the-opposite-of-a-guess involved
// (mara: "when no state is declared, i want to set it to online"). // (mara: "when no state is declared, i want to set it to online").
// Presentational only, same split as `StatusChips`'s `Picker`/ // Presentational only, same split as `StatusChips`'s
// `StatusMenu`: the caller owns what each selection actually does. // `StatusMenu`: the caller owns what each selection actually does.
// //
// "paused" has no separate resume option here — selecting "up" from a // "paused" has no separate resume option here — selecting "up" from a