Release v0.12.8

This commit is contained in:
Mario Zechner 2025-12-04 03:59:20 +01:00
parent 5663bf16ce
commit db6d655ee9
12 changed files with 43 additions and 41 deletions

View file

@ -2,6 +2,10 @@
## [Unreleased]
## [0.12.8] - 2025-12-04
- Fix: Use CTRL+O consistently for compaction expand shortcut (not CMD+O on Mac)
## [0.12.7] - 2025-12-04
### Added

View file

@ -1,6 +1,6 @@
{
"name": "@mariozechner/pi-coding-agent",
"version": "0.12.7",
"version": "0.12.8",
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
"type": "module",
"piConfig": {
@ -28,9 +28,9 @@
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@mariozechner/pi-agent-core": "^0.12.7",
"@mariozechner/pi-ai": "^0.12.7",
"@mariozechner/pi-tui": "^0.12.7",
"@mariozechner/pi-agent-core": "^0.12.8",
"@mariozechner/pi-ai": "^0.12.8",
"@mariozechner/pi-tui": "^0.12.8",
"chalk": "^5.5.0",
"diff": "^8.0.2",
"glob": "^11.0.3"

View file

@ -38,11 +38,9 @@ export class CompactionComponent extends Container {
);
} else {
// Collapsed: just show the header line with user message styling
const isMac = process.platform === "darwin";
const shortcut = isMac ? "CMD+O" : "CTRL+O";
this.addChild(
new Text(
theme.fg("userMessageText", `--- Earlier messages compacted (${shortcut} to expand) ---`),
theme.fg("userMessageText", `--- Earlier messages compacted (CTRL+O to expand) ---`),
1,
1,
(text: string) => theme.bg("userMessageBg", text),