Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 30a7b95

Browse filesBrowse files
authored
chore: bump kimi-cli and kimi-code to 1.22.0 (MoonshotAI#1432)
1 parent 4e590f7 commit 30a7b95
Copy full SHA for 30a7b95

6 files changed

+11-5Lines changed: 11 additions & 5 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎CHANGELOG.md‎

Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Only write entries that are worth mentioning to users.
1111

1212
## Unreleased
1313

14+
## 1.22.0 (2026-03-13)
15+
1416
- Shell: Collapse long pasted text into `[Pasted text #n]` placeholders — text pasted via `Ctrl-V` or bracketed paste that exceeds 300 characters or 3 lines is displayed as a compact placeholder token in the prompt buffer while the full content is sent to the model; the external editor (`Ctrl-O`) expands placeholders for editing and re-folds them on save
1517
- Shell: Cache pasted images as attachment placeholders — images pasted from the clipboard are stored on disk and shown as `[image:…]` tokens in the prompt, keeping the input buffer readable
1618
- Shell: Fix UTF-16 surrogate characters in pasted text causing serialization errors — lone surrogates from Windows clipboard data are now sanitized before storage, preventing `UnicodeEncodeError` in history writes and JSON serialization
Collapse file

‎docs/en/release-notes/changelog.md‎

Copy file name to clipboardExpand all lines: docs/en/release-notes/changelog.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ This page documents the changes in each Kimi Code CLI release.
44

55
## Unreleased
66

7+
## 1.22.0 (2026-03-13)
8+
79
- Shell: Collapse long pasted text into `[Pasted text #n]` placeholders — text pasted via `Ctrl-V` or bracketed paste that exceeds 300 characters or 3 lines is displayed as a compact placeholder token in the prompt buffer while the full content is sent to the model; the external editor (`Ctrl-O`) expands placeholders for editing and re-folds them on save
810
- Shell: Cache pasted images as attachment placeholders — images pasted from the clipboard are stored on disk and shown as `[image:…]` tokens in the prompt, keeping the input buffer readable
911
- Shell: Fix UTF-16 surrogate characters in pasted text causing serialization errors — lone surrogates from Windows clipboard data are now sanitized before storage, preventing `UnicodeEncodeError` in history writes and JSON serialization
Collapse file

‎docs/zh/release-notes/changelog.md‎

Copy file name to clipboardExpand all lines: docs/zh/release-notes/changelog.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## 未发布
66

7+
## 1.22.0 (2026-03-13)
8+
79
- Shell:长文本粘贴自动折叠为 `[Pasted text #n]` 占位符——通过 `Ctrl-V` 或括号粘贴输入的超过 300 字符或 3 行的文本在提示缓冲区中显示为紧凑的占位符标记,完整内容在发送给模型时展开;外部编辑器(`Ctrl-O`)打开时自动展开占位符,保存后重新折叠
810
- Shell:粘贴的图片缓存为附件占位符——从剪贴板粘贴的图片存储到磁盘,在提示中显示为 `[image:…]` 标记,保持输入缓冲区整洁
911
- Shell:修复粘贴文本中 UTF-16 surrogate 字符导致序列化错误的问题——来自 Windows 剪贴板的孤立 surrogate 字符现在在存储前即被清洗,防止历史记录写入和 JSON 序列化时出现 `UnicodeEncodeError`
Collapse file

‎packages/kimi-code/pyproject.toml‎

Copy file name to clipboardExpand all lines: packages/kimi-code/pyproject.toml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[project]
22
name = "kimi-code"
3-
version = "1.21.0"
3+
version = "1.22.0"
44
description = "Kimi Code is a CLI agent that lives in your terminal."
55
readme = "README.md"
66
requires-python = ">=3.12"
7-
dependencies = ["kimi-cli==1.21.0"]
7+
dependencies = ["kimi-cli==1.22.0"]
88

99
[project.scripts]
1010
kimi = "kimi_cli.cli:cli"
Collapse file

‎pyproject.toml‎

Copy file name to clipboardExpand all lines: pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "kimi-cli"
3-
version = "1.21.0"
3+
version = "1.22.0"
44
description = "Kimi Code CLI is your next CLI agent."
55
readme = "README.md"
66
requires-python = ">=3.12"
Collapse file

‎uv.lock‎

Copy file name to clipboardExpand all lines: uv.lock
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.