Commit Graph
15203 Commits
Author SHA1 Message Date
Marius c7bebd225e feat(agent-manager): add user-defined sections for organizing worktrees (#8225)
Implement collapsible, color-coded sections in the Agent Manager sidebar.
Sections can be created, renamed, colored, deleted, and reordered via
Move Up/Down context menu. Worktrees are assigned via context menu or
drag-and-drop onto section headers.

- Section CRUD in WorktreeStateManager with JSON persistence
- worktreeOrder normalization on load (backfills missing section IDs)
- setWorktreeOrder filters to top-level only (sections + ungrouped worktrees)
- moveSection operates on visible top-level model, not raw array
- createDroppable sections as worktree drop targets
- sectionAwareDetector skips home section for within-section reorder
- Multi-version worktree groups move together
- Auto-rename on creation with double-rAF focus
- 76 tests (26 state manager + 15 helpers + 35 arch)
2026-04-08 13:16:52 +02:00
Marius 850826a2be fix(cli): align /local-review diff with agent manager diff viewer (#8574)
The /local-review command used git diff base...HEAD (triple-dot) which only
captured committed changes. The diff viewer uses merge-base + two-dot diff
against the working tree. This mismatch caused /local-review to show
'nothing to review' when changes were uncommitted.

Now computes merge-base explicitly and diffs the working tree against it,
matching WorktreeDiff behavior. Also includes untracked files.
2026-04-08 11:05:06 +00:00
Marius 60c91b5113 fix(vscode): dispose git processes on panel close to prevent orphans on Windows (#8572)
Add AbortController to GitOps that kills in-flight child processes when
dispose() is called. Thread the abort signal through both simple-git and
child_process.spawn so spawned git processes are terminated immediately
on Windows (TerminateProcess) and Unix (SIGTERM).

Wire gitOps.dispose() into all three owners: DiffViewerProvider,
AgentManagerProvider, and KiloProvider.
2026-04-08 12:59:33 +02:00
Mark IJbema 13c46741b7 Merge pull request #8567 from Kilo-Org/feat/vscode-model-search-fuzzy
feat(vscode): add fuzzy search to model selector
2026-04-08 12:21:39 +02:00
Mark IJbema be5dc85812 Merge branch 'main' into feat/vscode-model-search-fuzzy 2026-04-08 11:24:43 +02:00
Mark IJbema d771f29a60 refactor(vscode): extract search matching into testable utility
Move word-boundary matching logic from ModelSelector.tsx into
webview-ui/src/utils/search-match.ts with 37 unit tests ported from
the legacy word-boundary-fzf.ts test suite.
2026-04-08 11:19:32 +02:00
Mark IJbema 4b1e81b113 fix(vscode): use word-boundary matching instead of fuzzy match in model selector
Port the word-boundary matching algorithm from the legacy word-boundary-fzf.ts.
This splits text at camelCase transitions and delimiters, so 'clso' matches
'Claude Sonnet' (Cl+So) and multi-word queries like 'gpt 5' require each
fragment to match independently.
2026-04-08 11:10:58 +02:00
Marian Alexandru Alecu f383210b8b Merge pull request #8473 from Kilo-Org/fix/cli-config-resilience
fix(cli): skip invalid agent/command configs
2026-04-08 12:08:57 +03:00
Mark IJbema 9dd44993ed fix(vscode): trim whitespace-only search queries in model selector 2026-04-08 11:05:56 +02:00
Alex Alecu 83e8bbef8f Merge remote-tracking branch 'origin/main' into fix/cli-config-resilience
# Conflicts:
#	packages/opencode/src/kilocode/skills/kilo-config.md
2026-04-08 11:53:52 +03:00
Marian Alexandru Alecu e3bade8319 Merge pull request #8474 from Kilo-Org/docs/kilo-config-legacy-paths
docs(cli): add legacy paths to kilo-config skill
2026-04-08 11:50:02 +03:00
Marius 49cabd99c3 feat(agent-manager): add expand/collapse all button to inline diff panel (#8562) 2026-04-08 10:49:23 +02:00
Alex Alecu 0a2c10956e style(cli): add kilocode markers on mode block 2026-04-08 11:48:10 +03:00
Alex Alecu cef00b9df3 style(cli): add kilocode markers on agent block 2026-04-08 11:47:50 +03:00
Alex Alecu b5c756ef72 style(cli): add kilocode markers on command block 2026-04-08 11:47:24 +03:00
Alex Alecu e0e116e9cc docs(cli): add workflows section 2026-04-08 11:47:05 +03:00
Alex Alecu bb8b807dff docs(cli): add KILO_CONFIG_DIR to command paths 2026-04-08 11:46:42 +03:00
Alex Alecu b871498690 style(cli): add kilocode markers in toast 2026-04-08 11:46:40 +03:00
kiloconnect[bot] d815b2118d feat(vscode): add fuzzy search to model selector
- Add subsequence fuzzy matching for model search
- Support searching by provider name
- Normalize spaces to dashes for better matching (e.g., 'gpt 5.4' matches 'gpt-5.4')

Fixes #8404
2026-04-08 08:38:34 +00:00
Mark IJbema 1922952c59 Merge pull request #7552 from thomasboom/docs/updated-models-mentioned
docs: update bonus credits and AI model versions in README
2026-04-08 10:36:46 +02:00
Marius 634cec88b1 fix(vscode): show stop button during rate limit retry state (#8552)
The PromptInput isBusy() check only matched 'busy' status, hiding the
stop button and disabling Escape-to-abort when the session was in 'retry'
state (e.g. rate limited). Changed to match any non-idle status so users
can always abort.
2026-04-08 10:34:41 +02:00
Mark IJbema c9e8188504 Merge pull request #8561 from Kilo-Org/recover/pr-7981
fix(vscode): fall back to generic "Try Model" for long model names
2026-04-08 10:21:20 +02:00
kiloconnect[bot] f3dee356af fix(vscode): add missing uk translation for tryModelGeneric 2026-04-08 08:19:10 +00:00
Mark IJbema ae11d9dec8 Merge pull request #8560 from Kilo-Org/recover/pr-7720
fix(i18n): clarify built-in mode banner to avoid read-only confusion
2026-04-08 10:08:03 +02:00
Thomas Boom de9d4f5864 Merge branch 'main' into docs/updated-models-mentioned 2026-04-08 10:07:51 +02:00
kiloconnect[bot] 17b2355a26 fix(vscode): fall back to generic "Try Model" for long model names
Recover PR #7981 (force-pushed by publish workflow on April 1, 2026).

When the suggested model name exceeds 30 characters (after stripping
sub-provider prefix), fall back to the generic "Try Model" label
to prevent an oversized notification button.

Adds tryModelGeneric i18n key for the fallback label across all 18
locales.

See #8558
2026-04-08 07:56:38 +00:00
kiloconnect[bot] 9e13f71a75 fix(i18n): clarify built-in mode banner to avoid read-only confusion
Re-apply PR #7720 which was reverted by a force push during the publish
workflow. Also update uk, tr, and nl translations which were missed by
the original translation update in PR #8086.

Closes #8558 (partial)
2026-04-08 07:51:50 +00:00
Mark IJbema 063c3c6e1b Merge pull request #8553 from Kilo-Org/feat/rules-open-file-icon
feat(vscode): add open-in-editor icon to instruction files in Rules tab
2026-04-08 09:43:49 +02:00
kiloconnect[bot] 32c442497f fix(vscode): use pencil-line icon for edit action in Rules tab
The pencil icon more clearly conveys "edit this file" compared to the
go-to-file icon.
2026-04-08 07:31:47 +00:00
Marius 60bfeaf630 feat(agent-manager): sync worktree branch from git worktree list (#8534)
Piggyback on the existing `git worktree list --porcelain` call in
probeWorktreePresence to detect branch changes (e.g. after checking
out a PR branch). Zero additional git calls — the branch info was
already returned but discarded.
2026-04-08 09:22:38 +02:00
kiloconnect[bot] 6106b1275d feat(vscode): add open-in-editor icon to instruction files in Rules tab
Add a go-to-file icon button next to each instruction file entry in the
Agent Behaviour > Rules subtab, allowing users to open the file directly
in the editor. Uses the established go-to-file icon pattern consistent
with DiffPanel and PromptInput components.
2026-04-08 07:19:39 +00:00
Kirill Kalishev 1a5be52c77 Merge pull request #8531 from Kilo-Org/fix/opencode-annotation-ci-path
feat(cli): re-apply kilocode_change annotation CI check (lost in force push)
2026-04-07 16:16:23 -04:00
Catriel Müller 2bca86c62c Merge pull request #8435 from Kilo-Org/catrielmuller/fix-8333
feat(vscode): exponential backoff retry with cancel button for rate limiting
2026-04-07 17:10:40 -03:00
Kirill Kalishev 1496fa2d7c Merge branch 'main' into fix/opencode-annotation-ci-path 2026-04-07 15:43:34 -04:00
kirillk 2371b74784 revert: restore bun run script/ invocation (consistent with source-check-links) 2026-04-07 15:41:29 -04:00
kirillk 2828b7e000 feat(cli): add annotation check script and AGENTS.md docs 2026-04-07 15:39:04 -04:00
Marius f08ad1ef74 feat(agent-manager): show branch name as subtitle in worktree sidebar items (#8529)
Display the git branch name beneath the worktree label when it differs
from the display name. Aligns the local card branch style to match
(10px, --text-weaker).
2026-04-07 21:32:09 +02:00
kirillk f0b34e4129 fix(cli): use bun ./script path to fix module resolution in CI 2026-04-07 15:25:10 -04:00
kilo-maintainer[bot] 760f24608e release: v7.2.0 v7.2.0 2026-04-07 19:11:12 +00:00
81af73f177 feat(agent-manager): add GitHub PR status badge to worktree sidebar (#8524)
* feat(agent-manager): add GitHub PR status badge to worktree sidebar

Recovered from PR #8515 which was lost when kilo-maintainer[bot] force-pushed release v7.1.23 on a stale base.

Co-authored-by: LLRHook <131478441+LLRHook@users.noreply.github.com>

* chore: update kilo-vscode visual regression baselines

---------

Co-authored-by: LLRHook <131478441+LLRHook@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-07 14:53:10 -04:00
Marius aa34a47ccb fix(vscode): retry transient fetch failures in session.command and promptAsync (#8525)
Recovered from PR #7948 which was lost when kilo-maintainer[bot] force-pushed release v7.1.23 on a stale base.
2026-04-07 14:52:54 -04:00
Imanol Maiztegui ee8c26f80c fix: remove local storage from ignored folder (#8431) 2026-04-07 17:13:31 +00:00
Johnny Amancio afe950dc0c perf(snapshot): add mutex lock, incremental add, and batched revert
Port snapshot optimizations from upstream OpenCode to reduce git process
spawning and prevent concurrent corruption:

- Per-gitdir mutex lock (upstream #17878, v1.3.0): serializes concurrent
  snapshot operations to prevent race conditions
- Incremental git add (upstream #17878, v1.3.0): replaces naive `git add .`
  with diff-files + ls-files + size filtering, skipping files >2MB
- Batched revert (upstream #20564, v1.3.14): groups up to 100 files per
  git checkout call with path-conflict detection, falling back to
  single-file revert on failure

Benchmarks (200 files):
- revert: 2,851ms → 191ms (15x faster, 8x fewer git processes)
- concurrent track: 2/5 succeed → 5/5 succeed (corruption fixed)
2026-04-07 19:05:15 +02:00
kilo-maintainer[bot] 5650850aa6 release: v7.1.23 v7.1.23 2026-04-07 16:19:27 +00:00
Alex Alecu 2ca9542254 fix(cli): guard session import in config error handlers 2026-04-07 18:06:48 +03:00
Alex Alecu 5d184aba94 style(cli): fix kilocode_change markers 2026-04-07 18:01:37 +03:00
Kirill Kalishev d0ca6ee03f Merge pull request #8479 from shssoichiro/issue-8478
fix(core): make follow-up execution aware of the saved plan file
2026-04-07 11:01:24 -04:00
Alex Alecu 0de8282c04 style(vscode): remove kilocode_change markers 2026-04-07 17:58:24 +03:00
Alex Alecu f0a30751b8 fix(cli): let managed config errors propagate 2026-04-07 17:57:34 +03:00
Alex Alecu 5accaead16 fix(cli): include detail in validation error 2026-04-07 17:57:10 +03:00