Files
Kilo-Org_kilocode/packages/opencode/CHANGELOG.md
kilo-maintainer[bot] 1181567b26 release: v7.3.40
2026-06-06 02:29:27 +00:00

47 KiB

@kilocode/cli

7.3.40

Patch Changes

7.3.39

Patch Changes

  • #10901 a8a8dd8 - Prevent icon images fetched from the web from causing provider request errors.

  • #10933 a0eb3b7 - Write strict JSON when adding MCP servers to kilo.json configuration files.

  • #10924 189f251 - Temporarily disable free-model session and Git workspace data export.

  • #10949 78117d1 - Fail publication builds when the bundled models snapshot cannot be downloaded or validated, and load the snapshot as JSON data in compiled binaries.

7.3.33

Patch Changes

  • #10935 6cab5f1 - Prevent the macOS Apple Silicon CLI from failing to start because of malformed bundled exports.

7.3.30

Patch Changes

  • #10862 c4de1ac - Support reasoning with Mistral Medium 3.5 models, including the latest alias.

  • #10895 2e1945c - Allow plan approval submissions to complete after planning finishes.

7.3.29

Patch Changes

  • #10822 8b1ee66 - Preserve worktree routing for Kilo HTTP API clients and keep inherited task-subagent restrictions active.

7.3.28

Patch Changes

  • #10847 cdf46c9 - Clarify when free-model data may be used for training and identify it with a brain circuit icon.

  • #10833 8696edc - Keep Kilo Console terminals and worktree changes visible while refreshing diffs.

  • #10833 fbacc31 - Use the updated favicon in Kilo Console.

  • #10865 9c56107 - Show the animated Kilo logo while the console and dashboard finish loading.

  • #10864 557d6ad - Preserve upstream error statuses for cloud session and KiloClaw gateway requests.

  • #10831 837a875 - Keep post-compaction tool calls and follow-up messages ordered after the compaction summary in the CLI and VS Code transcript.

  • #10849 a6b005d - Restore Cloud Agent transcripts in VS Code session previews and stop cloud session previews or continuation from loading indefinitely when a request stalls.

  • #10883 1cdc398 - Restore kilo console startup in packaged CLI builds.

  • #10863 35aa9bb - Restore Kilo Gateway-backed Mercury Next Edit completions.

  • #10829 e64c1fb - Restore full-session forks in Agent Manager after the HTTP API migration.

  • Updated dependencies [fc4cf10, a6b005d]:

    • @kilocode/sdk@7.3.23
    • @kilocode/kilo-gateway@7.3.23
    • @kilocode/plugin@7.3.23
    • @kilocode/kilo-indexing@7.3.23
    • @kilocode/kilo-telemetry@7.3.23

7.3.21

Minor Changes

Patch Changes

7.3.20

Patch Changes

  • #10792 cb1fdb3 - Allow clearing agent model and variant overrides from settings.

  • #10786 7dd8aab - Limit inferred background-process port discovery to the TUI and stop scanning after startup to avoid unnecessary Bun subprocess polling.

  • #10735 593903f - Fix Claude Opus 4.8 reasoning on Amazon Bedrock by treating it as an adaptive thinking model like Opus 4.7. This resolves the "thinking.type.enabled is not supported for this model" error and exposes the full low/medium/high/xhigh/max reasoning effort range.

  • #10789 316a662 - Fix queued plan prompts stalling in VS Code after a completed turn.

  • #9499 c1c3af8 Thanks @truffle-dev! - Fix empty TUI session list when launching kilo from inside a git submodule. git worktree list --porcelain reports the submodule's gitdir (<repo>/.git/modules/<sub>) instead of the working tree, so the worktree-family filter dropped every session whose directory was the actual submodule path. Include Instance.worktree in the returned set so submodule sessions stay in scope.

7.3.18

Patch Changes

  • #10736 57bc6ee - Use Kilo session share links when sharing conversations from the CLI.

  • #10737 f574294 - Support reading text from DOCX files through the read tool.

  • #10740 2081af2 - Support reading XLSX spreadsheets as labelled tabular text

7.3.17

