From 681ccc5b85fb64e6a6c18f207078c6b03531bb37 Mon Sep 17 00:00:00 2001 From: liruifengv Date: Thu, 28 May 2026 22:46:50 +0800 Subject: [PATCH] chore(changelog): sync 0.5.0 and reword 'assistant' to 'agent' (#171) --- .agents/skills/sync-changelog/SKILL.md | 21 ++++++++++------ apps/kimi-code/CHANGELOG.md | 2 +- docs/en/release-notes/changelog.md | 34 ++++++++++++++++++++++++++ docs/zh/release-notes/changelog.md | 34 ++++++++++++++++++++++++++ 4 files changed, 83 insertions(+), 8 deletions(-) diff --git a/.agents/skills/sync-changelog/SKILL.md b/.agents/skills/sync-changelog/SKILL.md index 13b734771..818488351 100644 --- a/.agents/skills/sync-changelog/SKILL.md +++ b/.agents/skills/sync-changelog/SKILL.md @@ -92,14 +92,15 @@ Upstream language rule: `gen-changesets` requires changelog entries to be Englis ### 3. Classify Entries -The docs changelog uses four section types: +The docs changelog uses five section types: | English section | Chinese section | Meaning | |---|---|---| -| `### Features` | `### 新功能` | New user-facing functionality | +| `### Features` | `### 新功能` | New user-facing functionality, such as a new command, flag, mode, or capability that did not exist before | | `### Bug Fixes` | `### 修复` | Fixes for behavior that was broken | +| `### Polish` | `### 优化` | User-visible improvements to existing functionality, including UX adjustments, behavior tweaks, and performance improvements that are not fixes or new capabilities | | `### Refactors` | `### 重构` | Internal changes with no user-visible behavior change, including build, CI, tests, dependency cleanup, and internal renames | -| `### Other` | `### 其他` | Anything that does not fit above, such as user-visible adjustments that are not fixes or features, CDN/endpoint swaps, and docs-related artifacts | +| `### Other` | `### 其他` | Anything that does not fit above, such as CDN/endpoint swaps and docs-related artifacts | Classification process: @@ -109,17 +110,20 @@ Classification process: - Or use the PR number with `gh pr view `. 3. If it is still unclear, put it in `Other`. Do not guess or force entries into `Features`. +Features vs. Polish: ask whether the entry introduces something the user could not do before. If yes (new command, flag, mode, viewer, or capability), use `Features`. If it only improves an existing surface (a UI panel that already existed, an existing prompt, an existing tool card, an existing payload pipeline), use `Polish`. Verbs like `Add` do not automatically mean `Features` — a small visual addition to an existing UI is still polish. + Keyword hints: -- **Features**: `Add`, `Introduce`, `Support`, `Allow`, `Enable`, `Implement`, `New ... command/flag/option` +- **Features**: `Add ... command/flag/option/mode/viewer`, `Introduce`, `Support`, `Allow`, `Enable`, `Implement`, `New ... command/flag/option` - **Bug Fixes**: `Fix`, `Resolve`, `Correct`, `Address`, `Prevent ... from`, `Stop ... from`, `... no longer ...` +- **Polish**: `Polish`, `Optimize`, `Improve`, `Enhance`, `Speed up`, `Reduce`, `Cap`, `Shorten`, `Wrap`, `Clarify`, `Tweak`, `Adjust`, `Offload`, `Show ... in existing surface`, performance and UX adjustments to existing features - **Refactors**: `Refactor`, `Rename`, `Clean up`, `Simplify`, `Remove unused`, `Migrate to`, `Unify`, `Restructure`, `Internal`, dependency bumps, pure CI/build/test changes -- **Other**: docs artifacts, CDN/endpoint switches, or small user-visible adjustments that are not fixes or new features +- **Other**: docs artifacts, CDN/endpoint switches, anything that genuinely fits no other section Within each version, section order is: ```text -Features → Bug Fixes → Refactors → Other +Features → Bug Fixes → Polish → Refactors → Other ``` Omit empty sections. Preserve upstream entry order within each section. @@ -171,6 +175,7 @@ Chinese page requirements: - Translate section headings exactly: - `### Features` → `### 新功能` - `### Bug Fixes` → `### 修复` + - `### Polish` → `### 优化` - `### Refactors` → `### 重构` - `### Other` → `### 其他` - The Chinese page must mirror the English page 1:1 for versions, sections, section order, and entry counts. @@ -228,8 +233,10 @@ Do **not** create a changeset for changelog docs sync. Docs sync does not enter | Leaving English text untranslated in the Chinese page | The Chinese page must be fully Chinese except preserved technical terms | | Editing upstream changelog text | Do not edit upstream | | Losing two-space indentation in multi-line list items | Restore indentation so Markdown lists stay valid | -| Copying `### Patch Changes` into docs | Remove changesets headings and classify under Features / Bug Fixes / Refactors / Other | +| Copying `### Patch Changes` into docs | Remove changesets headings and classify under Features / Bug Fixes / Polish / Refactors / Other | | Guessing unclear entries as Features | Inspect commit/PR; if still unclear, use Other | +| Treating any `Add ...` line as Features | If the entry only adds a small element to an existing UI/surface, use Polish | +| Filing UX or performance tweaks under Other | Use Polish for user-visible improvements to existing functionality | | Reclassifying entries while translating | Chinese classification must mirror English | | Leaving empty sections | Delete sections with no entries | | Putting everything under Other for convenience | Classify what can be classified first | diff --git a/apps/kimi-code/CHANGELOG.md b/apps/kimi-code/CHANGELOG.md index f5aa7d834..fc46e5c17 100644 --- a/apps/kimi-code/CHANGELOG.md +++ b/apps/kimi-code/CHANGELOG.md @@ -8,7 +8,7 @@ - [#157](https://github.com/MoonshotAI/kimi-code/pull/157) [`971fce6`](https://github.com/MoonshotAI/kimi-code/commit/971fce6e528c2b210df1852d7cd12bcda71014fd) - Add scheduled tasks: - You can now ask the assistant to remind you at a specific time, run a task on a recurring cron schedule (for example, check a deploy every 5 minutes or run a daily report every weekday at 9am), or come back on its own in a few minutes to continue what it was doing. + You can now ask the agent to remind you at a specific time, run a task on a recurring cron schedule (for example, check a deploy every 5 minutes or run a daily report every weekday at 9am), or come back on its own in a few minutes to continue what it was doing. Schedules use the standard 5-field cron syntax. diff --git a/docs/en/release-notes/changelog.md b/docs/en/release-notes/changelog.md index 7c7e29f01..5fc6c4fcd 100644 --- a/docs/en/release-notes/changelog.md +++ b/docs/en/release-notes/changelog.md @@ -2,6 +2,40 @@ This page documents the changes in each Kimi Code CLI release. +## 0.5.0 + +### Features + +- Add scheduled tasks: + + You can now ask the agent to remind you at a specific time, run a task on a recurring cron schedule (for example, check a deploy every 5 minutes or run a daily report every weekday at 9am), or come back on its own in a few minutes to continue what it was doing. + + Schedules use the standard 5-field cron syntax. + +- Add `/auto` slash command and `--auto` CLI flag for auto permission mode. +- Show file content and diff in Write and Edit approval prompts, and open them in a dedicated full-screen viewer on ctrl+e instead of expanding inline. + +### Bug Fixes + +- Fix compaction to handle edge cases where no messages are compactable and improve retry logic. +- Fix official datasource tools to preserve complete responses and write returned result files. +- Fix migration mapping the legacy `default_yolo` key to the dead `yolo` field instead of `default_permission_mode`. + +### Polish + +- Add a clickable changelog link to the update prompt. +- Show the full Bash command when expanding a Bash tool card with `ctrl+o`. The header still truncates long commands at 60 chars, but the expanded view now reveals the complete multi-line command above the output. +- Shorten the session title written to the terminal window/tab from 80 to 32 characters so long first messages and pasted content no longer stretch the tab bar past readable width. +- Cap the inline todo panel at five rows and show a `+N more` indicator so long task lists no longer fill the screen. +- Clarify plugin manager keyboard shortcuts and show plugin state changes inline. +- Report discovered plugin skills in plugin manager summaries. +- Offload large base64 media payloads from `wire.jsonl` into external blob files to reduce wire size and memory pressure during session replay. Includes an in-memory read-through cache on `BlobStore` so repeated rehydration avoids redundant disk reads. +- Wrap long question, body, and option text in the AskUserQuestion dialog instead of truncating with an ellipsis. The question prompt, body description, option label, option description, and submit-tab review entries now flow onto multiple lines with a hanging indent. + +### Refactors + +- Refactor TUI code structure. + ## 0.4.0 ### Features diff --git a/docs/zh/release-notes/changelog.md b/docs/zh/release-notes/changelog.md index 4be99ff6a..5eec69b70 100644 --- a/docs/zh/release-notes/changelog.md +++ b/docs/zh/release-notes/changelog.md @@ -2,6 +2,40 @@ 本页记录 Kimi Code CLI 每个版本的变更内容。 +## 0.5.0 + +### 新功能 + +- 新增定时任务: + + 你现在可以让 Agent 在指定时间提醒你、按重复的 cron 计划运行任务(例如每 5 分钟检查一次部署,或每个工作日上午 9 点生成一份日报),也可以让它在几分钟后自动回来继续之前的工作。 + + 定时任务使用标准的 5 字段 cron 语法。 + +- 新增 `/auto` 斜杠命令和 `--auto` CLI 参数,用于启用 auto 权限模式。 +- 在 `Write` 和 `Edit` 的审批提示中显示文件内容与 diff,并通过 `Ctrl-E` 在专用的全屏查看器中打开。 + +### 修复 + +- 修复压缩流程在无可压缩消息时的边界情况处理,并改进重试逻辑。 +- 修复官方数据源工具,保留完整的响应内容,并写入返回的结果文件。 +- 修复迁移把旧版 `default_yolo` 键映射到已废弃的 `yolo` 字段、而非 `default_permission_mode` 的问题。 + +### 优化 + +- 在更新提示中新增可点击的变更记录链接。 +- 用 `Ctrl-O` 展开 Bash 工具卡片时显示完整的 Bash 命令。卡片标题仍会将过长命令截断至 60 个字符,但展开后的视图现在会在输出上方显示完整的多行命令。 +- 将写入终端窗口/标签页的会话标题从 80 个字符缩短到 32 个字符,避免较长的首条消息或粘贴内容把标签栏拉伸到难以阅读的宽度。 +- 将嵌入式待办面板上限设为 5 行,并显示 `+N more` 指示器,避免较长的任务列表填满整个屏幕。 +- 明确 plugin 管理器的键盘快捷键,并在原地显示 plugin 状态变化。 +- 在 plugin 管理器的摘要中报告检测到的 plugin Skill。 +- 将 `wire.jsonl` 中的大型 base64 媒体内容卸载到外部 blob 文件,减小 wire 体积,降低会话回放时的内存压力。同时为 `BlobStore` 增加内存级直读缓存,避免重复重建时产生多余的磁盘读取。 +- 在 `AskUserQuestion` 对话框中对过长的问题、正文和选项文本进行换行显示,而不是用省略号截断。问题提示、正文描述、选项标签、选项描述以及提交标签页的复核条目现在会以悬挂缩进的方式分多行显示。 + +### 重构 + +- 重构终端界面的代码结构。 + ## 0.4.0 ### 新功能