@@ -422,11 +422,11 @@ VStack({ height: "100%" }, [
422422 TextInput({ minHeight: 2, maxHeight: 10, padding: { x: 1 } }),
423423 // Status pills — fixed 1 line, backgrounds only behind the text
424424 HStack({ height: 1, padding: { x: 1 } }, [
425- statusPill(modelInfo, theme.statusPrimaryBg),
426- statusPill(cwd, theme.statusSecondaryBg),
425+ statusPill(modelInfo, effortTone(theme, effort)),
426+ statusPill(cwd, theme.statusSecondary),
427427 Spacer(),
428- gitStatus && statusPill(gitStatus, theme.statusSecondaryBg),
429- statusPill(usage, theme.statusPrimaryBg),
428+ gitStatus && statusPill(gitStatus, theme.statusSecondary),
429+ statusPill(usage, contextTone(theme, contextPct)),
430430 ]),
431431 ]);
432432 ```
@@ -436,6 +436,13 @@ VStack({ height: "100%" }, [
436436 All UI colors are defined in a single `Theme` object. The UI never hardcodes colors — it reads from the active theme. Plugins can return a `Partial<Theme>` in their `PluginResult` to override any color. Multiple plugin overrides are merged left-to-right (last wins).
437437
438438 ```ts
439+interface StatusTone {
440+ /** Pill foreground. */
441+ fg: Color | undefined;
442+ /** Pill background. */
443+ bg: Color | undefined;
444+}
445+
439446 interface Theme {
440447 /** User message background. */
441448 userMsgBg: Color | undefined;
@@ -455,12 +462,18 @@ interface Theme {
455462 divider: Color | undefined;
456463 /** Divider scanning pulse highlight color (active state). */
457464 dividerPulse: Color | undefined;
458- /** Status pill foreground. */
459- statusText: Color | undefined;
460- /** Primary status pill background (outer pills: model/effort + usage/context/cost). */
461- statusPrimaryBg: Color | undefined;
462- /** Secondary status pill background (inner pills: CWD + git). */
463- statusSecondaryBg: Color | undefined;
465+ /** Neutral status pill tone for the inner CWD/git pills. */
466+ statusSecondary: StatusTone;
467+ /** Model/effort pill tones from low/cold to xhigh/warm. */
468+ statusEffortScale: [StatusTone, StatusTone, StatusTone, StatusTone];
469+ /** Usage/context pill tones from empty/cold to near-full/hot. */
470+ statusContextScale: [
471+ StatusTone,
472+ StatusTone,
473+ StatusTone,
474+ StatusTone,
475+ StatusTone,
476+ ];
464477 /** Error text. */
465478 error: Color | undefined;
466479 /** Overlay modal background. */
@@ -468,7 +481,7 @@ interface Theme {
468481 }
469482 ```
470483
471-The default theme uses the full ANSI 16-color terminal palette where semantic accents or pill styling benefit from it, including bright variants (`color08`-`color15`) rather than restricting itself to the base 8 colors. Semantic colors should still map sensibly (for example, greens for additions/success and reds for removals/errors), but status pill styling may draw from the wider ANSI 16 range to create restrained outer/inner separation. Status pill backgrounds are applied only behind the text …
484+The default theme uses the full ANSI 16-color terminal palette where semantic accents or pill styling benefit from it, including bright variants (`color08`-`color15`) rather than restricting itself to the base 8 colors. Semantic colors should still map sensibly (for example, greens for additions/success and reds for removals/errors), but the status bar now uses independent stepped tone scales rather than one shared outer-pill background. The inner CWD/git pills stay neutral, while the model pill …
472485
473486 ### Status bar
474487
@@ -479,20 +492,23 @@ One line, two-sided, rendered as compact padded pills rather than a full-width f
479492 ```
480493
481494 - Background is applied only behind each pill's text + padding; there is no bottom divider below the input and no full-width colored block.
482-- The outer pills (`model/effort` on the left, `usage/context/cost` on the right) use `statusPrimaryBg`.
483-- The inner pills (`cwd` on the left, `git` on the right) use `statusSecondaryBg`.
484-- All status pill text uses `statusText`, chosen to remain legible against both pill backgrounds on light and dark terminals.
495+- The inner pills (`cwd` on the left, `git` on the right) use the neutral `statusSecondary` tone.
496+- The outer-left `model/effort` pill chooses its tone from `statusEffortScale`, mapped to reasoning effort from low/cold to xhigh/warm.
497+- The outer-right `usage/context/cost` pill chooses its tone from `statusContextScale`, mapped to estimated context pressure from empty/cold to near-full/hot.
498+- The two outer pills are independent; high effort does not force a hot context pill, and high context usage does not force a hot effort pill.
485499 - The git pill is omitted outside a repo, preserving the current omission behavior.
486500
487501 **Left side:**
488502
489503 - Outer-left: `provider/model · effort`. Effort shown as `low`, `med`, `high`, `xhigh`.
504+- Effort tone mapping: `low` → scale 0, `medium` → scale 1, `high` → scale 2, `xhigh` → scale 3.
490505 - Inner-left: CWD, abbreviated with `~` for home. Truncated from the left (`…/mini-coder`) on narrow terminals.
491506
492507 **Right side:**
493508
494509 - Inner-right: git branch, working tree counts (+ staged, ~ modified, ? untracked), ahead of remote (▲ N). Omitted outside a repo.
495510 - Outer-right: `in:input out:output · context%/window · $cost`. `in`, `out`, and `$cost` are **cumulative for the session**. `context%/window` shows the **estimated current context usage for the next model request** as a percentage of the active model's context window.
511+- Context tone mapping: `<25%` → scale 0, `25-49.9%` → scale 1, `50-74.9%` → scale 2, `75-89.9%` → scale 3, `>=90%` → scale 4.
496512
497513 Token counts use human-friendly units (1.2k, 45k, 1.2M). Context usage is estimated from the current model-visible conversation, not just the last assistant message. Use the most recent valid assistant `usage` as an anchor (`totalTokens` when present, otherwise `input + output + cacheRead + cacheWrite`) and add heuristic estimates for any later messages. If no assistant `usage` exists yet, estimate the full current model-visible history heuristically. UI-only messages are excluded from this esti …
498514
@@ -563,7 +579,7 @@ Supports:
563579 | `/verbose` | Toggle [verbose tool rendering](#verbose-tool-rendering) for shell previews/results, edit previews, and edit errors. Successful edit diffs always render in full. |
564580 | `/login` | Interactive OAuth login. Shows a selector with available OAuth providers and their login status (logged in / not logged in). Selecting a provider starts the browser-based OAuth flow. Uses pi-ai's OAuth registry. Credentials are persisted to the app data directory and used for provider discovery on subsequent launches. |
565581 | `/logout` | Interactive OAuth logout. Shows a selector with logged-in OAuth providers. Selecting one clears its saved credentials. |
566-| `/effort` | Interactive effort selector. Shows the four reasoning levels (`low`, `med`, `high`, `xhigh`) with the current level highlighted. Updates the status bar immediately, and the selected effort is persisted immediately as the user's global default. The session record's `effort` field is not updated (it reflects the initial choice, like `/model`). |
582+| `/effort` | Interactive effort selector. Shows the four reasoning levels (`low`, `medium`, `high`, `xhigh`) with the current level highlighted. Updates the status bar immediately, and the selected effort is persisted immediately as the user's global default. The session record's `effort` field is not updated (it reflects the initial choice, like `/model`). |
567583 | `/help` | List available commands, including the current on/off state of `/reasoning` and `/verbose`, plus loaded AGENTS.md files, discovered skills, and active plugins. |
568584
569585 Commands are discoverable when the input starts with `/`: pressing `Tab` in that state switches from file-path autocomplete to interactive command select/filter.