Commit Graph
18616 Commits
Author SHA1 Message Date
kirillk c91bf18afc fix(vscode): refine sidebar action hover styles 2026-04-26 13:53:48 -04:00
Josh Lambert fa23641ebf chore: update changeset to mention Kilo gateway coverage 2026-04-26 11:29:47 -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 c8113f27b1 chore: add changeset for openrouter/deepseek reasoning fix 2026-04-26 11:10:11 -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 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
Imanol Maiztegui 44f463fdba test: skip ripgrep-dependent tests on windows 2026-04-25 18:05:56 +02:00
Imanol Maiztegui 09513e09a7 fix(prompt): clean up shell invocation comments and simplify cwd handling
Remove explanatory block comments and intermediate variable assignment
(`__oc_cwd`) that were left over from the previous iteration. Use
`cd -- "$1"` directly instead of the two-step capture-then-cd pattern,
and rename the argv[0] placeholder from `_opencode` to `opencode`.
2026-04-25 13:18:02 +02:00
Imanol Maiztegui b21778dec1 refactor(session): pass cwd as positional arg to login shells instead of capturing it
Replace the `pwd -P` approach with an explicit positional argument (`$1`)
for zsh and bash login shell invocations. Login shells source profile
scripts (`/etc/profile`, `~/.profile`, `~/.bashrc`) before the `-c`
script executes, and those scripts may change the working directory
(e.g. nvm, direnv), making both `$PWD` and `pwd -P` unreliable at
script evaluation time. By passing `ctx.directory` as `$1` and falling
back to `$PWD` when unset, the shell script always receives the correct
session directory regardless of profile side effects.

Simplify the corresponding integration test by removing verbose CI
debug probes and replacing them with a straightforward `pwd` assertion.
2026-04-25 11:09:17 +02:00
Imanol Maiztegui 7672adb18d fix(opencode): use pwd -P in shell spawns to resolve stale PWD on CI
Replace `$PWD` with `$(pwd -P)` when capturing the working directory
in zsh and bash login shell invocations. When the child shell inherits
a stale PWD environment variable — common in CI where the spawner's
cwd differs from the session directory — `$PWD` can point to the wrong
location, causing `cd "$__oc_cwd"` to silently escape the intended
directory. `pwd -P` queries the kernel via getcwd(), ensuring the
correct physical path is always used.

The corresponding test is updated with richer cwd diagnostics to
validate the fix and surface root-cause information on failure.
2026-04-25 10:09:58 +02:00
Imanol Maiztegui 2fb8052640 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.14.22 2026-04-25 08:23:31 +02:00
Imanol Maiztegui 9fb07cac6d test(opencode): skip flaky prompt tests and update agent reference
Skip "glob tool keeps instance context during prompt runs" and
"prompt submitted during an active run" tests tracked in #9958.
Replace "build" agent assertion with "code" to align with Kilo
agent naming conventions.
2026-04-25 08:17:29 +02:00
kilo-maintainer[bot] 3af9b4a339 chore: update nix node_modules hashes 2026-04-24 21:13:40 +00:00
kilo-maintainer[bot] 30867df079 release: v7.2.23 v7.2.23 2026-04-24 21:00:20 +00:00
kirillk f1409354cf fix(vscode): resolve lint caps in sidebar worktree flow 2026-04-24 16:35:56 -04:00
Kirill Kalishev 26987f04d4 Merge branch 'main' into charmed-saver 2026-04-24 16:19:06 -04:00
kirillk 236d09f334 fix(vscode): address sidebar worktree review feedback 2026-04-24 16:14:09 -04:00
kirillk 04474986a0 fix(vscode): localize sidebar worktree actions 2026-04-24 16:09:00 -04:00
Imanol Maiztegui 2a6c4294eb fix(opencode): remove mistral from reasoning model check and rebrand cache paths
Remove mistral from the provider reasoning variant detection list
and update bare repo test assertions to use "kilo" cache directory
naming instead of "opencode".
2026-04-24 21:59:56 +02: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
github-actions[bot] 4821038e48 chore: update kilo-vscode visual regression baselines 2026-04-24 19:19:06 +00:00
kirillk 0a88997abb fix(vscode): resolve sidebar chat typecheck 2026-04-24 15:15:25 -04:00
kirillk 696ed061e6 fix(vscode): polish sidebar worktree actions 2026-04-24 14:58:33 -04: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 8ae82e304b Merge pull request #9290 from singhvishalkr/docs/model-behavior-during-delegation
docs: clarify model behavior during agent delegation
2026-04-24 13:44:23 -04:00
Imanol Maiztegui 7631e13945 docs(kilo-docs): add Mistral reasoning documentation URL to source links 2026-04-24 19:30:37 +02:00
Imanol Maiztegui 0a9b293a40 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.14.22 2026-04-24 19:28:28 +02:00
Imanol Maiztegui 6e0e2783eb build(sdk): regenerate SDK types and sort package.json dependencies
Re-run code generation to emit the SnapshotSummaryFileDiff named type
and replace inline anonymous diff objects across Session,
SyncEventSessionUpdated, and GlobalSession. Alphabetically sort
dependency entries in the opencode package.json and add previously
appended Kilo-specific packages into their correct positions.
2026-04-24 19:23:40 +02:00
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
kirillk 1da22b9ef2 fix(vscode): refine sidebar worktree controls 2026-04-24 13:17:44 -04:00
Imanol Maiztegui 3cec1ffa87 refactor(snapshot): introduce SummaryFileDiff schema and tighten Kilo type annotations
Add a lightweight SummaryFileDiff derived from FileDiff via
Struct.omit(["patch"]) to keep session summary DB payloads small.
Replace inline anonymous object types in session.sql.ts, revert.ts,
and session.ts with the new schema. Cast SessionPrompt input in
remote-sender to satisfy narrowed PromptInput type, guard against
null in permission normalizeInput, and switch remaining bare .parse
calls to .zod.parse for Effect Schema compatibility.

Include unit tests verifying SummaryFileDiff field exclusion and
round-trip parsing behavior.
2026-04-24 19:15:13 +02: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 c58886c99f docs: add TESTING.md for local backend iteration
Document how to spawn the local main-branch backend with bun dev serve
and drive it via curl for HTTP-level testing. Contrasts against the
installed kilo binary and the SDK's createKiloServer helper, both of
which spawn the prod CLI. AGENTS.md gets a one-line pointer.
2026-04-24 19:40:09 +03:00
kirillk 18468b8e26 feat(vscode): expose sidebar worktree actions 2026-04-24 12:39:11 -04:00
Marian Alexandru Alecu b220c37dcb Merge branch 'main' into feat/cli-local-run 2026-04-24 19:29:58 +03:00
Alex Alecu f72664477c fix(cli): hide dev-setup from public docs and release notes
The InstallationBuildKind gate already strips dev-setup/dev-alias from
release builds, but the regenerated docs and the changeset still
advertised the launcher as a shipped feature. Filter the dev commands
in generate-cli-docs.ts so the user-facing table and reference match
the release binary, drop the stale changeset, and add a `bun run
dev-setup` shortcut for contributors running from source.
2026-04-24 19:28:44 +03:00
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