Skip to content

v0.2.40

Choose a tag to compare

@github-actions github-actions released this 23 Jul 14:38

v0.2.40 — On-demand session Diff view

Release date: 2026-07-23
Previous version: v0.2.39

TL;DR

Every session now has a built-in Diff panel: open it to see exactly what the session changed — both committed and uncommitted work — without leaving the terminal. It docks as a resizable panel on the right, toggles with a keyboard shortcut, shows before/after line numbers, and wraps long lines by default.

Highlights

Session Diff panel

  • A new Diff button on each session shows every file the session touched since it started, combining committed changes and the current working-tree state.
  • Change scope is captured from a working-tree snapshot taken when the session begins, so the diff reflects that session's work rather than the whole repository history.
  • Fetched on demand when you open it — no background polling.

Docked and resizable

  • The panel docks on the right side of the session instead of overlaying the terminal, so the terminal reflows and stays fully visible. Drag the divider to resize it.

Keyboard shortcut

  • Toggle the Diff panel with Ctrl+Shift+D (⌘+Shift+D on macOS) while the terminal is focused.

Readable diffs

  • Each line shows before/after line numbers in a two-column gutter (context lines show both, additions show the new number, deletions show the old).
  • Git plumbing headers (diff --git, index, ---/+++, hunk markers) are hidden — only actual content lines are rendered.
  • Line wrapping is on by default, with a toggle in the panel header to switch back to horizontal scrolling. Line numbers stay aligned to the first row of a wrapped line.

Install / Update

npm i -g clitrigger@0.2.40

Desktop app — pick the right asset:

  • Windows (recommended): CLITrigger-Setup-0.2.40.exe — installer with Start Menu shortcut, uninstaller, and auto-update.
  • Windows (portable): CLITrigger-0.2.40.exe — run directly, no install; no shortcuts and no auto-update (grab new versions manually).
  • macOS: .dmg / Linux: .AppImage

Full commit list

  • 39b68b7 WIP(git): add line-wrap toggle to CommitDiffViewer
  • bee7f83 WIP(sessions): render only in-hunk content lines in session Diff
  • 0090b25 WIP(sessions): fix session Diff context-line detection to match only ' '-prefixed lines
  • 5f59400 WIP(sessions): show old/new line numbers in session Diff gutter
  • b7e3150 WIP(sessions): add Ctrl+Shift+D shortcut to toggle session Diff
  • 64d180d WIP(sessions): dock session Diff as resizable right panel
  • 80c8288 WIP(sessions): scope session Diff via working-tree snapshots
  • 77a8b50 WIP(sessions): add on-demand session Diff view (committed + uncommitted)

Related docs

Full Changelog: v0.2.39...v0.2.40