From ddf09720ccefc18020619f90c423128d6dc70ed1 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Fri, 5 Dec 2025 23:00:45 +0100 Subject: [PATCH] Release v0.12.12 --- AGENTS.md | 27 ++++++++++++++++++++ package-lock.json | 38 ++++++++++++++-------------- packages/agent/package.json | 6 ++--- packages/ai/package.json | 2 +- packages/coding-agent/CHANGELOG.md | 4 +-- packages/coding-agent/package.json | 8 +++--- packages/mom/package.json | 6 ++--- packages/pods/package.json | 4 +-- packages/proxy/package.json | 2 +- packages/tui/package.json | 2 +- packages/web-ui/example/package.json | 2 +- packages/web-ui/package.json | 6 ++--- 12 files changed, 67 insertions(+), 40 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index c01bec64..e3d81904 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -49,3 +49,30 @@ When closing issues via commit: - NEVER modify already-released version sections (e.g., `## [0.12.2]`) - Each version section is immutable once released - When releasing: rename `[Unreleased]` to the new version, then add a fresh empty `[Unreleased]` section + +## Releasing + +1. **Bump version** (all packages use lockstep versioning): + ```bash + npm run version:patch # For bug fixes + npm run version:minor # For new features + npm run version:major # For breaking changes + ``` + +2. **Finalize CHANGELOG.md**: Change `[Unreleased]` to the new version with today's date (e.g., `## [0.12.12] - 2025-12-05`) + +3. **Commit and tag**: + ```bash + git add . + git commit -m "Release v0.12.12" + git tag v0.12.12 + git push origin main + git push origin v0.12.12 + ``` + +4. **Publish to npm**: + ```bash + npm run publish + ``` + +5. **Add new [Unreleased] section** at top of CHANGELOG.md for next cycle, commit it diff --git a/package-lock.json b/package-lock.json index b530144e..b9dea854 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5975,11 +5975,11 @@ }, "packages/agent": { "name": "@mariozechner/pi-agent-core", - "version": "0.12.11", + "version": "0.12.12", "license": "MIT", "dependencies": { - "@mariozechner/pi-ai": "^0.12.10", - "@mariozechner/pi-tui": "^0.12.10" + "@mariozechner/pi-ai": "^0.12.11", + "@mariozechner/pi-tui": "^0.12.11" }, "devDependencies": { "@types/node": "^24.3.0", @@ -6009,7 +6009,7 @@ }, "packages/ai": { "name": "@mariozechner/pi-ai", - "version": "0.12.11", + "version": "0.12.12", "license": "MIT", "dependencies": { "@anthropic-ai/sdk": "^0.61.0", @@ -6050,12 +6050,12 @@ }, "packages/coding-agent": { "name": "@mariozechner/pi-coding-agent", - "version": "0.12.11", + "version": "0.12.12", "license": "MIT", "dependencies": { - "@mariozechner/pi-agent-core": "^0.12.10", - "@mariozechner/pi-ai": "^0.12.10", - "@mariozechner/pi-tui": "^0.12.10", + "@mariozechner/pi-agent-core": "^0.12.11", + "@mariozechner/pi-ai": "^0.12.11", + "@mariozechner/pi-tui": "^0.12.11", "chalk": "^5.5.0", "diff": "^8.0.2", "glob": "^11.0.3" @@ -6092,12 +6092,12 @@ }, "packages/mom": { "name": "@mariozechner/pi-mom", - "version": "0.12.11", + "version": "0.12.12", "license": "MIT", "dependencies": { "@anthropic-ai/sandbox-runtime": "^0.0.16", - "@mariozechner/pi-agent-core": "^0.12.10", - "@mariozechner/pi-ai": "^0.12.10", + "@mariozechner/pi-agent-core": "^0.12.11", + "@mariozechner/pi-ai": "^0.12.11", "@sinclair/typebox": "^0.34.0", "@slack/socket-mode": "^2.0.0", "@slack/web-api": "^7.0.0", @@ -6135,10 +6135,10 @@ }, "packages/pods": { "name": "@mariozechner/pi", - "version": "0.12.11", + "version": "0.12.12", "license": "MIT", "dependencies": { - "@mariozechner/pi-agent-core": "^0.12.10", + "@mariozechner/pi-agent-core": "^0.12.11", "chalk": "^5.5.0" }, "bin": { @@ -6151,7 +6151,7 @@ }, "packages/proxy": { "name": "@mariozechner/pi-proxy", - "version": "0.12.11", + "version": "0.12.12", "dependencies": { "@hono/node-server": "^1.14.0", "hono": "^4.6.16" @@ -6167,7 +6167,7 @@ }, "packages/tui": { "name": "@mariozechner/pi-tui", - "version": "0.12.11", + "version": "0.12.12", "license": "MIT", "dependencies": { "@types/mime-types": "^2.1.4", @@ -6211,12 +6211,12 @@ }, "packages/web-ui": { "name": "@mariozechner/pi-web-ui", - "version": "0.12.11", + "version": "0.12.12", "license": "MIT", "dependencies": { "@lmstudio/sdk": "^1.5.0", - "@mariozechner/pi-ai": "^0.12.10", - "@mariozechner/pi-tui": "^0.12.10", + "@mariozechner/pi-ai": "^0.12.11", + "@mariozechner/pi-tui": "^0.12.11", "docx-preview": "^0.3.7", "jszip": "^3.10.1", "lucide": "^0.544.0", @@ -6237,7 +6237,7 @@ }, "packages/web-ui/example": { "name": "pi-web-ui-example", - "version": "1.0.7", + "version": "1.0.8", "dependencies": { "@mariozechner/mini-lit": "^0.2.0", "@mariozechner/pi-ai": "file:../../ai", diff --git a/packages/agent/package.json b/packages/agent/package.json index 79cc0880..aa4d0ec6 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -1,6 +1,6 @@ { "name": "@mariozechner/pi-agent-core", - "version": "0.12.11", + "version": "0.12.12", "description": "General-purpose agent with transport abstraction, state management, and attachment support", "type": "module", "main": "./dist/index.js", @@ -18,8 +18,8 @@ "prepublishOnly": "npm run clean && npm run build" }, "dependencies": { - "@mariozechner/pi-ai": "^0.12.11", - "@mariozechner/pi-tui": "^0.12.11" + "@mariozechner/pi-ai": "^0.12.12", + "@mariozechner/pi-tui": "^0.12.12" }, "keywords": [ "ai", diff --git a/packages/ai/package.json b/packages/ai/package.json index 1fb6db05..2dd9964a 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,6 +1,6 @@ { "name": "@mariozechner/pi-ai", - "version": "0.12.11", + "version": "0.12.12", "description": "Unified LLM API with automatic model discovery and provider configuration", "type": "module", "main": "./dist/index.js", diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index e5478b13..e681f0d2 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [Unreleased] +## [0.12.12] - 2025-12-05 ### Changed @@ -15,6 +15,7 @@ - **Fuzzy search models and sessions**: Implemented a simple fuzzy search for models and sessions (e.g., `codexmax` now finds `gpt-5.1-codex-max`). ([#122](https://github.com/badlogic/pi-mono/pull/122) by [@markusylisiurunen](https://github.com/markusylisiurunen)) - **Prompt History Navigation**: Browse previously submitted prompts using Up/Down arrow keys when the editor is empty. Press Up to cycle through older prompts, Down to return to newer ones or clear the editor. Similar to shell history and Claude Code's prompt history feature. History is session-scoped and stores up to 100 entries. ([#121](https://github.com/badlogic/pi-mono/pull/121) by [@nicobailon](https://github.com/nicobailon)) +- **`/resume` Command**: Switch to a different session mid-conversation. Opens an interactive selector showing all available sessions. Equivalent to the `--resume` CLI flag but can be used without restarting the agent. ([#117](https://github.com/badlogic/pi-mono/pull/117) by [@hewliyang](https://github.com/hewliyang)) ## [0.12.11] - 2025-12-05 @@ -31,7 +32,6 @@ ### Added -- **`/resume` Command**: Switch to a different session mid-conversation. Opens an interactive selector showing all available sessions. Equivalent to the `--resume` CLI flag but can be used without restarting the agent. ([#117](https://github.com/badlogic/pi-mono/pull/117) by [@hewliyang](https://github.com/hewliyang)) - **`authHeader` option in models.json**: Custom providers can set `"authHeader": true` to automatically add `Authorization: Bearer ` header. Useful for providers that require explicit auth headers. ([#81](https://github.com/badlogic/pi-mono/issues/81)) - **`--append-system-prompt` Flag**: Append additional text or file contents to the system prompt. Supports both inline text and file paths. Complements `--system-prompt` for layering custom instructions without replacing the base system prompt. ([#114](https://github.com/badlogic/pi-mono/pull/114) by [@markusylisiurunen](https://github.com/markusylisiurunen)) - **Thinking Block Toggle**: Added `Ctrl+T` shortcut to toggle visibility of LLM thinking blocks. When toggled off, shows a static "Thinking..." label instead of full content. Useful for reducing visual clutter during long conversations. ([#113](https://github.com/badlogic/pi-mono/pull/113) by [@markusylisiurunen](https://github.com/markusylisiurunen)) diff --git a/packages/coding-agent/package.json b/packages/coding-agent/package.json index c0a45d01..1ffebc23 100644 --- a/packages/coding-agent/package.json +++ b/packages/coding-agent/package.json @@ -1,6 +1,6 @@ { "name": "@mariozechner/pi-coding-agent", - "version": "0.12.11", + "version": "0.12.12", "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.11", - "@mariozechner/pi-ai": "^0.12.11", - "@mariozechner/pi-tui": "^0.12.11", + "@mariozechner/pi-agent-core": "^0.12.12", + "@mariozechner/pi-ai": "^0.12.12", + "@mariozechner/pi-tui": "^0.12.12", "chalk": "^5.5.0", "diff": "^8.0.2", "glob": "^11.0.3" diff --git a/packages/mom/package.json b/packages/mom/package.json index 052b9a0e..c98db1aa 100644 --- a/packages/mom/package.json +++ b/packages/mom/package.json @@ -1,6 +1,6 @@ { "name": "@mariozechner/pi-mom", - "version": "0.12.11", + "version": "0.12.12", "description": "Slack bot that delegates messages to the pi coding agent", "type": "module", "bin": { @@ -21,8 +21,8 @@ }, "dependencies": { "@anthropic-ai/sandbox-runtime": "^0.0.16", - "@mariozechner/pi-agent-core": "^0.12.11", - "@mariozechner/pi-ai": "^0.12.11", + "@mariozechner/pi-agent-core": "^0.12.12", + "@mariozechner/pi-ai": "^0.12.12", "@sinclair/typebox": "^0.34.0", "@slack/socket-mode": "^2.0.0", "@slack/web-api": "^7.0.0", diff --git a/packages/pods/package.json b/packages/pods/package.json index 3e32dab4..016a1f96 100644 --- a/packages/pods/package.json +++ b/packages/pods/package.json @@ -1,6 +1,6 @@ { "name": "@mariozechner/pi", - "version": "0.12.11", + "version": "0.12.12", "description": "CLI tool for managing vLLM deployments on GPU pods", "type": "module", "bin": { @@ -34,7 +34,7 @@ "node": ">=20.0.0" }, "dependencies": { - "@mariozechner/pi-agent-core": "^0.12.11", + "@mariozechner/pi-agent-core": "^0.12.12", "chalk": "^5.5.0" }, "devDependencies": {} diff --git a/packages/proxy/package.json b/packages/proxy/package.json index 0e77727e..abe6c9c0 100644 --- a/packages/proxy/package.json +++ b/packages/proxy/package.json @@ -1,6 +1,6 @@ { "name": "@mariozechner/pi-proxy", - "version": "0.12.11", + "version": "0.12.12", "type": "module", "description": "CORS and authentication proxy for pi-ai", "main": "dist/index.js", diff --git a/packages/tui/package.json b/packages/tui/package.json index e7f4ddad..da6517f5 100644 --- a/packages/tui/package.json +++ b/packages/tui/package.json @@ -1,6 +1,6 @@ { "name": "@mariozechner/pi-tui", - "version": "0.12.11", + "version": "0.12.12", "description": "Terminal User Interface library with differential rendering for efficient text-based applications", "type": "module", "main": "dist/index.js", diff --git a/packages/web-ui/example/package.json b/packages/web-ui/example/package.json index 99587303..a2c3adf6 100644 --- a/packages/web-ui/example/package.json +++ b/packages/web-ui/example/package.json @@ -1,6 +1,6 @@ { "name": "pi-web-ui-example", - "version": "1.0.7", + "version": "1.0.8", "private": true, "type": "module", "scripts": { diff --git a/packages/web-ui/package.json b/packages/web-ui/package.json index 63f896a7..500b24e8 100644 --- a/packages/web-ui/package.json +++ b/packages/web-ui/package.json @@ -1,6 +1,6 @@ { "name": "@mariozechner/pi-web-ui", - "version": "0.12.11", + "version": "0.12.12", "description": "Reusable web UI components for AI chat interfaces powered by @mariozechner/pi-ai", "type": "module", "main": "dist/index.js", @@ -18,8 +18,8 @@ }, "dependencies": { "@lmstudio/sdk": "^1.5.0", - "@mariozechner/pi-ai": "^0.12.11", - "@mariozechner/pi-tui": "^0.12.11", + "@mariozechner/pi-ai": "^0.12.12", + "@mariozechner/pi-tui": "^0.12.12", "docx-preview": "^0.3.7", "jszip": "^3.10.1", "lucide": "^0.544.0",