diff --git a/.cortexkit/release-notes/2.7.2.md b/.cortexkit/release-notes/2.7.2.md new file mode 100644 index 00000000..dd2231b5 --- /dev/null +++ b/.cortexkit/release-notes/2.7.2.md @@ -0,0 +1,8 @@ +## anthropic-auth 2.7.2 + +### Fixes + +- **Keep-warm sessions survive the upgrade to 2.7.** On the first OpenCode 2 or Pi start after upgrading to 2.7, keep-warm sessions saved by 2.6 or earlier were all dropped when keep-warm was set to "always", so each idle one paid a full cache rewrite later. They're now kept warm, and the limit of 24 warms without a real request counts from the restart ([#677](https://github.com/cortexkit/anthropic-auth/issues/677)). +- **Server-fallback boundaries survive context clearing.** If a context manager replaced the text of the hidden marker that records where Anthropic's safety fallback took over, the plugin no longer recognized it and sent it to Anthropic as an invalid thinking block. It's now recognized by its signature alone and restored to Anthropic's exact fallback block. + +Still on common-auth 0.42.0. diff --git a/CHANGELOG.md b/CHANGELOG.md index 48de3c94..0bc17241 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,11 @@ This repo is a CortexKit-maintained Anthropic auth monorepo for OpenCode and Pi. The OpenCode package is a fork of the original `@ex-machina/opencode-anthropic-auth` plugin, so older entries below the initial CortexKit release are inherited from upstream package history. -## Unreleased +## 2.7.2 - Addresses #677: on the first OpenCode 2 or Pi start after upgrading to 2.7, keep-warm sessions saved by earlier versions are kept warm instead of dropped; the limit of 24 warms without a real request counts from the restart. - A server-fallback boundary is now restored even after a context manager clears its thinking text, instead of being sent to Anthropic as an invalid thinking block. + ## 2.7.1 - Addresses #673: in vault mode, Insula's quota readings stay fresh between background checks, so the plugin no longer polls Anthropic's usage endpoint itself when Insula already has the reading. diff --git a/bun.lock b/bun.lock index c14a4df9..322c44d6 100644 --- a/bun.lock +++ b/bun.lock @@ -25,7 +25,7 @@ }, "packages/core": { "name": "@cortexkit/anthropic-auth-core", - "version": "2.7.1", + "version": "2.7.2", "dependencies": { "@cortexkit/claustrum-client": "0.13.0", "@cortexkit/private-files": "0.2.2", @@ -46,13 +46,13 @@ }, "packages/opencode": { "name": "@cortexkit/opencode-anthropic-auth", - "version": "2.7.1", + "version": "2.7.2", "bin": { "opencode-anthropic-auth": "dist/cli.js", }, "dependencies": { "@clack/prompts": "^1.6.0", - "@cortexkit/anthropic-auth-core": "2.7.1", + "@cortexkit/anthropic-auth-core": "2.7.2", "@cortexkit/claustrum-client": "0.13.0", "@cortexkit/private-files": "0.2.2", "@cortexkit/subc-client": "^0.22.10", @@ -76,9 +76,9 @@ }, "packages/pi": { "name": "@cortexkit/pi-anthropic-auth", - "version": "2.7.1", + "version": "2.7.2", "dependencies": { - "@cortexkit/anthropic-auth-core": "2.7.1", + "@cortexkit/anthropic-auth-core": "2.7.2", }, "peerDependencies": { "@earendil-works/pi-ai": ">=0.86.1 <2", diff --git a/packages/core/package.json b/packages/core/package.json index cabe7a45..b4e860ff 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/anthropic-auth-core", - "version": "2.7.1", + "version": "2.7.2", "type": "module", "repository": { "type": "git", diff --git a/packages/opencode/package.json b/packages/opencode/package.json index f6a7a89b..2b3f9786 100644 --- a/packages/opencode/package.json +++ b/packages/opencode/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/opencode-anthropic-auth", - "version": "2.7.1", + "version": "2.7.2", "type": "module", "repository": { "type": "git", @@ -77,7 +77,7 @@ }, "dependencies": { "@clack/prompts": "^1.6.0", - "@cortexkit/anthropic-auth-core": "2.7.1", + "@cortexkit/anthropic-auth-core": "2.7.2", "@cortexkit/claustrum-client": "0.13.0", "@cortexkit/private-files": "0.2.2", "@cortexkit/subc-client": "^0.22.10", diff --git a/packages/pi/package.json b/packages/pi/package.json index 3603e210..b70f2f20 100644 --- a/packages/pi/package.json +++ b/packages/pi/package.json @@ -1,6 +1,6 @@ { "name": "@cortexkit/pi-anthropic-auth", - "version": "2.7.1", + "version": "2.7.2", "type": "module", "repository": { "type": "git", @@ -36,7 +36,7 @@ "prepublishOnly": "bun run build" }, "dependencies": { - "@cortexkit/anthropic-auth-core": "2.7.1" + "@cortexkit/anthropic-auth-core": "2.7.2" }, "peerDependencies": { "@earendil-works/pi-ai": ">=0.86.1 <2",