v0.1.1-ampeco
Changes
Adds Patch 3 — OAuth access tokens (sk-ant-oat01-*) now use Authorization: Bearer … instead of x-api-key.
internal/runtime/executor/claude_executor.go (two call sites: PrepareRequest and applyClaudeHeaders):
detect the sk-ant-oat01- prefix and route those tokens via the Bearer header. Real sk-ant-api03-* API keys keep the existing x-api-key routing.
Three unit tests under internal/runtime/executor/claude_executor_test.go:
TestApplyClaudeHeaders_OAuthAccessTokenUsesBearerAuthTestApplyClaudeHeaders_ApiKeyStillUsesXApiKeyTestClaudeExecutor_PrepareRequest_OAuthAccessTokenUsesBearerAuth
README rewritten to describe only what each patch does.
Patch series (cumulative)
reasoningfield fallback (OpenAI→Claude response translation)cache_controlmarker strip (Claude→OpenAI request translation)- OAuth access tokens use
Authorization: Bearer …(Claude executor auth) — new