mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-17 12:45:42 +00:00
docs(changelog): sync 0.36.0 from apps/kimi-code/CHANGELOG.md (#2880)
Also translate the Chinese pool-example descriptions in docs/en/configuration/config-files.md into English.
This commit is contained in:
parent
b6144f94ea
commit
f8a88c1bd9
3 changed files with 69 additions and 5 deletions
|
|
@ -224,9 +224,9 @@ A configured pool — an explicit `[secondary_model.models]` table or a lone `de
|
|||
[secondary_model]
|
||||
default_model = "kimi-code/kimi-for-coding-highspeed"
|
||||
[secondary_model.models]
|
||||
"kimi-code/k3" = "难题选它。擅长复杂推理、算法设计、深度调试、数学和系统性难题。"
|
||||
"kimi-code/kimi-for-coding-highspeed" = "又快又便宜。适合日常重构、代码解释、小改动、总结和批量简单任务。"
|
||||
"kimi-code/kimi-for-coding" = "均衡的编码主力。适合大多数功能开发和代码修改任务。"
|
||||
"kimi-code/k3" = "Pick this for hard problems. Strong at complex reasoning, algorithm design, deep debugging, math, and systematic challenges."
|
||||
"kimi-code/kimi-for-coding-highspeed" = "Fast and cheap. Good for daily refactoring, code explanation, small edits, summaries, and simple batch tasks."
|
||||
"kimi-code/kimi-for-coding" = "A balanced coding workhorse. Good for most feature development and code-change tasks."
|
||||
```
|
||||
|
||||
A spawn resolves the subagent's model in this order: an explicit tool-call `model` → `default_model`. The `model` parameter accepts any pool alias, or `"primary"` — the model the caller itself is running, always valid even when that model is not in the pool. When neither `default_model` nor `[secondary_model.models]` is configured, the parameter is not advertised and subagents inherit the caller's model. Binding a pool alias carries no explicit thinking effort — the subagent resolves it naturally (global `[thinking]` config → the bound model's default effort) instead of inheriting the caller's level, while `"primary"` inherits both the model and the level from the caller.
|
||||
|
|
@ -256,8 +256,8 @@ default_effort = "high"
|
|||
[secondary_model]
|
||||
default_model = "kimi-code/kimi-for-coding-highspeed"
|
||||
[secondary_model.models]
|
||||
"kimi-code/kimi-for-coding-highspeed" = "又快又便宜。适合日常重构、代码解释、小改动、总结和批量简单任务。"
|
||||
kimi-for-coding-highspeed-deep = "同一模型的高 Thinking 档位。适合较难的子任务。"
|
||||
"kimi-code/kimi-for-coding-highspeed" = "Fast and cheap. Good for daily refactoring, code explanation, small edits, summaries, and simple batch tasks."
|
||||
kimi-for-coding-highspeed-deep = "The same model at a high thinking level. Good for harder subtasks."
|
||||
```
|
||||
|
||||
Note that `default_effort` stays a model-level default: once a global `[thinking].effort` is set, it wins for the main agent and subagents alike, and the variant's default only applies when no global effort is set. Value and fallback rules follow the [`[models]` entry's `default_effort`](#models).
|
||||
|
|
|
|||
|
|
@ -6,6 +6,38 @@ outline: 2
|
|||
|
||||
This page documents the changes in each Kimi Code CLI release.
|
||||
|
||||
## 0.36.0 (2026-08-13)
|
||||
|
||||
### Features
|
||||
|
||||
- Upgrade the experimental subagent model setting to a model pool: the `[secondary_model]` section can now hold a set of candidate models with descriptions, and the main agent picks from them per spawn based on the task.
|
||||
|
||||
Set `KIMI_CODE_EXPERIMENTAL_SECONDARY_MODEL=1` (or the master flag `KIMI_CODE_EXPERIMENTAL_FLAG=1`) before starting Kimi to enable it.
|
||||
|
||||
Recommended setups:
|
||||
|
||||
- Minimal: run `/secondary-model` in the TUI, or write a single `default_model` line in `config.toml`, to make every subagent run the same model by default; add `force = true` to pin that choice so the main agent cannot override it.
|
||||
- Declare a named pool with a one-line scenario description for each alias — the descriptions are what the main agent sees when choosing:
|
||||
|
||||
```toml
|
||||
[secondary_model]
|
||||
default_model = "kimi-code/kimi-for-coding-highspeed"
|
||||
[secondary_model.models]
|
||||
"kimi-code/kimi-for-coding-highspeed" = "Fast and cheap — good for daily refactoring, code explanation, and small edits."
|
||||
"kimi-code/k3" = "Strong at complex reasoning and deep debugging — pick it for hard problems."
|
||||
```
|
||||
|
||||
See the [subagent model pool docs](https://moonshotai.github.io/kimi-code/en/configuration/config-files.html#subagent-model-pool) for details.
|
||||
- Add an experimental fullscreen TUI mode. Set the `KIMI_CODE_TUI_FULL_SCREEN=1` environment variable to enable it.
|
||||
- Support rendering LaTeX math formulas (`$…$` / `$$…$$`) in TUI messages as Unicode formulas.
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Show project MCP launch targets in the workspace trust prompt, default to declining trust, and resolve `fd` and `stty` binaries to absolute paths so untrusted workspaces cannot plant bare-name executables before confirmation.
|
||||
- Fix sessions failing with a provider 400 error on every follow-up request after a turn is interrupted while the model is still thinking, on strict OpenAI-compatible providers (e.g. DeepSeek).
|
||||
- Fix Ctrl+C being ignored during automatic retries of failed API requests.
|
||||
- Fix several known issues and make various refinements. See the [changelog on GitHub](https://github.com/MoonshotAI/kimi-code/blob/main/apps/kimi-code/CHANGELOG.md) for more technical entries.
|
||||
|
||||
## 0.35.0 (2026-08-12)
|
||||
|
||||
### Features
|
||||
|
|
|
|||
|
|
@ -6,6 +6,38 @@ outline: 2
|
|||
|
||||
本页记录 Kimi Code CLI 每个版本的变更内容。
|
||||
|
||||
## 0.36.0(2026-08-13)
|
||||
|
||||
### 新功能
|
||||
|
||||
- 实验性的子 Agent 模型配置升级为模型池:现在可以在 `[secondary_model]` 中配置一组带描述的候选模型,由主 Agent 每次派生时按任务挑选。
|
||||
|
||||
启动前设置 `KIMI_CODE_EXPERIMENTAL_SECONDARY_MODEL=1`(或实验总开关 `KIMI_CODE_EXPERIMENTAL_FLAG=1`)即可启用。
|
||||
|
||||
推荐用法:
|
||||
|
||||
- 极简用法:在 TUI 中运行 `/secondary-model` 选择,或在 `config.toml` 中写一行 `default_model`,让所有子 Agent 默认跑同一个模型;再加 `force = true` 可彻底固定该选择,主 Agent 无法改选。
|
||||
- 配置命名模型池,并为每个别名写一句适用场景的描述——描述会展示给主 Agent 作为挑选依据:
|
||||
|
||||
```toml
|
||||
[secondary_model]
|
||||
default_model = "kimi-code/kimi-for-coding-highspeed"
|
||||
[secondary_model.models]
|
||||
"kimi-code/kimi-for-coding-highspeed" = "快速、便宜,适合日常重构、代码解释和小改动。"
|
||||
"kimi-code/k3" = "擅长复杂推理与深度调试,难题选它。"
|
||||
```
|
||||
|
||||
详见 [子 Agent 模型池文档](https://moonshotai.github.io/kimi-code/zh/configuration/config-files.html#子-agent-模型池)。
|
||||
- 新增实验性全屏 TUI 模式,设置 `KIMI_CODE_TUI_FULL_SCREEN=1` 环境变量即可启用。
|
||||
- TUI 支持渲染 LaTeX 数学公式(`$…$` 与 `$$…$$`),消息中的公式会显示为 Unicode 公式。
|
||||
|
||||
### 修复
|
||||
|
||||
- 修复未信任工作区可在信任确认前植入同名 `fd`/`stty` 可执行文件的风险;信任提示现在展示项目 MCP 的启动目标,并默认拒绝信任。
|
||||
- 修复在严格的 OpenAI 兼容供应商(如 DeepSeek)下,模型思考阶段打断轮次后,后续每轮请求都报 400 错误的问题。
|
||||
- 修复 API 请求失败自动重试期间按 Ctrl+C 无反应的问题。
|
||||
- 修复了一些已知问题,并做了若干细节优化。更详细的变更记录见 [GitHub](https://github.com/MoonshotAI/kimi-code/blob/main/apps/kimi-code/CHANGELOG.md)。
|
||||
|
||||
## 0.35.0(2026-08-12)
|
||||
|
||||
### 新功能
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue