Commit Graph

1132 Commits

Author SHA1 Message Date
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
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
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 a04589b028 Resolve merge conflicts 2026-02-26 12:56:14 +01: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
Christiaan Arnoldus ad70628553 Add family, prompt, variants to the Kilo gateway 2026-02-26 11:44:27 +01:00
Marian Alexandru Alecu d76d563226 Merge branch 'main' into fix/memory-leak 2026-02-26 09:09:19 +02:00
Alex Alecu db3cec1634 fix(tui): terminate orphaned CLI when terminal parent exits
Handle tab-close paths where the shell dies without forwarding SIGHUP/SIGTERM, which left `bun run ...` alive as an orphan. Add a parent-liveness watchdog in the TUI thread and route shutdown through a single idempotent `shutdownAndExit` path. Also guard the normal `process.exit(0)` path so signal/parent-exit codes are not overridden.
2026-02-26 08:29:22 +02:00
Kevin van Dijk cfb3b6ef56 refactor: kilo compat for v1.2.13 2026-02-26 03:23:56 +01:00
Kevin van Dijk 2b05e4f40b Resolve merge conflicts 2026-02-25 18:34:18 +01:00
Kevin van Dijk 42a7e019ef refactor: kilo compat for v1.2.11 2026-02-25 18:14:54 +01:00
Alex Alecu 7182d4c504 fix: Clear RPC channel for faster shutdown 2026-02-25 17:27:11 +02:00
Alex Alecu a2d182ab23 fix: unref shutdown timer in TUI worker to avoid keeping process alive
The setTimeout fallback in terminateWorker can keep the event loop open
even when the worker exits promptly, delaying shutdown paths triggered
by signals. Unref the timer so normal fast shutdown is not blocked by
this fallback.
2026-02-25 15:44:19 +02:00
Ayush Thakur 088a81c116 fix: consume stdout concurrently with process exit in auth login (#15058) 2026-02-25 08:22:52 -05:00
Alex Alecu 3ab63cf234 Merge branch 'fix/memory-leak' of https://github.com/Kilo-Org/kilocode into fix/memory-leak 2026-02-25 13:23:46 +02:00
Alex Alecu ee6325d559 fix: guard terminateWorker against multiple invocations
terminateWorker is registered on SIGHUP, SIGTERM, and used in onExit.
If a signal fires and then onExit triggers (or two signals arrive),
worker.terminate() and client.call('shutdown') would fire redundantly.

Cache the pending promise so subsequent calls return the same operation.
2026-02-25 13:16:48 +02:00
Marian Alexandru Alecu 0b635fd726 Merge branch 'main' into fix/memory-leak 2026-02-25 13:07:43 +02:00
Alex Alecu 779121f9e7 fix: resolve /exit hang caused by undelivered worker RPC response
The shutdown RPC call to the worker thread never resolved because the worker's event loop drained after cleanup, preventing the postMessage result from being delivered back to the main thread. This left process.exit() unreachable and the process hanging indefinitely.

Replace the blocking await with a fire-and-forget shutdown RPC that waits for the worker's close event (up to 5s timeout) before calling worker.terminate().
2026-02-25 12:51:59 +02:00
Marian Alexandru Alecu 3653c79395 Merge branch 'main' into fix/fix-plan-mode-suggestions 2026-02-25 09:45:49 +02:00
Dax Raad 561f9f5f05 opencode go copy 2026-02-25 01:54:28 -05:00
Dax 637059a515 feat: show LSP errors for apply_patch tool (#14715) 2026-02-25 04:15:11 +00:00
Dax 814c1d398c refactor: migrate Bun.spawn to Process utility with timeout and cleanup (#14448) 2026-02-24 23:04:15 -05:00
James Long 2c00eb60bd feat(core): add workspace-serve command (experimental) (#14960) 2026-02-24 17:34:34 -05:00
Kevin van Dijk 0514802611 Resolve merge conflicts 2026-02-24 18:34:12 +01:00
Kevin van Dijk fca4c4ed61 refactor: kilo compat for v1.2.9 2026-02-24 18:32:20 +01:00
Kevin van Dijk ccf97cbed1 Resolve merge conflicts 2026-02-24 18:16:17 +01:00
Kevin van Dijk 20a16a27e5 refactor: kilo compat for v1.2.8 2026-02-24 18:07:52 +01:00
Alex Alecu 0886ef8fa0 fix(plan): Show implementation suggestions only when LLM has all the information 2026-02-24 15:32:58 +02:00
Kevin van Dijk ae62fff98d Resolve merge conflicts 2026-02-23 20:12:28 +01:00
Kevin van Dijk 0e76652f28 refactor: kilo compat for v1.2.7 2026-02-23 18:48:59 +01:00
Kevin van Dijk d6e6016e91 Resolve merge conflicts 2026-02-23 18:19:57 +01:00
Kevin van Dijk ffec9a4153 refactor: kilo compat for v1.2.6 2026-02-23 18:15:49 +01:00
Kevin van Dijk 8eb0ec7610 Resolve merge conflicts 2026-02-23 17:10:26 +01:00
Kevin van Dijk 0b7e73e764 refactor: kilo compat for v1.2.4 2026-02-23 17:04:50 +01:00
Catriel Müller ab0ef3008f refactor: rename gh repo 2026-02-23 11:47:15 -03: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 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
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
Matt Silverlock 2410593023 fix(github): support variant in github action and opencode github run (#14431) 2026-02-20 13:20:54 +00:00
Alex Alecu d4231c20e3 fix: Close sub-agents, preventing them from becoming orphan processes 2026-02-20 13:49:51 +02:00
Aiden Cline 1a329ba47d fix: issue from structuredClone addition by using unwrap (#14359) 2026-02-19 19:28:06 -06:00
Michael Hart 8ad60b1ec2 Use structuredClone instead of remeda's clone (#14351)
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: Dax <mail@thdxr.com>
2026-02-19 18:37:56 -06:00
Yanosh Kunsh 824ab4cecc feat(tui): add custom tool and mcp call responses visible and collapsable (#10649)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-02-19 15:36:40 -06:00
Matt Silverlock 1a1437e78b fix(github): action branch detection and 422 handling (#14322)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-02-19 15:11:59 -06:00
Dax cb8b74d3f1 refactor: migrate from Bun.Glob to npm glob package (#14317) 2026-02-19 13:40:09 -05:00
Dax Raad af72010e9f Revert "refactor: migrate from Bun.Glob to npm glob package"
This reverts commit 3c21735b35.
2026-02-19 12:48:43 -05:00