Commit Graph
10004 Commits
Author SHA1 Message Date
kilo-maintainer[bot] 206783ca25 release: v7.0.31 2026-02-27 01:53:55 +00:00
Joshua Lambert 2c6855e636 Merge pull request #6351 from Kilo-Org/jl-fix-preview-doc
Fix extension preview  content showing on other install types
2026-02-26 18:32:02 -05:00
Marius 71cef2267b Fix agent manager diff viewer collapse and scroll reset (#6406)
* Fix file view collapse regressions

* Fix agent manager diff viewer collapse and scroll reset bugs

Reset openInit flag when switching sessions via a new sessionKey prop so
diff files auto-expand for each session instead of staying collapsed.

Stabilize diff data references during 2.5s polling to prevent <For> from
tearing down and rebuilding <Diff> components, which destroyed scroll
position. Guard setOpen in the auto-open effect to skip updates when the
file list is unchanged.

* remove package.json
2026-02-26 23:37:22 +01:00
Josh Lambert 919481c13b Make a new tab 2026-02-26 17:37:01 -05:00
Igor Šćekić 12964b816d Merge branch 'main' into feat/profile-back-button 2026-02-26 20:24:18 +01:00
Igor Šćekić 5b53c5a965 refactor(chat): simplify ghost text rendering by inlining into highlight overlay
Replace the separate ghost text overlay div with an inline span inside
the existing highlight overlay. Remove the dedicated `ghostRef`,
scroll-sync logic, and associated CSS classes (`prompt-input-ghost-overlay`,
`prompt-input-ghost-hidden`). Adjust padding on the highlight overlay and
textarea to accommodate the ghost text span in the same layout flow.
2026-02-26 19:57:13 +01:00
Igor Šćekić d13a2a7cf6 fix(chat): fix ghost text overlay positioning for caret sync
Move ghost text into a separate absolutely-positioned overlay div that
mirrors the textarea's scroll position, replacing the previous inline
span approach. Add a hidden span to offset the visible ghost text to
the correct position after the current input, ensuring the ghost text
stays aligned with the caret regardless of scroll state.
2026-02-26 19:32:51 +01:00
Igor Šćekić 67760f533f fix(chat): add display block to prompt input ghost wrapper 2026-02-26 19:22:09 +01:00
Christiaan Arnoldus 86a255509d Merge pull request #6344 from Kilo-Org/session/agent_c5400014-aac1-472a-9ef3-0ae6308637fe
fix: restore Claude tool call ID normalization from upstream
2026-02-26 16:45:07 +01:00
Joshua Lambert ae61baa33c Merge pull request #6375 from Kilo-Org/jl-fix-cli-mcp-docs
Fix CLI MCP docs
2026-02-26 10:44:43 -05:00
Josh Lambert 51f181a892 Remove incorrect line about vscode 2026-02-26 10:36:36 -05:00
Josh Lambert 45e6960868 Swap to markdoc formatting 2026-02-26 10:35:19 -05:00
214088a327 Detailed updates to the KiloClaw docs (#6366)
* Move to multiple pages for KiloClaw

* Add a lot more details about how it all works

* Update packages/kilo-docs/pages/automate/kiloclaw/control-ui.md

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>

* Update packages/kilo-docs/pages/automate/kiloclaw/overview.md

Co-authored-by: Florian Hines <florian@kilocode.ai>

* Update packages/kilo-docs/pages/automate/kiloclaw/overview.md

Co-authored-by: Florian Hines <florian@kilocode.ai>

* Update packages/kilo-docs/pages/automate/kiloclaw/overview.md

Co-authored-by: Florian Hines <florian@kilocode.ai>

* Update packages/kilo-docs/pages/automate/kiloclaw/control-ui.md

Co-authored-by: Florian Hines <florian@kilocode.ai>

* Update packages/kilo-docs/pages/automate/kiloclaw/troubleshooting.md

Co-authored-by: Florian Hines <florian@kilocode.ai>

* Control UI update warning

* Add beta note

* Updated a few other values

---------

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Co-authored-by: Florian Hines <florian@kilocode.ai>
2026-02-26 15:34:09 +00:00
Christiaan Arnoldus 02e377a853 Merge pull request #6402 from Kilo-Org/christiaan/update-openrouter-package
Update OpenRouter package
2026-02-26 16:31:47 +01:00
Marius 51aac1ff8b Revert "Detect and remove externally deleted worktrees from agent manager (#6361)" (#6401) 2026-02-26 15:28:25 +00:00
Christiaan Arnoldus 8c7cd9eb2c Update OpenRouter package
so we get the patch hopefully maybe?
2026-02-26 16:21:16 +01:00
Christiaan Arnoldus 9d4300dd22 Update default models 2026-02-26 15:33:24 +01:00
Joshua Lambert f7bd5c7af1 Apply suggestion from @lambertjosh 2026-02-26 09:26:16 -05:00
Marius 146922bcc4 Detect and remove externally deleted worktrees from agent manager (#6361)
* detect and remove externally deleted worktrees from agent manager state via polling

* handle rejection in worktree validation polling

* prevent overlapping validation runs and redundant persistence writes

* guard polling startup on panel liveness and fix flush() to drain queued saves

* fix potential infinite loop in flush() when pendingSave is true without active save
2026-02-26 15:04:24 +01:00
Marius 25ac1341fc feat(agent-manager): add fullscreen review tab with shared diff controls (#6387)
* tmp

* merge

* tmp

* fix

* chore(agent-manager): remove fullscreen diff planning spec

* Fix review comments

* Fix scroll position problems and deduplicate code

* fix(agent-manager): restore Cmd+Enter send-all in review panes

* Add tests and fix cmd enter to send all comments

* Add translations

* Fix tranlsations

* Update translations

* Fix tranlsations
2026-02-26 13:59:01 +00:00
Marius dab4ae78fb fix: agent manager terminal follows context when switching to local mode (#6360)
* fix: agent manager terminal follows context when switching to local mode

When switching from a worktree to local mode with a pending tab,
currentSessionID() was undefined causing terminal triggers (Cmd+/ and
button click) to silently do nothing. Added a showLocalTerminal fallback
that opens a terminal at workspace root, and showExistingLocalTerminal
to auto-reveal the local terminal when switching contexts.

* fix: show warning when local terminal has no workspace folder

* refactor: centralize local terminal key in SessionTerminalManager
2026-02-26 14:54:12 +01:00
Christiaan Arnoldus 644579304a Merge pull request #6385 from Kilo-Org/christiaan/prompt
Add family, prompt, variants to the Kilo gateway
2026-02-26 14:32:57 +01:00
Marius 8ccbcb70b7 fix(agent-manager): use Popover portal for base branch dropdown in advanced options (#6388)
The branch selector dropdown in the New Worktree dialog's Advanced
section was clipped by the dialog's overflow. Replace the hand-rolled
absolute-positioned dropdown with the Popover component (portal-based),
matching the pattern used by the Import tab's branch selector.
2026-02-26 14:10:37 +01:00
Marius 70b5a0743b feat(agent-manager): add open-file button to diff panel (#6359)
* feat(agent-manager): add open-file button to diff panel headers

Each file in the git diff accordion now has an open-file icon button
that opens the file in VS Code, resolved against the correct worktree
path. The worktree path resolution happens extension-side in
AgentManagerProvider via a dedicated agentManager.openFile message.

* fix: guard openWorktreeFile against path traversal

* fix: hide open-file button for deleted files

* refine: use go-to-file icon with tooltip for open-file button

* i18n: add translations for diff open-file tooltip in all 16 languages

* fix: use realpathSync + directory boundary for robust path validation

Addresses all three review comments:
- Prefix-matching bypass: appends path.sep for directory boundary check
- Symlink traversal: fs.realpathSync resolves both root and target
- Cross-platform: path.sep/path.resolve/realpathSync are Windows-aware
2026-02-26 14:10:07 +01:00
Marius 0fe8edc2b8 feat(vscode): show deterministic worktree diff and origin commit stats (#6383)
* tmp

* fix(vscode): prevent overlapping stats polling and localize hover labels

* fix(vscode): harden worktree stats polling and i18n lint

* refactor(vscode): extract worktree stats poller
2026-02-26 13:00:56 +00:00
Mark IJbema 20441bb09e Merge branch 'main' into mark/terminal-expanded-default 2026-02-26 13:41:11 +01:00
Christiaan Arnoldus 2c084431ac Some code reuse 2026-02-26 13:41:04 +01:00
Kevin van Dijk d2b3695c58 Rename directory 2026-02-26 13:35:39 +01:00
Christiaan Arnoldus ab0702f193 Actually honor the values from the api's model metadata 2026-02-26 13:32:35 +01:00
Kevin van Dijk a478ee6cfd Merge pull request #6392 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.14
OpenCode v1.2.14
2026-02-26 13:32:13 +01:00
Marius e03abbc3c9 feat(agent-manager): add Cmd+1-9 quick switch shortcuts for sidebar items (#6386)
Add keyboard shortcuts (Cmd+1-9 on Mac, Ctrl+1-9 on Windows/Linux) to
jump directly to sidebar items in the Agent Manager. Cmd+1 selects
Local, Cmd+2-9 select worktrees in order.

Shortcuts are scoped to the Agent Manager panel via the existing
activeWebviewPanelId when-clause. A hover-reveal badge (matching
Superset's opacity transition pattern) shows the shortcut on each
sidebar item. A new 'Quick Switch' category appears in the keyboard
shortcuts dialog.
2026-02-26 13:26:06 +01:00
Marian Alexandru Alecu 61e7fa048f Merge pull request #6236 from Kilo-Org/fix/memory-leak
Fix memory leaks
2026-02-26 14:11:30 +02:00
Kevin van Dijk b8fe33a8e7 Merge pull request #6389 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.13
OpenCode v1.2.13
2026-02-26 13:02:36 +01:00
Kevin van Dijk a04589b028 Resolve merge conflicts 2026-02-26 12:56:14 +01:00
Marian Alexandru Alecu ecfea37c68 Merge branch 'main' into fix/memory-leak 2026-02-26 13:54:10 +02:00
Kevin van Dijk f2d987e2b8 refactor: kilo compat for v1.2.14 2026-02-26 12:54:06 +01:00
Kevin van Dijk 8f34422961 Resolve merge conflicts 2026-02-26 12:53:40 +01:00
Alex Alecu 996598e78c fix(tui): allow terminateWorker retries after failure 2026-02-26 13:49:20 +02:00
Alex Alecu 97fccc0abb test(memory): remove broad memory regression suite 2026-02-26 13:33:36 +02:00
Alex Alecu cd3bee9e05 test(memory): remove MCP-specific docs and lifecycle tests 2026-02-26 13:33:22 +02:00
Alex Alecu e54479d2cd fix: drop MCP transport monkey patching 2026-02-26 13:33:06 +02:00
Christiaan Arnoldus ad70628553 Add family, prompt, variants to the Kilo gateway 2026-02-26 11:44:27 +01:00
Marius 5ccfa591db fix: normalize agent manager worktree path handling on Windows (#6382)
* fix: normalize agent manager worktree path comparisons

Prevent Windows separator/casing mismatches from breaking worktree lookup, external-worktree detection, and import validation.

* fix: harden managed worktree delete path guard

Replace raw prefix matching with a relative-path boundary check so sibling paths like worktrees-evil are rejected.
2026-02-26 11:05:05 +01:00
Marius e7d47eb503 feat(agent-manager): add diff viewer to local tab for unpushed changes (#6363)
* feat(agent-manager): add diff viewer to local tab for unpushed changes

* refactor: use async git and cache diff target to avoid blocking extension host
2026-02-26 11:04:55 +01:00
Marius 2d34f5136a feat(agent-manager): make diff panel resizable with cursor and width memory (#6384)
Move ResizeHandle inside diff panel wrapper with edge=start for correct
positioning. Set col-resize cursor on document.body during drag so it
persists when mouse leaves the handle. diffWidth signal persists across
open/close cycles since it lives in the parent component scope.
2026-02-26 11:04:30 +01:00
Alex Alecu 9ee536c9c5 test(memory): replace orphan sleeps with exit waits 2026-02-26 09:47:34 +02:00
Alex Alecu d90548092d test(memory): wait for MCP process exit before counting 2026-02-26 09:44:57 +02:00
Alex Alecu f1932fcc14 test(memory): scope orphan baselines per test 2026-02-26 09:42:10 +02:00
Alex Alecu ed4e1394f0 test(memory): isolate MCP baseline per test 2026-02-26 09:40:07 +02:00
Alex Alecu 05c0847eb3 test(memory): remove unsafe LSP any casts 2026-02-26 09:35:55 +02:00