Commit Graph
16966 Commits
Author SHA1 Message Date
Imanol Maiztegui 71852f2466 feat(vscode): add heap snapshot command for bundled CLI
Introduce a "Take Heap Snapshot" command in the VS Code Command Palette
that triggers the bundled CLI process to write a V8 heap snapshot to the
log directory. This includes:

- New server route POST /kilocode/heap/snapshot in opencode
- HeapSnapshot module using node:v8 writeHeapSnapshot
- VS Code command registration and client-side fetch logic
- Generated SDK types and client methods for the new endpoint
2026-04-16 12:58:37 +02:00
Joshua Lambert 36c5d9e591 Merge pull request #9000 from Kilo-Org/docs/update-mcp-using-in-kilo-code-page
docs(kilo-docs): remove outdated video and reorder MCP tabs
2026-04-16 00:25:29 -04:00
Josh Lambert ebad9c052d docs(kilo-docs): reorganize MCP examples 2026-04-15 22:14:26 -04:00
Josh Lambert ece48dcf20 fix(kilo-docs): document MCP permission rules 2026-04-15 18:22:16 -04:00
Kirill Kalishev 0650d6bd32 Merge pull request #9008 from Kilo-Org/island-sunshine
docs(jetbrains): expand Kotlin UI DSL v2 reference in AGENTS.md
2026-04-15 16:51:45 -04:00
kirillk 2b71409a3e docs(jetbrains): replace Color enum with Theme in UI DSL binding example
Avoid confusion with java.awt.Color which the AGENTS.md itself says to never use.
Use a Theme enum instead to keep the example unambiguous.
2026-04-15 16:39:14 -04:00
kirillk ac7f50d9c1 docs(jetbrains): expand Kotlin UI DSL v2 reference with comprehensive showcase-based guide
Add detailed UI DSL v2 reference to JetBrains plugin AGENTS.md covering basics,
row layout, components catalog, labels, comments, groups, gaps, reactive state,
property binding, validation, and tips — derived from the official IntelliJ
UI DSL Showcase. Mark UI DSL v2 as the preferred approach for building UI.
2026-04-15 16:32:56 -04:00
kilo-maintainer[bot] 3f68303a0a release: v7.2.10 v7.2.10 2026-04-15 20:10:59 +00:00
Christiaan Arnoldus 8cf01acd8e Merge pull request #9003 from Kilo-Org/fix/restore-model-prompt-system-prompt
fix(cli): restore model.prompt-based system prompt selection
2026-04-15 21:54:00 +02:00
kilo-maintainer[bot] 114f9a2db2 release: v7.2.9 v7.2.9 2026-04-15 19:47:08 +00:00
kiloconnect[bot] a7478fc3f9 test(cli): add tests for model.prompt-based system prompt selection
Verifies that SystemPrompt.provider() respects the prompt property
set by the Kilo gateway, and that it takes precedence over the
model.api.id-based heuristic fallback.
2026-04-15 19:44:45 +00:00
kiloconnect[bot] 2c25720ec3 fix(cli): restore model.prompt-based system prompt selection
The switch(model.prompt) block in SystemPrompt.provider() was
accidentally dropped during merge conflict resolution in fa2c979ac.
This meant the prompt property set by the Kilo gateway (e.g. codex,
anthropic, beast) was stored on the model but never read, causing all
Kilo-routed models to fall back to model.api.id string matching.
2026-04-15 19:29:17 +00:00
kilo-maintainer[bot] 41ffb3a3aa release: v7.2.8 v7.2.8 2026-04-15 19:11:48 +00:00
Catriel Müller 013973e5df Merge pull request #8907 from Kilo-Org/feat/smoke-test-standalone
ci: add standalone smoke-test workflow
2026-04-15 15:50:40 -03:00
Catriel Müller 599d201eb4 Merge branch 'main' into feat/smoke-test-standalone 2026-04-15 15:38:49 -03:00
Marius acfa0e96bb chore: add run script (#8985) 2026-04-15 20:36:27 +02:00
Josh Lambert be550c3bb9 docs(kilo-docs): remove outdated video and reorder MCP tabs
Remove the outdated YouTube video from the Using MCP in Kilo Code page.

Ensure 'VSCode (Legacy)' is always the last tab option in every section for consistency.
2026-04-15 14:18:00 -04:00
Kirill Kalishev eb78b0896d Merge pull request #8886 from Kilo-Org/pie-parmesan
feat(jetbrains): app lifecycle, workspace loading, session management, and welcome UI
2026-04-15 14:03:44 -04:00
Kirill Kalishev a00afd552d Merge branch 'main' into pie-parmesan 2026-04-15 13:35:02 -04:00
kilo-maintainer[bot] a476e19a88 release: v7.2.7 v7.2.7 2026-04-15 17:05:20 +00:00
Marius d4ab3331c8 revert: remove suggest tool feature (#8994)
Reverts PR #6404 (feat: suggest code review tool) and PR #8988 (fix: dismiss suggestions on new message).
2026-04-15 16:13:42 +00:00
Marius ae8e7b6e1c test(cli): skip flaky "prompt submitted during active run" test (#8992)
The test has a timeout contradiction: inner poll allows 5s but
it.live timeout is 3s. Fails on slow CI runners. Tracked in #8990.
2026-04-15 17:58:18 +02:00
Kirill Kalishev a282549267 Merge branch 'main' into pie-parmesan 2026-04-15 11:49:00 -04:00
Marius 2f9467ee3e fix(cli): mock getGitContext in commit-message tests to fix Linux CI flake (#8989)
Tests relied on real git operations in temp directories which failed
silently on Linux CI runners, causing all 12 tests to see no staged files.
2026-04-15 15:34:39 +00:00
Mark IJbema 32c05387fe Merge pull request #8988 from Kilo-Org/fix/suggest-dismiss-on-new-message
fix(cli): dismiss suggestions on new message to prevent stuck session
2026-04-15 17:26:51 +02:00
Marian Alexandru Alecu e030824473 Merge branch 'main' into fix/suggest-dismiss-on-new-message 2026-04-15 18:10:42 +03:00
Alex Alecu 3b96485dc1 fix(cli): dismiss suggestions on new message to prevent stuck session 2026-04-15 17:47:25 +03:00
Marius ccf1ad245e chore(sdk): regenerate api client (#8980) 2026-04-15 16:14:34 +02:00
Marius c584eec1db fix(cli): remap child session references on fork to prevent subagent state leaks (#8956)
* fix(cli): remap child session references on fork to prevent subagent state leaks

When forking a session, task tool parts referencing child sessions were
copied verbatim, causing both original and forked sessions to share the
same subagent references. This led to SSE events and permission prompts
leaking across sessions in the Agent Manager.

* fix: remove redundant recursive remapChildren call

Session.fork() already calls remapChildren via the hook, so the explicit
recursive call inside remapChildren was double-forking nested descendants.
2026-04-15 11:12:35 -03:00
Marius 581bbbb319 feat(cli,vscode): add custom commit message prompt setting (#8974)
* feat(cli,vscode): add custom commit message prompt setting

Support user-configurable system prompt for AI commit message generation.
Adds a dedicated Commit Message tab in VS Code settings with a toggle
to override the built-in conventional commits prompt.

* fix: add missing kilocode_change annotation and fix i18n formatting

* refactor: move Config reading to route handler, add textarea max-height

Move kilo-specific Config.get() from shared generate.ts to the route
handler. The generator now accepts an optional prompt param instead.
Cap textarea height at 300px with scroll for long prompts.

* fix: resolve annotation gaps and prompt clear serialization bug

Add kilocode_change markers to JSDoc comment and extend block to
cover the generateCommitMessage call. Use empty string instead of
undefined when clearing the prompt so JSON serialization persists
the removal to disk.

* refactor(cli): move commit-message module to kilocode paths

Move src/commit-message/ to src/kilocode/commit-message/, route to
src/kilocode/server/routes/, and tests to test/kilocode/commit-message/.
Extract CommitMessageSchema to KilocodeConfig and reference it from
the main Config.Info. Removes all kilocode_change markers from moved
files since they are now in exempt paths.

* test(cli): fix moved commit-message tests
2026-04-15 16:09:05 +02:00
Kirill Kalishev d9a221dc64 Merge branch 'main' into pie-parmesan 2026-04-15 10:04:06 -04:00
kiloconnect[bot] 2e54292010 feat(jetbrains): add detekt for cyclomatic complexity and file size limits
Adds detekt static analysis to enforce complexity and file size caps
in kilo-jetbrains, mirroring the ESLint complexity/max-lines rules
used by the VS Code extension.
2026-04-15 13:52:55 +00:00
Marian Alexandru Alecu e8fd495708 Merge pull request #8972 from Kilo-Org/kilocode-auto-approve-permissions
fix(cli): fix disable auto-approve leaving stale config and UI
2026-04-15 16:49:39 +03:00
Marian Alexandru Alecu 6b77077167 Merge pull request #8971 from Kilo-Org/kilocode-worktree-session-list
fix(cli): worktree session list shows all worktrees
2026-04-15 16:47:18 +03:00
Marius d3c6415df5 docs(kilo-docs): document drag-and-drop file mentions in context docs (#8981) 2026-04-15 13:31:48 +00:00
Marian Alexandru Alecu 5f7954c43f Merge pull request #6404 from Kilo-Org/feat/suggest-code-review
feat: Suggest code review after implementation
2026-04-15 15:30:29 +03:00
Alex Alecu 6c7b02619d chore: remove plan file 2026-04-15 15:12:26 +03:00
Alex Alecu 723344530b refactor(cli): move test to kilocode dir 2026-04-15 15:10:42 +03:00
Alex Alecu 5062339220 docs(cli): clarify stripNulls jsdoc 2026-04-15 15:09:33 +03:00
Alex Alecu 3fd8357af4 fix(cli): propagate suggestion accept failure to remote clients 2026-04-15 14:59:09 +03:00
Alex Alecu ef435ebba1 fix(cli): restrict suggest tool to code-review-only
Narrow suggest tool prompts so the LLM only uses it to offer local
code review, not generic next steps like committing, pushing, or
running tests.
2026-04-15 14:53:36 +03:00
Alex Alecu 061e1d30a0 fix(vscode): remove kilocode_change marker from WorkingIndicator 2026-04-15 14:50:06 +03:00
Alex Alecu e937894829 fix(cli): fix type errors from accept return type 2026-04-15 14:42:13 +03:00
Alex Alecu 8e0b9f9b51 fix(vscode): move suggestion fetch into flushPendingPrompts 2026-04-15 14:39:10 +03:00
Alex Alecu c61846b618 fix(cli): return 404 when suggestion accept no-ops 2026-04-15 14:35:21 +03:00
Alex Alecu 61c0105565 fix(cli): reject promise on invalid action index 2026-04-15 14:35:21 +03:00
Alex Alecu 1b5832ce3f fix(cli): limit concurrent git processes for untracked files 2026-04-15 14:35:21 +03:00
Alex Alecu 3d74441b7e fix(cli): delete only nested sentinel to preserve other wildcard rules 2026-04-15 14:31:39 +03:00
github-actions[bot] 152e0755aa chore: update kilo-vscode visual regression baselines 2026-04-15 11:30:23 +00:00
Alex Alecu cec7296671 fix(vscode): hide WorkingIndicator when suggestion is pending
Add suggestions to the blocked() check in WorkingIndicator so the
'Considering next steps' spinner and timer don't show while the suggest
tool is awaiting user input.
2026-04-15 14:28:05 +03:00