Commit Graph

18499 Commits

Author SHA1 Message Date
Josh Lambert 4e96ed8ce9 fix(vscode): use --text-base to match other settings tabs
Swap --text-strong for --text-base so the Auto-Approve tool headers
use the same CSS variable pattern as other settings pages (Providers,
Agent Behaviour, etc.).
2026-04-27 14:30:20 -04:00
Josh Lambert 9186cb440a fix(vscode): make Auto-Approve section titles respect VS Code theme
Replace undefined --text-strong-base CSS variable (which fell back to
literal white) with the actual --text-strong token and a theme-aware
VS Code foreground fallback, so tool headers on the Auto-Approve
settings page stay readable under light themes.

Fixes #8879
2026-04-27 14:30:20 -04:00
Johnny Amancio 11f2e2afbe fix: default edit-tool diff to side-by-side (split) view
Add an explicit initialDiffStyle field to the openDiffVirtual message flow so each caller declares the desired diff style up front while having `unified` diff as default to prevent regressions.
2026-04-27 20:06:53 +02:00
Kirill Kalishev 87a8cdd071 Merge pull request #9481 from Kilo-Org/charmed-saver
Expose Agent Manager capabilities in the sidebar chat
2026-04-27 14:06:51 -04:00
kirillk e22d79b96e test(vscode): fix provider wiring architecture test 2026-04-27 13:57:52 -04:00
Mark IJbema f380f5d36b Merge pull request #9575 from Kilo-Org/session/agent_2642ef3e-70fd-4b3a-b82b-fab4dca6f519
fix(vscode): persist autocomplete model switch back to Codestral
2026-04-27 19:55:15 +02:00
kirillk ce8d7adef3 fix(vscode): wire tab worktree actions 2026-04-27 13:46:38 -04:00
Mark IJbema 078a5592d7 fix(vscode): fall back to codestral for empty or invalid autocomplete model
Route the autocomplete model setting through getAutocompleteModel() in
settings.ts, AutocompleteServiceManager, and ChatTextAreaAutocomplete so
that missing, empty, or removed model IDs all resolve to codestral
instead of being passed through to the FIM call.
2026-04-27 19:42:16 +02:00
kiloconnect[bot] 5b26cfe5fa refactor(vscode): remove default autocomplete model from package.json
Remove the hardcoded default value for `kilo-code.new.autocomplete.model` in package.json to prevent VS Code from stripping user overrides that match the schema default. Update corresponding unit tests to verify that no default is declared.
2026-04-27 17:09:38 +00:00
Kirill Kalishev b6ee1e4712 Merge branch 'main' into charmed-saver 2026-04-27 13:03:38 -04:00
kirillk a76ab95103 fix(vscode): improve chat toolbar changes button 2026-04-27 12:57:47 -04:00
kilo-maintainer[bot] 5bc384fc83 chore: update nix node_modules hashes 2026-04-27 15:56:54 +00:00
Josh Holmer f74d54c431 feat: implement codebase indexing (#6966)
* feat(core): implement codebase indexing

* feat(core): gate indexing behind experimental flag

* fix: improvements to slow provider startups and indexing init blocking the world

* test(cli): stabilize indexing startup tests

* test(cli): avoid indexing startup hang

* test(cli): avoid CI startup leaks

* test(cli): annotate provider test change

* fix(indexing): tighten dependency surface

* refactor(cli): move indexing logic into kilocode paths

* test(cli): skip flaky shell cancel prompt cases

* fix(cli): tolerate slow Windows worktree cleanup

* fix(vscode): authenticate indexing status fetch

---------

Co-authored-by: Marius <marius@kilocode.ai>
2026-04-27 17:43:27 +02:00
Kirill Kalishev 040e2c5dbb Merge branch 'main' into charmed-saver 2026-04-27 10:32:03 -04:00
Mark IJbema 1ec3885099 Merge pull request #9567 from Kilo-Org/fix/rerere-training-grep-case-sensitivity
fix: broaden rerere training grep to cover historical merge messages
2026-04-27 16:10:09 +02:00
kiloconnect[bot] 18a1f289ff fix: include lowercase 'resolve merge conflicts' in rerere training grep
The training grep only matched uppercase 'Resolve merge conflict', missing the
lowercase convention used by most historical upstream merges. This dropped ~70
past merges from the rerere training set on kilocode, leaving the cache mostly
empty and causing rerere to miss resolutions that involve the opencode -> kilo
rename.
2026-04-27 13:59:58 +00:00
Johnny Amancio e3476be3bb feat: Add diff view for edit tool 2026-04-27 14:52:29 +02:00
Kirill Kalishev 1eaf60feb1 Merge branch 'main' into charmed-saver 2026-04-27 08:44:14 -04:00
kilo-maintainer[bot] 83b153d6bb release: v7.2.26 v7.2.26 2026-04-27 11:55:25 +00:00
Mark IJbema 94f9ddbfeb Merge pull request #9427 from Kilo-Org/docs/autocomplete-mercury-model
docs: document Mercury Edit autocomplete model (BYOK only)
2026-04-27 13:46:10 +02:00
kilo-maintainer[bot] 50c4a179fd chore: update nix node_modules hashes 2026-04-27 11:45:28 +00:00
Imanol Maiztegui 566b4507c8 Merge pull request #9477 from Kilo-Org/imanolmaiztegui/kilo-opencode-v1.14.22
OpenCode v1.14.22
2026-04-27 13:25:56 +02:00
Imanol Maiztegui 4de3298777 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.14.22 2026-04-27 13:19:20 +02:00
Imanol Maiztegui 93044b183b test(session): add explicit variant field to subtask cost propagation test
Include `variant: undefined` in metadata objects to match the expected
shape returned by the provider, ensuring the assertion compares all
fields accurately.
2026-04-27 13:17:40 +02:00
Imanol Maiztegui 76b53c6403 fix(opencode): resolve merge conflict in session prompt test
Remove conflict markers left from rebasing the subtask cost
propagation test, keeping the version without the extra `variant`
field.
2026-04-27 13:16:32 +02:00
Imanol Maiztegui 4267cd319b test(session): add test for handleSubtask propagating child session cost to wrapper
Verify that when a subtask completes, the child session's assistant
cost is correctly propagated to the parent wrapper message. This
covers the cost aggregation path in handleSubtask for subagent
interactions.
2026-04-27 13:15:27 +02:00
hdcode.dev 438316b09a fix(cli): stop hardcoding opencode in kilo pr (#6824)
* fix(cli): stop hardcoding opencode in kilo pr

* fix(cli): stop hardcoding opencode in kilo pr

* fix pr command cli resolution for subcommand args
2026-04-27 13:14:47 +02:00
Scuttle Bot f7bea4f520 docs: add @git-changes to VS Code context mentions (#9505)
* docs: add @git-changes mention to VS Code context mentions page

* Apply suggestion from @kilo-code-bot[bot]

Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: scuttlebot <scuttlebot@olearycrew.com>
Co-authored-by: Marius <marius@kilocode.ai>
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
2026-04-27 13:14:47 +02:00
Alex Alecu 2704656e39 refactor(cli): simplify stats cost 2026-04-27 13:14:10 +02:00
Alex Alecu 12e92fa247 chore(cli): mark stats cost line 2026-04-27 13:14:10 +02:00
Alex Alecu 9e419b3e86 fix(cli): count subagent stats 2026-04-27 13:14:10 +02:00
Alex Alecu 2a94a0cc11 fix(cli): ignore deleted cost sync 2026-04-27 13:14:10 +02:00
Alex Alecu af0227b1ab fix(cli): exclude subagent sessions from stats aggregate
The task tool propagates each child session's total cost into the parent's tool-wrapper assistant message. Counting both root and child sessions in `kilo stats` would double-count that contribution. Filter `getAllSessions()` to root sessions (parent_id IS NULL), matching how the TUI session list and web sidebar already treat child sessions.
2026-04-27 13:14:10 +02:00
Alex Alecu d9bed85e78 fix(cli): sync processor cost after subagent propagation
finish-step and cleanup previously re-wrote the parent assistant message with a stale in-memory cost, clobbering the subagent cost written by task.ts during tool execution. Refresh from DB before each write so the propagated cost is preserved across steps. Verified live via side-by-side `kilo serve` vs dev `bun serve` with 2 parallel subagents; parent now shows own LLM + children, matching real spend.
2026-04-27 13:14:10 +02:00
Alex Alecu f57479c657 fix(cli): serialize concurrent subagent cost propagation 2026-04-27 13:14:10 +02:00
Alex Alecu aaaa191b76 fix(cli): include subagent costs in session total (#6321)
When a session spawned subagents via the task tool, the displayed cost reflected only the parent's own LLM steps. Propagate each subagent's total up to the invoking assistant message so every UI sums the full tree.
2026-04-27 13:14:10 +02:00
hdcode.dev baf4bae91c fix(cli): stop hardcoding opencode in kilo pr (#6824)
* fix(cli): stop hardcoding opencode in kilo pr

* fix(cli): stop hardcoding opencode in kilo pr

* fix pr command cli resolution for subcommand args
2026-04-27 12:57:30 +02:00
kiloconnect[bot] 2d8fd28fd1 docs: clarify Mercury Edit BYOK is temporary 2026-04-27 10:44:06 +00:00
Mark IJbema a38393af9c Merge branch 'main' into docs/autocomplete-mercury-model 2026-04-27 12:42:15 +02:00
Scuttle Bot 87d1d96487 docs: add @git-changes to VS Code context mentions (#9505)
* docs: add @git-changes mention to VS Code context mentions page

* Apply suggestion from @kilo-code-bot[bot]

Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>

---------

Co-authored-by: scuttlebot <scuttlebot@olearycrew.com>
Co-authored-by: Marius <marius@kilocode.ai>
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
2026-04-27 10:41:43 +00:00
Marian Alexandru Alecu 5be897cec3 Merge pull request #9448 from Kilo-Org/fix/costs-of-subagents
fix(cli): include subagent costs in session total
2026-04-27 13:30:17 +03:00
Imanol Maiztegui 6d5f686b8d Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.14.22 2026-04-27 12:30:06 +02:00
Marius b344ac97c6 fix(vscode): restore disabled provider management (#9551)
* fix(vscode): restore disabled provider management

* fix(vscode): allow disabling Kilo Gateway

* fixup! fix(vscode): allow disabling Kilo Gateway

* fixup! fixup! fix(vscode): allow disabling Kilo Gateway

* chore: update kilo-vscode visual regression baselines

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-27 12:22:43 +02:00
Mark IJbema fc9cf245a5 Merge pull request #9310 from Kilo-Org/mark/mercury-autocomplete-integration
feat(autocomplete): add Mercury Edit by Inception as selectable autocomplete model
2026-04-27 12:18:20 +02:00
Alex Alecu e101781bfc Merge branch 'fix/costs-of-subagents' of https://github.com/Kilo-Org/kilocode into fix/costs-of-subagents 2026-04-27 13:11:54 +03:00
Alex Alecu 16abe9679f chore(cli): fix type error after main merge
Add missing 'variant' property to task tool metadata in prompt-effect test, required after upstream added model variant support to the task tool's ExecuteResult type.
2026-04-27 13:11:31 +03:00
Mark IJbema 60e8aafe80 Merge pull request #9552 from Kilo-Org/mark/9527-clear-agent-model-override
fix(vscode): allow clearing agent model override
2026-04-27 12:10:31 +02:00
Imanol Maiztegui b938e7d042 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.14.22 2026-04-27 12:05:36 +02:00
Alex Alecu 67993d094e Merge remote-tracking branch 'origin/main' into fix/costs-of-subagents 2026-04-27 13:03:15 +03:00
Marius c5614cc54e feat(vscode): open config files from settings (#9548)
* feat(vscode): open config files from settings

* fix(vscode): localize config file picker

* chore(kilo-docs): update source links

* fix(vscode): reuse settings translations for config picker

* chore: update kilo-vscode visual regression baselines

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-27 10:00:14 +00:00