Commit Graph

3892 Commits

Author SHA1 Message Date
Igor Šćekić 8d83b3c356 fix: address review feedback on cloud sessions feature
- Use kilo-ui Checkbox instead of raw <input> in CloudSessionList
- Replace `any` types in KiloRoutesDeps with structural types
- Inject Identifier dep instead of duplicating ID generation logic
- Delete unused fetchCloudSessions() in api/sessions.ts
- Add Array.isArray guard on data.messages in import endpoint
- Avoid mutating data.info in-place during cloud session import
- Translate session.cloud.import.* i18n keys across all 15 locales
- Remove obsolete checkbox CSS (now handled by kilo-ui)
2026-02-23 20:30:53 +01:00
Igor Šćekić f34a8c2cd3 fix(kilo-gateway): fire Session.Event.Created after cloud session import
The imported session was never registered with the cloud sync system
because Session.Event.Created was not fired. KiloSessions.init()
subscribes to this event to call KiloSessions.create(), which registers
the session with the ingest API and creates the session_share record
needed for incremental sync. Now uses Database.effect() to publish the
event after the DB transaction completes.
2026-02-23 18:32:06 +01:00
Igor Šćekić 478421fd58 fix(kilo-gateway): write imported sessions to SQLite instead of filesystem
The import endpoint was using Storage.write() which writes JSON files,
but the CLI reads sessions from SQLite via Database. Rewrote to use
Database.use() with Drizzle inserts into SessionTable, MessageTable,
and PartTable — matching the pattern from the CLI's import command.
2026-02-23 18:05:26 +01:00
Igor Šćekić baefc0d536 feat(kilo-gateway): add POST /kilo/cloud/session/import endpoint
Imports a cloud session into local storage with fresh IDs (ses_, msg_,
prt_) to avoid collisions with the cloud session during sync. Passes
Storage and Instance deps from server.ts to the gateway routes.
2026-02-23 17:26:53 +01:00
kilo-maintainer[bot] e6e3eff9a6 release: v7.0.26 2026-02-23 15:42:56 +00:00
Catriel Müller 0105038307 Merge pull request #6192 from Kilo-Org/catrielmuller/fix-publish-ci
Fix publish ci
2026-02-23 12:21:28 -03:00
Kevin van Dijk 8bb58c4bb7 Merge pull request #6194 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.2
OpenCode v1.2.2
2026-02-23 16:21:16 +01:00
Kevin van Dijk 58995d9591 Resolve merge conflicts 2026-02-23 16:11:57 +01:00
Kevin van Dijk 1815ff235e Merge pull request #6189 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.1
OpenCode v1.2.1
2026-02-23 16:10:11 +01:00
Christiaan Arnoldus 9023af64f0 Merge pull request #6190 from Kilo-Org/christiaan/llm-completion
Change LLM Completion telemetry properties to be consistent with old extension
2026-02-23 16:02:05 +01:00
Catriel Müller ab0ef3008f refactor: rename gh repo 2026-02-23 11:47:15 -03:00
Christiaan Arnoldus 8c018c21f2 Change LLM Completion telemetry properties to be consistent with old extension 2026-02-23 15:46:42 +01:00
Catriel Müller 5f161009d7 refactor: rename db 2026-02-23 11:04:07 -03:00
Catriel Müller 325224ceb7 refactor: include migrations on the build 2026-02-23 10:41:48 -03:00
Kevin van Dijk ac3ca14a50 refactor: kilo compat for v1.2.2 2026-02-23 14:02:50 +01:00
Kevin van Dijk 3bbf043c25 Resolve merge conflicts 2026-02-23 14:00:54 +01:00
Kevin van Dijk 42ecd7bd95 refactor: kilo compat for v1.2.1 2026-02-23 13:59:45 +01:00
Kevin van Dijk 7ac4e68dc8 Resolve merge conflicts 2026-02-23 13:54:54 +01:00
Kevin van Dijk 9030ba902c refactor: kilo compat for v1.2.0 2026-02-23 13:30:22 +01:00
Mark IJbema 2c15bae7d4 Merge pull request #6161 from Kilo-Org/mark/update-default-branch-to-main
docs: update default branch references from dev to main
2026-02-23 11:52:11 +01:00
Mark IJbema b51b9eb677 docs: update repository URLs from kilo to kilocode
Update all github.com/Kilo-Org/kilo references to github.com/Kilo-Org/kilocode
across package.json files, documentation, scripts, and configuration files.

This reflects the repository rename from kilo to kilocode.
2026-02-23 11:41:41 +01:00
Christiaan Arnoldus b222d199bd Merge pull request #6062 from Kilo-Org/christiaan/reasoning
Allow reasoning for Claude models on the Kilo gateway and restore preserved reasoning
2026-02-23 11:20:40 +01:00
Christiaan Arnoldus 253b5562a1 Merge branch 'main' into christiaan/reasoning 2026-02-23 10:11:42 +01:00
Alex Alecu c773513dcd feat(telemetry): add plan followup tracking 2026-02-23 10:55:41 +02:00
Christiaan Arnoldus ec45711257 Apply suggestion from @kiloconnect[bot]
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-02-22 17:03:15 +01:00
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
Christiaan Arnoldus 71e8658f0a Allow reasoning for Claude models on the Kilo gateway and restore preserved reasoning 2026-02-20 16:33:17 +01: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