Skip to content

chore(release): bump kimi-cli to 1.37.0#1955

Merged
RealKai42 merged 1 commit intomainfrom
bump-1.37.0
Apr 20, 2026
Merged

chore(release): bump kimi-cli to 1.37.0#1955
RealKai42 merged 1 commit intomainfrom
bump-1.37.0

Conversation

@RealKai42
Copy link
Copy Markdown
Collaborator

@RealKai42 RealKai42 commented Apr 20, 2026

Summary

Bump kimi-cli and kimi-code to 1.37.0.

Changes since 1.36.0:

  • Print: wait for background tasks before exiting in one-shot --print mode (capped by print_wait_ceiling_s).
  • Shell/Print: on exit list each background task being killed on stderr and wait out the configured grace period before reporting leaks.
  • Auth: auto-refresh managed model list at startup for OAuth-logged-in users (silent on failure, skipped for --config sessions).
  • Shell: surface provider-supplied display_name (e.g. k2.6-code-preview) in welcome panel, prompt status bar, /model picker, and /model switch confirmations.
  • Docs: add display_name to the [models.*] field table.

Test plan

  • CI green
  • Verify pyproject.toml version tags match 1.37.0 in both kimi-cli and kimi-code
  • Merge → tag 1.37.0 → confirm release workflow publishes binaries and PyPI packages

Open in Devin Review

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.*]`.
Copilot AI review requested due to automatic review settings April 20, 2026 14:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 (including kimi-code’s pinned dependency on kimi-cli).
  • Add 1.37.0 release notes to CHANGELOG.md and localized docs changelogs.
  • Document the new models.*.display_name field 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.

Comment thread CHANGELOG.md
Comment on lines +14 to 19
## 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
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
## 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` 仍会完全跳过此路径
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
- 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` 仍会完全跳过此路径

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@RealKai42 RealKai42 merged commit f8f0ade into main Apr 20, 2026
44 checks passed
@RealKai42 RealKai42 deleted the bump-1.37.0 branch April 20, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants