Commit Graph

18533 Commits

Author SHA1 Message Date
Marian Alexandru Alecu b1713a653a Merge pull request #9600 from Kilo-Org/fix/provider-plugin-ci-upstream-24416
test(cli): port upstream provider plugin fixture
2026-04-28 11:05:31 +03:00
Alex Alecu 7d9a4f3316 test(cli): adapt upstream plugin fixture for Kilo 2026-04-28 10:50:36 +03:00
Kit Langton fb9dc874d5 test(provider): avoid plugin dependency install timeout
(cherry picked from commit 179e540ccb556fc48934a5a34bbd0920c8af87b4)
2026-04-28 10:50:32 +03:00
Marian Alexandru Alecu c3ad40b3bb Merge pull request #9409 from Kilo-Org/feat/cli-local-run
feat(cli): add kilodev launcher + dev-alias helper
2026-04-28 10:18:24 +03:00
Marian Alexandru Alecu 5bd891cea0 Merge branch 'main' into feat/cli-local-run 2026-04-28 10:07:32 +03:00
Joshua Lambert 64e18abc57 Merge pull request #9435 from Kilo-Org/flint-zenith
fix(vscode): make Auto-Approve section titles respect VS Code theme
2026-04-27 19:27:08 -04:00
Joshua Lambert dda7ec8a6e Merge branch 'main' into flint-zenith 2026-04-27 19:19:25 -04:00
Joshua Lambert f0bdc5a8e8 Merge pull request #9531 from Kilo-Org/docs/custom-model-modalities
docs: document custom model modalities
2026-04-27 15:42:18 -04:00
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
Joshua Lambert f57e2e91f9 Merge branch 'main' into docs/custom-model-modalities 2026-04-27 12:03:45 -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
Joshua Lambert 7fc0d9f1fa Merge branch 'main' into docs/custom-model-modalities 2026-04-27 11:29:47 -04:00
Josh Lambert 552706bece docs: clarify modalities is optional but requires input/output when specified 2026-04-27 11:28:45 -04:00
Alex Alecu ff9e2810a5 fix(cli): run dev setup via bun 2026-04-27 17:43:42 +03:00
Kirill Kalishev 040e2c5dbb Merge branch 'main' into charmed-saver 2026-04-27 10:32:03 -04:00
Josh Lambert 13df76ac06 docs: clarify required modalities fields 2026-04-27 10:26:56 -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
Alex Alecu 034f4d4e8d Merge remote-tracking branch 'origin/main' into feat/cli-local-run
# Conflicts:
#	package.json
2026-04-27 15:08:21 +03: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
Alex Alecu d17d4cae88 docs(kilo-docs): restore list tool docs 2026-04-27 14:45:52 +03: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