Commit Graph

15468 Commits

Author SHA1 Message Date
kiloconnect[bot] 06cd80d1bd chore: enforce minimal markdown table formatting
Prettier pads markdown table cells for column alignment, which turns any
content change into a table-wide realignment diff. Markdown was only in
prettierignore for packages/kilo-vscode/; the root formatter still
repadded docs elsewhere (e.g. TESTING.md, kilo-docs, AGENTS.md).

Adds *.md to the root .prettierignore, documents the convention in
AGENTS.md, and adds script/check-md-table-padding.ts + a workflow to
enforce it. Existing padded tables in Kilo-owned docs have been
rewritten via the script's --fix mode.
2026-04-28 07:45:49 +00:00
Marian Alexandru Alecu 5bd891cea0 Merge branch 'main' into feat/cli-local-run 2026-04-28 10:07:32 +03: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
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
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
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
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 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
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
Marian Alexandru Alecu 99ffef184a Merge branch 'main' into feat/cli-local-run 2026-04-27 13:46:23 +03: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
Marian Alexandru Alecu 6b31ddd168 Merge branch 'main' into feat/cli-local-run 2026-04-27 13:29:37 +03: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
Alex Alecu 41e63f6d68 chore: fix annotation markers after main merge 2026-04-27 13:21:47 +03: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 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