Commit Graph
1130 Commits
Author SHA1 Message Date
Marius cd358117d3 Merge pull request #12865 from Kilo-Org/analyze-kilo-resource-usage
fix(vscode): defer unused worktree watchers
2026-08-04 18:27:09 +02:00
Marius 24d105706f Merge pull request #12867 from Kilo-Org/investigate-multi-project-worktree-content-mismatc
fix(agent-manager): scope multi-project sessions by project
2026-08-04 18:23:45 +02:00
marius-kilocode 11e2cc6899 fix(agent-manager): clamp Git status to project scope 2026-08-04 18:10:30 +02:00
marius-kilocode bb0a49ac1e fix(agent-manager): scope multi-project sessions 2026-08-04 17:15:29 +02:00
marius-kilocode 35801cbeed fix(vscode): defer unused worktree watchers 2026-08-04 16:28:59 +02:00
Marius 81cd68767b Merge pull request #12860 from Kilo-Org/agent-manager-12806-isolation
fix(vscode): isolate project worktree row state
2026-08-04 16:17:33 +02:00
marius-kilocode a8edd857ae test(vscode): cover project row review feedback 2026-08-04 15:36:03 +02:00
marius-kilocode 36c89de308 fix(vscode): isolate project worktree row state 2026-08-04 15:18:30 +02:00
Marius c10d5ae6c9 Merge pull request #12858 from Kilo-Org/sync-terminal-diff-viewer-dimensions
fix(vscode): sync Agent Manager inspector width
2026-08-04 15:07:49 +02:00
marius-kilocode 5bc7822a9f fix(vscode): allow narrow inspector layouts 2026-08-04 14:57:22 +02:00
marius-kilocode 64306003d4 merge: resolve main conflicts for project accordion 2026-08-04 14:48:51 +02:00
marius-kilocode e2273783f6 fix(vscode): sync Agent Manager inspector width 2026-08-04 14:37:17 +02:00
marius-kilocode 4af9ea69f1 Merge origin/main into fix-multi-project-progress-indicators 2026-08-04 14:18:27 +02:00
Marius f3331c380a Merge pull request #12852 from Kilo-Org/fix-worktree-rename-focus-loss
fix(vscode): preserve worktree rename focus
2026-08-04 13:09:56 +02:00
marius-kilocode 77fdb79e7f fix(vscode): handle contenteditable focus 2026-08-04 12:41:45 +02:00
Marius 0b8f749ae1 Merge pull request #12843 from Kilo-Org/fix-multi-project-navigation-and-shortcuts
fix(vscode): fix multi-project navigation shortcuts
2026-08-04 12:35:59 +02:00
marius-kilocode 87b53e4e79 fix(vscode): preserve worktree rename focus 2026-08-04 12:29:44 +02:00
marius-kilocode 561d1782ae fix(agent-manager): restore multi-project progress indicators 2026-08-04 12:16:22 +02:00
marius-kilocode cf4a8f2f74 fix(agent-manager): address review findings 2026-08-04 11:34:46 +02:00
marius-kilocode 8fe5329307 fix(vscode): add project-local navigation hints 2026-08-04 11:27:34 +02:00
marius-kilocode c8f86d8f91 fix(vscode): match section navigation order 2026-08-04 11:07:15 +02:00
marius-kilocode d9d3568f3f fix(vscode): apply grouped worktree order 2026-08-04 10:57:31 +02:00
marius-kilocode 245ada532e feat(agent-manager): align and persist collapsible headers 2026-08-04 10:48:41 +02:00
marius-kilocode d3dca39a55 fix(vscode): align grouped worktree navigation 2026-08-04 10:48:12 +02:00
marius-kilocode 0f47a63a62 fix(vscode): address speech model review feedback 2026-08-04 10:26:28 +02:00
marius-kilocode b894206b63 fix(vscode): fix multi-project navigation shortcuts 2026-08-04 10:21:31 +02:00
marius-kilocode 08ee34706d Merge origin/main into feat-stt-model-discovery 2026-08-04 10:12:33 +02:00
marius-kilocode 744c5c4a6b feat(vscode): discover speech-to-text models 2026-08-04 10:06:40 +02:00
Marius 3e88ec9fd0 fix(vscode): accelerate macOS speech capture (#12814) 2026-08-03 17:21:31 +02:00
Marius e83ab0df4d Merge pull request #12803 from Kilo-Org/plan-multi-repo-section-drag-and-drop
feat(vscode): restore multi-project section and drag-and-drop support
2026-08-03 17:15:08 +02:00
marius-kilocode cd7d053f03 fix(vscode): accelerate macOS speech capture 2026-08-03 17:10:25 +02:00
Marius 37559f8643 fix(agent-manager): restore focus to question options and prompt on session switch (#12795)
* fix(agent-manager): restore focus to question options and prompt on session switch

- Route keyboard tab switching (Meta+Alt+ArrowLeft/Right) through coordinated focus path
- Retry focus across render lifecycle to handle VS Code focus transitions
- Focus first enabled question option after question dock mounts
- Focus prompt textarea for sessions without pending questions
- Preserve focus when terminal, history, or review surfaces are active
- Add focusQuestionOption helper with unit tests
- Add changeset for patch release

Fixes race conditions where keyboard navigation would leave focus on webview body instead of the intended question option or prompt input.

* fix(agent-manager): preserve tab and question focus ownership

* fix(agent-manager): guard deferred focus during async questions
2026-08-03 15:08:10 +00:00
marius-kilocode a112823fad Merge origin/main into plan-multi-repo-section-drag-and-drop 2026-08-03 16:57:47 +02:00
Marius dfc1607693 feat(vscode): bind speech-to-text to Cmd/Ctrl+K with hold-to-send (#12798)
* feat(vscode): bind speech-to-text to Cmd/Ctrl+K with hold-to-send

* fix(vscode): complete speech shortcut localization and cleanup

* fix(vscode): preserve speech shortcut focus and tooltip state
2026-08-03 10:35:25 -04:00
Marius 4810766d05 fix(vscode): persist Agent Manager focus per session (#12801)
* fix(vscode): persist Agent Manager focus per session

Remember whether each session last focused the prompt or its right-side
embedded terminal, and restore that focus owner when switching back.

- Add a focus-owner map keyed by (context, session) in AgentManagerApp
  that records the last focused surface per session.
- Make side-terminal creation explicit: / focus
  the new terminal, while  and context switches do not.
- Suppress the PromptInput draft-change focus dispatch when the target
  session's remembered owner is the terminal.
- Side terminals opt out of auto-focus on activation via a new
   prop so context switches don't steal the cursor.
- Replace the unconditional  prompt dispatch with a
  restore-focus path that follows the saved owner.
- Add regression tests distinguishing explicit vs background side
  creates, and a changeset.

* fix(vscode): address Agent Manager focus review

* fix(vscode): self-heal stale Agent Manager focus

* fix(vscode): align Agent Manager focus visibility
2026-08-03 10:34:47 -04:00
Marius 3d4294e3bb feat(agent-manager): allow sessions to move their worktree between sections or ungroup (#12815)
* feat(agent-manager): allow sessions to move their worktree between sections or ungroup

Add a new  to the  tool so a session can
reassign its own worktree to another section or ungroup it by passing
. The move operation validates the target section and
the session's worktree, then pushes refreshed state to the panel.

Also tighten the model-facing contract so the list-to-move workflow is
unambiguous:  is required first, its result is the
source of truth for section and session IDs, and direct edits to
 are rejected by , , and
 with an explicit pointer to the  tool.

- New / in the Agent Manager protocol
- New  domain function with section/session validation
- New  OpenAPI hook so  stays
  nullable in the generated SDK
- Tool schema descriptions now spell out the list-first workflow and
  the no-direct-edit rule
- List output now includes an instruction block and is pretty-printed
- Optional nullable Task fields tolerate  from models
- Focused CLI tests, bridge unit test, and protection test

* chore: remove local PR screenshot

* style(vscode): format agent manager orchestration

* fix(agent-manager): protect state paths on Windows
2026-08-03 10:32:01 -04:00
Marius 6ae16f9d62 fix(vscode): recover Agent Manager terminals after exit (#12812)
* fix(vscode): recover Agent Manager terminal with one input after exit

When an embedded Agent Manager terminal ends, the next typed input now
starts a fresh shell in the same tab and delivers that input exactly once
instead of requiring a second keystroke. The original scrollback remains
visible above a neutral divider so the ended shell is clearly separated
from the replacement.

- TerminalManager owns a logical terminal ID with a mutable PTY ID and
  exposes a deduplicated restart method that returns the fresh wsUrl.
- TerminalRouter posts one restarted message back to the webview.
- TerminalTab buffers input while the replacement attaches and flushes
  it only after replacement shell output settles, with a one-second
  fallback for silent shells.
- Restartable terminals show a distinct ended marker that advertises
  both typing and closing; Run/Setup terminals keep the original
  close-only text.
- Localized the new marker in all Agent Manager locales.
- Replaces the previous dispose-on-webview-reload behavior with a
  reconciliation pass so a fresh webview does not orphan running PTYs.

Verified end-to-end in an isolated VS Code instance: two consecutive
exit-then-one-input cycles both execute the original input without
requiring a second keystroke, and pwd confirms the replacement shell
starts in the original worktree cwd.

* fix(vscode): avoid duplicate prompt after terminal recovery
2026-08-03 13:14:11 +00:00
marius-kilocode 9819c1c315 feat(vscode): restore multi-project section and drag-and-drop support
Restore Agent Manager sections and worktree drag-and-drop when multiple
projects are shown, with ordering and section moves scoped to the owning
project.

- Extract shared worktree ordering/grouping logic used by both single and
  multi-project modes
- Add per-project drag-and-drop providers with scoped identifiers
- Preserve live run statuses when state payloads omit them
- Match single-project label resolution using ordered session titles
- Make section auto-rename tracking request-scoped to prevent stale
  renames
- Expand multi-project Storybook story with persisted ordering, sections,
  and grouped worktrees
- Add project-store isolation and ordering tests
2026-08-03 12:53:40 +02:00
Marius 7b07eb803d Merge pull request #12796 from Kilo-Org/plan-cmd-dot-agent-manager-mode-switching
fix(agent-manager): route mode shortcuts through modal
2026-08-03 12:25:28 +02:00
Marius 46715c3053 fix(vscode): restore Markdown comment gutter anchors after renderer wrapper change (#12794)
The Markdown renderer began wrapping rendered blocks in div[data-markdown-block]
containers with display: contents, which collapsed the annotation layer's
bounding-box lookups and broke list/table special-case comment handling.

Flatten renderer-owned block wrappers to their actual rendered children while
preserving legacy top-level Markdown DOM and filtering inserted annotation
elements.

Regression introduced in PR #12460 (a776bd4d29, refactor: kilo compat for v1.17.9).
2026-08-03 12:21:55 +02:00
marius-kilocode 76e34bdcf0 fix(agent-manager): align modal model resolution 2026-08-03 11:57:15 +02:00
marius-kilocode 20d1648e7a fix(agent-manager): route mode shortcuts through modal 2026-08-03 11:41:52 +02:00
Marius 38b7d576bd Merge pull request #12738 from Kilo-Org/mountainous-shroud
fix(vscode): make cache hit rate write-aware
2026-07-31 16:08:29 +02:00
marius-kilocode 84b8b9676a fix(vscode): make cache hit rate write-aware 2026-07-31 16:03:59 +02:00
bagatao@anaconda.com 51d7ddb958 Merge pull request #12606 from Kilo-Org/feat/execute-cmds-in-skill-context-vscode
feat(vscode): show verbatim skill commands and skill name in permission prompt
2026-07-31 15:34:08 +02:00
Marius 5678c09cf5 fix(agent-manager): keep detail pane for unassigned sessions (#12722)
The setup-terminal gate introduced in #12703 changed the detail-stack
predicate from !contextEmpty() && !history() to !history && selection
!== null. An unassigned session has selection === null but a live
session showing, so contextEmpty() is false there. The new gate
dropped that case, blanking the content pane, leaving readOnly() dead
code, and unmounting every live xterm on selection.

showTerminalStack now takes contextEmpty and returns !history &&
(selection !== null || !contextEmpty), restoring the pre-#12703
semantics while keeping the provisioning worktree (empty context with a
side Setup tab) rendering the stack.

Adds a showTerminalStack regression suite covering the unassigned,
history, selected-context, provisioning, and empty cases.
2026-07-31 09:38:15 +00:00
Marius 57a9a6012c fix(vscode): restore Agent Manager terminals (#12720) 2026-07-31 11:16:36 +02:00
Marius 7623676527 Merge branch 'main' into feat/agent-manager-setup-terminal 2026-07-30 18:37:46 +02:00
Marius 5c140b12cf feat(agent-manager): key diff review by selection with per-session scope (#12709) 2026-07-30 12:32:54 -04:00
marius-kilocode 59bfcfd385 test(agent-manager): cover multi-project setup terminals 2026-07-30 18:21:48 +02:00