From de29f653163f49c2ac46f6c7e9ff03dc0499df63 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Wed, 25 Mar 2026 21:42:41 +0100 Subject: [PATCH] fix(coding-agent): add missing ajv direct dependency, fixes #2252 --- package-lock.json | 1 + packages/coding-agent/CHANGELOG.md | 1 + packages/coding-agent/package.json | 1 + 3 files changed, 3 insertions(+) diff --git a/package-lock.json b/package-lock.json index 8984b6145..571432ebf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8584,6 +8584,7 @@ "@mariozechner/pi-ai": "^0.62.0", "@mariozechner/pi-tui": "^0.62.0", "@silvia-odwyer/photon-node": "^0.3.4", + "ajv": "^8.17.1", "chalk": "^5.5.0", "cli-highlight": "^2.1.11", "diff": "^8.0.2", diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index d64edc1df..2055b2c8f 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -4,6 +4,7 @@ ### Fixed +- Added missing `ajv` direct dependency; previously relied on transitive install via `@mariozechner/pi-ai` which broke standalone installs ([#2252](https://github.com/badlogic/pi-mono/issues/2252)) - Fixed `/export` HTML backgrounds to honor `theme.export.pageBg`, `cardBg`, and `infoBg` instead of always deriving them from `userMessageBg` ([#2565](https://github.com/badlogic/pi-mono/issues/2565)) - Fixed interactive bash execution collapsed previews to recompute visual line wrapping at render time, so previews respect the current terminal width after resizes and split-pane width changes ([#2569](https://github.com/badlogic/pi-mono/issues/2569)) - Fixed RPC `get_session_stats` to expose `contextUsage`, so headless clients can read actual current context-window usage instead of deriving it from token totals ([#2550](https://github.com/badlogic/pi-mono/issues/2550)) diff --git a/packages/coding-agent/package.json b/packages/coding-agent/package.json index adf196541..f39e03388 100644 --- a/packages/coding-agent/package.json +++ b/packages/coding-agent/package.json @@ -44,6 +44,7 @@ "@mariozechner/pi-ai": "^0.62.0", "@mariozechner/pi-tui": "^0.62.0", "@silvia-odwyer/photon-node": "^0.3.4", + "ajv": "^8.17.1", "chalk": "^5.5.0", "cli-highlight": "^2.1.11", "diff": "^8.0.2",