Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .cortexkit/release-notes/2.7.2.md
Original file line number Diff line number Diff line change
@@ -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.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 5 additions & 5 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cortexkit/anthropic-auth-core",
"version": "2.7.1",
"version": "2.7.2",
"type": "module",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/opencode/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cortexkit/opencode-anthropic-auth",
"version": "2.7.1",
"version": "2.7.2",
"type": "module",
"repository": {
"type": "git",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/pi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cortexkit/pi-anthropic-auth",
"version": "2.7.1",
"version": "2.7.2",
"type": "module",
"repository": {
"type": "git",
Expand Down Expand Up @@ -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",
Expand Down
Loading