e7daffdda7
providers/anthropic: - Bump claudeCodeVersion to 2.1.63; system instruction identifies as Claude Agent SDK - X-Stainless-Os and X-Stainless-Arch now runtime-computed via mapStainlessOs/mapStainlessArch - Remove X-Stainless-Helper-Method; update package version to 0.74.0, runtime to v24.3.0 - Remove fine-grained-tool-streaming-2025-05-14 from default beta set; add context-management-2025-06-27 and prompt-caching-scope-2026-01-05 - Accept-Encoding updated to 'gzip, deflate, br, zstd' - Inject x-anthropic-billing-header block (SHA-256 payload fingerprint) and Claude Agent SDK identity block with ephemeral 1h cache-control for OAuth requests - Auto-generate cloaking user IDs for OAuth metadata.user_id when absent/invalid - applyClaudeToolPrefix / stripClaudeToolPrefix skip Anthropic built-in tool names - buildClaudeCodeTlsFetchOptions attaches SNI + default TLS ciphers for api.anthropic.com - Non-Anthropic base URLs now use Bearer auth regardless of OAuth status - Prompt-caching no longer strips then re-applies; skips if blocks already have cache_control oauth/anthropic: - Token URL changed from platform.claude.com to api.anthropic.com - OAuth scopes trimmed to org:create_api_key user:profile user:inference - Code exchange strips URL fragment from callback code (fragment used as state override) - AnthropicOAuthFlow exported - OAuth callback server timeout extended from 2 min to 5 min usage/claude: - user-agent updated to claude-cli/2.1.63 (external, cli) - anthropic-beta header extended with full production beta set coding-agent web search: - Anthropic provider uses buildAnthropicSearchHeaders instead of buildAnthropicHeaders Tests: anthropic-alignment, anthropic-oauth, claude-usage-headers, web-search-anthropic
@oh-my-pi/pi-coding-agent
Core implementation package for the omp coding agent in the oh-my-pi monorepo.
For installation, setup, provider configuration, model roles, slash commands, and full CLI reference, see:
Package-specific references: