Commit Graph
15258 Commits
Author SHA1 Message Date
Kirill Kalishev 5ccceb5a93 Merge branch 'main' into caring-columnist 2026-04-08 08:52:54 -04:00
Marian Alexandru Alecu ca3b8eb496 Merge pull request #8590 from Kilo-Org/fix/enforce-opencode-separation
fix: Update agents.md to enfore even more OpenCode separation
2026-04-08 15:34:30 +03:00
Alex Alecu 8f354dbc97 fix: Update agents.md to enfore even more OpenCode separation 2026-04-08 15:22:09 +03:00
Marius c294c6af59 fix(agent-manager): key PR cache by branch and reduce TTL to 10s (#8588)
Address review feedback from #8582:
- Key prCache by branch name instead of worktreeId so a branch switch
  in the same worktree naturally cache-misses instead of returning the
  previous branch's PR for up to the full TTL.
- Drop PR_LOOKUP_TTL from 60s to 10s to match the polling behavior of
  comparable tools — since only the active worktree polls, this adds
  at most 1 extra lookup per cycle.
2026-04-08 14:11:55 +02:00
Marius e29befcf71 fix(agent-manager): restore subtitle, pr, and onOpenPR props in section renderWt (#8583) 2026-04-08 13:52:33 +02:00
Mark IJbema aa2d747798 Merge pull request #8142 from Kilo-Org/mark/reimplement-mcp-removal
feat(vscode): reimplement MCP removal in agent behaviour settings
2026-04-08 13:52:30 +02:00
Marius c292de9d37 perf(agent-manager): reduce GitHub API usage in PR status polling (#8582)
Poll only the active worktree on each 15s timer tick instead of all
worktrees. Inactive worktrees refresh when selected or on manual
refresh. On first poll and visibility resume, all worktrees are fetched
once to populate badges.

Add a 60s TTL cache on PR lookup results so repeated polls skip the
expensive multi-strategy gh pr view cascade and only re-fetch checks
and comments (the fast-changing data).

With 10 worktrees this reduces API calls from ~5,000-9,800/hr to
~480-720/hr, staying well within GitHub's 5,000/hr rate limit.
2026-04-08 13:49:09 +02:00
Marian Alexandru Alecu 242c167171 Merge pull request #8504 from Kilo-Org/feat/help-all-command
feat: add kilo help --all command and auto-generated CLI reference docs
2026-04-08 14:46:51 +03:00
Mark IJbema 6cc197c44c Merge branch 'main' into mark/reimplement-mcp-removal 2026-04-08 13:41:47 +02:00
Evgeny Shurakov a11ab3a938 Merge pull request #8539 from Kilo-Org/eshurakov/telemetry-remote-connection-v2
Cli - Track remote connection opened event in PostHog
2026-04-08 13:39:09 +02:00
Marius 5de991a807 feat(ui): add copy button for assistant messages in kilo-ui (#8578)
The kilo-ui TextPartDisplay was missing a copy button for assistant
responses. Add one that mirrors the existing user message copy button,
shown left-aligned with minimal margin on the last text part of a
completed turn.
2026-04-08 13:38:55 +02:00
Alex Alecu 0697217d13 fix(cli): strengthen sync test and add missing ConfigCLICommand 2026-04-08 14:30:09 +03:00
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
Alex Alecu fb5d85e2e5 fix(cli): make 'kilo help' show same output as 'kilo -h' 2026-04-08 13:57:25 +03: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
Alex Alecu 8327300881 Merge remote-tracking branch 'origin/main' into feat/help-all-command
# Conflicts:
#	packages/opencode/src/index.ts
2026-04-08 12:10:48 +03: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
Alex Alecu a0a1ffa744 Merge branch 'main' into feat/help-all-command 2026-04-08 12:07:21 +03:00
Alex Alecu 7ecc076397 fix(cli): restore native --help for subcommands 2026-04-08 12:07:12 +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
Alex Alecu cf1a120999 test(cli): add sync check for commands.ts vs index.ts 2026-04-08 11:40:56 +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
Alex Alecu 89e61c6e65 fix(cli): disable built-in help command to allow kilo help --all to work
The .help('help', ...) method registers yargs' built-in help command
which shadows the custom HelpCommand registered on the same 'help' path.
This means 'kilo help --all' never reaches the custom handler.

Fix by:
- Replacing .help('help', ...) with .help(false) + .option('help', ...)
  to disable the built-in command while keeping --help/-h flags
- Adding early-exit handlers in middleware for --help and --version
  to skip expensive initialization (telemetry, DB migration)
2026-04-08 11:38:15 +03: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
kirillk e5349dc7e3 Revert "fix: pin framer-motion to 12.34.5 to match motion-dom@12.34.3"
This reverts commit 971f4042d7.
2026-04-07 16:20:54 -04:00