Commit Graph
4235 Commits
Author SHA1 Message Date
Alex Alecu 4dc0ed0ff0 fix(batch): disallow plan_exit from batch tool execution
BatchTool rebuilds its tool map from ToolRegistry.tools() without
passing the caller agent, so agent-level permission filtering is
bypassed. Add plan_exit to the DISALLOWED set to prevent non-plan
agents from triggering it via batch.
2026-03-06 14:51:16 +02:00
Alex Alecu 4129abac9f fix(plan): restore unconditional plan_exit tool registration
A merge conflict resolution incorrectly gated PlanExitTool behind
KILO_EXPERIMENTAL_PLAN_MODE && KILO_CLIENT === "cli", preventing the
plan agent from signaling completion. This broke the "looks good,
implement" flow — the follow-up prompt never appeared and no new
code-mode session was created.

Regression of #6240.
2026-03-06 14:38:47 +02:00
kilo-maintainer[bot] f8d6753cc2 release: v7.0.39 2026-03-05 15:53:20 +00:00
Imanol Maiztegui 35968ed556 Merge branch 'main' into fix/auth-reload-state 2026-03-05 13:31:48 +01:00
Imanol Maiztegui ac4cfd329b fix: Add unit test and review bot fixes 2026-03-05 13:21:00 +01:00
Imanol Maiztegui c3ed9466a2 fix: invalidate model cache on auth/org changes and reload state after dispose 2026-03-05 12:23:25 +01:00
kiloconnect[bot] 55928ab3c1 fix: remove duplicate reasoning hack for kilo provider
The fixDuplicateReasoning workaround was added to handle a bug in
@openrouter/ai-sdk-provider v1 that caused reasoning details to be
duplicated in messages. This was fixed upstream in
https://github.com/OpenRouterTeam/ai-sdk-provider/pull/344/ and the
fix has since been applied to @kilocode/kilo-gateway, making this
workaround no longer necessary.
2026-03-05 07:20:41 +00:00
kilo-maintainer[bot] 5a85a0d7c9 release: v7.0.38 2026-03-04 22:27:58 +00:00
Mark IJbema cfe12b8d26 Merge pull request #6607 from Kilo-Org/disable-web-command
Disable 'kilo web' command (unsupported opencode web UI)
2026-03-04 16:22:04 +01:00
3218691c29 Add colorblind-friendly theme to the cli (again) (#6493)
* feat: add colorblind-friendly theme

Add a new colorblind-accessible theme using a scientifically-designed
palette that works for deuteranopia, protanopia, and tritanopia:

- Primary Blue (#0077BB) for main UI elements
- Secondary Orange (#EE7733) for variables and operators
- Success Teal (#009988) instead of green for success states
- Warning Yellow (#CCBB44) for warnings
- Error Vermillion (#CC3311) instead of red for errors
- Accent Sky (#33BBEE) for functions and links

Key design principles:
- No red/green combinations (most common color blindness)
- Blue/orange as primary contrasting colors
- Teal/vermillion for diff colors instead of green/red
- High luminance contrast between adjacent colors

* Update packages/opencode/src/cli/cmd/tui/context/theme.tsx

Co-authored-by: Marius <marius@kilocode.ai>

* Update packages/opencode/src/cli/cmd/tui/context/theme.tsx

Co-authored-by: Marius <marius@kilocode.ai>

* Update packages/opencode/src/cli/cmd/tui/context/theme/colorblind.json

Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>

* Update packages/opencode/src/cli/cmd/tui/context/theme/colorblind.json

Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>

* fix malformed block

---------

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.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-03-04 12:47:50 +00:00
kiloconnect[bot] 272fab73ec disable 'kilo web' command (unsupported opencode web UI) 2026-03-04 12:12:05 +00:00
Mark IJbema ee8daf6907 Merge pull request #6599 from Kilo-Org/mark/remove-kilocode-change-markers
Remove kilocode_change markers from kilo-specific packages
2026-03-04 11:55:29 +01:00
Mark IJbema e97348d7aa Remove kilocode_change markers from kilo-specific packages
These markers are only needed in shared upstream opencode files to prevent
merge conflicts. In kilo-specific packages (kilocode/, kilo-gateway/,
kilo-ui/, kilo-i18n/, kilo-vscode/, etc.) they serve no purpose.
2026-03-04 11:39:53 +01:00
Christiaan Arnoldus 8f09867735 Merge pull request #6562 from Kilo-Org/session/agent_913b361f-ab8a-4292-9ade-d695ef8815f4
fix(opencode-provider): switch kilo default model to auto-small
2026-03-04 10:18:58 +01:00
Christiaan Arnoldus 55076dc19e Merge branch 'main' into session/agent_913b361f-ab8a-4292-9ade-d695ef8815f4 2026-03-04 10:11:05 +01:00
Christiaan Arnoldus aec01330ea Merge branch 'main' into session/agent_f767ec1f-7980-4b5e-b27d-74befa652e5e 2026-03-04 10:06:21 +01:00
Catriel Müller 9df2fbd88e Merge branch 'main' into catrielmuller/kilo-vscode-migration 2026-03-03 17:50:56 -03:00
kilo-maintainer[bot] 1aa9af4ac0 release: v7.0.37 2026-03-03 18:59:43 +00:00
Catriel Müller 4db891dcc2 fix(migration): shared disposeAll debounce, MCP timeout, bash rule merge 2026-03-03 14:57:56 -03:00
Igor Šćekić e5bfdfd829 Merge pull request #6565 from Kilo-Org/fix/ask-mode-edits 2026-03-03 18:07:38 +01:00
Catriel Müller 6045a47cd7 Merge branch 'main' into catrielmuller/kilo-vscode-migration 2026-03-03 13:39:40 -03:00
Catriel Müller b3d25d19da fix(migration): address bot review — partial failure handling, disposeAll debounce, error handling, YAML quotes 2026-03-03 13:36:46 -03:00
Igor Šćekić d8dacd6bb4 test: assert specific-path edit is denied in ask mode 2026-03-03 17:27:50 +01:00
Catriel Müller 8e0e368f42 Merge pull request #6540 from sonwr/docs/clarify-kilo-install-artifact
docs(cli): clarify hidden .kilo install artifact behavior
2026-03-03 13:01:16 -03:00
Igor Šćekić 50227192dd fix: ask mode respects user permission config for edit tools
Move the ask agent's deny+allowlist after user config in the merge
order so ask mode's restrictions always win. Previously, user global
permission config (e.g. edit: { 'src/log.ts': 'allow' }) was appended
last, causing PermissionNext.disabled() to stop at the user's specific-
pattern rule and leave edit/write/bash in the LLM's tool list.

Fixes #6235
2026-03-03 16:30:44 +01:00
kiloconnect[bot] cdac0d8dab feat(kilo-gateway): add KILOCODE_VERSION support to editor header
- introduce ENV_VERSION constant in kilo-gateway and export it
- modify getEditorNameHeader to append version when provided
- export ENV_VERSION from gateway index for external use
- initialize ENV_VERSION from Installation.VERSION in opencode startup
- update tests to verify editor header with and without version
2026-03-03 15:18:42 +00:00
kiloconnect[bot] 9dc832f564 fix(opencode-provider): switch kilo default model to auto-small
- update model priority to auto-small for kilo provider
  instead of gpt-5-nano
- update availability check to look for auto-small
  instead of gpt-5-nano when selecting kilo model
2026-03-03 15:05:20 +00:00
tspader 6368ea8c11 Merge pull request #6533 from Kilo-Org/fix/slow-model-filter
fix: stop doing models.length for every model
2026-03-03 10:03:51 -05:00
kilo-maintainer[bot] 10afa31b8b release: v7.0.36 2026-03-03 14:59:39 +00:00
Catriel Müller 5aa6dcb8ea Merge branch 'main' into docs/clarify-kilo-install-artifact 2026-03-03 10:36:33 -03:00
Mark IJbema 3f4b8e90c6 Merge pull request #6527 from Kilo-Org/mark/enhance-prompt
feat(vscode): Enhance Prompt —  sparkle button to improve prompts before sending
2026-03-03 14:03:32 +01:00
Marius 15c7b6a61e Fix agent interrupt AbortError leak (#6554) 2026-03-03 09:35:51 -03:00
Mark IJbema 6f9a0f0c5a feat(vscode): Enhance Prompt — sparkle button to improve prompts before sending
Add the Enhance Prompt feature to the VS Code extension, matching the
legacy extension's behaviour. A  sparkle button in the chat input
toolbar rewrites the user's draft prompt using an LLM.

CLI:
- POST /enhance-prompt endpoint using LLM.stream with small model
- System prompt as agent.prompt for caching; user text as user message
- clean() strips code fences and surrounding quotes from LLM output

Extension:
- KiloProvider handler using SDK client.enhancePrompt.enhance()
- Shows VS Code error notification on failure
- WandSparkles icon from lucide-solid via @kilocode/kilo-ui
- Spin animation while enhancement is in flight
- Empty-input click shows feature description (all 16 i18n locales)
- Ctrl+Z / ⌘Z undo restores original draft
- Guard checks isBusy/isDisabled/enhancing matching canEnhance()

Tests:
- 11 unit tests for clean() in enhance-prompt.test.ts

Migration plan:
- Removed feature row (parity achieved)
- Deleted prompt-improvement.md spec doc
2026-03-03 13:21:45 +01:00
Evgeny Shurakov e9da6e2864 Merge pull request #6550 from Kilo-Org/eshurakov/ingest-import
IngestImport - Bootstrap ingest for imported sessions
2026-03-03 13:01:06 +01:00
Evgeny Shurakov da4a8b0bd3 chore: remove kilocode markers from kilo-sessions 2026-03-03 12:53:16 +01:00
Evgeny Shurakov 3dbc3a3605 fix: bootstrap session ingest after import 2026-03-03 12:44:11 +01:00
kilo-maintainer[bot] a9e4891226 release: v7.0.35 2026-03-03 11:02:58 +00:00
Christiaan Arnoldus 78623945e9 Merge pull request #6538 from Kilo-Org/christiaan/another-reasoning-fix-attempt
Update duplicate reasoning hack after OpenRouter AI SDK patch
2026-03-03 11:05:18 +01:00
Marius 581a241605 fix agent manager worktree diff base branch (#6545) 2026-03-03 10:36:37 +01:00
kilo-maintainer[bot] 691b914260 release: v7.0.34 2026-03-03 09:13:54 +00:00
Christiaan Arnoldus 1f4b4c4fe9 More robust check 2026-03-03 09:54:37 +01:00
Christiaan Arnoldus 154973a677 Merge branch 'christiaan/another-reasoning-fix-attempt' of github.com:Kilo-Org/kilocode into christiaan/another-reasoning-fix-attempt 2026-03-03 09:46:43 +01:00
Christiaan Arnoldus 4a9db637e5 Use the family property 2026-03-03 09:46:30 +01:00
Christiaan Arnoldus d845cd1e96 Merge branch 'main' into christiaan/another-reasoning-fix-attempt 2026-03-03 09:19:56 +01:00
sonwr d7c2660bb5 test(cli): guard npm-dependent install artifact test 2026-03-03 12:33:37 +09:00
sonwr bf98912d03 test(cli): clean up temp install artifact fixture 2026-03-03 12:00:47 +09:00
sonwr 307043c303 docs(cli): clarify hidden .kilo install artifact behavior 2026-03-03 11:56:32 +09:00
Catriel Müller 325fa346ef refactor: update migration ui 2026-03-02 22:41:35 -03:00
Christiaan Arnoldus 647ab2a85f Update duplicate reasoning hack after OpenRouter AI SDK patch 2026-03-03 01:49:00 +01:00
Thomas Spader 29de8c3ef9 fix: stop doing models.length for every model 2026-03-02 16:56:37 -05:00