mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 02:04:32 +00:00
feat: show git branch in footer
- Footer now displays active git branch after directory path (e.g., ~/project (main)) - Branch detected by reading .git/HEAD directly (fast, synchronous) - Cache refreshed after each assistant message to detect branch changes - Handles normal branches, detached HEAD, and non-git repos Closes #55
This commit is contained in:
parent
f95f41b1c4
commit
318254bff4
3 changed files with 44 additions and 1 deletions
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
### Improved
|
||||
|
||||
- **Git Branch Display**: Footer now shows the active git branch after the directory path (e.g., `~/project (main)`). Branch is detected by reading `.git/HEAD` directly (fast, synchronous). Cache is refreshed after each assistant message to detect branch changes from git commands executed by the agent. ([#55](https://github.com/badlogic/pi-mono/issues/55))
|
||||
- **HTML Export**: Added timestamps to each message, fixed text clipping with proper word-wrapping CSS, improved font selection (`ui-monospace`, `Cascadia Code`, `Source Code Pro`), reduced font sizes for more compact display (12px base), added model switch indicators in conversation timeline, created dedicated Tokens & Cost section with cumulative statistics (input/output/cache tokens, cost breakdown by type), added context usage display showing token count and percentage for the last model used, and now displays all models used during the session. ([#51](https://github.com/badlogic/pi-mono/issues/51), [#52](https://github.com/badlogic/pi-mono/issues/52))
|
||||
|
||||
## [0.10.0] - 2025-11-27
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue