Skip to content

Releases: ampeco/CLIProxyAPI

v0.1.2-ampeco

22 May 13:09
fa25f24

Choose a tag to compare

Changelog

  • fa25f24 Merge pull request #2 from ampeco/fix/antigravity-no-claude-leak
  • a73256e fix(antigravity): strip Claude entries from catalog (ampeco Patch 4)

v0.1.1-ampeco

19 May 11:12

Choose a tag to compare

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_OAuthAccessTokenUsesBearerAuth
  • TestApplyClaudeHeaders_ApiKeyStillUsesXApiKey
  • TestClaudeExecutor_PrepareRequest_OAuthAccessTokenUsesBearerAuth

README rewritten to describe only what each patch does.

Patch series (cumulative)

  1. reasoning field fallback (OpenAI→Claude response translation)
  2. cache_control marker strip (Claude→OpenAI request translation)
  3. OAuth access tokens use Authorization: Bearer … (Claude executor auth) — new

v0.1.0-ampeco — first tagged release of the ampeco fork

18 May 12:51
52d10b0

Choose a tag to compare

First tagged release of the ampeco maintained fork of router-for-me/CLIProxyAPI.

Patches on top of upstream commit 3a9fb378

  • Patch 1 (496152ee): reasoning field fallback in OpenAI→Claude response translator. OpenRouter emits reasoning instead of reasoning_content; the fallback fires only when reasoning_content is empty/absent.
  • Patch 2 (944e6739): cache_control marker stripping in Claude→OpenAI request translator, mirroring CCR's OpenrouterTransformer:17-29.
  • README (5b14d12f): documents fork purpose, patch series, and monthly rebase cadence.

Both translator patches are strict-additive — they only fire when their condition is met, so providers that already work upstream continue to work without regression. See README for full rationale.

Deployment

This binary is deployed by the cooperator Ansible role roles/cliproxyapi/ to mm007 (see sc-988867).

Artifacts

  • CLIProxyAPI-darwin-arm64 — macOS 12+ on Apple Silicon. Embeds version metadata via Go ldflags: Version=v0.1.0-ampeco Commit=52d10b06 BuildDate=2026-05-18T12:50:29Z.
  • CLIProxyAPI-darwin-arm64.sha256 — SHA-256 of the binary.

Verify after download:

shasum -a 256 -c CLIProxyAPI-darwin-arm64.sha256

Related

  • Shortcut story: sc-988867 — CoOperator: Centralized CLIProxyAPI on mm007
  • Implementation plan task: Task 2 (Phase 1: CLIProxyAPI fork patches)
  • Merge commit: 52d10b06 (PR #1)