@kenkaiiii/gg-ai 5.64.3 → 5.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -43,7 +43,7 @@ Tool parameters are Zod schemas. Converted to JSON Schema at the provider bounda
43
43
  | `anthropic` | Claude Opus 5.5, Sonnet 5, Haiku 4.5 | Extended thinking, prompt caching, server-side compaction |
44
44
  | `openai` | GPT-4.1, o3, o4-mini | Supports OAuth (codex endpoint) and API keys |
45
45
  | `glm` | GLM-5.3 | Z.AI platform, OpenAI-compatible |
46
- | `moonshot` | Kimi K3, Kimi K2.7 Code | Moonshot platform, OpenAI-compatible |
46
+ | `moonshot` | Kimi K3, Kimi K2.8 Preview, Kimi K2.7 Code | Moonshot platform, OpenAI-compatible |
47
47
 
48
48
  ---
49
49
 
package/dist/index.cjs CHANGED
@@ -2098,7 +2098,7 @@ async function* runStream2(options) {
2098
2098
  const endpointKey = reasoningFieldKey(providerName, options.baseUrl, options.model);
2099
2099
  const client = createClient2(options);
2100
2100
  const isLocal = options.provider === "local";
2101
- const isKimiK3 = options.provider === "moonshot" && options.model === "kimi-k3";
2101
+ const isKimiK3 = options.provider === "moonshot" && (options.model === "kimi-k3" || options.model === "kimi-for-coding");
2102
2102
  const isManagedKimiK3 = isKimiK3 && options.baseUrl?.replace(/\/+$/, "").endsWith("/coding/v1") === true;
2103
2103
  const k3Effort = options.thinking ? toKimiK3Effort(options.thinking) : void 0;
2104
2104
  const isKimiK27 = options.provider === "moonshot" && options.model.startsWith("kimi-k2.7-code");