Patch Changes

  • #10721 2efa216 - Keep Agent Manager turns running while slow snapshot baselines initialize instead of stopping for an interactive question.

  • #10703 eeff6d9 Thanks @barzhomi! - Fix LanceDB metadata corruption that caused a full re-index on every VS Code restart

  • #10733 4967c22 - Read Jupyter notebooks as ordered markdown and code cell content instead of raw notebook payloads.

  • #10669 0107a01 - Guide Agent Manager orchestration to recall completed session context only when needed.

  • #10668 ef2390d - Access semantic indexing without an experimental feature toggle while keeping indexing disabled until enabled globally or for a project.

7.3.16

7.3.15

7.3.14

Patch Changes

  • #8761 74e01b1 Thanks @brendandebeasi! - Fix packaged CLI startup crashes caused by duplicate OpenTUI/Solid renderer instances.

  • #10648 9fbd547 - Keep the extension responsive while semantic indexing processes large workspaces.

  • #10619 117691e - Use supported hosted model presets for Kilo indexing and clear obsolete model and dimension overrides.

  • #10657 d883ad9 - Keep the extension usable on fresh startup when semantic indexing is enabled globally.

  • #10618 dcfadac - Prevent saved global indexing provider changes from temporarily reverting in active workspaces.

  • Updated dependencies [117691e, db38888]:

    • @kilocode/kilo-indexing@7.3.13
    • @kilocode/sdk@7.3.13
    • @kilocode/kilo-gateway@7.4.0
    • @kilocode/plugin@7.3.13
    • @kilocode/kilo-telemetry@7.3.13

7.3.11

Patch Changes

  • #10485 7025c77 - Surface failed sub-agent tasks as tool errors so parent sessions can recover.

  • #10443 8e76807 - Support configuring the default task subagent model and reasoning effort while safely inheriting the calling agent model when the override is unavailable.

7.3.10

Patch Changes

7.3.9

Minor Changes

  • #10500 4ef3717 - Support xAI Grok OAuth and device-code login for SuperGrok users.

Patch Changes

  • #10510 c076058 - Use the fallback logo in old Windows terminal emulators while keeping the Unicode logo available over SSH.

  • #9951 0d12909 - Support optional review focus for /local-review and /local-review-uncommitted, optional base selection for /local-review, and focus both prompts on high-confidence security, performance, business logic, deploy safety, duplication, and dead-code findings.

  • #10510 656572c - Avoid leaving mouse and advanced keyboard modes enabled after exiting the TUI in mintty and MINGW terminals.

7.3.8

Patch Changes

  • #8403 42844e5 Thanks @saschabuehrle! - Accept env as an alias for environment in local MCP server configuration. Configurations using the more common env key (matching Docker, npm, and VS Code conventions) are now normalised on load instead of failing strict validation.

  • #10495 ae0fbe8 - Show recent and favorited models in provider-specific model lists.

7.3.7

Patch Changes

7.3.5

Patch Changes

  • Updated dependencies [205e22e]:
    • @kilocode/kilo-indexing@7.3.5

7.3.3

Patch Changes

  • #10155 371b7e8 - Resolve bundled tree-sitter WASM resources from the installed CLI layout so codebase indexing works in packaged CLI and VS Code builds.

7.3.2

7.3.1

Patch Changes

  • #10285 d23e162 - Capture aggregate usage telemetry for experimental Morph-backed codebase search.

  • #10358 413222f - Resume interrupted CLI turns automatically after network recovery while giving users 10 seconds to cancel.

  • #10293 af115af - Harden Mermaid diagram rendering with upstream security fixes.

7.3.0

Patch Changes

  • #10279 a3769d8 - Keep Enhance Prompt focused on rewriting draft prompts instead of answering question-shaped drafts directly.

7.2.54

Minor Changes

  • #10218 4860e65 - Support setting an auto-compaction threshold percentage so long sessions can compact before the context window is full.

