Skip to content

Commit 0bcbf16

Browse files
authored
docs(changelog): sync 0.2.0 from apps/kimi-code/CHANGELOG.md (#61)
1 parent d496fd4 commit 0bcbf16

2 files changed

Lines changed: 72 additions & 6 deletions

File tree

docs/en/release-notes/changelog.md

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changelog
22

3-
::: info Note
4-
Detailed release notes will be published alongside the first official release.
5-
:::
3+
This page documents the changes in each Kimi Code CLI release.
4+
5+
## 0.2.0
6+
7+
### Features
8+
9+
- Add a `/connect` command that configures a provider and model from a model catalog.
10+
- The `/connect` provider and model pickers now support type-to-search filtering, and long lists are paginated. The `/model` picker is also paginated when many models are configured.
11+
- Add `Ctrl-J` as an additional shortcut for inserting new lines in the TUI prompt.
12+
- Add wire record migration handling during session replay.
13+
- Migrate user skills from `~/.kimi/skills/` to `~/.kimi-code/skills/` during the first-launch migration; existing target skills are kept.
14+
- Emit session resume hint as a structured meta message in stream-json output format.
15+
16+
### Bug Fixes
17+
18+
- Report the macOS product version in OAuth device information instead of the Darwin kernel version.
19+
- Correct the `X-Msh-Platform` header value to `kimi_code_cli`.
20+
- Clarify the prompt-mode error when no model is configured by pointing users to the login flow.
21+
- Hide the empty current session from the sessions picker while keeping other empty sessions visible.
22+
- Stop mentioning OAuth credentials in the migration UI — they are never migrated, so the previous "needs /login" notice misread as a failure. OAuth-only installs no longer trigger the migration screen.
23+
- Surface API-provided error messages during feedback, usage, login, and model setup failures.
24+
- Persist model selections from the terminal UI to the default configuration, and honor the configured default thinking state for new sessions.
25+
- Retry compaction responses that do not contain a summary before updating conversation history.
26+
- Avoid CPU spikes from large streamed tool arguments and coalesce high-frequency streaming UI updates.
27+
- Resume sessions with a newer wire protocol version instead of failing. A warning is now shown in the TUI and records are replayed without migration.
28+
- Warn tmux users when extended key settings may prevent modified Enter shortcuts from working.
29+
- Let Kimi requests use the remaining context window for completion tokens by default while keeping explicit environment limits as hard caps.
30+
31+
### Refactors
32+
33+
- Flatten tool call data by inlining tool names and arguments at the top level, and limit legacy record migration so it only rewrites matching tool call payloads.
34+
- Move wire metadata handling into the record layer and keep persistence backends limited to storage operations.
35+
36+
### Other
37+
38+
- When no models are configured, `/model` and the welcome panel now point users to `/login` (for Kimi) and `/connect` (for other providers).

docs/zh/release-notes/changelog.md

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# 变更记录
22

3-
::: info 说明
4-
本页将随首个正式版本同步发布详细变更记录。
5-
:::
3+
本页记录 Kimi Code CLI 每个版本的变更内容。
4+
5+
## 0.2.0
6+
7+
### 新功能
8+
9+
- 新增 `/connect` 命令,可从模型目录中配置供应商和模型。
10+
- `/connect` 的供应商和模型选择器现支持键入即搜索过滤,长列表会自动分页;配置了较多模型时,`/model` 选择器同样支持分页。
11+
- 在终端界面输入框中新增 `Ctrl-J` 作为插入换行的额外快捷键。
12+
- 在会话回放过程中新增 wire 记录迁移处理。
13+
- 在首次启动迁移期间,将用户 Skill 从 `~/.kimi/skills/` 迁移到 `~/.kimi-code/skills/`;已存在的目标 Skill 会被保留。
14+
- 在 stream-json 输出格式中以结构化 meta 消息形式发出会话恢复提示。
15+
16+
### 修复
17+
18+
- 在 OAuth 设备信息中改为上报 macOS 产品版本,而不是 Darwin 内核版本。
19+
-`X-Msh-Platform` 请求头的取值修正为 `kimi_code_cli`
20+
- 在未配置模型时,澄清提示词模式下的错误提示,引导用户走登录流程。
21+
- 在会话选择器中隐藏空的当前会话,同时保留其他空会话可见。
22+
- 不再在迁移界面中提及 OAuth 凭据 —— 它们从不会被迁移,此前的 "needs /login" 提示会被误读为失败。仅使用 OAuth 的安装不再触发迁移界面。
23+
- 在反馈、用量、登录和模型设置失败时,展示 API 返回的错误信息。
24+
- 将终端界面中的模型选择持久化到默认配置,并在新会话中遵循已配置的默认 Thinking 状态。
25+
- 在更新对话历史之前,对不包含摘要的压缩响应进行重试。
26+
- 避免大体量流式工具参数导致的 CPU 峰值,并合并高频的流式 UI 更新。
27+
- 在 wire 协议版本较新时改为继续恢复会话而不是失败。终端界面会显示一条警告,并在不进行迁移的情况下回放记录。
28+
- 当 tmux 的扩展按键设置可能导致带修饰键的 Enter 快捷键无法工作时,向 tmux 用户发出提示。
29+
- 默认让 Kimi 请求使用剩余的上下文窗口作为补全 token 的额度,同时将显式设置的环境变量上限作为硬上限保留。
30+
31+
### 重构
32+
33+
- 将工具调用数据扁平化,把工具名和参数内联到顶层,并限制旧版记录迁移仅重写匹配的工具调用数据。
34+
- 将 wire 元数据处理移动到记录层,并将持久化后端的职责限制在存储操作上。
35+
36+
### 其他
37+
38+
- 当未配置模型时,`/model` 和欢迎面板现在会引导用户使用 `/login`(针对 Kimi)和 `/connect`(针对其他供应商)。

0 commit comments

Comments
 (0)