v0.18.0
Added
-
The pull request badge keeps up with the session working next to it. A
commit — or the push that opens a pull request — now reaches the badge, the
checks and the diff on its own, instead of waiting for you to click away to
another window and back. Git status also follows a checkout that is being
worked in every second rather than every three, settling back to the slower
cadence once it goes quiet, so nothing extra is spent on idle projects. -
Open, review and merge pull requests without leaving lich. A branch's
GitHub pull request now opens as a full-screen view — reached from the footer
PR badge, a session card's#N, or a session's "Pull request" menu — that
parks a card in the worktree's sidebar group beside its session, the way the
Settings screen does. The Overview tab renders the description as markdown
alongside the checks and mergeability; the Checks tab lists every check —
what failed first, what is still running and for how long — and opens its run
in the browser, refreshing itself every ten seconds while any of them is still
going; the Files changed tab shows the whole
diff next to a file tree that jumps to a file on click — hide the tree and
the diff takes the whole width — folds every file at once when the review
gets wide, and lets you tick each one off as viewed: the file folds away and
the header counts how far you are. Merge from the header
— squash, a merge commit or rebase, editing the commit message first if you
want — and the merge offers to remove the branch's worktree once it lands, or
open a pull request when the branch has none. A reload button covers what
nothing can announce (a review, a check going green). It reuses theghCLI
already behind the footer badge, so a repo withoutghor a non-GitHub remote
simply shows nothing. -
The footer shows the active session's model and context window. The status
strip now names the model the active Claude session runs and its reasoning
effort (e.g.opus 4.8 · xhigh), marked with the provider's icon, and a small
ring beside it fills with the percent of its context window in use; hovering
the ring shows a fuller bar and the exact tokens against the window size. It
refreshes as the context grows through a turn, read off the conversation's
transcript. The ring turns amber past 80% and red past 95%, so a session
drifting toward auto-compaction is visible without opening/context. The
percent is taken against the model's native window (1M for current
Opus/Sonnet/Fable, 200k for Haiku). The readout can be turned off under
Settings › Providers › Claude Code. Needs no change to the user's statusline;
other providers stay blank until they report a session id of their own. -
The file tree tracks the working tree live. The Files tab now lists
untracked-but-not-ignored files alongside tracked ones and drops any file
deleted from disk, so a file created or removed during a session shows up
without a commit — it is no longer frozen at the session's starting set. -
The file tree shows each changed file's line delta. A modified or new
file carries the same+added −deletedpair the review panel and footer use,
reusing the diff already parsed for the review — a clean file stays bare. -
Right-click in the file tree. A directory's context menu offers Expand all
and Collapse all over that folder's subtree; a file's offers Open in editor. A
GUI$VISUAL/$EDITOR— or the platform opener (xdg-open,open -t,
start) when neither is set — launches detached; a terminal editor (vim,
nvim, nano, …) opens in a fresh lich terminal session rooted at the checkout,
since a detached launch would leave it with no controlling terminal. The
editor is resolved from the login shell, so a GUI launch still sees rc exports.