From 4102ef23f0b850526ec8b73511589a5b4aa6c1d4 Mon Sep 17 00:00:00 2001 From: pierreraby Date: Mon, 5 Oct 2026 21:27:45 +0200 Subject: [PATCH] chore(release): prepare 0.7.4 --- CHANGELOG.md | 10 ++++++++-- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 128a891..eb7d567 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,14 @@ # Changelog -## Unreleased +## 0.7.4 - 2026-10-05 -- Use the Provider API's OpenAI Responses wire (`/provider/v1/responses`) for models whose `/provider/v1/models` entry advertises `/responses`, keeping OpenAI Chat Completions for chat-only models and Anthropic Messages for Claude. The wire is resolved per model from `supported_endpoints`, falling back to Chat Completions when the catalog omits the field. +- Use the Provider API's OpenAI Responses wire (`/provider/v1/responses`) for models whose `/provider/v1/models` entry advertises `/responses`, keeping OpenAI Chat Completions for chat-only models and Anthropic Messages for Claude. The wire is resolved per model from `supported_endpoints`, falling back to Chat Completions when the catalog omits the field. This also enables prompt caching (`prompt_cache_key` is forwarded on `/responses` but ignored on `/chat/completions`): repeated prefixes bill at cache-read instead of full input price ([#132](https://github.com/patlux/pi-commandcode-provider/issues/132), [#133](https://github.com/patlux/pi-commandcode-provider/pull/133)). +- Sweep orphaned `commandcode-models.json..tmp` files older than one hour on the next successful catalog refresh, and use a unique temp name per attempt so concurrent hosts never share one. Hosts killed mid-write no longer accumulate temp files ([#130](https://github.com/patlux/pi-commandcode-provider/issues/130), [#131](https://github.com/patlux/pi-commandcode-provider/pull/131)). + +### Contributors + +- @Mario-pereyra — designed the OpenAI Responses wire and authored the routing implementation carried forward in #133 (#124). +- @maxitromer — traced the missing cache key on the Provider API path and proposed the fix directions (#132). ## 0.7.3 - 2026-09-28 diff --git a/package-lock.json b/package-lock.json index bec99bd..2a80cbd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pi-commandcode-provider", - "version": "0.7.3", + "version": "0.7.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pi-commandcode-provider", - "version": "0.7.3", + "version": "0.7.4", "license": "MIT", "devDependencies": { "@types/node": "25.6.0", diff --git a/package.json b/package.json index eea63d1..f99a4b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pi-commandcode-provider", - "version": "0.7.3", + "version": "0.7.4", "description": "pi custom provider for Command Code API (commandcode.ai)", "type": "module", "keywords": [