3851 Commits

Author SHA1 Message Date
kilo-maintainer[bot] 4093d575c1 release: v1.0.25 2026-02-21 13:04:22 +00:00
Catriel Müller aac2685e92 Merge branch 'dev' into question-tool-description 2026-02-20 13:55:15 -03:00
Marian Alexandru Alecu 8ddabbf84a Merge branch 'dev' into fix/fix-orphan-sub-agents 2026-02-20 17:52:59 +02:00
Alex Alecu a514530139 fix: ensure abort fires even if shutdown throws in web.ts
Wrap Instance.disposeAll() and server.stop() in try/finally so
abort.abort() always fires, preventing the process from hanging
if either call rejects.
2026-02-20 17:38:40 +02:00
Alex Alecu 7f94b83893 fix: ensure abort fires even if shutdown throws in serve.ts
Wrap Instance.disposeAll() and server.stop() in try/finally so
abort.abort() always fires, preventing the process from hanging
if either call rejects.
2026-02-20 17:38:35 +02:00
kilo-maintainer[bot] 6b9f23ff00 chore: generate 2026-02-20 13:54:12 +00:00
Alex Alecu 1378c57501 Merge branch 'feat/suggestions-after-plan-end' of github.com:Kilo-Org/kilo into feat/suggestions-after-plan-end 2026-02-20 14:31:03 +02:00
Marian Alexandru Alecu cb13f4e715 Merge branch 'dev' into feat/suggestions-after-plan-end 2026-02-20 14:20:56 +02:00
Alex Alecu e2c2de2447 feat(plan): display plan message as non-synthetic in new sessions 2026-02-20 14:19:18 +02:00
Marius 4e0c912612 feat(agent-manager): add worktree setup script support (#492)
* feat(agent-manager): add worktree setup script support

Add SetupScriptService and SetupScriptRunner to manage and execute
worktree setup scripts stored at .kilocode/setup-script. Scripts run
in a VS Code terminal during worktree creation, blocking session start
until complete. Adds settings gear menu in WORKTREES section header
and overlay progress step.

* refactor(agent-manager): use kilo-ui DropdownMenu, extract setup script logic

- Replace custom dropdown with kilo-ui DropdownMenu component
- Extract buildSetupCommand into standalone testable module
- Move default template to setup-script-template.sh
- Remove chmod (unnecessary since runner uses sh explicitly)
- Remove custom am-options-* CSS (handled by kilo-ui)
- Add unit tests for buildSetupCommand (Unix + Windows)

* fix: address PR review comments

- Inline template as TS string constant (fixes ENOENT in packaged VSIX)
- Log error in catch block instead of swallowing silently
- Escape shell-special chars (", $, `, \) in Unix paths
- Add onDidCloseTerminal fallback to runViaShellIntegration
- Fix misleading 'non-blocking' comments (setup script blocks session start)
- Add tests for shell escaping (quotes, dollar signs, backticks)

* fix: remove stray non-blocking label from error log

* fix: use mock.module in git-context tests to avoid cross-file mock leakage
2026-02-20 13:13:53 +01:00
Alex Alecu d4231c20e3 fix: Close sub-agents, preventing them from becoming orphan processes 2026-02-20 13:49:51 +02:00
Alex Alecu d5bceac21e feat: Handover task list and compacted context to next session after planning 2026-02-20 12:28:21 +02:00
Marian Alexandru Alecu 104c34ff49 Merge branch 'dev' into feat/suggestions-after-plan-end 2026-02-20 08:39:44 +02:00
kilo-maintainer[bot] 4b09f7f2d1 release: v1.0.24 2026-02-20 00:28:29 +00:00
Christiaan Arnoldus c6a2e1a1a3 Merge pull request #485 from Kilo-Org/session/agent_d46a4586-995f-498a-8edf-5ef92bb460ed
feat: add X-KiloCode-TaskId header to Kilo provider requests
2026-02-19 19:19:28 +01:00
kilo-maintainer[bot] 3c8fc231d0 chore: generate 2026-02-19 15:40:27 +00:00
Mark IJbema bc27d8924b fix: address kiloconnect review comments on commit message generation
- Use trimEnd() instead of trim() in git() to preserve leading whitespace
  in porcelain output (fixes status parsing for ' M file' lines)
- Remove unused 'untracked' from FileChange status union
- Use repository.rootUri.fsPath instead of workspaceFolders[0]
- Add explicit null-check for client after try/catch
- Fix test mocks: add isActive/activate, use mockImplementation to throw,
  fix expected error message to match production code
2026-02-19 16:26:10 +01:00
Mark IJbema 9faf4c3934 refactor: remove commit message CLI command, keep core logic for clients 2026-02-19 16:26:10 +01:00
Mark IJbema c071a6c77a fix: parse git rename entries correctly in git-context 2026-02-19 16:26:10 +01:00
Mark IJbema e90630621d fix: remove unused --staged-only CLI option 2026-02-19 16:26:10 +01:00
Mark IJbema c09c77b8a6 fix: add GitContext type annotation to mock in generate.test.ts
The mockGitContext variable was declared without a type annotation,
causing TypeScript to infer a narrow type from the initial assignment
(status: "modified"). This made reassignment with status: "added"
fail with TS2322. Adding the GitContext type allows all valid status
values.
2026-02-19 16:26:10 +01:00
Mark IJbema 51329c4c65 fix: expand lock file exclusion list to 80+ patterns across 25+ ecosystems 2026-02-19 16:26:10 +01:00
Mark IJbema 158f87f548 feat: add regenerate-different-message support 2026-02-19 16:26:10 +01:00
Mark IJbema 2ecb523f99 fix: enhance commit message prompt with detailed Conventional Commits guidance 2026-02-19 16:26:10 +01:00
Mark IJbema a7cc035b0b feat: add commit message generation feature 2026-02-19 16:26:03 +01:00
kiloconnect[bot] c6dfa8ba4d feat: add X-KiloCode-TaskId header to Kilo provider requests
Set the HEADER_TASKID (X-KILOCODE-TASKID) header on outgoing requests
to the Kilo provider, using the session ID as the task identifier.
This follows the same pattern as the existing project ID and machine ID
headers.
2026-02-19 15:14:50 +00:00
Marian Alexandru Alecu 72ce6fbb72 Merge branch 'dev' into feat/suggestions-after-plan-end 2026-02-19 16:59:33 +02:00
Christiaan Arnoldus 70aaa02985 Merge pull request #344 from Kilo-Org/feat/dynamic-recommended-models
feat: load recommended models dynamically from models endpoint
2026-02-19 15:39:22 +01:00
Mark IJbema 2e9c140282 Merge pull request #462 from Kilo-Org/mark/llm-completion-telemetry
feat: emit LLM_COMPLETION telemetry event after each LLM stream finishes
2026-02-19 14:27:07 +01:00
Evgeny Shurakov 2a0ce007b1 Merge pull request #448 from Kilo-Org/eshurakov/send-git-to-ingest
KiloSessions - Send git remote URL and branch to ingest
2026-02-19 13:56:14 +01:00
kilo-maintainer[bot] 74b3afaacb chore: generate 2026-02-19 12:51:37 +00:00
Catriel Müller a21d172a75 Merge pull request #450 from Kilo-Org/fix/bin-kilo-syntax-error
fix: restore bin/kilo findBinary from botched merge resolution
2026-02-19 09:50:50 -03:00
Evgeny Shurakov 582dd685c0 fix(kilo-sessions): scope git URL cache key per worktree 2026-02-19 13:48:37 +01:00
Christiaan Arnoldus f1e23c1b87 Remove fallback 2026-02-19 12:41:57 +01:00
Evgeny Shurakov 69135ca636 feat(kilo-sessions): normalize git remote URLs to strip credentials, query params, and hash 2026-02-19 12:22:21 +01:00
Alex Alecu 9a9d675ada test: add withInstance helper, use answer constants 2026-02-19 13:20:04 +02:00
Alex Alecu b2ff4b088a refactor: split ask(), extract constants, remove redundant context label 2026-02-19 13:20:00 +02:00
Marian Alexandru Alecu d37105ae89 Merge branch 'dev' into feat/suggestions-after-plan-end 2026-02-19 13:12:12 +02:00
Christiaan Arnoldus 6e4c6a3191 Merge pull request #417 from Kilo-Org/revert-415-revert-331-session/agent_8ba846fa-10ac-4d6d-a61a-d26dd567770c
feat: add X-KiloCode-MachineId header to API requests
2026-02-19 11:54:04 +01:00
Christiaan Arnoldus 51a1297d9c Merge branch 'dev' into feat/dynamic-recommended-models 2026-02-19 11:50:21 +01:00
Marius 46e06264da feat(agent-manager): add fixed local session tab with branch display and persistence (#446)
* tmp

* tmp

* tmp

* feat(agent-manager): add fixed local session tab with branch display and persistence

Add a dedicated local session item at the top of the agent manager sidebar
that always runs in the main repo (never a worktree). The local session
persists across panel reopens via vscode webview state, shows the current
git branch name (refreshed on click), and supports keyboard navigation.

Extract navigation logic into a pure testable function with 16 unit tests.

* fix(agent-manager): invalidate stale persisted localSessionID on recovery

The local session ID was persisted to webview state but never checked
against the actual sessions list on recovery. If the session was deleted
or expired between VS Code reloads, the UI would get stuck selecting a
ghost session with no way to recover.
2026-02-19 11:49:15 +01:00
Christiaan Arnoldus f652673f6e Merge branch 'dev' into revert-415-revert-331-session/agent_8ba846fa-10ac-4d6d-a61a-d26dd567770c 2026-02-19 11:25:25 +01:00
Mark IJbema 5634fc552d feat: emit LLM_COMPLETION telemetry event after each LLM stream finishes 2026-02-19 11:03:07 +01:00
Alex Alecu 294846f706 fix: Reject pending plan followup question on abort signal 2026-02-19 11:59:57 +02:00
Alex Alecu 52ef5c926f fix: Avoid empty context 2026-02-19 11:48:21 +02:00
Alex Alecu a5e6ceb76e feat: When starting a new session after planning, include a compact summary of what was explored and which files were read so the AI doesn't have to re-search the codebase. 2026-02-19 11:42:35 +02:00
Alex Alecu 2d46b17f6c feat: Add predefined suggestions after finishing the planning session to improve context management 2026-02-19 10:23:19 +02:00
Evgeny Shurakov 872cb4124b feat(kilo-sessions): strip credentials from git remote URLs before ingesting 2026-02-18 22:47:46 +01:00
Pedro Heyerdahl a28f086819 fix: restore bin/kilo findBinary from botched merge resolution 2026-02-18 18:46:50 -03:00
Evgeny Shurakov a2d18131a8 feat(kilo-sessions): send git remote URL and branch to ingest
Add gitUrl and gitBranch fields to kilo_meta so shared sessions
include repository context. Resolves the best remote (origin > single
available > upstream) and fetches the URL with a 10s in-flight cache.
2026-02-18 22:38:46 +01:00