Commit Graph

669 Commits

Author SHA1 Message Date
Marius d01a51dc7c feat(vscode): expose undo/redo in the UI with per-message revert button (#7186) 2026-03-17 15:42:21 +00:00
kilo-maintainer[bot] bea9eb6bf4 release: v7.0.49 2026-03-17 14:54:34 +00:00
Catriel Müller a97515a986 Merge branch 'main' into catrielmuller/kilo-opencode-v1.2.20 2026-03-17 08:37:25 -03:00
Catriel Müller b13b701310 feat: merge opencode v1.2.18 2026-03-17 07:27:22 -03:00
kilo-maintainer[bot] 18c282d34c release: v7.0.48 2026-03-17 10:02:59 +00:00
DhruvBhatia0 cd26320f62 feat: add WarpGrep AI-powered codebase search tool (#6685)
* feat: add WarpGrep AI-powered codebase search tool

Add WarpGrep integration as a new tool for intelligent multi-step
codebase search. WarpGrep delegates search to Morph's RL-trained
search agent, which runs parallel tool calls across multiple turns
and returns only relevant code spans.

- Add WarpGrep core client with multi-turn API loop, local tool
  executors (ripgrep, file read, directory list), and XML parsing
- Add tool definition gated behind KILO_ENABLE_WARPGREP flag
- Register tool in registry with feature flag gating
- Add warpgrep permission to orchestrator, ask, and explore agents
- Conditionally enhance explore agent prompt when WarpGrep available
- Add unit tests for parsing, file ops, and tool registration

* fix: align warpgrep with Morph XML protocol

* chore: drop warpgrep test changes from branch

* chore: remove warpgrep test files from branch

* refactor: replace custom WarpGrep implementation with @morphllm/morphsdk

- Delete 396-line custom warpgrep.ts, replace with SDK's WarpGrepClient
- Only check MORPH_API_KEY (drop WARPGREP_API_KEY)
- Route through Kilo proxy during free period when no API key is set
- Add actionable error message for when free period ends
- Grep for FREE_PERIOD_TODO to find what to change post-free-period

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: rename warpgrep to codebase_search, add error toast for 429/402

- Rename tool from warpgrep to codebase_search throughout
- Switch proxy URL to /api/gateway
- Detect auth/rate-limit errors (401/402/429) and show actionable
  fallback message telling users to set MORPH_API_KEY
- Fire a TUI toast notification on auth/rate-limit errors so users
  see a visible popup, not just hidden tool output
- Wire up GlobalBus "global.event" in TUI thread so Bus events from
  tools can reach the TUI event system

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* build: bump @morphllm/morphsdk to 0.2.141

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: use Bus.publish for toast, revert global.event subscription

Address PR review: emit toast via Bus.publish(TuiEvent.ToastShow)
instead of GlobalBus.emit() so it works in both direct-RPC and
server-backed TUI modes. Revert the global.event subscription in
createEventSource since it's no longer needed and caused double
event delivery.

Also update codebase_search tool description to clarify natural
language input.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: add codebase search toggle to experimental settings

Replace KILO_ENABLE_WARPGREP env var with a UI toggle in the
Experimental settings tab. The tool is now gated by the
experimental.codebase_search config field, accessible from both
VSCode settings and TUI config file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Update packages/opencode/src/tool/warpgrep.ts

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

* feat: limit codebase_search output to prevent context bloat

When search results exceed 45k chars (~15k tokens), degrade to showing
file paths and line ranges instead of full content. Also bumps
@morphllm/morphsdk from 0.2.129 to 0.2.147.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* build: bump @morphllm/morphsdk to 0.2.148

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: format codebaseSearch i18n strings to respect prettier line width

* fix: only advertise codebase_search in explore prompt when feature flag is enabled

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Christiaan Arnoldus <christiaan.arnoldus@outlook.com>
Co-authored-by: Marius <marius@kilocode.ai>
2026-03-17 09:06:15 +00:00
Catriel Müller 36210fa6d1 resolve merge conflicts 2026-03-16 20:33:36 -03:00
Catriel Müller 656db495d5 feat: merge opencode v1.2.18 2026-03-16 15:03:07 -03:00
Imanol Maiztegui a913731700 Permission toggles per-pattern in permission dock (#6977)
* feat(kilo-vscode): Granular permission layout

* formatting

* chore: update kilo-vscode visual regression baselines

* fix: Make sure pattern permissions are correctly saved

* fix: Only save patterns originally sent

* chore: Moved pattern permission logic to its own endpoint

* tests: Unit tests for pattern permissions handling

* fix: Avoid race conditions on permission reply messages

* fix: Handle missing requestId on pattern permission request

* fix: Return NotFoundError when input.requestID missing

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-13 13:56:57 +01:00
kilo-maintainer[bot] 702c27a8d2 release: v7.0.47 2026-03-13 12:45:52 +00:00
Kevin van Dijk 1147de8101 Merge branch 'main' into kevinvandijk/kilo-opencode-v1.2.16 2026-03-12 00:41:02 +01:00
kilo-maintainer[bot] b27f5832b4 release: v7.0.46 2026-03-11 14:40:06 +00:00
kilo-maintainer[bot] e8a8433c96 release: v7.0.45 2026-03-11 14:24:32 +00:00
Mark IJbema 976939328d Merge branch 'main' into kevinvandijk/kilo-opencode-v1.2.16 2026-03-11 11:41:53 +01:00
kilo-maintainer[bot] a346c1f387 release: v7.0.44 2026-03-11 10:03:00 +00:00
Kevin van Dijk d50aa1ae8c Merge branch 'main' into kevinvandijk/kilo-opencode-v1.2.16 2026-03-11 09:17:41 +01:00
kilo-maintainer[bot] 6e8f21c996 release: v7.0.43 2026-03-10 18:18:40 +00:00
kilo-maintainer[bot] 75e46decc2 release: v7.0.42 2026-03-10 17:30:26 +00:00
kilo-maintainer[bot] 96ba9549a8 release: v7.0.41 2026-03-10 11:43:50 +00:00
Kevin van Dijk 2d33025ecb refactor: kilo compat for v1.2.16 2026-03-09 11:31:51 +01:00
kilo-maintainer[bot] 7ab275117b release: v7.0.40 2026-03-06 22:43:15 +00:00
kilo-maintainer[bot] f8d6753cc2 release: v7.0.39 2026-03-05 15:53:20 +00:00
kilo-maintainer[bot] 5a85a0d7c9 release: v7.0.38 2026-03-04 22:27:58 +00:00
opencode e66d829d18 release: v1.2.16 2026-03-03 21:08:35 +00:00
kilo-maintainer[bot] 1aa9af4ac0 release: v7.0.37 2026-03-03 18:59:43 +00:00
Sebastian 3310c25dd1 Upgrade opentui to v0.1.86 and activate markdown renderable by default (#14974) 2026-03-03 15:42:27 +00:00
kilo-maintainer[bot] 10afa31b8b release: v7.0.36 2026-03-03 14:59:39 +00:00
kilo-maintainer[bot] a9e4891226 release: v7.0.35 2026-03-03 11:02:58 +00:00
kilo-maintainer[bot] 691b914260 release: v7.0.34 2026-03-03 09:13:54 +00:00
kilo-maintainer[bot] 64e82d1bcf release: v7.0.33 2026-02-27 19:40:30 +00:00
kilo-maintainer[bot] 967efc4a71 release: v7.0.32 2026-02-27 14:53:47 +00:00
Catriel Müller 6140f5560b refactor: vscode chat view 2026-02-27 08:09:39 -03:00
kilo-maintainer[bot] 206783ca25 release: v7.0.31 2026-02-27 01:53:55 +00:00
opencode 799b2623cb release: v1.2.15 2026-02-26 08:22:25 +00:00
Kevin van Dijk d92b94e7ca Merge pull request #6354 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.11
OpenCode v1.2.11
2026-02-26 02:40:08 +01:00
kilo-maintainer[bot] e44534e28e release: v7.0.30 2026-02-25 19:52:06 +00:00
Kevin van Dijk 42a7e019ef refactor: kilo compat for v1.2.11 2026-02-25 18:14:54 +01:00
opencode de2bc25677 release: v1.2.14 2026-02-25 14:55:56 +00:00
kilo-maintainer[bot] a971f7e480 release: v7.0.29 2026-02-25 12:19:23 +00:00
opencode d848c9b6a3 release: v1.2.13 2026-02-25 07:27:19 +00:00
kilo-maintainer[bot] 890c33cdda release: v7.0.28 2026-02-25 07:09:16 +00:00
opencode 29ddd55088 release: v1.2.11 2026-02-24 23:29:02 +00:00
Kevin van Dijk 20a16a27e5 refactor: kilo compat for v1.2.8 2026-02-24 18:07:52 +01:00
Sebastian a4ed020a94 upgrade opentui to v0.1.81 (#14605) 2026-02-23 00:51:50 +01:00
opencode 296250f1b7 release: v1.2.10 2026-02-20 11:18:40 +00:00
opencode 1eb6caa3c6 release: v1.2.9 2026-02-20 01:45:20 +00:00
opencode f2090b26c1 release: v1.2.8 2026-02-19 22:38:42 +00:00
opencode 04cf2b8268 release: v1.2.7 2026-02-19 21:27:31 +00:00
Dax cb8b74d3f1 refactor: migrate from Bun.Glob to npm glob package (#14317) 2026-02-19 13:40:09 -05:00
Aiden Cline 7e35d0c610 core: bump ai sdk packages for google, google vertex, anthropic, bedrock, and provider utils (#14318) 2026-02-19 12:35:51 -06:00