From 60e2befb3580bab9c7aa04663da82258cfbcf965 Mon Sep 17 00:00:00 2001 From: can1357 Date: Tue, 19 May 2026 07:17:26 +0200 Subject: [PATCH] chore: bump version to 15.1.6 --- Cargo.lock | 8 +++---- Cargo.toml | 2 +- bun.lock | 30 +++++++++++++-------------- crates/pi-natives/src/lib.rs | 2 +- package.json | 14 ++++++------- packages/agent/package.json | 2 +- packages/ai/CHANGELOG.md | 2 ++ packages/ai/package.json | 2 +- packages/coding-agent/CHANGELOG.md | 2 ++ packages/coding-agent/package.json | 2 +- packages/natives/native/index.d.ts | 2 +- packages/natives/native/index.js | 2 +- packages/natives/package.json | 2 +- packages/stats/CHANGELOG.md | 2 ++ packages/stats/package.json | 2 +- packages/swarm-extension/package.json | 2 +- packages/tui/package.json | 2 +- packages/utils/package.json | 2 +- 18 files changed, 44 insertions(+), 38 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b4632add2..3e843b39b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2331,7 +2331,7 @@ dependencies = [ [[package]] name = "pi-ast" -version = "15.1.5" +version = "15.1.6" dependencies = [ "anyhow", "ast-grep-core", @@ -2399,7 +2399,7 @@ dependencies = [ [[package]] name = "pi-iso" -version = "15.1.5" +version = "15.1.6" dependencies = [ "async-trait", "libc", @@ -2411,7 +2411,7 @@ dependencies = [ [[package]] name = "pi-natives" -version = "15.1.5" +version = "15.1.6" dependencies = [ "anyhow", "arboard", @@ -2457,7 +2457,7 @@ dependencies = [ [[package]] name = "pi-shell" -version = "15.1.5" +version = "15.1.6" dependencies = [ "anyhow", "brush-builtins", diff --git a/Cargo.toml b/Cargo.toml index 3b3d38a24..a1b3c8e5a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ exclude = ["crates/brush-core-vendored", "crates/brush-builtins-vendored"] resolver = "3" [workspace.package] -version = "15.1.5" +version = "15.1.6" edition = "2024" license = "MIT" authors = ["Can Boluk"] diff --git a/bun.lock b/bun.lock index acdc80cee..db4e601e6 100644 --- a/bun.lock +++ b/bun.lock @@ -15,7 +15,7 @@ }, "packages/agent": { "name": "@oh-my-pi/pi-agent-core", - "version": "15.1.5", + "version": "15.1.6", "dependencies": { "@oh-my-pi/pi-ai": "catalog:", "@oh-my-pi/pi-natives": "catalog:", @@ -30,7 +30,7 @@ }, "packages/ai": { "name": "@oh-my-pi/pi-ai", - "version": "15.1.5", + "version": "15.1.6", "bin": { "pi-ai": "./src/cli.ts", }, @@ -48,7 +48,7 @@ }, "packages/coding-agent": { "name": "@oh-my-pi/pi-coding-agent", - "version": "15.1.5", + "version": "15.1.6", "bin": { "omp": "src/cli.ts", }, @@ -83,7 +83,7 @@ }, "packages/natives": { "name": "@oh-my-pi/pi-natives", - "version": "15.1.5", + "version": "15.1.6", "devDependencies": { "@napi-rs/cli": "catalog:", "@types/bun": "catalog:", @@ -91,7 +91,7 @@ }, "packages/stats": { "name": "@oh-my-pi/omp-stats", - "version": "15.1.5", + "version": "15.1.6", "bin": { "omp-stats": "./src/index.ts", }, @@ -116,7 +116,7 @@ }, "packages/swarm-extension": { "name": "@oh-my-pi/swarm-extension", - "version": "15.1.5", + "version": "15.1.6", "bin": { "omp-swarm": "src/cli.ts", }, @@ -132,7 +132,7 @@ }, "packages/tui": { "name": "@oh-my-pi/pi-tui", - "version": "15.1.5", + "version": "15.1.6", "dependencies": { "@oh-my-pi/pi-natives": "catalog:", "@oh-my-pi/pi-utils": "catalog:", @@ -172,7 +172,7 @@ }, "packages/utils": { "name": "@oh-my-pi/pi-utils", - "version": "15.1.5", + "version": "15.1.6", "dependencies": { "@oh-my-pi/pi-natives": "catalog:", "beautiful-mermaid": "catalog:", @@ -212,13 +212,13 @@ "@bufbuild/protoc-gen-es": "^2.12.0", "@mozilla/readability": "^0.6.0", "@napi-rs/cli": "3.6.2", - "@oh-my-pi/omp-stats": "15.1.5", - "@oh-my-pi/pi-agent-core": "15.1.5", - "@oh-my-pi/pi-ai": "15.1.5", - "@oh-my-pi/pi-coding-agent": "15.1.5", - "@oh-my-pi/pi-natives": "15.1.5", - "@oh-my-pi/pi-tui": "15.1.5", - "@oh-my-pi/pi-utils": "15.1.5", + "@oh-my-pi/omp-stats": "15.1.6", + "@oh-my-pi/pi-agent-core": "15.1.6", + "@oh-my-pi/pi-ai": "15.1.6", + "@oh-my-pi/pi-coding-agent": "15.1.6", + "@oh-my-pi/pi-natives": "15.1.6", + "@oh-my-pi/pi-tui": "15.1.6", + "@oh-my-pi/pi-utils": "15.1.6", "@opentelemetry/api": "^1.9.0", "@opentelemetry/context-async-hooks": "^2.0.0", "@opentelemetry/sdk-trace-base": "^2.0.0", diff --git a/crates/pi-natives/src/lib.rs b/crates/pi-natives/src/lib.rs index 880a6e233..f9a8a4d42 100644 --- a/crates/pi-natives/src/lib.rs +++ b/crates/pi-natives/src/lib.rs @@ -67,5 +67,5 @@ use napi_derive::napi; /// MUST stay in sync with `VERSION_SENTINEL_EXPORT` in /// `packages/natives/native/index.js` (which derives the name from /// `package.json#version`). -#[napi(js_name = "__piNativesV15_1_5")] +#[napi(js_name = "__piNativesV15_1_6")] pub const fn pi_natives_version_sentinel() {} diff --git a/package.json b/package.json index 247608dac..8fb62847c 100644 --- a/package.json +++ b/package.json @@ -20,13 +20,13 @@ "@bufbuild/protoc-gen-es": "^2.12.0", "@mozilla/readability": "^0.6.0", "@napi-rs/cli": "3.6.2", - "@oh-my-pi/omp-stats": "15.1.5", - "@oh-my-pi/pi-agent-core": "15.1.5", - "@oh-my-pi/pi-ai": "15.1.5", - "@oh-my-pi/pi-coding-agent": "15.1.5", - "@oh-my-pi/pi-natives": "15.1.5", - "@oh-my-pi/pi-tui": "15.1.5", - "@oh-my-pi/pi-utils": "15.1.5", + "@oh-my-pi/omp-stats": "15.1.6", + "@oh-my-pi/pi-agent-core": "15.1.6", + "@oh-my-pi/pi-ai": "15.1.6", + "@oh-my-pi/pi-coding-agent": "15.1.6", + "@oh-my-pi/pi-natives": "15.1.6", + "@oh-my-pi/pi-tui": "15.1.6", + "@oh-my-pi/pi-utils": "15.1.6", "@opentelemetry/api": "^1.9.0", "@opentelemetry/context-async-hooks": "^2.0.0", "@opentelemetry/sdk-trace-base": "^2.0.0", diff --git a/packages/agent/package.json b/packages/agent/package.json index c2d5397b1..a246fd78a 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "@oh-my-pi/pi-agent-core", - "version": "15.1.5", + "version": "15.1.6", "description": "General-purpose agent with transport abstraction, state management, and attachment support", "homepage": "https://omp.sh", "author": "Can Boluk", diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.md index bf673dce8..397b10871 100644 --- a/packages/ai/CHANGELOG.md +++ b/packages/ai/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [15.1.6] - 2026-05-19 + ### Fixed - Fixed `{}` (empty JSON Schema, the wire representation of `z.unknown()`) being passed verbatim to grammar-constrained samplers (llama.cpp, etc.) in `additionalProperties`, `items`, and other schema-valued positions across **every provider** (OpenAI, Anthropic, Google, Ollama, Bedrock, Cursor). Grammar builders treat `{}` as "generate an empty object" rather than "any JSON value", causing open-typed fields (e.g. `extra.title` from `z.record(z.string(), z.unknown())`) to always emit `{}` instead of the intended string/number/etc. `toolWireSchema` now applies a new `normalizeEmptySchemas` pass (exported) to both the Zod and TypeBox/raw-JSON-Schema branches, converting `{}` โ†’ `true` (semantically identical per JSON Schema draft 2020-12 ยง4.3.1) in all schema-valued positions. Strict-mode opt-out is preserved across all providers: OpenAI's `hasUnrepresentableStrictObjectMap` hits the `=== true` branch instead of the `isJsonObject({})` branch (same result); Anthropic's `normalizeAnthropicStrictSchemaNode` opts out via `additionalProperties !== false` (still true for `true`); Google's `normalizeSchemaForGoogle` strips `additionalProperties` regardless (pre-existing). ([#1179](https://github.com/can1357/oh-my-pi/issues/1179)) diff --git a/packages/ai/package.json b/packages/ai/package.json index cb46fac78..2e3211e49 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "@oh-my-pi/pi-ai", - "version": "15.1.5", + "version": "15.1.6", "description": "Unified LLM API with automatic model discovery and provider configuration", "homepage": "https://omp.sh", "author": "Can Boluk", diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index 01f1753f2..bba3a028c 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [15.1.6] - 2026-05-19 + ### Fixed - Fixed plan-mode `resolve` looping when grammar-constrained models (e.g. Qwen3.6-35B-MTP via llama.cpp) emit `extra: { title: {} }` instead of a string โ€” the open `Record` schema for `extra` lets such models drop in an empty object, and the apply guard then hard-threw on every retry. Plan approval now derives the title from `extra.title` when usable, falling back to the plan's first `# Heading`, then the plan filename stem (`local://PLAN.md` โ†’ `PLAN`), then the literal `"plan"`. Prompt language relaxed from "MUST" to "SHOULD" for `extra.title`. ([#1179](https://github.com/can1357/oh-my-pi/issues/1179)) diff --git a/packages/coding-agent/package.json b/packages/coding-agent/package.json index 101a898e5..a1cd327cd 100644 --- a/packages/coding-agent/package.json +++ b/packages/coding-agent/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "@oh-my-pi/pi-coding-agent", - "version": "15.1.5", + "version": "15.1.6", "description": "Coding agent CLI with read, bash, edit, write tools and session management", "homepage": "https://omp.sh", "author": "Can Boluk", diff --git a/packages/natives/native/index.d.ts b/packages/natives/native/index.d.ts index a24ceb99b..44905cb38 100644 --- a/packages/natives/native/index.d.ts +++ b/packages/natives/native/index.d.ts @@ -136,7 +136,7 @@ export declare class Shell { * `packages/natives/native/index.js` (which derives the name from * `package.json#version`). */ -export declare function __piNativesV15_1_5(): void +export declare function __piNativesV15_1_6(): void /** * Apply conservative pre-execution rewrites to a bash command. diff --git a/packages/natives/native/index.js b/packages/natives/native/index.js index 4441d06b5..47ec74b65 100644 --- a/packages/natives/native/index.js +++ b/packages/natives/native/index.js @@ -23,7 +23,7 @@ export const PtySession = nativeBindings.PtySession; export const Shell = nativeBindings.Shell; // functions -export const __piNativesV15_1_5 = nativeBindings.__piNativesV15_1_5; +export const __piNativesV15_1_6 = nativeBindings.__piNativesV15_1_6; export const applyBashFixups = nativeBindings.applyBashFixups; export const astEdit = nativeBindings.astEdit; export const astGrep = nativeBindings.astGrep; diff --git a/packages/natives/package.json b/packages/natives/package.json index 6a6b6a025..bcba74fdb 100644 --- a/packages/natives/package.json +++ b/packages/natives/package.json @@ -1,6 +1,6 @@ { "name": "@oh-my-pi/pi-natives", - "version": "15.1.5", + "version": "15.1.6", "description": "Native Rust bindings for grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API", "type": "module", "homepage": "https://omp.sh", diff --git a/packages/stats/CHANGELOG.md b/packages/stats/CHANGELOG.md index fe833234a..25794560d 100644 --- a/packages/stats/CHANGELOG.md +++ b/packages/stats/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [15.1.6] - 2026-05-19 + ### Fixed - Fixed `omp stats` crashing on first session sync in published `omp-{linux,darwin,windows}-*` binaries with `BuildMessage: ModuleNotFound resolving "./packages/stats/src/sync-worker.ts"`; the release build script now lists the stats sync, browser tab, and JS eval workers as explicit `--compile` entrypoints so Bun emits them into bunfs, matching the dev build script and the AGENTS.md worker spawn contract. ([#1150](https://github.com/can1357/oh-my-pi/issues/1150)) diff --git a/packages/stats/package.json b/packages/stats/package.json index 577e46ac6..a4ff1375b 100644 --- a/packages/stats/package.json +++ b/packages/stats/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "@oh-my-pi/omp-stats", - "version": "15.1.5", + "version": "15.1.6", "description": "Local observability dashboard for pi AI usage statistics", "homepage": "https://omp.sh", "author": "Can Boluk", diff --git a/packages/swarm-extension/package.json b/packages/swarm-extension/package.json index e68da6a69..aef3b2632 100644 --- a/packages/swarm-extension/package.json +++ b/packages/swarm-extension/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "@oh-my-pi/swarm-extension", - "version": "15.1.5", + "version": "15.1.6", "description": "Swarm orchestration extension for omp", "homepage": "https://omp.sh", "author": "Derek Rynd", diff --git a/packages/tui/package.json b/packages/tui/package.json index 66daf9f95..43620917d 100644 --- a/packages/tui/package.json +++ b/packages/tui/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "@oh-my-pi/pi-tui", - "version": "15.1.5", + "version": "15.1.6", "description": "Terminal User Interface library with differential rendering for efficient text-based applications", "homepage": "https://omp.sh", "author": "Can Boluk", diff --git a/packages/utils/package.json b/packages/utils/package.json index e93634ba1..79da752a8 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "@oh-my-pi/pi-utils", - "version": "15.1.5", + "version": "15.1.6", "description": "Shared utilities for pi packages", "homepage": "https://omp.sh", "author": "Can Boluk",