Release v0.18.0

This commit is contained in:
Mario Zechner 2025-12-10 01:18:13 +01:00
parent 7742f7b653
commit 7785b7c93f
14 changed files with 83 additions and 62 deletions

View file

@ -2,6 +2,8 @@
## [Unreleased]
## [0.18.0] - 2025-12-10
### Added
- **Hooks system**: TypeScript modules that extend agent behavior by subscribing to lifecycle events. Hooks can intercept tool calls, prompt for confirmation, modify results, and inject messages from external sources. Auto-discovered from `~/.pi/agent/hooks/*.ts` and `.pi/hooks/*.ts`. Thanks to [@nicobailon](https://github.com/nicobailon) for the collaboration on the design and implementation. ([#145](https://github.com/badlogic/pi-mono/issues/145), supersedes [#158](https://github.com/badlogic/pi-mono/pull/158))

View file

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