Conversation
Bump kimi-cli and kimi-code to 1.37.0, finalize changelog for 1.37.0 release, and document the new `display_name` field on `[models.*]`.
There was a problem hiding this comment.
Pull request overview
Release chore to bump kimi-cli / kimi-code to 1.37.0, updating lockfiles and publishing-facing release notes/docs to reflect the new features.
Changes:
- Bump package versions to
1.37.0(includingkimi-code’s pinned dependency onkimi-cli). - Add 1.37.0 release notes to
CHANGELOG.mdand localized docs changelogs. - Document the new
models.*.display_namefield in config documentation (EN/ZH).
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Updates locked editable package versions for kimi-cli and kimi-code to 1.37.0. |
pyproject.toml |
Bumps kimi-cli project version to 1.37.0. |
packages/kimi-code/pyproject.toml |
Bumps kimi-code version and pins kimi-cli==1.37.0. |
CHANGELOG.md |
Adds 1.37.0 release notes entry (source for synced release notes). |
docs/en/release-notes/changelog.md |
Syncs English release notes with the 1.37.0 entry. |
docs/zh/release-notes/changelog.md |
Adds Chinese translation of the 1.37.0 release notes. |
docs/en/configuration/config-files.md |
Documents display_name in the models config field table. |
docs/zh/configuration/config-files.md |
Documents display_name in the models config field table (Chinese). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ## 1.37.0 (2026-04-20) | ||
|
|
||
| - Print: Wait for background tasks before exiting — in one-shot `--print` mode, the process now waits for running background agents to finish and lets the model process their results, instead of exiting and killing them. The wait is capped at `min(max(active_task.timeout_s or agent_task_timeout_s), print_wait_ceiling_s)` (default ceiling 1h); on timeout the tasks are killed and the model gets one more turn via a `<system-reminder>` to summarise before exit | ||
| - Shell/Print: On exit the CLI now lists each background task being killed (id + description) on stderr and waits out the configured grace period before reporting any tasks that have not reached terminal state (split into "still terminating" for workers mid-shutdown vs "stop request failed" for genuinely leaking tasks); `keep_alive_on_exit=true` still skips the entire path | ||
| - Auth: Auto-refresh the managed model list at startup for OAuth-logged-in users — the CLI now fetches the latest models from the provider's `/models` endpoint as a background task when the shell launches, so newly released models become available without needing to log out and log back in; failures are silent and never block startup, and custom `--config` sessions keep their previous behavior | ||
| - Shell: Show the provider-supplied `display_name` (e.g. `k2.6-code-preview`) for managed models across the welcome panel, prompt status bar, `/model` picker, and `/model` switch confirmation messages; when the backend does not return one, the CLI falls back to the internal model ID as before |
There was a problem hiding this comment.
The PR description mentions a docs change (adding display_name to the [models.*] field table), but the 1.37.0 release notes section here does not include that item. If this docs change is intended to be part of the user-facing 1.37.0 notes, add a corresponding bullet under 1.37.0 (and then re-sync the English changelog). Otherwise, consider removing the docs bullet from the PR description to keep them consistent.
| ## 1.37.0 (2026-04-20) | ||
|
|
||
| - Print:退出前等待后台任务完成——在单次 `--print` 模式下,进程现在会等待仍在运行的后台 Agent 完成并让模型处理它们的结果,而不是直接退出并杀死它们。等待时长上限为 `min(max(active_task.timeout_s or agent_task_timeout_s), print_wait_ceiling_s)`(默认上限 1 小时);超时后杀死任务并通过 `<system-reminder>` 给模型最后一轮机会向用户总结后再退出 | ||
| - Shell/Print:退出时 CLI 会在 stderr 列出每个即将被 kill 的后台任务(id + 描述),等待配置的 grace period 后再汇报未达到终态的任务(区分为"still terminating"即 worker 正在退出 vs "stop request failed"即真正泄漏的任务);`keep_alive_on_exit=true` 仍会完全跳过此路径 |
There was a problem hiding this comment.
Docs wording convention: when mixing CJK text with quoted content, add spaces around the quoted English phrases (per docs/AGENTS.md wording conventions). Here the quoted "still terminating" / "stop request failed" fragments are adjacent to Chinese without spacing; please adjust the spacing so the quotes don’t run into the surrounding CJK text.
| - Shell/Print:退出时 CLI 会在 stderr 列出每个即将被 kill 的后台任务(id + 描述),等待配置的 grace period 后再汇报未达到终态的任务(区分为"still terminating"即 worker 正在退出 vs "stop request failed"即真正泄漏的任务);`keep_alive_on_exit=true` 仍会完全跳过此路径 | |
| - Shell/Print:退出时 CLI 会在 stderr 列出每个即将被 kill 的后台任务(id + 描述),等待配置的 grace period 后再汇报未达到终态的任务(区分为 "still terminating" 即 worker 正在退出 vs "stop request failed" 即真正泄漏的任务);`keep_alive_on_exit=true` 仍会完全跳过此路径 |
Summary
Bump
kimi-cliandkimi-codeto 1.37.0.Changes since
1.36.0:--printmode (capped byprint_wait_ceiling_s).--configsessions).display_name(e.g.k2.6-code-preview) in welcome panel, prompt status bar,/modelpicker, and/modelswitch confirmations.display_nameto the[models.*]field table.Test plan
pyproject.tomlversion tags match1.37.0in bothkimi-cliandkimi-code1.37.0→ confirm release workflow publishes binaries and PyPI packages