Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@kilocode/cli@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...]).kilo-code@4.147.0
Minor Changes
879bd5dThanks @marius-kilocode! - Agent Manager now lets you choose which AI model to use when starting a new session. Your model selection is remembered across panel reopens, and active sessions display the model being used.Patch Changes
#5060
ce99875Thanks @DoubleDoubleBonus! - Add OpenAI Native model option gpt-5.2-codex.#4686
2bd899eThanks @Ashwinhegde19! - Fix BrowserSessionRow crash on non-string inputs#4381
e37b839Thanks @inj-src! - fix: better chat view by limiting the maximum width#5028
885a54aThanks @chrarnoldus! - Visual Studio Code's telemetry setting is now respected#4406
7dd14bdThanks @Secsys-FDU! - fix: block Windows CMD injection vectors in auto-approved commands