Patch Changes

  • #10136 8af638e - Show ChatGPT sign-in again when Codex authentication expires.

  • #8754 e498c02 Thanks @shssoichiro! - Fix TUI diff rendering when header-like content lines appear inside a unified diff hunk.

  • #10158 d8245a0 - Fix Mermaid diagrams rendering with empty text inside every shape by restoring the foreignObject HTML integration point that DOMPurify dropped in 3.1.7.

  • #10197 1ea86fb - Prevent Kilo Gateway Responses requests from replaying transient provider item IDs when request storage is disabled.

  • Updated dependencies [4860e65, 1af7973, 1ea86fb, f5dc95b]:

    • @kilocode/sdk@7.3.0
    • @kilocode/kilo-gateway@7.3.0
    • @kilocode/plugin@7.2.53
    • @kilocode/kilo-indexing@7.2.53
    • @kilocode/kilo-telemetry@7.2.53

7.2.51

Patch Changes

7.2.50

7.2.49

Patch Changes

  • #10076 c48b31c - Fix garbled diff and additions/deletions counts shown by apply_patch when updating a non-UTF-8 file.

  • #10077 1cf0943 - Speed up reading large files: the read tool now streams UTF-8 content from disk and stops once the line/byte cap is reached, instead of loading the whole file into memory first.

7.2.48

Patch Changes

  • #10051 2d50e1f - Harden git operations against malicious repositories and environment variables by upgrading the underlying git library.

  • #10050 f1ae973 - Suggest local code reviews after more completed changes while still avoiding small edits and repeated suggestions.

  • #10060 0cc0415 - Harden markdown rendering against malicious HTML by picking up the latest DOMPurify security fixes.

  • Updated dependencies [924f034]:

    • @kilocode/kilo-indexing@7.2.48

7.2.47

Minor Changes

  • #9851 9de7c98 - Support Kilo-hosted embeddings as a selectable code indexing provider.

Patch Changes

  • #10016 d2ae16a - Support configuring Azure OpenAI resource names or endpoint URLs from the provider settings flow, and document using the native Azure provider for GPT-5 family deployments.

  • #10014 4b88379 - Improved accuracy of Kilo Gateway cost reporting.

  • #10012 0363006 - Recover compaction when large tool results or media attachments exceed provider payload limits.

  • #9969 eb77fbc - Prevent an infinite agent loop when a provider ends the response stream without a terminal stop reason.

7.2.44

Minor Changes

  • #9764 9886674 - Migrate KiloClaw chat to the new kilo-chat backend. Replaces the single-channel Stream Chat integration with a multi-conversation experience that matches the web UX at app.kilo.ai/claw/kilo-chat: conversation list, reactions, typing indicators, editing, and action approvals. The TUI continues to render a single chat view backed by the user's primary conversation.

  • #9718 dcaccf3 - Rate assistant responses with thumbs up/down. Click the thumbs buttons next to the copy button on any assistant message, or press <leader>= / <leader>- in the terminal UI. Only shown when telemetry is enabled; feedback is sent to Kilo to help improve model and prompt quality.

Patch Changes

  • #9915 bcb47be - Preserve the selected thinking level after compacting a session.

  • #9997 de9f11e - Fix gpt-5 models failing with Unsupported parameter: max_tokens when accessed through custom OpenAI-compatible providers such as LiteLLM.

  • #9993 98f5f65 - Support global and per-project codebase indexing enablement.

  • #9975 c1ea810 Thanks @shssoichiro! - Honor configured permission overrides in Ask and Plan modes, including persisted always-allow rules.

  • #10006 9e17137 - Recover sessions when providers end a response with an error finish but no error details.

  • #9921 e5e9d0b - Remove custom providers from settings when disconnecting them so they do not reappear after being disabled and re-enabled.

  • Updated dependencies [9886674, e5e9d0b]:

    • @kilocode/kilo-gateway@7.3.0
    • @kilocode/sdk@7.3.0
    • @kilocode/kilo-indexing@7.2.43
    • @kilocode/kilo-telemetry@7.2.43
    • @kilocode/plugin@7.2.43

7.2.42

Minor Changes

  • #9909 9ffd047 - Detect and preserve UTF-32 (LE and BE) with BOM when reading and editing files. UTF-16 and UTF-32 without a BOM remain unsupported.

