mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-19 05:35:34 +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. |
||
|---|---|---|
| .. | ||
| e2e | ||
| fixtures | ||
| providers | ||
| anthropic-errors.test.ts | ||
| anthropic.test.ts | ||
| capability-providers.test.ts | ||
| capability.test.ts | ||
| catalog.test.ts | ||
| echo-provider.test.ts | ||
| errors.test.ts | ||
| finish-reason.test.ts | ||
| generate.test.ts | ||
| google-genai.test.ts | ||
| kimi-files.test.ts | ||
| kimi.test.ts | ||
| message.test.ts | ||
| openai-common-errors.test.ts | ||
| openai-legacy.test.ts | ||
| openai-responses.test.ts | ||
| provider.test.ts | ||
| regression.test.ts | ||
| scripted-echo-provider.test.ts | ||
| simple-toolset.test.ts | ||
| step.test.ts | ||
| stress.test.ts | ||
| tool-message-conversion.test.ts | ||
| type-safety-negative.ts | ||
| type-safety.test.ts | ||
| typed-tool.test.ts | ||
| usage.test.ts | ||