@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/messagesrequest
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=1The 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-codeCompatibility
- 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-proxyor:
npm install -g @sunflower0305/claude-proxy
claude-proxyVerification 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-runreports version1.4.0and includesdist/,
README.md,CHANGELOG.md,LICENSE, and.env.example- a temporary installation of the packed artifact verifies the CLI,
programmaticcreateApp()export,/health, and capture-disabled default
Post-publish verification plan:
- confirm the
CIworkflow succeeds after the release-preparation commit is
pushed - confirm the
CDworkflow succeeds for tagv1.4.0 - verify npm publication completes and the
latestdist-tag points to1.4.0 - confirm the GitHub Release
v1.4.0is created from these release notes