Patch Changes

  • #9887 d9453f0 - Fix queued-turn auto-compaction so overflow recovery runs instead of exhausting compaction attempts.

  • #9855 59e8eff - Respect project-specific semantic indexing decisions instead of enabling indexing globally across workspaces.

  • #9928 520922f Thanks @shssoichiro! - Prevent VS Code empty windows from starting codebase indexing against the home directory.

  • #9843 27d14d4 - Prompt before reading .env files even after broad read permissions were previously approved.

  • #9924 914bbdf Thanks @shssoichiro! - Restore Skill tool access for Plan, Ask, Explore, and other non-system agents so skill workflows are available by default.

  • #9907 d9d4dcd - Recover sessions left unable to continue after an assistant turn was created but never started.

7.2.39

Patch Changes

  • #9840 db26be6 - Restore the KILO=1 environment variable so plugins and tooling can distinguish the Kilo CLI from upstream OpenCode.

7.2.36

Patch Changes

  • #9869 d5fd42c - Fix question tool being unavailable in code mode

  • #9838 f499257 - Honor approved external directory read access in Ask and Plan modes.

  • #9778 33476e5 - Show an "Initializing snapshot…" line in the chat while the initial snapshot is running on very large repositories, and add an interactive prompt when it stalls. After 10 seconds (configurable via KILO_SNAPSHOT_TRACK_TIMEOUT_MS) the prompt asks whether to keep waiting or disable snapshots for the project; choosing to disable writes "snapshot": false to .kilo/kilo.json so future sessions skip snapshots entirely.

  • #9833 614bca7 - Prevent macOS Spotlight from indexing Kilo-generated data directories.

7.2.35

Patch Changes

  • #9820 a858f00 - Warn when a model hits its output limit before finishing a response.

  • #8910 8472f90 Thanks @eolbrych! - Restore the Sign in action for MCP servers that require OAuth authentication in VS Code settings.

7.2.33

Minor Changes

  • #9737 d5fb9eb - Support starting Agent Manager local sessions and worktree sessions from an experimental agent tool.

Patch Changes

  • #9746 80535d4 - Avoid repeated command approval prompts when multiple sessions request the same saved command permission, without widening bash permission matching.

  • #9460 26e4c11 - Scope the custom commit message prompt to the current project. Setting it in the VS Code settings now writes to the workspace's kilo.json so different repositories can have different conventions, instead of silently applying globally. Also fixes the project-level config update endpoint, which previously wrote to a file that wasn't loaded.

  • #9626 5dbf91c - Honor allowed read-only external-directory access to Kilo config paths without repeated permission prompts.

  • #9745 da3d79a - Use a GPT-5.5-specific coding prompt that improves autonomous task handling while keeping older Codex generations on their existing prompt.

  • #9729 1493d65 - Keep Remote status visible in the TUI while remote control is connecting.

  • #9669 0bf14eb - Stop emitting ai.* and gen_ai.* OpenTelemetry spans from AI SDK calls, and remove the PostHog bridge that forwarded them. Tool/session/indexing telemetry is unchanged.

7.2.31

Patch Changes

  • #9687 9028174 - Show compact todo update cards when checking off items in long todo lists.

7.2.30

Patch Changes

  • #9625 1e01ac3 - Respect configured agent models when reopening the CLI or switching projects.

  • #9434 a995b94 - Fix sessions with large image attachments becoming unusable after compaction. When a conversation includes big inline images, the outgoing request can exceed the gateway's body-size limit even after a successful summary. The CLI now trims pre-summary messages for all successful summaries (including manual /compact) and strips media attachments from older turns once a summary exists, so follow-up prompts stay under the gateway limit and the session keeps working.

  • #9450 2032fe4 - Fix a session hang that could occur when multiple Kilo panels showed the same permission prompt, or when a subagent's permission was replied to from the wrong worktree. Replies are now routed to the exact CLI instance that holds the pending permission, and stale/unknown permissions surface a clear error so the UI doesn't leave buttons permanently disabled.

  • #9635 cbe5510 - Rename the published Docker image from ghcr.io/kilo-org/kilo to ghcr.io/kilo-org/kilocode so it lives alongside the active kilocode repo instead of the archived kilo one.

  • #9628 6130a3e - Show paid Kilo models to signed-out users so selecting one prompts them to log in.

  • #9556 eae081a - Prevent Ask and Plan modes, including saved or allow-all approvals, from editing files before an explicit implementation step.

  • #9615 0907c6f - Keep interactive tools available when semantic indexing fails to load.

  • #9603 4145e48 - Improve Windows worktree cleanup reliability when file handles are released slowly.

  • Updated dependencies [28a0eae, 6130a3e]:

    • @kilocode/kilo-indexing@7.1.4
    • @kilocode/kilo-gateway@7.2.27
    • @kilocode/kilo-telemetry@7.2.27

