Skip to content

v1.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Jun 05:28

@sunflower0305/claude-proxy v1.4.0

Minor release of claude-proxy, published as @sunflower0305/claude-proxy.

Highlights

  • optional local capture logging records complete POST /v1/messages request
    and response exchanges for debugging
  • authorization and API key headers are redacted by default
  • the default GLM upstream model is now glm-5.2
  • the default Kimi upstream model is now kimi-k2.7-code
  • Express and the TypeScript, Vitest, and Vite+ development toolchain have been
    upgraded

Local Capture Logging

Capture logging remains disabled unless explicitly enabled:

CLAUDE_PROXY_LOG=1
CLAUDE_PROXY_LOG_DIR=.claude-proxy/sessions
CLAUDE_PROXY_REDACT=1

The proxy writes one JSON file after each completed, failed, or client-aborted
message request. CLAUDE_PROXY_LOG_DIR controls the output directory.
CLAUDE_PROXY_REDACT defaults to enabled and replaces Authorization and
x-api-key header values with [REDACTED].

Capture files contain complete request and response bodies. Prompts, messages,
tool inputs and outputs, metadata, generated content, and other payload data are
not redacted. There is currently no body-size limit, file rotation, or retention
policy. Enable capture logging only for short-lived debugging in a trusted local
environment, protect the output directory, and remove captures when they are no
longer needed.

Provider Default Changes

Existing explicit model overrides continue to take precedence. To use the new
defaults, remove older overrides or set:

GLM_MODEL=glm-5.2
KIMI_MODEL=kimi-k2.7-code

Compatibility

  • Node.js 20.12 or newer remains required at runtime.
  • Express has been upgraded from version 4 to version 5.
  • The repository package manager declaration and GitHub Actions use pnpm
    10.30.1, which remains compatible with the supported Node.js runtime.

Installation

npx @sunflower0305/claude-proxy

or:

npm install -g @sunflower0305/claude-proxy
claude-proxy

Verification Summary

Local release gates to complete for v1.4.0 before publication:

  • formatting, lint, and TypeScript checks complete successfully
  • the package builds successfully for the Node.js 20.12 target
  • the local integration and coverage test suites pass
  • npm pack --dry-run reports version 1.4.0 and includes dist/,
    README.md, CHANGELOG.md, LICENSE, and .env.example
  • a temporary installation of the packed artifact verifies the CLI,
    programmatic createApp() export, /health, and capture-disabled default

Post-publish verification plan:

  • confirm the CI workflow succeeds after the release-preparation commit is
    pushed
  • confirm the CD workflow succeeds for tag v1.4.0
  • verify npm publication completes and the latest dist-tag points to 1.4.0
  • confirm the GitHub Release v1.4.0 is created from these release notes

Source