feat: add opt-in experimental Claude cch signing

This commit is contained in:
edlsh
2026-04-01 13:03:17 -04:00
parent c10f8ae2e2
commit 37249339ac
7 changed files with 277 additions and 133 deletions

View File

@@ -172,6 +172,8 @@ nonstream-keepalive-interval: 0
# - "API"
# - "proxy"
# cache-user-id: true # optional: default is false; set true to reuse cached user_id per API key instead of generating a random one each request
# experimental-cch-signing: false # optional: default is false; when true, sign the final /v1/messages body using the current Claude Code cch algorithm
# # keep this disabled unless you explicitly need the behavior, so upstream seed changes fall back to legacy proxy behavior
# Default headers for Claude API requests. Update when Claude Code releases new versions.
# In legacy mode, user-agent/package-version/runtime-version/timeout are used as fallbacks