Commit Graph
1145 Commits
Author SHA1 Message Date
3218691c29 Add colorblind-friendly theme to the cli (again) (#6493)
* feat: add colorblind-friendly theme

Add a new colorblind-accessible theme using a scientifically-designed
palette that works for deuteranopia, protanopia, and tritanopia:

- Primary Blue (#0077BB) for main UI elements
- Secondary Orange (#EE7733) for variables and operators
- Success Teal (#009988) instead of green for success states
- Warning Yellow (#CCBB44) for warnings
- Error Vermillion (#CC3311) instead of red for errors
- Accent Sky (#33BBEE) for functions and links

Key design principles:
- No red/green combinations (most common color blindness)
- Blue/orange as primary contrasting colors
- Teal/vermillion for diff colors instead of green/red
- High luminance contrast between adjacent colors

* Update packages/opencode/src/cli/cmd/tui/context/theme.tsx

Co-authored-by: Marius <marius@kilocode.ai>

* Update packages/opencode/src/cli/cmd/tui/context/theme.tsx

Co-authored-by: Marius <marius@kilocode.ai>

* Update packages/opencode/src/cli/cmd/tui/context/theme/colorblind.json

Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>

* Update packages/opencode/src/cli/cmd/tui/context/theme/colorblind.json

Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>

* fix malformed block

---------

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Co-authored-by: Marius <marius@kilocode.ai>
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
2026-03-04 12:47:50 +00:00
tspader 6368ea8c11 Merge pull request #6533 from Kilo-Org/fix/slow-model-filter
fix: stop doing models.length for every model
2026-03-03 10:03:51 -05:00
Evgeny Shurakov 3dbc3a3605 fix: bootstrap session ingest after import 2026-03-03 12:44:11 +01:00
Thomas Spader 29de8c3ef9 fix: stop doing models.length for every model 2026-03-02 16:56:37 -05:00
Kevin van Dijk bc3a48b211 Merge branch 'main' into kevinvandijk/kilo-opencode-v1.2.15 2026-03-02 22:25:30 +01:00
Imanol Maiztegui 21002f4e34 Merged main into feat/use-sdk 2026-03-02 19:35:41 +01:00
Evgeny Shurakov b61a3edb58 feat(cli): publish Session.Event.Created on import to trigger session ingestion 2026-03-02 16:18:11 +01:00
Imanol Maiztegui 1ed36d72c8 chore: rebrand opencode.internal placeholder URLs to kilo.internal 2026-02-26 19:29:34 +01:00
Imanol Maiztegui ffd9a95f91 fix(opencode): add missing closing quote in SDK import code sample 2026-02-26 19:29:34 +01:00
Imanol Maiztegui dc16680728 chore(sdk): update consumers to use renamed Kilo SDK exports 2026-02-26 19:25:37 +01:00
Kevin van Dijk fccf5544d9 Resolve merge conflicts 2026-02-26 14:46:06 +01:00
Kevin van Dijk 2c10cfbb52 refactor: kilo compat for v1.2.15 2026-02-26 14:35:48 +01:00
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
Sebastian 9d29d692c6 split tui/server config (#13968) 2026-02-25 23:53:09 +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