Commit Graph
13604 Commits
Author SHA1 Message Date
kilo-maintainer[bot] bea9eb6bf4 release: v7.0.49 v7.0.49 2026-03-17 14:54:34 +00:00
Catriel Müller e5ebb8fda4 Merge pull request #7185 from Kilo-Org/catrielmuller/fix-publish-vscode
fix: vscode publish
2026-03-17 11:43:12 -03:00
Catriel Müller 8f9852c08a fix: vscode publish 2026-03-17 11:39:53 -03:00
Mark IJbema fe6760dc20 Merge pull request #7170 from Kilo-Org/fix/autocomplete-reload-on-connect
fix(vscode): fix autocomplete not working and remove dead code
2026-03-17 14:50:32 +01:00
Marius 01e931cad3 feat(vscode): add keyboard navigation to QuestionDock (#7175)
* feat(vscode): add keyboard navigation to QuestionDock

* fix(vscode): guard Cmd+Enter submit against empty answers

Match the footer submit button's disabled condition so Cmd+Enter
cannot send partial data when no answer is selected.
2026-03-17 14:05:58 +01:00
Mariusandgithub-actions[bot] d7aaee5e88 fix(ui): unify tool card arrow direction and header consistency (#7177)
* fix(ui): unify tool card arrow direction and header consistency

* chore: update visual regression baselines

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-17 13:55:57 +01:00
Mark IJbema 201a62b505 fix(vscode): stop pushing provider disposable into context.subscriptions on reconnect
The inline completion provider registration was pushed into
context.subscriptions on every reconnect, accumulating dead
disposables. Track it only via the instance field which is
properly disposed and replaced on re-registration.
2026-03-17 13:54:07 +01:00
Mark IJbema f1d10f892f Merge pull request #7172 from Kilo-Org/mark/fix-global-config-dispose-all
fix(vscode): stop config update loop from flooding SSE and killing server
2026-03-17 13:32:56 +01:00
Marius d50fbb21ad test(vscode): add architecture test for package.json command sync (#7173)
* test(vscode): add architecture test for package.json command sync

* fix: match registerCommand() calls instead of any string occurrence

Addresses review feedback: the test now extracts command IDs
specifically from registerCommand() call sites, so an
executeCommand() reference won't satisfy the check.
2026-03-17 13:26:19 +01:00
Mark IJbema 1043d9dd52 refactor(vscode): remove unused loaded/reload from AutocompleteModel
The loaded flag was always true after construction (set unconditionally)
and reload() did nothing beyond that. Connection state is already
checked live via hasValidCredentials(). Removes the dead indirection
from AutocompleteModel, AutocompleteServiceManager, and
ChatTextAreaAutocomplete.
2026-03-17 13:02:05 +01:00
Mark IJbema c1b5b23dca fix(vscode): guard Select onSelect handlers against no-op config updates
Kobalte's Select fires onChange when the options list changes (even if
the selected value is the same), which triggers updateConfig → PATCH
/global/config → global.disposed → configLoaded → new options array →
onChange again, creating an infinite loop that floods SSE with events
and kills the server.

Add guards to all three settings Select components to skip updateConfig
when the new value equals the current config value.
2026-03-17 12:48:55 +01:00
Catriel Müller 47e926882b OpenCode v1.2.20
OpenCode v1.2.20
2026-03-17 08:44:26 -03:00
Catriel Müller ea07e52151 fix: fix merge malformed json 2026-03-17 08:41:42 -03:00
Catriel Müller a97515a986 Merge branch 'main' into catrielmuller/kilo-opencode-v1.2.20 2026-03-17 08:37:25 -03:00
Mark IJbema 66736d0b56 test(vscode): rewrite AutocompleteModel tests for current CLI-backend architecture 2026-03-17 12:35:14 +01:00
Mark IJbema 8d949f3293 fix(vscode): revert stray test div and empty openapi.json from previous commit 2026-03-17 12:33:02 +01:00
Mark IJbema 2dcbc7fb1d refactor(vscode): remove dead hasKilocodeProfileWithNoBalance code and stale tests
The hasKilocodeProfileWithNoBalance property was never set to true in
the current CLI-backend architecture, making the no-credits status bar
state unreachable. Also removes AutocompleteModel.spec.ts which tested
an old profile-based architecture that no longer exists.
2026-03-17 12:24:59 +01:00
Mark IJbema 13ff40c583 fix: don't dispose all instances on global config update
Config.updateGlobal() was calling Instance.disposeAll() on every config
change, which destroyed all session state, MCP connections, and in-flight
operations across every project. This meant that any config change (e.g.
removing a mode in VS Code) would effectively kill all running CLI
instances.

The global.reset() call already clears the config cache so consumers
will pick up the new config on their next read. The disposeAll() was
unnecessary overkill.
2026-03-17 12:21:50 +01:00
Catriel Müller 54edf2f516 Merge pull request #7142 from Kilo-Org/catrielmuller/kilo-opencode-v1.2.19
OpenCode v1.2.19
2026-03-17 08:17:02 -03:00
Catriel Müller f2d9599c3a fix: fix build and publish scripts 2026-03-17 08:00:58 -03:00
Mark IJbema 2bb0deca9c Merge pull request #7171 from Kilo-Org/mark/fix-visual-regression-push-no-verify
fix: use --no-verify on visual regression baseline push to skip husky hooks
2026-03-17 11:51:01 +01:00
Catriel Müller eb662661ca feat: enable git rerere 2026-03-17 07:46:48 -03:00
Catriel Müller c29dcdcc60 refactor: clean kilo artifacts before compat commit 2026-03-17 07:46:48 -03:00
Catriel Müller a01e8e5bfb feat: merge opencode v1.2.19 2026-03-17 07:46:46 -03:00
Catriel Müller 63e9928952 fix: tauri db location 2026-03-17 07:45:51 -03:00
Catriel Müller a0aef61031 feat: merge opencode v1.2.18 2026-03-17 07:45:49 -03:00
Mark IJbema 63b5b6895e fix: use --no-verify on visual regression baseline push to skip husky hooks 2026-03-17 11:41:57 +01:00
kiloconnect[bot] b2a59fe5f6 fix(vscode): reload autocomplete when CLI backend connection state changes
AutocompleteServiceManager only called model.reload() once at startup,
before the CLI backend had finished connecting. Since it never subscribed
to connection state changes, hasValidCredentials() permanently returned
false, causing the 'No autocomplete model configured' error even when
the user was logged into Kilo Gateway with credits.

Subscribe to connectionService.onStateChange() so the autocomplete model
and status bar re-evaluate whenever the backend connects or disconnects.
2026-03-17 10:34:20 +00:00
Catriel Müller 57b12e2ebe Opencode v1.2.18
Opencode v1.2.18
2026-03-17 07:30:43 -03:00
github-actions[bot] 6515f7a5b7 chore: update visual regression baselines 2026-03-17 07:27:25 -03:00
Catriel Müller c0a3b2f325 fix: fix sdk generation // vscode test 2026-03-17 07:27:25 -03:00
Catriel Müller 00920f503d fix: add missing lib 2026-03-17 07:27:25 -03:00
Catriel Müller 5b796226c3 refactor: consider kilocode change markers on merge 2026-03-17 07:27:25 -03:00
Catriel Müller f7f02ab70c refactor: remove console log 2026-03-17 07:27:25 -03:00
Catriel Müller 208e5add34 fix: tauri db location 2026-03-17 07:27:25 -03:00
Catriel Müller c48a80bf22 refactor: add kilo markers 2026-03-17 07:27:25 -03:00
Catriel Müller 96de074e4e fix: fix publish 2026-03-17 07:27:25 -03:00
Catriel Müller 7dbe255376 fix: fix build and publish scripts 2026-03-17 07:27:25 -03:00
Catriel Müller b13b701310 feat: merge opencode v1.2.18 2026-03-17 07:27:22 -03:00
Marius 9f52ba9119 feat(ui,vscode): make MCP tools expandable like regular tools (#7168) 2026-03-17 11:25:11 +01:00
kilo-maintainer[bot] 18c282d34c release: v7.0.48 v7.0.48 2026-03-17 10:02:59 +00:00
Mark IJbema d0576703c0 Merge pull request #7160 from Kilo-Org/mark/session-delete-button
feat(vscode): add delete session button to task header
2026-03-17 10:48:25 +01:00
Marius ba6709f036 fix(vscode): replace collapse icon with compress icon for context compaction button (#7163)
The collapse icon (two L-shaped inward arrows) was confused with a close
button at small sizes. Replace it with a new compress icon (center line
with inward-pointing chevrons) that clearly conveys compression.

Closes #6081
2026-03-17 10:42:45 +01:00
Mark IJbema 64f1b17676 Merge pull request #6975 from Kilo-Org/mark/fix-sidebar-position-on-upgrade
fix(vscode): preserve sidebar position when upgrading from legacy extension
2026-03-17 10:41:57 +01:00
Mark IJbema b008844abd Merge branch 'main' into mark/fix-sidebar-position-on-upgrade 2026-03-17 10:39:31 +01:00
Mark IJbema 2e2b3503fb Merge pull request #7136 from Kilo-Org/mark/marketplace-screenshot-tests
test(marketplace): add visual regression stories for skills tab
2026-03-17 10:31:24 +01:00
Mark IJbema c766f23fe2 Merge pull request #7161 from Kilo-Org/fix/disable-external-proxy
fix(cli): disable external proxy to app.opencode.ai
2026-03-17 10:20:51 +01:00
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
Mark IJbema 644ecdcfc6 fix(vscode): optimistically remove session from list on delete
Remove the session from the store immediately when deleteSession is
called so the list item disappears without waiting for the server
round-trip. The full cleanup still runs when the sessionDeleted
event arrives.
2026-03-17 09:50:56 +01:00
github-actions[bot] 33897a3e30 chore: update kilo-vscode visual regression baselines 2026-03-17 08:39:40 +00:00