25105 Commits
Author SHA1 Message Date
kilo-maintainer[bot] 2464bfe475 release: v7.4.3 v7.4.3 2026-07-09 11:55:41 +00:00
Marius 3043c4e448 Merge pull request #12067 from Kilo-Org/mesquite-reward
feat(cli): prune large bash outputs with SWE-Pruner
2026-07-09 13:43:01 +02:00
marius-kilocode e55ded1941 fix(cli): clarify SWE-Pruner usage guidance 2026-07-09 13:02:33 +02:00
marius-kilocode 2aba150983 refactor(cli): generalize SWE-Pruner focus guidance 2026-07-09 12:59:04 +02:00
marius-kilocode ed36326b1f feat(cli): prune large bash outputs with SWE-Pruner 2026-07-09 12:26:37 +02:00
Marius 833d78b99c Merge pull request #12054 from Kilo-Org/fix/prompt-active-run-test-timeout
test(cli): stabilize active-run prompt test
2026-07-09 11:41:20 +02:00
Evgeny Shurakovandkiloconnect[bot] 047364eb3c feat: add dev:local script to run CLI against local cloud dev server (#12055)
* feat: add dev:local script to run CLI against local cloud dev server

* fix(cli): validate --cloud flag has a value in dev-local.ts

---------

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-07-09 11:00:01 +02:00
Marius 61d90f166a fix(cli): exclude scoped instructions from SWE-Pruner (#12052)
* fix(cli): preserve scoped instructions during pruning

* test(cli): cover CRLF scoped instructions
2026-07-09 10:50:05 +02:00
Marius 78ac5ffc91 Merge pull request #12045 from Kilo-Org/investigate-darwin-test-failures
test(cli): stabilize process-heavy integration tests
2026-07-09 10:49:23 +02:00
Marius e56f0f3a7f Merge pull request #12046 from Kilo-Org/stabilize-bun-setup-on-windows
fix(ci): retry flaky Windows Bun installs
2026-07-09 10:49:05 +02:00
kilo-maintainer[bot] 6509c66b4b release: v7.4.2 v7.4.2 2026-07-08 20:39:16 +00:00
marius-kilocode b33e28ceb2 test(cli): stabilize active-run prompt test 2026-07-08 21:25:28 +02:00
Kirill Kalishev 7e7455982e Merge pull request #12044 from Kilo-Org/investigate-jetbrains-test-flakiness
fix(jetbrains): stabilize workspace reload state
2026-07-08 14:48:14 -04:00
Josh Holmer 22b9f7fd93 fix(indexing): respect nested ignore files during codebase indexing (#12042) 2026-07-08 19:15:20 +02:00
Marius d5c75b7da9 Merge pull request #12043 from Kilo-Org/fix/10361-dismissed-question-visibility-vr2
fix: show dismissed question content in chat history
2026-07-08 18:25:45 +02:00
marius-kilocode 9348309780 fix(ci): retry flaky Windows Bun installs 2026-07-08 18:23:19 +02:00
marius-kilocode 57e2734071 test(cli): stabilize process-heavy integration tests 2026-07-08 18:22:48 +02:00
Johnny Eric Amancio 0bac434f3c fix(memory): drop filename allowlist from diff durability check (#12041)
* fix(memory): drop filename allowlist from diff durability check

hasDurableDiff mixed two signals in one bit: did the turn do real work,
and should it skip the consolidation throttle. The allowlist deciding
both was filename and extension based, so small edits outside the listed
patterns could be dropped as echo or trivial.

Split it: hasUserEdit (any non-generated file change) now gates echo and
trivial, hasSubstantialDiff (20+ lines churn, any language) decides the
throttle bypass. The filename allowlist and its English word list are
gone.

* refactor(memory): keep single-word name for generated regex
2026-07-08 18:20:52 +02:00
Marius 885a994106 fix(agent-manager): defer automatic branch naming until intent is clear (#12002)
* fix(agent-manager): defer automatic branch naming until intent is clear

Agent Manager auto branch naming (PR #11741) renamed the placeholder
branch on the first user message, so a read-only question like "check if
issue #11903 was fixed?" locked the branch to investigate-issue-11903
immediately. Renaming is one-shot, so a later pivot to actually fixing the
issue could not recover the branch name.

Defer naming until there is evidence of a durable workstream:
- The first user message never triggers a rename via the send path;
  prompts 2-4 may, and after four prompts without a rename the worktree
  disarms permanently (fixing an unbounded-retry bug where null responses
  re-fired an LLM call on every message forever).
- A new idle trigger renames once when the armed session goes idle and the
  worktree already has work (dirty files or commits ahead of base), so a
  single detailed first prompt that produces edits still gets named without
  naming on message 1.
- The rename itself only runs while the session is idle: names generated
  while the agent is busy are held and applied on the next idle transition
  with all guards re-checked, removing mid-turn name-capture races.

Also tighten the CLI branch-name prompt to return null for read-only
status/verification questions as a second layer behind the structural
gates.

* fix(agent-manager): address review on branch naming

- generateOnIdle now checks the auto-naming setting before dispatching,
  matching prompt(), so a setting toggled off after arming disarms without
  a wasted LLM roundtrip.
- prompt() also suppresses dispatch while a rename is pending, closing the
  redundant-generation window the busy path left open; the generate comment
  now accurately describes both the immediate and pending rename paths.
- Expose forget(worktreeId) and call it from both worktree-removal handlers
  so the controller's pending/model/idleAttempted entries are reclaimed when
  a worktree is deleted mid-flight.
- hasWork logs the rev-list error instead of silently swallowing it, while
  still failing safe to false (placeholder name kept).
- Reword the CLI prompt's null condition to a clear "only ask a question and
  do not describe work to perform", dropping the vague temporal clause.

* fix(agent-manager): clean busySessions in forget and call before worktree removal
2026-07-08 18:08:58 +02:00
Marius 81c7bd18ee Merge branch 'main' into fix/10361-dismissed-question-visibility-vr2 2026-07-08 18:05:56 +02:00
V Keerthi Vikram dfa712d989 feat: add AI image generation tool (#11826)
* feat: add AI image generation tool

Port the legacy generate_image tool to the opencode-based CLI as a
Kilo-owned tool gated by experimental.image_generation config flag.

- New generate_image tool with prompt/path/image/model params
- Routes through Kilo Gateway (zero-config) or BYO OpenRouter key
- Supports text-to-image generation and image editing
- Dynamic model discovery via GET /kilo/models/images endpoint
- VS Code settings toggle + live model dropdown in Experimental tab
- Writes image to disk and returns inline FilePart attachment
- Fallback model catalog for offline resilience

* refactor: change default image model to openrouter/auto

* fix: address bot review feedback

- Remove unused fetchKiloImageModels import in tool
- Normalize jpg→jpeg MIME in parser, input image, and attachment
- Replace mismatched extensions in ensureExtension (not just append)
- Add assertExternalDirectoryEffect for output path traversal guard
- Map unauthorized errors to 401 (not 400) in image models handler
- Keep last known model list on fetch failure (don't overwrite with empty)
- Fix tool description (remove false web search claim, fix grammar)
- Remove duplicated provider resolver tests

* fix: add retry for image models request to handle backend startup race

* fix(image-generation): address kilo bot review comments

- ensureExtension replaces mismatched image extensions instead of
  appending (photo.jpg + PNG -> photo.png, not photo.jpg.png)
- Gateway /models/images normalizes errors to 400/401 matching every
  other gateway route (was leaking undeclared upstream statuses)
- Add 401 response to openapi.json + SDK types for /kilo/models/images
  to match the gateway's errors(400, 401) declaration

* fix(gateway): align /models/images error handling with other gateway routes

* refactor: switch image generation to effect HttpClient

* test: cover kilo models images endpoint in httpapi exercise scenarios

* Exclude POST-only and parameterized API endpoints from link checker

* Add ImageModelsProvider to agent manager context tree

* chore(deps): bump @openrouter/ai-sdk-provider to 2.10.0

Switches imageModel() to OpenRouter's POST /api/v1/images endpoint for
proper image usage/billing and image-specific params.

* fix: address image generation PR review feedback

- revert @openrouter/ai-sdk-provider 2.9.0->2.10.0 bump (image tool uses raw HTTP, not the SDK)
- translate image generation settings strings across all locales
- use central KILO_OPENROUTER_BASE instead of hardcoded URL fallback
- remove completed plan file

* chore: refresh source-links.md after URL refactor
2026-07-08 18:01:01 +02:00
kirillk 71b2c3a5d8 fix(jetbrains): stabilize workspace reload state 2026-07-08 11:11:02 -04:00
github-actions[bot] bdb71652d5 chore: update kilo-vscode visual regression baselines 2026-07-08 14:52:13 +00:00
Thomas Brugman 8ff2a163af fix: show dismissed question content in chat history (#10361) 2026-07-08 16:46:46 +02:00
Christiaan Arnoldus b27c1dd832 Merge pull request #11825 from jackson-zhou/fix/11709-custom-model-input-modalities
fix(vscode): expose custom model image modality
2026-07-08 16:21:10 +02:00
Kirill Kalishev 2b8d19617d Merge pull request #12023 from Kilo-Org/docs/jetbrains-installation-docs
docs(jetbrains): update plugin installation docs
2026-07-08 09:45:46 -04:00
Drilmoandmarius-kilocode adcbe0f373 feat(opencode): experimental SWE-Pruner for task-aware tool output pruning (#11980)
* feat(opencode): experimental SWE-Pruner for task-aware tool output pruning

Adds an experimental.swe_pruner config flag (default off). When enabled,
the read and grep tools advertise an optional context_focus_question
parameter; when the agent provides it, large outputs are skimmed by the
small model down to the lines relevant to the question, with omitted
sections marked inline. Failures fall back to the full output.

Based on SWE-Pruner (arXiv:2601.16746).

* chore: regenerate source-links for swe-pruner arxiv reference

* fix(opencode): address swe-pruner review suggestions

Harden the skimmer instruction against prompt injection from untrusted
tool output, and document that pruning runs before the tool.execute.after
hook so plugins observe the model-facing output.

* feat(ui): surface SWE-Pruner activity on read/grep tool rows

The read renderer hides tool output entirely, so pruning was invisible in
the webview even though the model received the pruned output. Show a
'SWE-Pruner · kept/total' row driven by the swePruner tool metadata.

* chore: retrigger CI (flaky windows/jetbrains tests, review service delivery error)

* feat(opencode): configurable SWE-Pruner skimming model

Adds experimental.swe_pruner_model (provider/model format) with a model
selector in the VS Code Experimental tab, shown when SWE-Pruner is
enabled. Falls back to the configured small model when unset or when the
configured model is unavailable.

* fix(ui): localize the SWE-Pruner pruning indicator

Replace the hardcoded label with a ui.tool.swePruned i18n key
(interpolated kept/total) added to all 20 shared UI locales.

* chore: retrigger CI (windows bun install network timeout on tree-sitter-powershell)

---------

Co-authored-by: marius-kilocode <marius@kilocode.ai>
2026-07-08 13:44:57 +00:00
Christiaan Arnoldus d13ca70435 Merge branch 'main' into fix/11709-custom-model-input-modalities 2026-07-08 14:47:09 +02:00
Mark IJbema 86498df2a7 Merge pull request #11631 from Kilo-Org/mark/multilingual-notebook-autocomplete
feat(vscode): support multilingual notebook autocomplete
2026-07-08 14:05:59 +02:00
Mark IJbema 5c96360202 Merge pull request #12034 from Kilo-Org/mark/warn-leftover-opencode-config
feat(opencode): warn users about leftover opencode configuration
2026-07-08 13:51:50 +02:00
Mark IJbema 1d6a3c4837 Merge pull request #11409 from Kilo-Org/ci/test-cache-ab
ci: reduce test workflow setup time
2026-07-08 13:40:46 +02:00
markijbemaandkiloconnect[bot] 98bf848027 docs(cli): link opencode config notice to client-neutral settings page
Point the notification at getting-started/settings instead of the CLI
platform page, and add the opencode migration callout there so the
neutral page is self-contained for VS Code and JetBrains users too.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-07-08 11:33:36 +00:00
markijbemaandkiloconnect[bot] d3b8ae6ec5 refactor(cli): surface opencode config notice via dismissible notifications
Move the leftover-.opencode-directory detection off the always-on config
warning and into the cloud notifications list (client.kilo.notifications),
so it flows through each client's per-id dismissal: dismiss it once and it
won't return unless the directory is still present.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-07-08 11:12:03 +00:00
Mark IJbema 0734e3d75a chore(vscode): add notebook autocomplete changeset 2026-07-08 12:47:25 +02:00
Marius e4ae1c75ce fix(vscode): fit settings sidebar to localized section labels (#12032)
The settings sidebar used a fixed 150px width that clipped long
localized labels (e.g. German 'Automatisch genehmigen',
'Autovervollständigung'). The Kilo override intended to set 180px
but was dead: it lacked the [data-orientation=vertical] qualifier the
upstream rule has, so the upstream 150px won on specificity.

Match the upstream selector specificity and switch to content-driven
sizing (width: auto, min-width: 180px) so the list grows to fit the
longest translated label instead of truncating it.
2026-07-08 10:21:23 +00:00
Marius 9fc1a1d94c fix(cli): return a typed 422 for commit-message with no changes (#12033)
A plain Error thrown when no changes are found became an untyped
defect through EffectBridge.fromPromise, which the error middleware
masked as a generic 500 "Unexpected server error". Declare a
CommitMessageNoChangesError (Schema.ErrorClass, httpApiStatus 422)
on the endpoint and translate the domain NoChangesError defect into
that typed failure, so the real message surfaces. The extension now
shows it directly instead of prepending a redundant prefix.
2026-07-08 12:08:37 +02:00
markijbemaandkiloconnect[bot] 64c9b7e42f feat(opencode): warn users about leftover opencode configuration
Kilo no longer falls back to opencode configuration stored in `.opencode`
directories. This change adds detection for both global and project-level
opencode configuration directories and issues a warning to guide users
on how to migrate their settings to the new Kilo configuration paths.

- Implement `KilocodeConfig.detectOpencodeConfig` to identify legacy
  config locations.
- Add warning messages to the CLI configuration loading process.
- Update documentation to include migration instructions.
- Add tests to verify detection of global and project-level opencode
  configs.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-07-08 09:36:45 +00:00
IOLOIIandmarius-kilocode eefd891c62 feat(commit-message): Generate commit messages in the user's selected UI language instead of always using English. (#11994)
* feat(commit-message): add language parameter to commit message generation

Add support for generating commit messages in the user's selected UI language.
The language parameter flows through the entire stack: VSCode extension passes
the selected locale, the HTTP API accepts the new field, and the generation
service appends language instructions to the system prompt for non-English
locales.

- Update CommitMessageRequest types to include optional language field
- Modify VSCode service to pass selected locale to the API
- Append language requirements to system prompt when language is not English
- Update OpenAPI specification and regenerate SDK types
- Add test coverage for language instruction generation

* feat(commit-message): add configurable language setting for AI-generated commit messages

Add a new `kilo-code.new.languageCommitMessage` VS Code setting that allows
users to choose a specific language for AI-generated commit messages,
independent of the UI language. When set to "sync" (default), the commit
message language follows the Kilo Code UI language.

- Add language selector dropdown to CommitMessageTab settings UI
- Add getCommitMessageLanguage() helper in i18n service
- Pass languageCommitMessage setting through KiloProvider to webview
- Add translation strings for all 20 supported locales

* refactor(locale): standardize commit message terminology across locale files

Replace literal translations of "commit" with the loanword form in Brazilian
Portuguese and Spanish locale dictionaries, correct a Korean typo (커AI → 커밋),
translate an untranslated English label in Norwegian, and align terminology with
conventional usage across all four affected language packs.

* style(i18n): fix prettier formatting on commit-message language strings

---------

Co-authored-by: marius-kilocode <marius@kilocode.ai>
2026-07-08 08:30:07 +00:00
sylwester-liljegrenandSylwester Liljegren 2d724f158b feat(vscode): jump transcript to message on timeline bar click (#12025)
* feat(vscode): jump transcript to message on timeline bar click

* fix(vscode): jump to the exact chunk containing the clicked timeline part

---------

Co-authored-by: Sylwester Liljegren <sylwester.liljegren@softronic.se>
2026-07-08 09:35:55 +02:00
kirillk b9f107faa8 docs(jetbrains): move EAP anchor to EAP section 2026-07-07 17:51:01 -04:00
kirillk c8fe63f267 docs(jetbrains): preserve EAP migration anchor 2026-07-07 17:48:56 -04:00
kirillk ec886bfed8 docs(jetbrains): remove edition note 2026-07-07 17:45:25 -04:00
kirillk 29d53d6b69 docs(jetbrains): update plugin installation docs 2026-07-07 17:43:28 -04:00
Kirill Kalishev 9845c67af6 Merge pull request #12020 from Kilo-Org/jetbrains/release/v7.0.2
release(jetbrains): v7.0.2
2026-07-07 16:28:24 -04:00
Kirill Kalishev 93661886ee docs(jetbrains): edit changelog for v7.0.2 2026-07-07 16:18:36 -04:00
kilo-maintainer[bot] ed729b23f0 release(jetbrains): v7.0.2 2026-07-07 20:11:29 +00:00
Mohammad Javad Naderi 4dc994d93b fix(vscode): support agent manager prompt bidi (#12015) jetbrains/v7.0.2 2026-07-07 21:51:33 +02:00
Emilie Lima Schario 03da79f283 Merge pull request #11988 from Kilo-Org/docs-improve-onboarding-flow
docs(kilo-docs): improve onboarding flow
2026-07-07 15:35:39 -04:00
Emilie Lima Schario ab8a839cca Merge branch 'main' into docs-improve-onboarding-flow 2026-07-07 15:34:14 -04:00
Kirill Kalishev a58783aa17 Merge pull request #12018 from Kilo-Org/jetbrains/release/v7.0.2-rc.2
release(jetbrains): v7.0.2-rc.2
2026-07-07 15:25:35 -04:00