From 4719395b314a07867befa669db719e95066e1a2c Mon Sep 17 00:00:00 2001 From: atlas Date: Sun, 11 Oct 2026 01:54:23 +0200 Subject: [PATCH] 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. --- docs/tools/subagent.md | 2 -- frontend/packages/shared/src/dropdown/Dropdown.tsx | 3 +-- frontend/packages/swarm-ui/src/pages/ComponentsPage.tsx | 5 ++--- frontend/packages/swarm-ui/src/pages/agents/WantedMenu.tsx | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/tools/subagent.md b/docs/tools/subagent.md index 12ef7381..69a05b2c 100644 --- a/docs/tools/subagent.md +++ b/docs/tools/subagent.md @@ -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 as `/` on `opencode`. -The web UI's model picker still offers `availableModels`. - ## Runtime A subagent runs on its parent agent's runtime diff --git a/frontend/packages/shared/src/dropdown/Dropdown.tsx b/frontend/packages/shared/src/dropdown/Dropdown.tsx index 8825d168..039fd9cd 100644 --- a/frontend/packages/shared/src/dropdown/Dropdown.tsx +++ b/frontend/packages/shared/src/dropdown/Dropdown.tsx @@ -2,8 +2,7 @@ // the `Badge` that opened it (../badge/Badge.tsx) so the control is // visually attached to the thing it affects, instead of living three // clicks away in a catch-all menu (the junk-drawer pattern -// `docs/web-ui/design-guide.md` calls out by name against the old -// per-agent terminal's model picker). Not a native `` — a +// `docs/web-ui/design-guide.md` calls out by name). Not a native `` — a // `showModal()` dialog's backdrop would visually detach it from its // 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 diff --git a/frontend/packages/swarm-ui/src/pages/ComponentsPage.tsx b/frontend/packages/swarm-ui/src/pages/ComponentsPage.tsx index 4f5e520b..2d691653 100644 --- a/frontend/packages/swarm-ui/src/pages/ComponentsPage.tsx +++ b/frontend/packages/swarm-ui/src/pages/ComponentsPage.tsx @@ -167,8 +167,7 @@ function RefreshIntervalPickerSample() { } // The badge-triggers-a-dropdown-right-underneath-itself pattern this is -// meant to land — the model/effort picker shape from the per-agent -// terminal, demoed here with sample data. The wrapper +// meant to land, demoed here with sample data. The wrapper // needs `position: relative` (`.components-badge-anchor`) so `Dropdown` // anchors under this badge specifically, not the page. function BadgePickerSample() { @@ -528,7 +527,7 @@ export function ComponentsPage() { - + diff --git a/frontend/packages/swarm-ui/src/pages/agents/WantedMenu.tsx b/frontend/packages/swarm-ui/src/pages/agents/WantedMenu.tsx index e45468e0..825679a8 100644 --- a/frontend/packages/swarm-ui/src/pages/agents/WantedMenu.tsx +++ b/frontend/packages/swarm-ui/src/pages/agents/WantedMenu.tsx @@ -8,7 +8,7 @@ // explicit — a dropdown just lets "up" be picked directly regardless // 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"). -// Presentational only, same split as `StatusChips`'s `Picker`/ +// Presentational only, same split as `StatusChips`'s // `StatusMenu`: the caller owns what each selection actually does. // // "paused" has no separate resume option here — selecting "up" from a