v0.7.15: Anthropic OAuth support

This commit is contained in:
Mario Zechner 2025-11-17 12:53:57 +01:00
parent 063b7e0f11
commit f2b3953711
11 changed files with 166 additions and 128 deletions

View file

@ -2,11 +2,16 @@
## [Unreleased]
## [0.7.15] - 2025-11-17
### Fixed
- **Anthropic OAuth Support**: Added support for `ANTHROPIC_OAUTH_TOKEN` environment variable. The agent now checks for OAuth tokens before falling back to API keys for Anthropic models, enabling OAuth-based authentication.
## [0.7.14] - 2025-11-17
### Fixed
- **Anthropic OAuth Support**: Added support for `ANTHROPIC_OAUTH_TOKEN` environment variable. The agent now checks for OAuth tokens before falling back to API keys for Anthropic models, enabling OAuth-based authentication.
- **Mistral API Compatibility**: Fixed compatibility with Mistral API by excluding the `store` field and using `max_tokens` instead of `max_completion_tokens`, and avoiding the `developer` role in system prompts.
- **Error Display**: Fixed error message display in assistant messages to include proper spacing before the error text.
- **Message Streaming**: Fixed missing `message_start` event when no partial message chunks were received during streaming.

View file

@ -1,6 +1,6 @@
{
"name": "@mariozechner/pi-coding-agent",
"version": "0.7.14",
"version": "0.7.15",
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
"type": "module",
"bin": {
@ -21,8 +21,8 @@
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@mariozechner/pi-agent": "^0.7.13",
"@mariozechner/pi-ai": "^0.7.13",
"@mariozechner/pi-agent": "^0.7.15",
"@mariozechner/pi-ai": "^0.7.15",
"chalk": "^5.5.0",
"diff": "^8.0.2",
"glob": "^11.0.3"