Commit Graph
14480 Commits
Author SHA1 Message Date
kilo-maintainer[bot] 18c5fc3f22 release: v7.1.5 v7.1.5 2026-03-26 09:56:13 +00:00
kilo-code-bot[bot]andkiloconnect[bot] e4370d4f7f fix(agent-manager): scope model selection to individual sessions instead of global state (#7657)
applyModel() was writing to both the global modelSelections map (keyed by
agent name) and the per-session sessionOverrides map. When switching
between sessions in a worktree, any session without its own override
inherited the last-written global model from another session.

Fix: when a session is active, applyModel() now writes ONLY to the
per-session sessionOverrides map. The global modelSelections map is only
written when no session is active (sidebar mode).

Extract session-model-store.ts with pure functions mirroring the store
operations so the per-session isolation logic is directly testable.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-03-26 10:45:21 +01:00
Marius 94be163cde fix(vscode): prevent Escape in slash/mention menus from aborting agent (#7669)
Solid.js delegates onKeyDown to document level, so stopPropagation alone
cannot prevent ChatView's document-level Escape handler from firing.
Add defaultPrevented check to the ChatView handler so menus that already
called preventDefault are respected.
2026-03-26 10:20:54 +01:00
Marian Alexandru Alecu 4a2d979395 Merge pull request #7056 from Githubguy132010/fix/block-subagents-spawning-subagents
fix: block subagents from spawning subagents
2026-03-26 11:18:14 +02:00
Mark IJbema 085022d463 Merge pull request #7645 from Kilo-Org/mark/7600-rules-improvements
feat(vscode): improve Rules sub-tab with description and guidance
2026-03-25 22:20:22 +01:00
Marius 409e4afd5e fix: prevent branch dropdowns from closing on first click (#7643)
* tmp

* fix: prevent branch dropdowns from closing on first click

Delay branch selector autofocus until mount and ignore focus-outside dismissal while the popover is still opening inside dialogs.
2026-03-25 21:40:36 +01:00
Mark IJbema fd6a25f387 feat(vscode): improve Rules sub-tab with description paragraph
Add a description paragraph at the top of the Rules sub-tab
explaining what rules are and how they work. The description
is shown above the instruction files list.

File creation and per-rule toggles are deferred since the CLI
does not expose per-instruction-file enable/disable, and file
creation requires a webview-to-extension file creation message.

Closes #7600
2026-03-25 21:37:05 +01:00
Kirill Kalishev 64a9eb837e Merge pull request #7629 from Kilo-Org/kirillk/history
feat(vscode): merge local and cloud history into single tabbed panel
2026-03-25 16:21:56 -04:00
Marius d470762f4f fix(vscode): fix continue-in-worktree progress labels and recent session routing (#7639)
* fix(vscode): fix progress label variable, prevent worktree sessions from opening locally

- Fix labels[status] → labels[m.status] in ChatView progress handler
  (progress text was always "Working..." instead of step-specific labels)
- Guard onSelectSession in Agent Manager: when a worktree-scoped session
  appears in the recent list, navigate to its worktree instead of calling
  openLocally() which would strip its directory mapping
- Remove empty captureState test placeholder

* fix(vscode): exit review mode when opening recent worktree session
2026-03-25 16:13:27 -04:00
Scuttle Bot a34bd73759 docs: add Inception to supported BYOK providers list (#7638) 2026-03-25 16:11:28 -04:00
kirillk f7079c8e8d i18n(vscode): translate session.showHistory into all languages 2026-03-25 16:01:46 -04:00
kirillk 6e203aaa18 style(vscode): fix prettier formatting in App.tsx 2026-03-25 15:50:20 -04:00
Kirill Kalishev 37f7797cdd Merge branch 'main' into kirillk/history 2026-03-25 15:47:27 -04:00
Marius b984320ecb Merge pull request #7541 from Kilo-Org/emphasized-meadowlark
feat(vscode): add "Continue in Worktree" button
2026-03-25 20:45:01 +01:00
Marius c64d0e5e9c fix(agent-manager): review comment edit button not triggering re-render (#7637)
Include editing state in annotation metadata so pierre detects the
change and re-renders the annotation in edit mode. Extract duplicated
annotationsForFile logic into shared buildFileAnnotations helper.

Closes #7585
2026-03-25 19:33:33 +00:00
github-actions[bot] 71ca04d8dc chore: update kilo-vscode visual regression baselines 2026-03-25 19:30:15 +00:00
Marius 77436ef3f1 fix(agent-manager): remove fixed max-width on tab labels (#7634)
The .am-tab-label had a hardcoded max-width: 150px that truncated
session titles like "New session - 2026-03-25T..." with ellipsis.
The scrollable tab bar already handles overflow via overflow-x: auto
with fade indicators, so the fixed constraint was unnecessary.
2026-03-25 15:29:32 -04:00
Marius e9696cedbc fix(agent-manager): make Cmd+Shift+M work from VS Code terminal (#7514)
* fix(agent-manager): make Cmd+Shift+M work from VS Code terminal

The Agent Manager keybinding was not firing when a VS Code terminal had
focus because the terminal intercepts all keystrokes by default — only
commands in terminal.integrated.commandsToSkipShell are forwarded to
VS Code's keybinding system, and extension commands are not included.

- Register agentManagerOpen and showTerminal in commandsToSkipShell on
  activation so the terminal forwards those keystrokes to VS Code
- Post focusInput to the webview after revealing the panel so the prompt
  textarea is focused reliably (the window focus event is unreliable
  when switching from a terminal)

* fix(agent-manager): respect workspace-scoped commandsToSkipShell overrides

Use inspect() to find the highest-precedence scope that already defines
commandsToSkipShell and update that scope, instead of always writing to
Global which misses workspace overrides and leaks values.
2026-03-25 15:29:17 -04:00
Marius 350e34ee4e fix(agent-manager): prevent duplicate panels via deserialization and stale dispose (#7537) 2026-03-25 15:28:52 -04:00
marius-kilocode 926c7eac2b feat(vscode): add tests for git-transfer and continue-in-worktree, split into atomic steps
- Split continueInWorktree into 6 exported atomic functions:
  abortSession, captureState, prepareWorktree, transferState,
  forkSession, registerSession — each independently testable
- Add StepResult<T> type for consistent error handling
- Fix git patch capture to preserve trailing newline (was trimmed,
  causing "corrupt patch" on apply)
- Fix stdin piping: use spawn for git apply stdin, execFile for rest
- Add 13 tests for git-transfer (capture, apply, round-trip with real
  git repos — no mocks)
- Add 11 tests for continue-in-worktree step functions
2026-03-25 20:28:00 +01:00
Kirill Kalishev 812825e85e Merge branch 'main' into kirillk/history 2026-03-25 15:20:28 -04:00
kirillk 9ec9a41fd3 fix(vscode): apply session list item layout to cloud session list
Extend the title/description flex layout rules from .session-list to
.cloud-session-list so narrow widths truncate the title with ellipsis
instead of wrapping the text onto multiple lines.
2026-03-25 15:18:39 -04:00
marius-kilocode 17679f468d fix(vscode): address review — show error toast, restrict button to sidebar/AM local, windowsHide
- Show toast on transfer failure instead of silently resetting
- Use explicit continueInWorktree prop (default false) so open-in-tab
  panels and other KiloProvider instances do not show the button
- Pass continueInWorktree from sidebar App.tsx and AgentManagerApp.tsx
- Add windowsHide:true to git-transfer.ts execFile calls
2026-03-25 20:18:23 +01:00
marius-kilocode 31c45911e2 fix(vscode): make buttons fill their flex space within tooltip wrappers 2026-03-25 20:18:23 +01:00
marius-kilocode 811238b3d1 fix(vscode): make session action buttons fill space dynamically
Buttons use flex:1 via > * selector so they grow to fill available
space. When the diff badge is hidden (no changes), remaining buttons
expand to fill the row. Diff badge wrapper uses flex:0 + margin-left:auto
to stay right-aligned at its natural width.
2026-03-25 20:18:23 +01:00
marius-kilocode 7b088dd01e fix(vscode): shorten tooltips, hide diff badge when no changes 2026-03-25 20:18:22 +01:00
marius-kilocode 6c3cd38a6c fix(vscode): add tooltips to session action buttons 2026-03-25 20:18:22 +01:00
marius-kilocode 6867b49194 fix(vscode): move diff badge to the right end of the action row 2026-03-25 20:18:22 +01:00
marius-kilocode 4dc55f6e59 fix(vscode): replace Show Changes with diff stats badge, shorten Worktree label
Replace the "Show Changes" text button with a compact diff stats badge
showing file count, additions, and deletions (3f +42 -8) using data
from session.summary(). Shorten "Continue in Worktree" to "Worktree".
All three buttons share one row.
2026-03-25 20:18:22 +01:00
marius-kilocode 14ba3f49c5 chore: remove stray file 2026-03-25 20:18:22 +01:00
marius-kilocode 0d98455b25 fix(vscode): put all session action buttons in one row
Move New Task into the same flex row as Show Changes and Continue in
Worktree. All three sit side by side as equal-width buttons, wrapping
only when the sidebar is too narrow.
2026-03-25 20:18:22 +01:00
marius-kilocode 12e33433a4 fix(vscode): fix session action buttons to share one row
Remove data-full-width from buttons inside the flex row (it forced
width:100% overriding flex). Use flex:1 with min-width:fit-content
so they share the row and only wrap when genuinely too narrow.
2026-03-25 20:18:21 +01:00
marius-kilocode dd5d966046 fix(vscode): put Show Changes and Continue in Worktree on same row with flex-wrap 2026-03-25 20:18:21 +01:00
marius-kilocode 829395b1a5 fix(vscode): address review — wire AM handler, fail on transfer error, hide button in worktree sessions
- Handle continueInWorktree in AgentManagerProvider.onMessage so the
  button works from local Agent Manager sessions
- Add ContinueInWorktreeIn to AgentManagerInMessage union
- Stop and report error when git state transfer fails instead of
  silently continuing with an empty worktree
- Use explicit continueInWorktree prop on ChatView so the button only
  shows in sidebar and Agent Manager local sessions, not worktree tabs
2026-03-25 20:18:21 +01:00
marius-kilocode f5f4685cf1 feat(vscode): add "Continue in Worktree" to transfer sessions from sidebar/local to isolated worktrees
Adds a button (sidebar + Agent Manager local sessions) that captures
git state as patches, creates a worktree, applies changes, and forks
the session — all without modifying the source working tree.
2026-03-25 20:17:20 +01:00
ef62c1b914 feat(vscode): add open locally action for unassigned sessions (#7627)
* feat(agent-manager): add open locally action for unassigned sessions

Fix onSelectSession bug where clicking a recent session left the pending
tab active, causing clearCurrentSession() to destroy the loaded session on
next click. Now properly replaces pending tab, clears activePendingId, and
switches to LOCAL context.

Add agentManager.openLocally message that clears the session's worktree
directory override so it falls back to workspace root. Exposed as a
context menu item on unassigned sessions and a secondary button in the
read-only banner.

* fix(vscode): remove unsafe openLocally from onSelectSession

onSelectSession fires for any recent session including worktree sessions.
Sending openLocally would strip the directory override from sessions that
still belong to a worktree. Directory clearing is only appropriate on
explicit open-locally actions (context menu + read-only banner).

* refactor(agent-manager): extract openLocally helper to fix inconsistent state management

---------

Co-authored-by: andrway <andrway@example.com>
Co-authored-by: marius-kilocode <marius@kilocode.ai>
2026-03-25 18:49:29 +00:00
Kirill Kalishev cba377a581 Merge branch 'main' into kirillk/history 2026-03-25 14:47:13 -04:00
kirillk faef4dd7bc fix(vscode): route CloudImportDialog through selectCloudSession 2026-03-25 14:19:57 -04:00
Marius f07884acdb fix(vscode): auto-rebuild CLI binary when opencode source changes (#7630)
local-bin.ts now tracks the latest git commit hash of packages/opencode/
in bin/.cli-version. On subsequent runs, if the hash differs, the binary
is automatically rebuilt instead of silently reusing a stale one.
2026-03-25 19:16:36 +01:00
github-actions[bot] b05de6f02b chore: update kilo-vscode visual regression baselines 2026-03-25 17:50:29 +00:00
kirillk 8bce4411f1 Merge branch 'main' into kirillk/history 2026-03-25 13:13:06 -04:00
kirillk 6264fcb7a0 icon 2026-03-25 13:11:59 -04:00
kirillk e8747f751a feat(vscode): add history icon to Show History button
Add a 'history' icon to kilo-ui and use it in the Show History button
on the main panel empty state.
2026-03-25 12:43:22 -04:00
kirillk 0eeb555583 feat(vscode): add Show History button below recent sessions on main panel 2026-03-25 12:36:35 -04:00
kilo-maintainer[bot] fd5fee9ec3 release: v7.1.4 v7.1.4 2026-03-25 16:32:24 +00:00
kirillk 81623f6742 feat(vscode): merge local and cloud history into single tabbed panel
Remove the separate cloud history toolbar button and combine both lists
into one History panel with Local/Cloud tabs and an always-visible
Import session button. The 'Only this repository' checkbox moves below
the search bar in the cloud tab.
2026-03-25 12:32:00 -04:00
Marian Alexandru Alecu f0892bfe37 Merge pull request #7151 from shssoichiro/issue-6906
fix(cli): use configured Code model when implementing a plan
2026-03-25 17:30:19 +02:00
Marius ad6a19ed99 fix(agent-manager): add missing NotificationsProvider to agent manager provider chain (#7619)
PR #7473 moved KiloNotifications from App.tsx into MessageList.tsx. Since the
agent manager reuses ChatView (which renders MessageList), KiloNotifications
now calls useNotifications() inside the agent manager — but its provider was
only in the sidebar's App.tsx. The missing context crashed the entire SolidJS
tree, rendering the agent manager blank.

Adds a regression test that statically verifies provider chain parity between
App.tsx and AgentManagerApp.tsx so this class of bug is caught at CI time.
2026-03-25 16:14:39 +01:00
Mark IJbema d31f3c3693 Merge pull request #7517 from Kilo-Org/mark/bash-default-ask-new-users
feat(cli): change default bash permission to ask for new users only
2026-03-25 15:59:42 +01:00
Mark IJbema 15bcdb9208 Merge pull request #7614 from Kilo-Org/feat/models-tab-default
feat(vscode): make models tab the default tab in settings
2026-03-25 15:25:42 +01:00