Commit Graph
16841 Commits
Author SHA1 Message Date
Christiaan Arnoldus cada8a95bc Fix typecheck 2026-04-15 11:55:17 +02:00
Christiaan Arnoldus ee66ba1984 Merge branch 'main' into session/agent_9864f1dc-ca7c-4243-877b-14d089b66f92 2026-04-15 11:49:58 +02:00
Christiaan Arnoldus e01716a2d8 Pick variants from the model 2026-04-15 11:48:57 +02:00
Marius fb6beddffc fix(agent-manager): preserve worktree sessions when backend listing fails (#8902)
When the CLI backend is temporarily unhealthy, session.list() for worktree
directories throws and the catch returns []. The webview reconciliation then
deletes those sessions from the store, making them disappear. Track failed
directories and pass preserveSessionIds so the webview skips deletion for
sessions whose absence is transient.

Closes #7466
2026-04-15 11:07:58 +02:00
Marius 0679fdfcd8 perf(agent-manager): skip git stats polling for worktrees in collapsed sections (#8903)
Sync GitStatsPoller skip set with collapsed section state via pushState(),
saving 1 aheadBehind subprocess + 1 diffSummary HTTP call per hidden
worktree per poll cycle.

Closes #8900
2026-04-15 10:59:55 +02:00
Marius b9ecdb16a6 fix(ui): use LTR isolate instead of LTR embedding for directory paths in diff headers (#8959)
The trailing / in directory paths was visually disappearing in diff
viewer headers because CSS direction:rtl interacted poorly with the
weaker LRE/PDF bidi embedding characters (\u202A/\u202C). Replace with
LRI/PDI isolate characters (\u2066/\u2069) which fully prevent the
surrounding RTL context from reordering boundary characters like /.
2026-04-15 08:58:38 +00:00
Marius 22806d4966 fix(cli): avoid worktree diff patch generation (#8953) 2026-04-15 10:41:00 +02:00
Mariusandgithub-actions[bot] aa9af01fef fix(agent-manager): fix tab header tooltip-trigger breaking height chain (#8955)
* fix(agent-manager): fix tab header tooltip-trigger breaking height chain

The Tooltip component wraps its trigger in a div with display:flex but
no explicit height, breaking the height chain from .am-tab-bar (36px)
through to .am-tab. This caused tabs to collapse to content height
instead of stretching to the full tab bar, clipping the 2px active
indicator border.

Add scoped CSS rules targeting only the outer tooltip-trigger inside
.am-tab-sortable (via direct child and context-menu-trigger selectors)
to restore height:100% without affecting inner tooltip triggers like the
close button.

Add three TabBar visual regression stories that reproduce the real DOM
structure (ContextMenu.Trigger with display:contents, nested
TooltipKeybind wrappers) to catch future regressions.

* chore: update kilo-vscode visual regression baselines

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-15 08:40:49 +00:00
Marius 7939a021cb fix(cli): re-apply dead-stream detection to SSE endpoints to prevent memory leak on Windows (#8952)
* fix(cli): re-apply dead-stream detection to SSE endpoints to prevent memory leak on Windows

The upstream OpenCode v1.3.0 merge rewrote SSE routes with AsyncQueue but
dropped our dead-stream detection. On Windows, stream.onAbort() may never
fire after client disconnect (IOCP delays TCP RST detection), leaking a
GlobalBus listener, heartbeat interval, and AsyncQueue per dead connection.
Wrap writeSSE in try/catch to clean up eagerly on write failure.

* fix(cli): log dead-stream cleanup in SSE endpoints
2026-04-15 10:40:20 +02:00
Marian Alexandru Alecu 5182ea6a44 Merge pull request #8919 from Kilo-Org/fix/internal-skills
fix(cli): restore built-in skill registration
2026-04-15 11:35:36 +03:00
Marius 9a0f30ecbd chore(cli): untrack models-snapshot files (#8947)
These files are already in .gitignore but were committed before the
rule was added. Remove them from tracking so the gitignore takes
effect and build-generated changes stop appearing in diffs.
2026-04-15 07:59:51 +00:00
Marian Alexandru Alecu b0a658ed11 Merge pull request #8671 from Kilo-Org/fix/skill-read-config-protection
fix(cli): stop config protection from blocking skill reads
2026-04-15 10:38:04 +03:00
Alex Alecu b7e1491eec test(cli): move config dir test to kilocode/ 2026-04-15 10:21:00 +03:00
Christiaan Arnoldus 7d932c347d Merge branch 'main' into session/agent_9864f1dc-ca7c-4243-877b-14d089b66f92 2026-04-15 09:07:22 +02:00
Marian Alexandru Alecu b882d352e6 Merge branch 'main' into fix/internal-skills 2026-04-15 09:45:43 +03:00
kilo-maintainer[bot] 75bf2109ba chore: update nix node_modules hashes 2026-04-14 23:08:45 +00:00
Catriel Müller a6c712c514 OpenCode v1.4.3
OpenCode v1.4.3
2026-04-14 19:49:30 -03:00
Catriel Müller 995d4a0755 fix: update links 2026-04-14 19:33:41 -03:00
Catriel Müller 6b04c0fb93 fix: fix prettier version 2026-04-14 19:33:07 -03:00
Catriel Müller c32e7a860a fix: fix core tests 2026-04-14 19:20:25 -03:00
Catriel Müller 87ca280011 fix: typechecks 2026-04-14 17:25:37 -03:00
Catriel Müller 51983b1e95 refactor: regenerate sdk 2026-04-14 17:09:24 -03:00
Catriel Müller c79ecad635 refactor: bun lock update 2026-04-14 17:06:09 -03:00
Catriel Müller 1c67e0fe71 resolve merge conflicts 2026-04-14 17:05:48 -03:00
kilo-maintainer[bot] edb7dbbf5c chore: update nix node_modules hashes 2026-04-14 17:54:14 +00:00
Catriel Müller c9e0060e2a refactor: kilo compat for v1.4.3 2026-04-14 14:46:57 -03:00
Catriel Müller f3bc6e04f4 Merge pull request #8923 from Kilo-Org/imanolmaiztegui/kilo-opencode-v1.4.0
OpenCode v1.4.0
2026-04-14 14:42:45 -03:00
Alex Alecu 7ff38788ca fix(cli): add kilocode_change annotations to shared skill tests 2026-04-14 20:35:01 +03:00
Marian Alexandru Alecu 26e23c3ce4 Merge pull request #8357 from shssoichiro/tui-usage-info
tui: show token usage breakdown in sidebar
2026-04-14 20:31:27 +03:00
Catriel Müller 9fe8b969e0 fix: windows http memory 2026-04-14 14:20:58 -03:00
Marian Alexandru Alecu 5b98391dd5 Merge branch 'main' into tui-usage-info 2026-04-14 20:13:07 +03:00
Marian Alexandru Alecu d2427eb190 Merge pull request #6183 from Ashwinhegde19/fix/windows-mouse-tracking-exit
fix: disable mouse tracking on Windows terminal exit
2026-04-14 20:12:44 +03:00
Imanol Maiztegui ba3309b21f fix(opencode): merge variant into model object in plan-followup test seed
Pass variant as a property of the model object instead of as a separate
field, conditionally spreading it when input.variant is provided.
2026-04-14 19:00:52 +02:00
github-actions[bot] be5272acc9 chore: update visual regression baselines 2026-04-14 16:54:40 +00:00
Catriel Müller 7df2904b60 fix: vscode read tool align title 2026-04-14 13:52:10 -03:00
Alex Alecu 316a6473b6 fix(cli): add kilocode_change markers 2026-04-14 19:41:50 +03:00
Imanol Maiztegui 6b2ed45466 style(vscode): normalize indentation and formatting in legacy utils and UI
Adjust boolean expression alignment in isCompletionResult to use
consistent indentation, and reformat PopupSelectorProps generic type
constraint to break the extends clause across multiple lines.
2026-04-14 18:39:59 +02:00
Imanol Maiztegui 7ccf624a82 feat(vscode): resolve diff content from patch field in UI components
Update DiffVirtualApp and PermissionDiff to reconstruct before/after
content from the patch field when explicit before/after values are not
provided. Export the `text` helper from kilo-ui session-diff and add
`patch` to the PermissionFileDiff type.

In message-v2, refine stripMessageMetadata to only strip oversized
patches (exceeding MAX_DIFF_SIZE) rather than all patches, preserving
small patches so the UI can render inline diffs without additional
fetches.
2026-04-14 18:39:59 +02:00
Alex Gold ee883b55ec Merge pull request #8449 from Kilo-Org/docs/exec-approvals-allow-everything
docs(kilo-docs): add Allow Everything setting info to exec approvals page
2026-04-14 12:34:23 -04:00
Alex Alecu a5c422e82f fix(vscode): hide remove button for built-in skills 2026-04-14 19:34:13 +03:00
github-actions[bot] 1cf1e6f14c chore: update visual regression baselines 2026-04-14 16:28:23 +00:00
Alex Alecu c1aca9a0cc fix(cli): log error in catch block 2026-04-14 19:27:13 +03:00
Alex Alecu 7cf2b36ba0 fix(cli): resolve merge conflicts with main 2026-04-14 19:26:28 +03:00
Imanol Maiztegui 4e115bf884 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.4.0 2026-04-14 18:25:59 +02:00
Alex Gold 520bb096a6 Merge branch 'main' into docs/exec-approvals-allow-everything 2026-04-14 12:25:00 -04:00
Mark IJbema 34005d2f94 Merge pull request #8917 from Kilo-Org/mark/fix-modified-files-spacing
fix(vscode): add missing space between 'Modified' and file count
2026-04-14 18:05:45 +02:00
Mark IJbema 37c1ff2d65 fix(vscode): align diff bars to text baseline in diff summary header 2026-04-14 17:55:44 +02:00
Alex Alecu 0f196e7af6 fix(cli): restore built-in skill registration lost in upstream merge 2026-04-14 18:48:08 +03:00
Mark IJbema 4b66a9ccad fix(vscode): make diff summary title inline with flexbox so bars render on same line 2026-04-14 17:45:21 +02:00
github-actions[bot] 749337f75d chore: update kilo-vscode visual regression baselines 2026-04-14 15:44:03 +00:00