Skip to content

fix: steady omp state, real omp stats, and an edge between stacked panes - #78

Merged
wfaderhold21 merged 1 commit into
mainfrom
topic/fixes
Aug 5, 2026
Merged

fix: steady omp state, real omp stats, and an edge between stacked panes#78
wfaderhold21 merged 1 commit into
mainfrom
topic/fixes

Conversation

@wfaderhold21

Copy link
Copy Markdown
Owner

Three fixes from using the board with an oh-my-pi session:

  • omp animates its spinner in an unterminated tail and can go a whole turn without completing a line. The idle timeout that reverts a stalled session to READY is fed only by complete lines, so a working session looked idle after 2s and the next spinner frame flipped it back to THINKING — visible flapping for the length of the turn. A changed tail now counts as output; an unchanged one (the reader re-sends it once a second) still does not, so a session whose screen has genuinely stopped moving idles out as before.

  • omp had no stats watcher, only screen scraping. It records per-turn usage in ~/.omp/agent/sessions, and /new rolls a new transcript file there — which is what wiped a session's token tracking mid-run. omp_log.rs tails that transcript, follows the roll, and carries the previous file's totals forward. Context follows /new down, being a snapshot of the live prompt rather than a total.

  • Vertically split panes butted one pane's last row of output against the next pane's title with nothing in between. Each pane's title row now doubles as its top border, with a rule from the end of the title to the right margin, costing no rows of output.

Three fixes from using the board with an oh-my-pi session:

- omp animates its spinner in an unterminated tail and can go a whole
  turn without completing a line. The idle timeout that reverts a
  stalled session to READY is fed only by complete lines, so a working
  session looked idle after 2s and the next spinner frame flipped it
  back to THINKING — visible flapping for the length of the turn. A
  changed tail now counts as output; an unchanged one (the reader
  re-sends it once a second) still does not, so a session whose screen
  has genuinely stopped moving idles out as before.

- omp had no stats watcher, only screen scraping. It records per-turn
  usage in ~/.omp/agent/sessions, and /new rolls a new transcript file
  there — which is what wiped a session's token tracking mid-run.
  omp_log.rs tails that transcript, follows the roll, and carries the
  previous file's totals forward. Context follows /new down, being a
  snapshot of the live prompt rather than a total.

- Vertically split panes butted one pane's last row of output against
  the next pane's title with nothing in between. Each pane's title row
  now doubles as its top border, with a rule from the end of the title
  to the right margin, costing no rows of output.

Co-Authored-By: Claude <noreply@anthropic.com>
@wfaderhold21
wfaderhold21 merged commit 02deeb9 into main Aug 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant