mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-18 13:15:51 +00:00
* fix(kosong): isolate anthropic auth environment * fix(kosong): close remaining anthropic env fallbacks Pass explicit nulls into the Anthropic SDK for unused auth/base URL overrides, keep adapter-owned auth headers authoritative, and add regression coverage for Anthropic shell env leakage. * fix(kosong): block anthropic custom header env leakage * docs(kosong): explain anthropic env-isolation intent + migration Spell out that the SDK is used as a transport to arbitrary endpoints, so disabling its shell-env auto-discovery is the fix: the authToken/baseURL/header nulls are load-bearing, not redundant. Also document the behavior change (shell ANTHROPIC_* no longer read; use provider config) in the changeset. No logic change. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| abort-cleanup.test.ts | ||
| abort-signal.test.ts | ||
| anthropic-adapter.test.ts | ||
| cross-provider-consistency.test.ts | ||
| error-recovery.test.ts | ||
| extreme-streams.test.ts | ||
| fake-provider-harness.test.ts | ||
| fake-provider-harness.ts | ||
| google-genai-adapter.test.ts | ||
| google-genai-error-mapping.test.ts | ||
| kimi-adapter-e2e.test.ts | ||
| multi-step-agent-loop.test.ts | ||
| openai-legacy-adapter-e2e.test.ts | ||
| openai-responses-adapter-e2e.test.ts | ||
| parallel-tool-calls.test.ts | ||
| provider-error-handling.test.ts | ||
| provider-switching.test.ts | ||
| streaming-fidelity.test.ts | ||
| streaming-providers.test.ts | ||
| toolchain-bridges.test.ts | ||
| toolset-advanced.test.ts | ||