7.2.26

Patch Changes

  • #9549 a5bca01 - Prefer ChatGPT OAuth credentials over inherited OpenAI environment variables and make ChatGPT sign-in easier to find.

  • #9448 73ab363 - Fix session cost display missing subagent costs. The TUI footer, sidebar, web context panel, and ACP usage reports now include the cost of every subagent the session spawned, including nested ones.

  • #9484 dbf1135 - Prompt before agents access files outside the active directory when a workspace boundary resolves to a filesystem root.

7.2.25

Patch Changes

  • #9526 c8113f2 - Fix multi-turn DeepSeek reasoning round-tripping on OpenRouter by bumping @openrouter/ai-sdk-provider to 2.8.1 in both the CLI and Kilo Gateway packages and letting the SDK handle reasoning details, plus pulling in upstream DeepSeek variant, reasoning-effort, and assistant-reasoning fixes. New DeepSeek conversations are fixed; existing sessions that already stored empty reasoning metadata may still need to be restarted.

  • Updated dependencies [c8113f2]:

    • @kilocode/kilo-gateway@7.2.25
    • @kilocode/kilo-telemetry@7.2.25

7.2.23

Minor Changes

  • #9418 12c2d86 - Show the open GitHub PR for the current branch in the session sidebar.

Patch Changes

  • #9470 7fe4508 - Fix multi-turn tool calls with DeepSeek thinking mode by preserving empty reasoning_content in the interleaved transform.

7.2.22

Patch Changes

  • #9455 567ca0d - Fix a 1-2 second startup delay before home content (agents, news, tips) appears in the TUI.

  • #9425 6ee160f - Preserve typed text in the main prompt when a blocking question, suggestion, permission, or network overlay is shown and then dismissed.

7.2.21

Minor Changes

  • #8587 010a946 - The agent now detects and preserves the original text encoding of files when reading and editing them, so non-UTF-8 files are displayed correctly to the model and written back in their original encoding. New files are still created as UTF-8 without BOM — detection only applies when overwriting or editing an existing file.

    Supported: UTF-8 (with or without BOM), UTF-16 with BOM, and common legacy Latin and CJK encodings (Shift_JIS, EUC-JP, GB2312, Big5, EUC-KR, Windows-1251, KOI8-R, ISO-8859, and others).

    Not supported: UTF-16 without BOM, UTF-32.

Patch Changes

  • #9298 8d06a08 - CLI suggestions now render inline in the conversation at the position of the suggest tool call, instead of as a separate bar above the prompt input. The inline bar renders as a single full-width row with a subtle background and clickable action buttons, matching the VS Code extension. Dismissal happens automatically when you send a new prompt. Blocking suggestions still use the above-prompt overlay.

  • #9298 2ba203b - CLI suggestions now render above an active input prompt. You can keep typing and submit a new message while a suggestion is on screen — sending a message auto-dismisses the pending suggestion, matching the VS Code extension behavior. The redundant "Dismiss" row has been removed; click an option to accept, or press Esc to dismiss.

  • #9344 c032fc2 - Fix an infinite "busy" loop that could occur when a model kept reporting context overflow after every compaction. Each turn now caps compactions at three attempts and closes the turn with a visible context-overflow error instead of silently looping forever.

  • #9408 c214d63 - Narrow when the CLI suggests a local code review so it no longer surfaces after PR-comment replies, reactive fixes (CI/lint failures, reported issues), trivial edits, non-implementation work (research, commits, docs), or review-adjacent turns.

