Release v0.12.12

This commit is contained in:
Mario Zechner 2025-12-05 23:00:45 +01:00
parent 94d6c6704b
commit ddf09720cc
12 changed files with 67 additions and 40 deletions

View file

@ -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

38
package-lock.json generated
View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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 <apiKey>` 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))

View file

@ -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"

View file

@ -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",

View file

@ -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": {}

View file

@ -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",

View file

@ -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",

View file

@ -1,6 +1,6 @@
{
"name": "pi-web-ui-example",
"version": "1.0.7",
"version": "1.0.8",
"private": true,
"type": "module",
"scripts": {

View file

@ -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",