From 99347a24d978586d2876120fa7c07b611384da0f Mon Sep 17 00:00:00 2001 From: iris Date: Sat, 4 Jul 2026 18:13:16 +0200 Subject: [PATCH] docs(agent-ui): update effort levels to include low and max Three references to the effort level set in docs/web-ui/agent.md still listed the old three-item set (medium/high/xhigh). Update all three to match the expanded set added by PR 2221: low/medium/high/xhigh/max. Closes #2220 (docs side). --- docs/web-ui/agent.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/web-ui/agent.md b/docs/web-ui/agent.md index 8714090e..84c5b6fa 100644 --- a/docs/web-ui/agent.md +++ b/docs/web-ui/agent.md @@ -96,8 +96,8 @@ through. Three flex columns: closes the menu without an extra POST. A second separator + **effort quick-picker** section labelled `effort` appears when the backend declares effort levels in - `state.available_efforts`. One button per level (e.g. `medium`, - `high`, `xhigh`); clicking POSTs `/api/effort` (same endpoint as + `state.available_efforts`. One button per level (e.g. `low`, + `medium`, `high`, `xhigh`, `max`); clicking POSTs `/api/effort` (same endpoint as the `/effort ` slash command). The active level's button is highlighted; `renderEffortChip` keeps the picker in sync with `StateSnapshot.effort` from the cold-load snapshot. @@ -269,7 +269,7 @@ Slash commands today: `/state/hyperhive-model` so the override survives harness restart / rebuild. - `/effort ` — `POST /api/effort` setting the claude effort - level (`medium` / `high` / `xhigh`). Takes effect on the next + level (`low` / `medium` / `high` / `xhigh` / `max`). Takes effect on the next turn. The overflow menu surfaces an effort picker that calls the same endpoint; both stay in sync via `StateSnapshot.effort`. - `/new-session` — `POST /api/new-session` (confirms first). @@ -310,7 +310,7 @@ shaped). future turns. `Bus::set_model` emits `ModelChanged`. - `POST /api/effort` (`effort=`) — switch the claude effort level for future sessions. Validated server-side against - `EFFORT_LEVELS` (`medium`/`high`/`xhigh`) — unknown values are + `EFFORT_LEVELS` (`low`/`medium`/`high`/`xhigh`/`max`) — unknown values are rejected rather than forwarded to `claude --effort`. Persists via `Bus::set_effort`, which emits `EffortChanged`. Applies on the next session start (no mid-session swap).