7.2.19

Patch Changes

  • Updated dependencies [3b73cf4]:
    • @kilocode/kilo-gateway@7.2.19
    • @kilocode/kilo-telemetry@7.2.19

7.2.18

Patch Changes

  • #9300 0d0dabe - Fix the "Start new session" button on the plan follow-up prompt not switching the VS Code Agent Manager to the new session when handover generation is slow. The new session now opens immediately, shows the plan text right away, stays visibly busy while the handover summary is being prepared, and appends that summary once it finishes generating.

7.2.17

Patch Changes

  • #9276 e6310c5 - Add Alibaba to kiloProviderOptions so thinking is enabled correctly when routing through the Kilo gateway with ai_sdk_provider: "alibaba".

  • #9120 d40fc1c - Make the description parameter of the bash tool optional.

  • #9239 2b17a7b - Fix custom provider model and variant deletions being silently reverted on save. Removing a model or reasoning variant from a custom provider now actually removes it from your config.

  • #9193 f025e34 - Clarify suggest tool guidance so the assistant writes its final summary before offering a local review.

  • #9164 448dba8 - Update @ai-sdk/anthropic to 3.0.71, adding xhigh effort for Opus 4.7 adaptive thinking (3.0.70) and fixing fine-grained tool streaming beta header for Opus 4.7 (3.0.71)

  • #9170 297b988 - Update @ai-sdk/amazon-bedrock to 4.0.96 and @ai-sdk/google-vertex to 4.0.112, both of which include Opus 4.7 support with xhigh adaptive thinking effort

  • Updated dependencies [8b90eec, 448dba8]:

    • @kilocode/kilo-gateway@7.3.0
    • @kilocode/kilo-telemetry@7.2.15

7.2.14

Patch Changes

  • #9118 343455b - Respect per-agent model selections when an agent has a model configured in kilo.jsonc. Switching the model for such an agent now sticks across agent switches and CLI restarts. To pick up a newly edited agent default, re-select the model once (or clear ~/.local/share/kilo/storage/model.json).

  • #9067 959a8b4 - Fix "assistant prefill" errors when a user queues a prompt while the previous turn is still streaming. The queued message no longer lands in the middle of the prior turn's history, so the next request always ends with the user prompt.

  • #9023 5301258 - Support mentioning folders in the prompt with @ references, including top-level folder file contents.

7.2.12

Patch Changes

  • #9068 e65c2d9 Thanks @kilo-code-bot! - Hide Kilo Gateway models that do not support tool calling from the model list.

  • #9069 e60c326 Thanks @kilo-code-bot! - Support adaptive reasoning for Claude Opus 4.7 and expose the xhigh effort level for adaptive Anthropic models

  • Updated dependencies [e65c2d9]:

    • @kilocode/kilo-gateway@7.2.12
    • @kilocode/kilo-telemetry@7.2.12

7.2.11

Patch Changes

  • #8898 4a69a3e - Fixed default model falling back to the free model after login or org switch by invalidating cached provider state when auth changes.

  • #8996 58ff01a Thanks @kilo-code-bot! - Include pnpm-lock.yaml and yarn.lock in the .kilo/.gitignore so lockfiles from alternative package managers don't appear as untracked files

  • 4937759 - Merged upstream opencode changes from v1.3.10:

    • Subagent tool calls stay clickable while pending
    • Improved storage migration reliability
    • Better muted text contrast in Catppuccin themes
  • 4937759 - Merged upstream opencode changes from v1.3.6:

    • Fixed token usage double-counting for Anthropic and Amazon Bedrock providers
    • Fixed variant dialog search filtering
  • 4937759 - Merged upstream opencode changes from v1.3.7:

    • Added first-class PowerShell support on Windows
    • Plugin installs now preserve JSONC comments in configuration files
    • Improved variant modal behavior to be less intrusive
  • #9047 bea8878 - Continue queued follow-up prompts after the active session turn finishes.

  • Updated dependencies [4d2f553]:

    • @kilocode/kilo-gateway@7.2.11
    • @kilocode/kilo-telemetry@7.2.11