0.22.0
Minor Changes
-
#5046
fd2029cThanks @marius-kilocode! - Add--on-task-completed <prompt>flag to send a custom prompt to the agent when the task completes. This flag requires--automode and allows users to define any follow-up action (e.g., creating a PR, running tests, generating documentation). The prompt is sent to the agent after the main task completes, enabling flexible post-task automation. -
#5022
2fc244cThanks @marius-kilocode! - Add syntax highlighting to code edit diffs in the CLI. Diffs now display with language-aware syntax coloring using Shiki, making code changes easier to read. Includes support for 60+ languages, automatic language detection from file extensions, and theme-aware highlighting that works with both light and dark themes. Also increased the diff display limit from 20 to 50 lines with smart context collapsing around changes.
Patch Changes
-
#4988
7253ac0Thanks @marius-kilocode! - Fix Bedrock provider validation to support API key authentication without requiring access keys -
#5064
2713d06Thanks @marius-kilocode! - Add default autocomplete suggestions for select commands (/model select,/provider select,/tasks select,/session select) -
#5066
8055f15Thanks @marius-kilocode! - Fix CLI dispose, randomUUID, and debug UX issues -
#5011
9c8bb7bThanks @marius-kilocode! - Fix multiline paste regression where pasting text with newlines would submit after the first line -
#5000
1c88a66Thanks @marius-kilocode! - Fix empty files being created when project path contains non-Latin characters (e.g., Cyrillic, Chinese)The CLI's
write_to_filecommand was creating empty files when the project directory path contained non-Latin characters. This was caused by improper handling ofUint8Arraycontent in theFileSystemAPI.writeFilemethod. The fix ensures properBuffer.from()conversion before writing to the filesystem. -
#5058
c9f1f6aThanks @marius-kilocode! - Fix autocomplete for/teams selectand other multi-argument commands -
#4985
69a541aThanks @marius-kilocode! - Fix Windows cmd.exe display bug with escape sequencesOn Windows cmd.exe, the
\x1b[3J(clear scrollback buffer) escape sequence is not properly supported and causes display artifacts like raw escape sequences appearing in the output (e.g.,[\r\n\t...]).