Commit Graph
15219 Commits
Author SHA1 Message Date
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
Alex Alecu 67993d094e Merge remote-tracking branch 'origin/main' into fix/costs-of-subagents 2026-04-27 13:03:15 +03:00
Mariusandgithub-actions[bot] 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
Mark IJbema dddc92a01a Merge pull request #9426 from Kilo-Org/fix/statusbar-kilo-logo
fix(vscode): add Kilo logo icon to status bar
2026-04-27 11:25:01 +02:00
Marius a5bca011a1 Allow ChatGPT login over OpenAI provider config (#9549)
* fix: allow ChatGPT login over OpenAI provider config

Let users with inherited or globally configured OpenAI API keys sign in with ChatGPT for Codex without first removing their existing provider setup.

* fix: satisfy provider login ci checks

Annotate Kilo-specific shared CLI changes and apply webview formatting so the existing ChatGPT login flow passes CI.
2026-04-27 11:17:04 +02:00
Marius dbf113524e fix(cli): guard external directory boundaries (#9484)
* fix(cli): guard external directory boundaries

* test(cli): move boundary regressions to kilocode tests

* fix(cli): scope root guard to permission prompts

* test(cli): isolate boundary regression fixtures

* test(cli): simplify boundary regression coverage
2026-04-27 11:15:57 +02:00
kilo-maintainer[bot] 6965d56918 release: v7.2.25 2026-04-27 08:58:51 +00:00
Marian Alexandru Alecu a2b72044e0 Merge branch 'main' into fix/queued-messages-test 2026-04-27 11:48:19 +03:00
Imanol Maiztegui 2d3827996e Merge pull request #9284 from Kilo-Org/docs/plugins
docs(kilo-docs): add plugins documentation page
2026-04-27 10:11:16 +02:00
Imanol Maiztegui bd92a02300 Merge branch 'main' into docs/plugins 2026-04-27 09:58:19 +02:00
Imanol Maiztegui 94f47d452e Merge branch 'main' into fix/openrouter-deepseek-reasoning 2026-04-27 09:54:31 +02:00
kiloconnect[bot] f631338576 chore(cli): add kilocode_change markers to ported shell cwd fix 2026-04-27 07:38:01 +00:00
kiloconnect[bot] e8c13e0ee8 fix(cli): preserve shell cwd after login startup 2026-04-27 07:31:57 +00:00
Alex Alecu 778c5a84e0 test(cli): guard queued prompt request tail (#9492)
Strengthen the Kilo queue integration test to capture each LLM
request body and assert the second request ends with the queued
user message, not a prior-turn assistant tail. Update the skipped
upstream prompt-effect active-run test comment to reference #9492
and point at the Kilo-specific authoritative coverage.
2026-04-27 10:22:03 +03:00
Alex Alecu 1eaf409143 refactor(cli): simplify stats cost 2026-04-27 10:21:36 +03:00
Josh Lambert 604f44854a fix(gateway): use updated OpenRouter SDK for DeepSeek reasoning 2026-04-26 20:04:03 -04:00
Josh Lambert 55ddf87040 Revert "fix(cli): also skip interleaved reasoning transform for @kilocode/kilo-gateway"
This reverts commit 1dd436d61a.
2026-04-26 19:55:56 -04:00
Josh Lambert 1dd436d61a fix(cli): also skip interleaved reasoning transform for @kilocode/kilo-gateway
The gateway wraps @openrouter/ai-sdk-provider internally, so the same
openrouter SDK-side reasoning handling applies. Without this, users
routing through api.kilo.ai still see DeepSeek 400 'reasoning_content
must be passed back' errors.
2026-04-26 11:29:26 -04:00
Josh Lambert a1557d1a1f chore: annotate cherry-picked upstream changes with kilocode_change markers 2026-04-26 11:09:07 -04:00
Aiden Cline c884cea5ba fix: ensure openrouter behaves correctly 2026-04-26 10:55:41 -04:00
Aiden Cline be25acb17a fix: bump openrouter sdk version to resolve deepseek reasoning issue (bug was in sdk pkg) 2026-04-26 10:55:36 -04:00
Aiden Cline f724b8f3af fix: ensure assistant messages always have reasoning on them for deepseek (#24180) 2026-04-26 10:54:59 -04:00
Aiden Cline 3d219b5ff0 fix: support max for deepseek (#24163) 2026-04-26 10:54:54 -04:00
Aiden Cline 67de590e71 fix: deepseek variants (#24157) 2026-04-26 10:54:48 -04:00
Joshua Lambert ef9b09cd90 Merge branch 'main' into docs/plugins 2026-04-25 17:04:28 -04:00
kilo-maintainer[bot] f6be4ee44e release: v7.2.24 2026-04-25 17:45:18 +00:00
Josh Lambert 50f35690d9 docs(kilo-docs): correct kilo plugin config file paths
The command writes to .opencode/opencode.jsonc and .opencode/tui.jsonc
(or ~/.config/kilo/* for --global), not kilo.json. See #9503 for the
underlying bug — when fixed, this doc must be updated in the same PR.
2026-04-25 13:26:18 -04:00
Josh Lambert fcfaec28ed docs(kilo-docs): inline plugin availability note into intro 2026-04-25 13:17:45 -04:00
Josh Lambert 0472e8555f docs(kilo-docs): drop kilo serve reference from plugins page
Address review feedback: refer to plugin availability in terms of the
CLI and VS Code extension instead of the kilo serve internals.
2026-04-25 13:10:34 -04:00
kilo-maintainer[bot] 30867df079 release: v7.2.23 2026-04-24 21:00:20 +00:00
Josh Holmer a356f3a923 fix(cli): respect configured model for subagents (#7549)
* fix(cli): respect configured model for subagents

* fix(cli): also respect configured variant for subagents
2026-04-24 21:44:08 +02:00
Joshua Lambert e7ded1a59a Merge pull request #9288 from singhvishalkr/docs/custom-modes-cli-paths
docs: document CLI custom modes paths and legacy file lookup order
2026-04-24 14:17:48 -04:00
Vishal Kumar Singh 2cca21be36 docs: document legacy custom_modes.yaml path for VSCode extension 2026-04-24 23:35:32 +05:30
Joshua Lambert c9329a8090 Merge branch 'main' into docs/model-behavior-during-delegation 2026-04-24 13:22:04 -04:00
Joshua Lambertandkilo-code-bot[bot] c2c31e04a4 Update packages/kilo-docs/pages/code-with-ai/agents/model-selection.md
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
2026-04-24 13:20:40 -04:00
Vishal Kumar Singh fb63532763 docs(model-selection): add current VSCode tab alongside CLI and Legacy
Per @lambertjosh's review, duplicate the delegation-override block for the
current VSCode extension and slot it between CLI and VSCode (Legacy).

The new tab mirrors his suggested text: inherits parent model from the
chat selector, override via Settings -> Providers -> Model per Mode or
by editing kilo.jsonc. Notes that the Settings UI and the JSON file
write the same `agent.<name>.model` entry so either path works.
2026-04-24 22:11:50 +05:30
Alex Alecu 7a9da3fd61 chore(cli): mark stats cost line 2026-04-24 19:20:25 +03:00
Alex Alecu bc90a50597 fix(cli): count subagent stats 2026-04-24 19:19:41 +03:00
Alex Alecu 1230a3af8b fix(cli): ignore deleted cost sync 2026-04-24 19:19:35 +03:00
Alex Alecu 195ef4e54f 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-24 19:06:08 +03:00
Marian Alexandru Alecu 7767673432 Merge pull request #9418 from Kilo-Org/feat/show-pr-in-cli
feat(cli): show branch pr in sidebar (rename test)
2026-04-24 18:07:45 +03:00
Christiaan Arnoldus ef209e0877 Merge pull request #9470 from Kilo-Org/fix/cli-preserve-empty-reasoning-content
fix(cli): preserve empty reasoning_content in interleaved transform
2026-04-24 17:07:13 +02:00
Alex Alecu 418fe78f5d 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-24 18:05:45 +03:00
Alex Alecu a5baf2988c fix(cli): detect fork parent repo 2026-04-24 17:34:37 +03:00
heimoshuiyu 439cba7879 fix(cli): preserve empty reasoning_content in interleaved transform
DeepSeek thinking mode may return empty reasoning_content on assistant
messages in a tool call chain, which must be sent back in subsequent
requests. The interleaved transform's truthy check was dropping it.

Always set providerOptions.openaiCompatible[field] for assistant
messages so the AI SDK's metadata spread carries it through.

Cherry-picked from anomalyco/opencode#24146 (931e6ed).
2026-04-24 14:30:54 +00:00
Alex Alecu 4381d58dde fix(cli): find fork prs in sidebar 2026-04-24 17:30:13 +03:00
dependabot[bot] efc2e22d2b build(deps): bump rustls-webpki in /packages/desktop/src-tauri (#7393)
Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.103.8 to 0.103.10.
- [Release notes](https://github.com/rustls/webpki/releases)
- [Commits](https://github.com/rustls/webpki/compare/v/0.103.8...v/0.103.10)

---
updated-dependencies:
- dependency-name: rustls-webpki
  dependency-version: 0.103.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-24 16:18:40 +02:00
dependabot[bot] 33416eee4b chore(deps): bump @hono/node-server in /packages/opencode (#8927)
Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.11 to 1.19.13.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](https://github.com/honojs/node-server/compare/v1.19.11...v1.19.13)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 1.19.13
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-24 16:18:14 +02:00
Marian Alexandru Alecu bd8fe57692 Merge branch 'main' into feat/show-pr-in-cli 2026-04-24 16:37:15 +03:00
Marius a87a461e97 fix(vscode): align new session and terminal tab behavior in agent manager (#9423)
* fix(vscode): align new session and terminal tab behavior in agent manager

New session tabs and the pending 'new session' card sometimes landed
in front of open terminals because tab-order writes were skipped when
the id was already in the base order. Rewrite the factory to pin the
id at its target rendered position (tail for append, after-anchor for
insertAfter) and extend DragOverlay to resolve terminal ids so the
drag ghost behaves the same across session, review, and terminal tabs.

* fix(vscode): strip ephemeral ids from persisted tab order

Review and terminal:* ids are session-scoped — terminal PTYs don't
survive reloads and the review tab is a per-context toggle. They
leaked into agent-manager.json via the new merge-and-append logic.
Callers now filter them before persisting; the in-memory order
keeps them for drag state.
2026-04-24 14:09:57 +02:00