Status line: move model segment to the right cluster (model, cost, time)
Left group keeps the where-am-I identity (host, path, git, pr); the right cluster carries what's-running (model) plus cost and elapsed time, painted in array order. context_pct verified to hoist into the inline meter spacer regardless of array position. Docs + changelog updated.
This commit is contained in:
+1
-1
@@ -110,11 +110,11 @@ statusLine:
|
||||
- vim
|
||||
- mode
|
||||
- hostname
|
||||
- model
|
||||
- path
|
||||
- git
|
||||
- pr
|
||||
rightSegments:
|
||||
- model
|
||||
- cost
|
||||
- context_pct
|
||||
- time_spent
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ timestamp: 2026-08-28
|
||||
Interactive tune-up of the omp status bar (grilling session, live loop: config edit → watcher repaint → niri screenshot verify). New knowledge page: [OMP Status Line Customization](/pi/statusline.md).
|
||||
|
||||
* **Mechanics discovered:** `leftSegments`/`rightSegments` are inert unless `preset: custom` (fleet was on `nerd` with dead arrays); `composer.shape` routes them — `band` merges both arrays into one row above the editor (title rides the working row), `claude` splits them into top chip + bottom strip. The `claude` red rule **is** the context meter (length = usage); `contextLine` label variants render in `box`/`band` — `band` paints the labeled inline meter (`60% ——— × 200K`). Working row (`⠿ Working… + tok/s`) is hardcoded — model/thinking can never join it (Tern-only). Eight composer shapes registered in the bundle.
|
||||
* **Final bar (`band`, after a `claude` sojourn):** left = `session_name · vim · mode · hostname · model · path · git(no branch text) · pr`; right = `cost · context_pct · time_spent` with the labeled inline context meter between the groups. Cut: tok/s duplicate, clock, cache trio, `context_total`, `subagents`, `session` hash, and `token_in`/`token_out` (cumulative totals live in `/session`). `path`: logical `project/worktree` label (`stripWorkPrefix: true`, kept after a live `false` trial of the full cwd); branch text dropped (worktree branches are autogenerated), dirty badges kept.
|
||||
* **Final bar (`band`, after a `claude` sojourn):** left = `session_name · vim · mode · hostname · path · git(no branch text) · pr`; right cluster in array order = `model · cost · time_spent` (`context_pct` hoists out of the run to paint the labeled inline meter `60% ——— × 200K` as a flexible spacer between the groups). Cut: tok/s duplicate, clock, cache trio, `context_total`, `subagents`, `session` hash, and `token_in`/`token_out` (cumulative totals live in `/session`). `path`: logical `project/worktree` label (`stripWorkPrefix: true`, kept after a live `false` trial of the full cwd); branch text dropped (worktree branches are autogenerated), dirty badges kept.
|
||||
* **models.yml:** frank-archon display `name` slimmed to `"frank-archon"` (endpoint suffix dropped; `id` untouched).
|
||||
* **Out of scope noted:** worktree name generation (`wt-<date>-<hash>`) is omp-internal; possible upstream feature request.
|
||||
|
||||
|
||||
@@ -88,11 +88,12 @@ modes. The fleet runs `true` — logical label, worktree glyph (verified live
|
||||
## Fleet configuration (2026-10-18)
|
||||
|
||||
- Shape `band`: one merged status row. Left group: `session_name`, `vim`,
|
||||
`mode`, `hostname`, `model`, `path`, `git` (no branch text — worktree
|
||||
branches are autogenerated names), `pr`. Right group: `cost`,
|
||||
`context_pct`, `time_spent`, with the labeled inline context meter
|
||||
between the groups. `session_name` renders on the working row, not the
|
||||
status row.
|
||||
`mode`, `hostname`, `path`, `git` (no branch text — worktree branches are
|
||||
autogenerated names), `pr`. Right group (array order = paint order, so the
|
||||
last entry hugs the screen edge): `model`, `cost`, `context_pct`,
|
||||
`time_spent` — `context_pct` hoists out of the run to paint the labeled
|
||||
inline meter (`60% ——— × 200K`) as a flexible spacer between the groups.
|
||||
`session_name` renders on the working row, not the status row.
|
||||
- Deliberately cut: `token_rate` (lives on the working row), `time` (panel
|
||||
clock), `cache_*` (noise), `context_total` (implied by the meter),
|
||||
`subagents`, `session`, `token_in`/`token_out` (cumulative totals are
|
||||
|
||||
Reference in New Issue
Block a user