Kilo CLI
Kilo CLI is a powerful command-line interface tool for streamlined code management and development workflow automation. It provides developers with essential utilities for project scaffolding, dependency management, and code quality enforcement through integrated linting and formatting capabilities. The tool features intelligent project templates, automated build processes, and seamless integration with popular development environments and CI/CD pipelines. Kilo CLI excels in multi-language support, offering consistent tooling across JavaScript, Python, and other major programming languages. Key use cases include rapid prototyping, maintaining coding standards across teams, and automating repetitive development tasks. Its lightweight architecture and extensible plugin system make it ideal for both individual developers and enterprise teams seeking to optimize their development workflows.
Latest Releases
All releases7.8.36
#### Patch Changes
- [#16484](https://github.com/Kilo-Org/kilocode/pull/16484) [
8345515](https://github.com/Kilo-Org/kilocode/commit/8345515276ff26af38369fc03a7db28ddbe094cf) - Show the permission card's description, paths, commands and diff file names in an escaped display form.
Characters that render without width now appear as literal escapes. That covers control characters, the bidi marks and overrides, and the invisible format characters. It also covers two kinds of character that ordinary text uses on purpose: an emoji presentation selector such as the one in
⚠️, and the joiners that combine emoji sequences or join the letters of Persian and Indic words. Those now show as \ufe0f and \u200d in the card, so the displayed text names every character the request carries.- [#16414](https://github.com/Kilo-Org/kilocode/pull/16414) [
f891ace](https://github.com/Kilo-Org/kilocode/commit/f891ace78066e92b9feb1a51f5bf86eabe321918) - Stop an automatic permission approval that is still being retried when auto-approve is turned off.
- [#16453](https://github.com/Kilo-Org/kilocode/pull/16453) [
a353089](https://github.com/Kilo-Org/kilocode/commit/a3530895868cb1623228e243e0fa0e4bc92ddb66) - Make auto-approve a user-level setting: it reads and writes your user settings only.
- [#16417](https://github.com/Kilo-Org/kilocode/pull/16417) [
06ad704](https://github.com/Kilo-Org/kilocode/commit/06ad7042b333c50a5da4c1334f5d1d2b222b4d09) - Report each configuration value that is skipped while loading, with its file and its field path, and keep the settings that validate in the same file.
- [#16485](https://github.com/Kilo-Org/kilocode/pull/16485) [
158fe65](https://github.com/Kilo-Org/kilocode/commit/158fe65a86c91ba18188cb4d9743945c90016eb0) - Only attach mentioned files that live inside the current workspace, and skip creating attachments when the workspace folder is not known.
- [#16488](https://github.com/Kilo-Org/kilocode/pull/16488) [
a062619](https://github.com/Kilo-Org/kilocode/commit/a06261934bbe6d4aca13bddbba7d929964625a7e) - Switch accounts in one correlated attempt: a failed confirmation keeps the last-known account and offers a retry instead of showing you as signed out, and the notice clears once the applied account moves on.
- [#16475](https://github.com/Kilo-Org/kilocode/pull/16475) [
0a41b57](https://github.com/Kilo-Org/kilocode/commit/0a41b5727bdf287490e7e9e95e4783ead8102df4) - Honor the configured working directory of a local MCP server, and keep a provider allow or deny list in effect after a configuration document is converted to the newer format.
- [#16479](https://github.com/Kilo-Org/kilocode/pull/16479) [
83a0856](https://github.com/Kilo-Org/kilocode/commit/83a085661983e8b18e4bb3b39f6a9867c9095973) - Switching off a saved auto-approve or auto-deny rule in the permission prompt now removes that rule.
- [#16451](https://github.com/Kilo-Org/kilocode/pull/16451) [
5fb4429](https://github.com/Kilo-Org/kilocode/commit/5fb4429bce74511264ec1cc5fc6fe01848aecffc) - Improve the Brazilian Portuguese wording of the MCP OAuth settings and sign-in labels.
- [#16564](https://github.com/Kilo-Org/kilocode/pull/16564) [
e645f7c](https://github.com/Kilo-Org/kilocode/commit/e645f7c2cea534bdaeca42fcf7eedca558c8af63) - Tell an expired or revoked Kilo login apart from a temporary outage. The profile now asks you to sign in again only when Kilo rejects the login, and keeps your account with a retry when Kilo is unreachable.
- [#16480](https://github.com/Kilo-Org/kilocode/pull/16480) [
39f83cf](https://github.com/Kilo-Org/kilocode/commit/39f83cf13400f3f4dff847e7b4e98a0b9e9ad060) - Report a clear configuration error when an Azure resource name or a Google Vertex location is not a plain resource name or region, send the AI Gateway credential from the environment only to a Cloudflare AI Gateway endpoint, and send the Google Cloud access token of the OpenAI-compatible Vertex path only to a Vertex API host, including the Vertex mTLS hosts. A Vertex location is validated only when the request endpoint is derived from it, so a provider configured with its own endpoint keeps working. An endpoint option that is blank or only whitespace counts as unset, so the Vertex endpoint derives from the region and the Azure endpoint derives from the resource name instead of being sent as given. When no location option is set, the location falls back to the Google Cloud region that the environment names before the provider default, and it is validated there too. For the Vertex Anthropic provider, a configured project or region now decides the request endpoint ahead of the environment, so the two cannot disagree.
- [#16452](https://github.com/Kilo-Org/kilocode/pull/16452) [
5ee5096](https://github.com/Kilo-Org/kilocode/commit/5ee5096028093d7aec0e6e1881c78bedbcb510c3) - Reload the provider and authentication state when the panel switches to another project, so the view always describes the project shown.
- [#16491](https://github.com/Kilo-Org/kilocode/pull/16491) [
40dbdbb](https://github.com/Kilo-Org/kilocode/commit/40dbdbbe7cf67fc9a42f27ff81c4e0c5dd5d7a0b) - Ask before a shell command prints an environment file, matching the existing read-tool prompt. A stream filter that reads a redirected environment file asks as well.
- [#16556](https://github.com/Kilo-Org/kilocode/pull/16556) [
05c9710](https://github.com/Kilo-Org/kilocode/commit/05c971024306d992e3dea8567695fbb2f51150a5) - Show a clear "signed out" message with a sign-in action when Kilo rejects your login, instead of a generic error. The CLI points to/connectandkilo auth login. In VS Code, the Sign in button starts login in the Kilo Profile tab. JetBrains opens User Profile and resends your message once you are signed in again.
- [#16516](https://github.com/Kilo-Org/kilocode/pull/16516) [
df8e639](https://github.com/Kilo-Org/kilocode/commit/df8e6396ce9513134c3e80bc923d8e6ea5991cc9) - Apply a configured file-write permission from an older configuration document to file writes when the document is converted to the newer format, so the permission a user authored takes effect. When such a document also sets the deprecated tool toggle for the same capability, the toggle keeps the effect it has today.
- [#16486](https://github.com/Kilo-Org/kilocode/pull/16486) [
bf85d41](https://github.com/Kilo-Org/kilocode/commit/bf85d415ac592439053a5cb4c23ca44d927ccd16) - Carry configured provider headers and bearer tokens as request headers when a configuration document is converted to the newer format, so a configuredheadersentry and anauthTokenapply to the provider request.
- [#16518](https://github.com/Kilo-Org/kilocode/pull/16518) [
bd87e56](https://github.com/Kilo-Org/kilocode/commit/bd87e56f1c4bfa99da90ac38f3291dc0cd8c35ff) - Save the auto-approve setting before auto-approval starts, report a save that fails, and tell you when an automatic approval was not accepted so the prompt still reaches you.
- [#16455](https://github.com/Kilo-Org/kilocode/pull/16455) [
919043d](https://github.com/Kilo-Org/kilocode/commit/919043d376b89c8bec8c49b326c4d6820ab70d56) - Keep sub-agent tab state consistent when tabs close and reopen, and route prompt answers to the session that asked the question.
- [#16515](https://github.com/Kilo-Org/kilocode/pull/16515) [
28504eb](https://github.com/Kilo-Org/kilocode/commit/28504ebbd15db713547af7e2540e072394ca90d2) - Session actions keep to one project: revert, unrevert, message delete, session delete, session rename, compact, stop, and permission and question replies act on the directory that owns the session, and report the action when that directory cannot be determined.
- [#16519](https://github.com/Kilo-Org/kilocode/pull/16519) [
18c803f](https://github.com/Kilo-Org/kilocode/commit/18c803fb84d10dc7680f19b4c6315b6996052745) - Settings keeps your unsaved changes and the save bar in place until the extension host confirms the save, and reports a save the host never confirms so you can retry it.
- [#16487](https://github.com/Kilo-Org/kilocode/pull/16487) [
3d2eb1d](https://github.com/Kilo-Org/kilocode/commit/3d2eb1daaad3bc8d9cfabb953a7226502de61fd0) - Report a settings change that the extension host did not apply with a dismissible error that names the control, keep the previous value in force, and keep a rejected unsaved edit available so it can be saved again.
- [#16474](https://github.com/Kilo-Org/kilocode/pull/16474) [
e05e37f](https://github.com/Kilo-Org/kilocode/commit/e05e37f4081e0c1cd289ff8aa9ffdfb1e0a2dace) - The write tool now refuses to write when the target changed before the write verifies it, and names that reason in its answer. It also names a target that is not a regular file, or whose filesystem reports no usable identity.
- Updated dependencies [[
b0717b9](https://github.com/Kilo-Org/kilocode/commit/b0717b91ee02e06e3757d2696a3e340a7b3592a0)]:
CLI
7.8.36
#### Minor Changes
- [#16465](https://github.com/Kilo-Org/kilocode/pull/16465) [
b0717b9](https://github.com/Kilo-Org/kilocode/commit/b0717b91ee02e06e3757d2696a3e340a7b3592a0) - List authorized additional GitHub repositories and include them when creating an organization Cloud workspace through Session Host.
#### Patch Changes
- [#16473](https://github.com/Kilo-Org/kilocode/pull/16473) [
ab930b2](https://github.com/Kilo-Org/kilocode/commit/ab930b2bfc549f4971a05c9a38a801659a2a6aed) - Keep one stored account selected after another stored account is removed, including when the remaining accounts belong to no organization.
- [#16498](https://github.com/Kilo-Org/kilocode/pull/16498) [
b4b3335](https://github.com/Kilo-Org/kilocode/commit/b4b3335dd9f69f8c77a17716fe3f1209b0bd762c) - Require approval for the destination path when a patch moves a file, and refuse a move onto Agent Manager state.
- [#16523](https://github.com/Kilo-Org/kilocode/pull/16523) [
f89d52f](https://github.com/Kilo-Org/kilocode/commit/f89d52fe14f42bf253911c14554748f47bb89a24) - Keep a ChatGPT OAuth connection signed in across token refreshes.
- [#16511](https://github.com/Kilo-Org/kilocode/pull/16511) [
b7d5271](https://github.com/Kilo-Org/kilocode/commit/b7d527140ef124c41a4f61760eb3fc7b9dee9bdf) - Report a missing Cloudflare AI Gateway credential as a missing credential that names the environment variable to set, and report a gateway token given as a configuration value that cannot be loaded as a configuration error.
- [#16417](https://github.com/Kilo-Org/kilocode/pull/16417) [
06ad704](https://github.com/Kilo-Org/kilocode/commit/06ad7042b333c50a5da4c1334f5d1d2b222b4d09) - Report each configuration value that is skipped while loading, with its file and its field path, and keep the settings that validate in the same file.
- [#16477](https://github.com/Kilo-Org/kilocode/pull/16477) [
02379af](https://github.com/Kilo-Org/kilocode/commit/02379afa483864766d8308199faf6d84dd6922fb) - Keep each Console account tied to the server that issued it, so signing in to another Console deployment keeps both accounts and their tokens.
- [#16517](https://github.com/Kilo-Org/kilocode/pull/16517) [
c331258](https://github.com/Kilo-Org/kilocode/commit/c3312582e3327e82b9db4ac1ea04df29f0f42f3f) - Show every permission rule an agent stores in the agent builder's permissions card. A tool's default
- [#16476](https://github.com/Kilo-Org/kilocode/pull/16476) [
078811f](https://github.com/Kilo-Org/kilocode/commit/078811f01bbac98990b2baeb516bb7471465e9fa) - The explore subagent now asks for approval before it reads secret environment files, as the other built-in agents do. Example environment files stay readable without approval.
On macOS, permission rules for file paths match names the way the volume resolves them, so the same approval applies to a file the volume treats as the same file. Rules for every other resource keep exact matching.
- [#16540](https://github.com/Kilo-Org/kilocode/pull/16540) [
77f0743](https://github.com/Kilo-Org/kilocode/commit/77f0743b43bf5a2cacb127927ee7deed1092b0cd) Thanks [@romulorosa](https://github.com/romulorosa)! - Fix Gemini rejecting MCP tool schemas that combine an array type with anyOf or oneOf
- [#16483](https://github.com/Kilo-Org/kilocode/pull/16483) [
3a1dad3](https://github.com/Kilo-Org/kilocode/commit/3a1dad31e222ae1e6f636a662a34b95d47096e8f) - Report a conflict error when completing an integration OAuth attempt that is still in flight.
- [#16470](https://github.com/Kilo-Org/kilocode/pull/16470) [
4ed6ec5](https://github.com/Kilo-Org/kilocode/commit/4ed6ec5910143d0796b20bfbdac3edbe1e9abf53) - Report the state of an integration OAuth attempt for as long as its handle is retained, including after it is cancelled or withdrawn, and report a not-found error when completing a handle that no longer has a pending attempt.
- [#16416](https://github.com/Kilo-Org/kilocode/pull/16416) [
f708f7b](https://github.com/Kilo-Org/kilocode/commit/f708f7b69bca55d10e562603574099d6a60df71a) - Legacy custom modes now migrate to the same permission keys the CLI reads: only a command group grants shell commands, a browser group grants the Integrated Browser tool of the VS Code client, an MCP group grants the tools of each migrated server, and a file restriction becomes a wildcard glob that keeps the files it allowed. A migrated mode's MCP grant and the CLI's own MCP tool ids come from one definition, so the grant always names the tools the CLI registers and a server name outside the Basic Multilingual Plane yields the same key in the CLI and the plugin, and the grant covers every server the loader that ran the migration converted rather than only the ones a project file declared. A file restriction that alternates at the top level keeps the files of every alternative. A file restriction made only of digits is reported and asks instead of denying the allowed files, one whose translated arm resolves against the home directory is reported and asks, one that escapes a character the glob cannot carry literally, including backslash,*and?, is reported and asks, so the migrated rule always means what the legacy pattern meant, a migrated mode in the CLI keeps the default skill permission because no legacy group governs it, the JetBrains migration denies skill and states that in its report, and an MCP group is reported when a skipped store declared a server the migration can grant and that no converted server's permission key covers, even when other servers were migrated, while a disabled entry, a local entry with no command and a remote entry with no url are not reported. An empty alternative matches the empty string. A pattern whose empty alternative is its whole body matches every path; when the alternative sits inside a longer pattern, it matches that pattern's surrounding characters instead. With both anchors the empty alternative is dropped so the alternatives that name a path survive, and a pattern whose every alternative is empty is reported and asks. A mode that lists the same group more than once keeps the narrower rule and reports the repeat in the migration warnings when the rule differs. With auto-approval on and no command lists, the migration grants shell commands and leaves other tools at their defaults. A mode that writes a group with its options in flow style keeps the file restriction that group names, and a group whose options arrive as their own entry asks instead of widening to every file. A single-quoted scalar decodes a doubled quote to one quote, and a#after it stays part of the value instead of starting a comment.
- [#16513](https://github.com/Kilo-Org/kilocode/pull/16513) [
0401574](https://github.com/Kilo-Org/kilocode/commit/040157466d2c5581be5c38515c73585a1ecd05d9) - Keep the organization you selected when you sign in again to the same Console account.
- [#16475](https://github.com/Kilo-Org/kilocode/pull/16475) [
0a41b57](https://github.com/Kilo-Org/kilocode/commit/0a41b5727bdf287490e7e9e95e4783ead8102df4) - Honor the configured working directory of a local MCP server, and keep a provider allow or deny list in effect after a configuration document is converted to the newer format.
- [#16564](https://github.com/Kilo-Org/kilocode/pull/16564) [
e645f7c](https://github.com/Kilo-Org/kilocode/commit/e645f7c2cea534bdaeca42fcf7eedca558c8af63) - Tell an expired or revoked Kilo login apart from a temporary outage. The profile now asks you to sign in again only when Kilo rejects the login, and keeps your account with a retry when Kilo is unreachable.
- [#16505](https://github.com/Kilo-Org/kilocode/pull/16505) [
626e551](https://github.com/Kilo-Org/kilocode/commit/626e5514e060d54cfc263b9e8b91f518de37a50e) - Kilo keeps a reply that another Kilo process on the same data directory is still producing, so a session shared between processes stays complete while both work in it.
- [#16506](https://github.com/Kilo-Org/kilocode/pull/16506) [
3c674d7](https://github.com/Kilo-Org/kilocode/commit/3c674d7e72c5064ba195f0fe5a261171f6340cba) - Pause session-export uploads when the ingest endpoint rejects the credential, keep the captured batches pending, and report the rejection and its release through telemetry.
- [#16491](https://github.com/Kilo-Org/kilocode/pull/16491) [
40dbdbb](https://github.com/Kilo-Org/kilocode/commit/40dbdbbe7cf67fc9a42f27ff81c4e0c5dd5d7a0b) - Ask before a shell command prints an environment file, matching the existing read-tool prompt. A stream filter that reads a redirected environment file asks as well.
- [#16449](https://github.com/Kilo-Org/kilocode/pull/16449) [
b2947d7](https://github.com/Kilo-Org/kilocode/commit/b2947d7e56c50e599688d48dad27687254280d18) - Finish shell tool calls when the foreground command exits on macOS and Linux, even if descendants keep stdout or stderr open.
- [#16556](https://github.com/Kilo-Org/kilocode/pull/16556) [
05c9710](https://github.com/Kilo-Org/kilocode/commit/05c971024306d992e3dea8567695fbb2f51150a5) - Show a clear "signed out" message with a sign-in action when Kilo rejects your login, instead of a generic error. The CLI points to/connectandkilo auth login. In VS Code, the Sign in button starts login in the Kilo Profile tab. JetBrains opens User Profile and resends your message once you are signed in again.
- [#16507](https://github.com/Kilo-Org/kilocode/pull/16507) [
824e32d](https://github.com/Kilo-Org/kilocode/commit/824e32d5533ea62e85edf0d50ec1efa6d2047ff8) - Move the redo boundary one user message forward in conversation order, and leave the session unchanged when the boundary message is not loaded.
- [#16516](https://github.com/Kilo-Org/kilocode/pull/16516) [
df8e639](https://github.com/Kilo-Org/kilocode/commit/df8e6396ce9513134c3e80bc923d8e6ea5991cc9) - Apply a configured file-write permission from an older configuration document to file writes when the document is converted to the newer format, so the permission a user authored takes effect. When such a document also sets the deprecated tool toggle for the same capability, the toggle keeps the effect it has today.
- [#16486](https://github.com/Kilo-Org/kilocode/pull/16486) [
bf85d41](https://github.com/Kilo-Org/kilocode/commit/bf85d415ac592439053a5cb4c23ca44d927ccd16) - Carry configured provider headers and bearer tokens as request headers when a configuration document is converted to the newer format, so a configuredheadersentry and anauthTokenapply to the provider request.
- [#16499](https://github.com/Kilo-Org/kilocode/pull/16499) [
8045e72](https://github.com/Kilo-Org/kilocode/commit/8045e72da2cf057e42ed70820891d5ca11aa3f4b) - Refuse a workflow tool call that a permission rule denies, and honor a permission rule for any subagent type the user did not name in their message.
- [#16512](https://github.com/Kilo-Org/kilocode/pull/16512) [
b417966](https://github.com/Kilo-Org/kilocode/commit/b417966f371b37cdf2a6e063cfd7343c27d9cd57) - Keep each workspace's configuration in the TUI when a config change notification arrives, discard responses that a previous workspace selection started, and answer pending permission prompts for the workspace they belong to.
- [#16474](https://github.com/Kilo-Org/kilocode/pull/16474) [
e05e37f](https://github.com/Kilo-Org/kilocode/commit/e05e37f4081e0c1cd289ff8aa9ffdfb1e0a2dace) - The write tool now refuses to write when the target changed before the write verifies it, and names that reason in its answer. It also names a target that is not a regular file, or whose filesystem reports no usable identity.
- Updated dependencies [[
b0717b9](https://github.com/Kilo-Org/kilocode/commit/b0717b91ee02e06e3757d2696a3e340a7b3592a0)]:
Patch Changes
- [#16484](https://github.com/Kilo-Org/kilocode/pull/16484) [
8345515](https://github.com/Kilo-Org/kilocode/commit/8345515276ff26af38369fc03a7db28ddbe094cf) - Show the permission card's description, paths, commands and diff file names in an escaped display form.
Characters that render without width now appear as literal escapes. That covers control characters, the bidi marks and overrides, and the invisible format characters. It also covers two kinds of character that ordinary text uses on purpose: an emoji presentation selector such as the one in
⚠️, and the joiners that combine emoji sequences or join the letters of Persian and Indic words. Those now show as \ufe0f and \u200d in the card, so the displayed text names every character the request carries.- [#16414](https://github.com/Kilo-Org/kilocode/pull/16414) [
f891ace](https://github.com/Kilo-Org/kilocode/commit/f891ace78066e92b9feb1a51f5bf86eabe321918) - Stop an automatic permission approval that is still being retried when auto-approve is turned off.
- [#16453](https://github.com/Kilo-Org/kilocode/pull/16453) [
a353089](https://github.com/Kilo-Org/kilocode/commit/a3530895868cb1623228e243e0fa0e4bc92ddb66) - Make auto-approve a user-level setting: it reads and writes your user settings only.
- [#16417](https://github.com/Kilo-Org/kilocode/pull/16417) [
06ad704](https://github.com/Kilo-Org/kilocode/commit/06ad7042b333c50a5da4c1334f5d1d2b222b4d09) - Report each configuration value that is skipped while loading, with its file and its field path, and keep the settings that validate in the same file.
- [#16485](https://github.com/Kilo-Org/kilocode/pull/16485) [
158fe65](https://github.com/Kilo-Org/kilocode/commit/158fe65a86c91ba18188cb4d9743945c90016eb0) - Only attach mentioned files that live inside the current workspace, and skip creating attachments when the workspace folder is not known.
- [#16488](https://github.com/Kilo-Org/kilocode/pull/16488) [
a062619](https://github.com/Kilo-Org/kilocode/commit/a06261934bbe6d4aca13bddbba7d929964625a7e) - Switch accounts in one correlated attempt: a failed confirmation keeps the last-known account and offers a retry instead of showing you as signed out, and the notice clears once the applied account moves on.
- [#16475](https://github.com/Kilo-Org/kilocode/pull/16475) [
0a41b57](https://github.com/Kilo-Org/kilocode/commit/0a41b5727bdf287490e7e9e95e4783ead8102df4) - Honor the configured working directory of a local MCP server, and keep a provider allow or deny list in effect after a configuration document is converted to the newer format.
- [#16479](https://github.com/Kilo-Org/kilocode/pull/16479) [
83a0856](https://github.com/Kilo-Org/kilocode/commit/83a085661983e8b18e4bb3b39f6a9867c9095973) - Switching off a saved auto-approve or auto-deny rule in the permission prompt now removes that rule.
- [#16451](https://github.com/Kilo-Org/kilocode/pull/16451) [
5fb4429](https://github.com/Kilo-Org/kilocode/commit/5fb4429bce74511264ec1cc5fc6fe01848aecffc) - Improve the Brazilian Portuguese wording of the MCP OAuth settings and sign-in labels.
- [#16564](https://github.com/Kilo-Org/kilocode/pull/16564) [
e645f7c](https://github.com/Kilo-Org/kilocode/commit/e645f7c2cea534bdaeca42fcf7eedca558c8af63) - Tell an expired or revoked Kilo login apart from a temporary outage. The profile now asks you to sign in again only when Kilo rejects the login, and keeps your account with a retry when Kilo is unreachable.
- [#16480](https://github.com/Kilo-Org/kilocode/pull/16480) [
39f83cf](https://github.com/Kilo-Org/kilocode/commit/39f83cf13400f3f4dff847e7b4e98a0b9e9ad060) - Report a clear configuration error when an Azure resource name or a Google Vertex location is not a plain resource name or region, send the AI Gateway credential from the environment only to a Cloudflare AI Gateway endpoint, and send the Google Cloud access token of the OpenAI-compatible Vertex path only to a Vertex API host, including the Vertex mTLS hosts. A Vertex location is validated only when the request endpoint is derived from it, so a provider configured with its own endpoint keeps working. An endpoint option that is blank or only whitespace counts as unset, so the Vertex endpoint derives from the region and the Azure endpoint derives from the resource name instead of being sent as given. When no location option is set, the location falls back to the Google Cloud region that the environment names before the provider default, and it is validated there too. For the Vertex Anthropic provider, a configured project or region now decides the request endpoint ahead of the environment, so the two cannot disagree.
- [#16452](https://github.com/Kilo-Org/kilocode/pull/16452) [
5ee5096](https://github.com/Kilo-Org/kilocode/commit/5ee5096028093d7aec0e6e1881c78bedbcb510c3) - Reload the provider and authentication state when the panel switches to another project, so the view always describes the project shown.
- [#16491](https://github.com/Kilo-Org/kilocode/pull/16491) [
40dbdbb](https://github.com/Kilo-Org/kilocode/commit/40dbdbbe7cf67fc9a42f27ff81c4e0c5dd5d7a0b) - Ask before a shell command prints an environment file, matching the existing read-tool prompt. A stream filter that reads a redirected environment file asks as well.
- [#16556](https://github.com/Kilo-Org/kilocode/pull/16556) [
05c9710](https://github.com/Kilo-Org/kilocode/commit/05c971024306d992e3dea8567695fbb2f51150a5) - Show a clear "signed out" message with a sign-in action when Kilo rejects your login, instead of a generic error. The CLI points to/connectandkilo auth login. In VS Code, the Sign in button starts login in the Kilo Profile tab. JetBrains opens User Profile and resends your message once you are signed in again.
- [#16516](https://github.com/Kilo-Org/kilocode/pull/16516) [
df8e639](https://github.com/Kilo-Org/kilocode/commit/df8e6396ce9513134c3e80bc923d8e6ea5991cc9) - Apply a configured file-write permission from an older configuration document to file writes when the document is converted to the newer format, so the permission a user authored takes effect. When such a document also sets the deprecated tool toggle for the same capability, the toggle keeps the effect it has today.
- [#16486](https://github.com/Kilo-Org/kilocode/pull/16486) [
bf85d41](https://github.com/Kilo-Org/kilocode/commit/bf85d415ac592439053a5cb4c23ca44d927ccd16) - Carry configured provider headers and bearer tokens as request headers when a configuration document is converted to the newer format, so a configuredheadersentry and anauthTokenapply to the provider request.
- [#16518](https://github.com/Kilo-Org/kilocode/pull/16518) [
bd87e56](https://github.com/Kilo-Org/kilocode/commit/bd87e56f1c4bfa99da90ac38f3291dc0cd8c35ff) - Save the auto-approve setting before auto-approval starts, report a save that fails, and tell you when an automatic approval was not accepted so the prompt still reaches you.
- [#16455](https://github.com/Kilo-Org/kilocode/pull/16455) [
919043d](https://github.com/Kilo-Org/kilocode/commit/919043d376b89c8bec8c49b326c4d6820ab70d56) - Keep sub-agent tab state consistent when tabs close and reopen, and route prompt answers to the session that asked the question.
- [#16515](https://github.com/Kilo-Org/kilocode/pull/16515) [
28504eb](https://github.com/Kilo-Org/kilocode/commit/28504ebbd15db713547af7e2540e072394ca90d2) - Session actions keep to one project: revert, unrevert, message delete, session delete, session rename, compact, stop, and permission and question replies act on the directory that owns the session, and report the action when that directory cannot be determined.
- [#16519](https://github.com/Kilo-Org/kilocode/pull/16519) [
18c803f](https://github.com/Kilo-Org/kilocode/commit/18c803fb84d10dc7680f19b4c6315b6996052745) - Settings keeps your unsaved changes and the save bar in place until the extension host confirms the save, and reports a save the host never confirms so you can retry it.
- [#16487](https://github.com/Kilo-Org/kilocode/pull/16487) [
3d2eb1d](https://github.com/Kilo-Org/kilocode/commit/3d2eb1daaad3bc8d9cfabb953a7226502de61fd0) - Report a settings change that the extension host did not apply with a dismissible error that names the control, keep the previous value in force, and keep a rejected unsaved edit available so it can be saved again.
- [#16474](https://github.com/Kilo-Org/kilocode/pull/16474) [
e05e37f](https://github.com/Kilo-Org/kilocode/commit/e05e37f4081e0c1cd289ff8aa9ffdfb1e0a2dace) - The write tool now refuses to write when the target changed before the write verifies it, and names that reason in its answer. It also names a target that is not a regular file, or whose filesystem reports no usable identity.
- Updated dependencies [[
b0717b9](https://github.com/Kilo-Org/kilocode/commit/b0717b91ee02e06e3757d2696a3e340a7b3592a0)]:
CLI
Minor Changes
- [#16465](https://github.com/Kilo-Org/kilocode/pull/16465) [
b0717b9](https://github.com/Kilo-Org/kilocode/commit/b0717b91ee02e06e3757d2696a3e340a7b3592a0) - List authorized additional GitHub repositories and include them when creating an organization Cloud workspace through Session Host.
Patch Changes
- [#16473](https://github.com/Kilo-Org/kilocode/pull/16473) [
ab930b2](https://github.com/Kilo-Org/kilocode/commit/ab930b2bfc549f4971a05c9a38a801659a2a6aed) - Keep one stored account selected after another stored account is removed, including when the remaining accounts belong to no organization.
- [#16498](https://github.com/Kilo-Org/kilocode/pull/16498) [
b4b3335](https://github.com/Kilo-Org/kilocode/commit/b4b3335dd9f69f8c77a17716fe3f1209b0bd762c) - Require approval for the destination path when a patch moves a file, and refuse a move onto Agent Manager state.
- [#16523](https://github.com/Kilo-Org/kilocode/pull/16523) [
f89d52f](https://github.com/Kilo-Org/kilocode/commit/f89d52fe14f42bf253911c14554748f47bb89a24) - Keep a ChatGPT OAuth connection signed in across token refreshes.
- [#16511](https://github.com/Kilo-Org/kilocode/pull/16511) [
b7d5271](https://github.com/Kilo-Org/kilocode/commit/b7d527140ef124c41a4f61760eb3fc7b9dee9bdf) - Report a missing Cloudflare AI Gateway credential as a missing credential that names the environment variable to set, and report a gateway token given as a configuration value that cannot be loaded as a configuration error.
- [#16417](https://github.com/Kilo-Org/kilocode/pull/16417) [
06ad704](https://github.com/Kilo-Org/kilocode/commit/06ad7042b333c50a5da4c1334f5d1d2b222b4d09) - Report each configuration value that is skipped while loading, with its file and its field path, and keep the settings that validate in the same file.
- [#16477](https://github.com/Kilo-Org/kilocode/pull/16477) [
02379af](https://github.com/Kilo-Org/kilocode/commit/02379afa483864766d8308199faf6d84dd6922fb) - Keep each Console account tied to the server that issued it, so signing in to another Console deployment keeps both accounts and their tokens.
- [#16517](https://github.com/Kilo-Org/kilocode/pull/16517) [
c331258](https://github.com/Kilo-Org/kilocode/commit/c3312582e3327e82b9db4ac1ea04df29f0f42f3f) - Show every permission rule an agent stores in the agent builder's permissions card. A tool's default
- [#16476](https://github.com/Kilo-Org/kilocode/pull/16476) [
078811f](https://github.com/Kilo-Org/kilocode/commit/078811f01bbac98990b2baeb516bb7471465e9fa) - The explore subagent now asks for approval before it reads secret environment files, as the other built-in agents do. Example environment files stay readable without approval.
On macOS, permission rules for file paths match names the way the volume resolves them, so the same approval applies to a file the volume treats as the same file. Rules for every other resource keep exact matching.
- [#16540](https://github.com/Kilo-Org/kilocode/pull/16540) [
77f0743](https://github.com/Kilo-Org/kilocode/commit/77f0743b43bf5a2cacb127927ee7deed1092b0cd) Thanks [@romulorosa](https://github.com/romulorosa)! - Fix Gemini rejecting MCP tool schemas that combine an array type with anyOf or oneOf
- [#16483](https://github.com/Kilo-Org/kilocode/pull/16483) [
3a1dad3](https://github.com/Kilo-Org/kilocode/commit/3a1dad31e222ae1e6f636a662a34b95d47096e8f) - Report a conflict error when completing an integration OAuth attempt that is still in flight.
- [#16470](https://github.com/Kilo-Org/kilocode/pull/16470) [
4ed6ec5](https://github.com/Kilo-Org/kilocode/commit/4ed6ec5910143d0796b20bfbdac3edbe1e9abf53) - Report the state of an integration OAuth attempt for as long as its handle is retained, including after it is cancelled or withdrawn, and report a not-found error when completing a handle that no longer has a pending attempt.
- [#16416](https://github.com/Kilo-Org/kilocode/pull/16416) [
f708f7b](https://github.com/Kilo-Org/kilocode/commit/f708f7b69bca55d10e562603574099d6a60df71a) - Legacy custom modes now migrate to the same permission keys the CLI reads: only a command group grants shell commands, a browser group grants the Integrated Browser tool of the VS Code client, an MCP group grants the tools of each migrated server, and a file restriction becomes a wildcard glob that keeps the files it allowed. A migrated mode's MCP grant and the CLI's own MCP tool ids come from one definition, so the grant always names the tools the CLI registers and a server name outside the Basic Multilingual Plane yields the same key in the CLI and the plugin, and the grant covers every server the loader that ran the migration converted rather than only the ones a project file declared. A file restriction that alternates at the top level keeps the files of every alternative. A file restriction made only of digits is reported and asks instead of denying the allowed files, one whose translated arm resolves against the home directory is reported and asks, one that escapes a character the glob cannot carry literally, including backslash,*and?, is reported and asks, so the migrated rule always means what the legacy pattern meant, a migrated mode in the CLI keeps the default skill permission because no legacy group governs it, the JetBrains migration denies skill and states that in its report, and an MCP group is reported when a skipped store declared a server the migration can grant and that no converted server's permission key covers, even when other servers were migrated, while a disabled entry, a local entry with no command and a remote entry with no url are not reported. An empty alternative matches the empty string. A pattern whose empty alternative is its whole body matches every path; when the alternative sits inside a longer pattern, it matches that pattern's surrounding characters instead. With both anchors the empty alternative is dropped so the alternatives that name a path survive, and a pattern whose every alternative is empty is reported and asks. A mode that lists the same group more than once keeps the narrower rule and reports the repeat in the migration warnings when the rule differs. With auto-approval on and no command lists, the migration grants shell commands and leaves other tools at their defaults. A mode that writes a group with its options in flow style keeps the file restriction that group names, and a group whose options arrive as their own entry asks instead of widening to every file. A single-quoted scalar decodes a doubled quote to one quote, and a#after it stays part of the value instead of starting a comment.
- [#16513](https://github.com/Kilo-Org/kilocode/pull/16513) [
0401574](https://github.com/Kilo-Org/kilocode/commit/040157466d2c5581be5c38515c73585a1ecd05d9) - Keep the organization you selected when you sign in again to the same Console account.
- [#16475](https://github.com/Kilo-Org/kilocode/pull/16475) [
0a41b57](https://github.com/Kilo-Org/kilocode/commit/0a41b5727bdf287490e7e9e95e4783ead8102df4) - Honor the configured working directory of a local MCP server, and keep a provider allow or deny list in effect after a configuration document is converted to the newer format.
- [#16564](https://github.com/Kilo-Org/kilocode/pull/16564) [
e645f7c](https://github.com/Kilo-Org/kilocode/commit/e645f7c2cea534bdaeca42fcf7eedca558c8af63) - Tell an expired or revoked Kilo login apart from a temporary outage. The profile now asks you to sign in again only when Kilo rejects the login, and keeps your account with a retry when Kilo is unreachable.
- [#16505](https://github.com/Kilo-Org/kilocode/pull/16505) [
626e551](https://github.com/Kilo-Org/kilocode/commit/626e5514e060d54cfc263b9e8b91f518de37a50e) - Kilo keeps a reply that another Kilo process on the same data directory is still producing, so a session shared between processes stays complete while both work in it.
- [#16506](https://github.com/Kilo-Org/kilocode/pull/16506) [
3c674d7](https://github.com/Kilo-Org/kilocode/commit/3c674d7e72c5064ba195f0fe5a261171f6340cba) - Pause session-export uploads when the ingest endpoint rejects the credential, keep the captured batches pending, and report the rejection and its release through telemetry.
- [#16491](https://github.com/Kilo-Org/kilocode/pull/16491) [
40dbdbb](https://github.com/Kilo-Org/kilocode/commit/40dbdbbe7cf67fc9a42f27ff81c4e0c5dd5d7a0b) - Ask before a shell command prints an environment file, matching the existing read-tool prompt. A stream filter that reads a redirected environment file asks as well.
- [#16449](https://github.com/Kilo-Org/kilocode/pull/16449) [
b2947d7](https://github.com/Kilo-Org/kilocode/commit/b2947d7e56c50e599688d48dad27687254280d18) - Finish shell tool calls when the foreground command exits on macOS and Linux, even if descendants keep stdout or stderr open.
- [#16556](https://github.com/Kilo-Org/kilocode/pull/16556) [
05c9710](https://github.com/Kilo-Org/kilocode/commit/05c971024306d992e3dea8567695fbb2f51150a5) - Show a clear "signed out" message with a sign-in action when Kilo rejects your login, instead of a generic error. The CLI points to/connectandkilo auth login. In VS Code, the Sign in button starts login in the Kilo Profile tab. JetBrains opens User Profile and resends your message once you are signed in again.
- [#16507](https://github.com/Kilo-Org/kilocode/pull/16507) [
824e32d](https://github.com/Kilo-Org/kilocode/commit/824e32d5533ea62e85edf0d50ec1efa6d2047ff8) - Move the redo boundary one user message forward in conversation order, and leave the session unchanged when the boundary message is not loaded.
- [#16516](https://github.com/Kilo-Org/kilocode/pull/16516) [
df8e639](https://github.com/Kilo-Org/kilocode/commit/df8e6396ce9513134c3e80bc923d8e6ea5991cc9) - Apply a configured file-write permission from an older configuration document to file writes when the document is converted to the newer format, so the permission a user authored takes effect. When such a document also sets the deprecated tool toggle for the same capability, the toggle keeps the effect it has today.
- [#16486](https://github.com/Kilo-Org/kilocode/pull/16486) [
bf85d41](https://github.com/Kilo-Org/kilocode/commit/bf85d415ac592439053a5cb4c23ca44d927ccd16) - Carry configured provider headers and bearer tokens as request headers when a configuration document is converted to the newer format, so a configuredheadersentry and anauthTokenapply to the provider request.
- [#16499](https://github.com/Kilo-Org/kilocode/pull/16499) [
8045e72](https://github.com/Kilo-Org/kilocode/commit/8045e72da2cf057e42ed70820891d5ca11aa3f4b) - Refuse a workflow tool call that a permission rule denies, and honor a permission rule for any subagent type the user did not name in their message.
- [#16512](https://github.com/Kilo-Org/kilocode/pull/16512) [
b417966](https://github.com/Kilo-Org/kilocode/commit/b417966f371b37cdf2a6e063cfd7343c27d9cd57) - Keep each workspace's configuration in the TUI when a config change notification arrives, discard responses that a previous workspace selection started, and answer pending permission prompts for the workspace they belong to.
- [#16474](https://github.com/Kilo-Org/kilocode/pull/16474) [
e05e37f](https://github.com/Kilo-Org/kilocode/commit/e05e37f4081e0c1cd289ff8aa9ffdfb1e0a2dace) - The write tool now refuses to write when the target changed before the write verifies it, and names that reason in its answer. It also names a target that is not a regular file, or whose filesystem reports no usable identity.
- Updated dependencies [[
b0717b9](https://github.com/Kilo-Org/kilocode/commit/b0717b91ee02e06e3757d2696a3e340a7b3592a0)]:
7.8.32
#### Patch Changes
- [#14982](https://github.com/Kilo-Org/kilocode/pull/14982) [
fe67f44](https://github.com/Kilo-Org/kilocode/commit/fe67f4478855977eeabd06b33c9f80c9b25b34a7) Thanks [@ykakade](https://github.com/ykakade)! - Prevent held keys and repeated close commands from confirming worktree deletion in Agent Manager. Use the Delete confirmation button or a separate Backspace or Delete press to confirm.
7.8.31
#### Minor Changes
- [#16342](https://github.com/Kilo-Org/kilocode/pull/16342) [
182a5f9](https://github.com/Kilo-Org/kilocode/commit/182a5f9f501d4d2bff2b5a4372d6f06065cf9904) - Change the Kilo telemetry preference from VS Code's About tab or the core telemetry API. Telemetry stays off if Kilo config, VS Code, or the environment disables it.
7.8.30
#### Minor Changes
- [#16080](https://github.com/Kilo-Org/kilocode/pull/16080) [
54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121) - Retire the Mercury Edit 2 autocomplete models and Next Edit. Codestral is now the default autocomplete model, and saved Mercury or Inception selections use Codestral. The SDK no longer hasclient.kilo.edit, and@kilocode/kilo-gatewayno longer exports./editor./edit-prompt.
#### Patch Changes
- Updated dependencies [[
37b2900](https://github.com/Kilo-Org/kilocode/commit/37b2900fcb6223fec33c2bd5f59263e93682c670), [8a762f8](https://github.com/Kilo-Org/kilocode/commit/8a762f8487734a5db566cbd8938f84dec9076379), [54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121)]:
CLI
7.8.31
#### Minor Changes
- [#16342](https://github.com/Kilo-Org/kilocode/pull/16342) [
182a5f9](https://github.com/Kilo-Org/kilocode/commit/182a5f9f501d4d2bff2b5a4372d6f06065cf9904) - Change the Kilo telemetry preference from VS Code's About tab or the core telemetry API. Telemetry stays off if Kilo config, VS Code, or the environment disables it.
#### Patch Changes
- [#16346](https://github.com/Kilo-Org/kilocode/pull/16346) [
f35ba50](https://github.com/Kilo-Org/kilocode/commit/f35ba505e8b232012b02ab52952d8a195c89d7a6) Thanks [@rgbkrk](https://github.com/rgbkrk)! - Fix Gemini requests failing when an MCP tool declares a nullable enum or a multi-type parameter.
7.8.30
#### Minor Changes
- [#16198](https://github.com/Kilo-Org/kilocode/pull/16198) [
37b2900](https://github.com/Kilo-Org/kilocode/commit/37b2900fcb6223fec33c2bd5f59263e93682c670) - Expose hosted workspace change snapshots, revision-fenced per-file reads, explicit refresh, and verified linked-pull-request diffs through Session Host and the generated SDK.
- [#16184](https://github.com/Kilo-Org/kilocode/pull/16184) [
8a762f8](https://github.com/Kilo-Org/kilocode/commit/8a762f8487734a5db566cbd8938f84dec9076379) - Expose hosted workspace pull request summaries and explicit refresh through Session Host, preserving partial observations and distinct authorization, connectivity, and rate-limit states.
- [#16080](https://github.com/Kilo-Org/kilocode/pull/16080) [
54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121) - Retire the Mercury Edit 2 autocomplete models and Next Edit. Codestral is now the default autocomplete model, and saved Mercury or Inception selections use Codestral. The SDK no longer hasclient.kilo.edit, and@kilocode/kilo-gatewayno longer exports./editor./edit-prompt.
#### Patch Changes
- [#15988](https://github.com/Kilo-Org/kilocode/pull/15988) [
b69e4d6](https://github.com/Kilo-Org/kilocode/commit/b69e4d64e78d2c1ad18c5273a6f9f482d86adf37) - Fix Cloud Agent CLI authentication by exchanging login credentials for a Cloud Agent control token.
- [#16210](https://github.com/Kilo-Org/kilocode/pull/16210) [
41b8ffa](https://github.com/Kilo-Org/kilocode/commit/41b8ffae4f32b2f84b44b5fa6c2c7c9f8e9fddec) Thanks [@WebReflection](https://github.com/WebReflection)! - Update hono to 4.13.18 and @hono/node-server to 2.1.7 to fix security issues flagged by Dependabot alerts.
- [#15599](https://github.com/Kilo-Org/kilocode/pull/15599) [
c153a86](https://github.com/Kilo-Org/kilocode/commit/c153a86705ad856843960f1339c5b973e56f56ce) - Create local and Cloud tasks from a unified Add menu in the JetBrains Agent Manager. Group Cloud workspaces, open them in the correct organization in your browser, close and reopen sessions, and delete whole workspaces with progress and retry. Allow Cloud workspaces without a profile, preselect and mark personal and organization default profiles, switch back to the default profile, show a standard border around the dialog prompt, and create a Cloud workspace with an empty prompt. Show submitted prompts immediately, show preparation progress while a Cloud workspace starts, wait for preparation to finish before loading chat history, and keep Cloud-generated session titles in sync in both the session header and the workspace list. Keep newly created Cloud workspaces visible while discovery catches up, and remove deleted ones immediately. Report setup failures with command output and retry even when chat history is unavailable, and show Cloud load failures in plain language with Retry for transient errors instead of Dismiss for permanent errors.
- [#16098](https://github.com/Kilo-Org/kilocode/pull/16098) [
b11ecb4](https://github.com/Kilo-Org/kilocode/commit/b11ecb4d7191585fe5059bcf03b43b06e34542ec) - Show what Kilo Gateway charged as the session cost, and the provider's inference cost only for requests that use your own API key.
- [#16212](https://github.com/Kilo-Org/kilocode/pull/16212) [
83e2ae6](https://github.com/Kilo-Org/kilocode/commit/83e2ae62ca5e69d986435f9a9ec2cd30b27d5203) Thanks [@WebReflection](https://github.com/WebReflection)! - Update node-forge to 1.4.3 to fix security issues flagged by Dependabot alerts.
- [#15987](https://github.com/Kilo-Org/kilocode/pull/15987) [
2cf9750](https://github.com/Kilo-Org/kilocode/commit/2cf9750397fe6c95d41378eecbca4bc527b0d405) - Keep questions open while background tasks finish so answers are not dismissed while typing.
- Updated dependencies [[
37b2900](https://github.com/Kilo-Org/kilocode/commit/37b2900fcb6223fec33c2bd5f59263e93682c670), [8a762f8](https://github.com/Kilo-Org/kilocode/commit/8a762f8487734a5db566cbd8938f84dec9076379), [54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121)]:
7.8.28
#### Minor Changes
- [#15929](https://github.com/Kilo-Org/kilocode/pull/15929) [
f15aff8](https://github.com/Kilo-Org/kilocode/commit/f15aff8f3d186e3ed459775d0b164bed7782e320) - Expose hosted workspace profile defaults through the Session Host API. Clients can create an empty hosted workspace without an initial prompt or profile, list personal and organization profiles with their default flags, and set or clear the personal default profile.
#### Patch Changes
- [#15921](https://github.com/Kilo-Org/kilocode/pull/15921) [
8116541](https://github.com/Kilo-Org/kilocode/commit/8116541a9b71fc855ee199a9d6f8e044ad6e32bb) Thanks [@zfralish](https://github.com/zfralish)! - Skip plugin tools whose arguments cannot be converted to JSON Schema instead of failing every prompt in the session
- Added native Cloud workspace diffs, so Cloud sessions can show their changes in the IDE diff viewer.
- Agent Manager now shows pull request status for Cloud workspaces.
- Added a core telemetry level API so the plugin reports telemetry at the level configured in Kilo Core.
- Bundled Kilo Core CLI provides the new core telemetry level API.
Fixed
- Fixed reused worktrees inheriting old history from previous sessions.
- Fixed Cloud sessions not recovering and reloading after reconnect.
- Fixed collapsed Agent Manager sections expanding again after a refresh.
- Fixed the dictation button not showing its recording indicator.
- Fixed Gemini type arrays leaving sibling keywords on
anyOfin generated tool schemas.
Changed
- Bundled Kilo Core CLI updated to 7.8.31.
Installation
curl -fsSL https://kilo.ai/cli/install | bash
npm install -g @kilocode/cli
bun add -g @kilocode/cli
pnpm add -g @kilocode/cli
brew install Kilo-Org/tap/kilo
paru -S kilo-bin