Commit Graph

3668 Commits

Author SHA1 Message Date
Marius 12418f64ff fix: update default $schema URL from opencode.ai to kilo.ai (#249) 2026-02-11 17:24:02 +01:00
Marius 1589e757b4 fix: handle AbortError during kilo login and org selection (#251)
* fix: handle AbortError during kilo login and org selection

Async onSelect handlers in DialogKiloOrganization and team selection
were not wrapped in try/catch. Since DialogSelect calls onSelect
without awaiting the returned promise, any rejection (e.g. AbortError
from SDK signal) became an unhandled rejection that Bun dumped raw to
the terminal. Wrap all async SDK calls in org/team selection with
proper error handling and silently ignore AbortErrors.

* fix: log non-abort errors during fallback sync reset
2026-02-11 16:14:37 +00:00
kilo-maintainer[bot] f623423b8d chore: generate 2026-02-11 16:14:28 +00:00
Catriel Müller 04ee7c527c Merge branch 'dev' into catrielmuller/kilo-opencode-v1.1.55 2026-02-11 11:45:25 -03:00
Igor Šćekić 19b781df6a Merge pull request #239 from Kilo-Org/add-task-header 2026-02-11 15:34:23 +01:00
Catriel Müller bc3512892d Merge branch 'dev' into catrielmuller/kilo-opencode-v1.1.55 2026-02-11 11:30:10 -03:00
Catriel Müller 3080736471 Merge pull request #224 from Kilo-Org/catrielmuller/kilo-opencode-v1.1.54
OpenCode v1.1.54
2026-02-11 11:29:51 -03:00
Igor Šćekić ce50833ddf chore(opencode): alphabetize package.json dependencies 2026-02-11 13:24:08 +01:00
Igor Šćekić aa0e341d04 Merge pull request #155 from Kilo-Org/add-o11y-phase-1b 2026-02-11 12:46:17 +01:00
Igor Šćekić 978fb3d078 refactor(session): use finished flag instead of try/catch for turn close reason
Replace try/catch wrapping ~400 lines with a finished flag pattern to
minimize upstream merge conflicts. Combine multiple kilocode_change
markers into single blocks.

Addresses review feedback from marius-kilocode on PR #155.
2026-02-11 12:36:34 +01:00
Marius 61df9982ee fix(mcp-migrator): use correct project-level filename mcp.json instead of mcp_settings.json (#230)
The Kilocode extension stores project-level MCP settings in
.kilocode/mcp.json, but the migrator was looking for
.kilocode/mcp_settings.json (which is only used for global settings).
This meant local MCP servers were never picked up by the CLI.
2026-02-11 10:25:03 +00:00
Catriel Müller 6827756fa1 feat: merge opencode v1.1.55 2026-02-10 22:48:25 -03:00
Catriel Müller ad7e6a1d0d refactor: kilo compat for v1.1.55 2026-02-10 22:40:05 -03:00
Catriel Müller f8131c2e00 feat: merge opencode v1.1.54 2026-02-10 22:10:03 -03:00
Catriel Müller bc7991e92e feat: regenerate sdk 2026-02-10 20:21:55 -03:00
Catriel Müller f14f1c306b Merge pull request #221 from Kilo-Org/catrielmuller/ci-migration-contrib
refactor: CI workflow improvements for Kilo
2026-02-10 20:08:59 -03:00
Christiaan Arnoldus 82de52e6d8 Merge branch 'dev' into feat/add-machineid-header 2026-02-10 22:50:43 +01:00
Catriel Müller 013e65126d fix: fix registry url 2026-02-10 18:00:48 -03:00
opencode fbc41475b4 release: v1.1.55 2026-02-10 20:21:34 +00:00
Igor Šćekić bc2b7d5ea5 Merge branch 'dev' into add-o11y-phase-1b 2026-02-10 21:03:52 +01:00
Dax Raad a0673256db core: increase test timeout to 30s to prevent failures during package installation 2026-02-10 14:25:25 -05:00
Adam fc37337a3e fix(app): memory leak with platform fetch for events 2026-02-10 13:18:33 -06:00
Dax 8bdf6fa359 fix: show helpful message when free usage limit is exceeded (#13005) 2026-02-10 19:04:10 +00:00
opencode 1d11a0adfd release: v1.1.54 2026-02-10 19:04:02 +00:00
John Fawcett 1762590ff4 feat(opencode): add project ID resolution and tracking
refactor(opencode): improve project ID resolution and normalization
Implement logic to resolve a unique project identifier with priority given
to `.kilocode/config.json` and falling back to the git origin remote URL.
The resolved ID is normalized, cached per-instance, and sent as a header
to the Kilo Gateway provider to enable project-specific tracking.
2026-02-10 12:10:00 -06:00
Adam 659f15aa9b fix(app): no changes in review pane 2026-02-10 11:53:33 -06:00
Adam 3929f0b5bd fix(app): terminal replay (#12991) 2026-02-10 10:15:19 -06:00
Dax 27fa9dc843 refactor: clean up dialog-model.tsx per code review (#12983) 2026-02-10 15:13:37 +00:00
Marius 337c05849b fix: use 'max' instead of 'xhigh' as highest reasoning effort for Anthropic models on Kilo Gateway (#213)
* fix: use 'max' instead of 'xhigh' as highest reasoning effort for Anthropic models on Kilo Gateway

Anthropic's native effort levels are low/medium/high/max, not xhigh.
The upstream merge replaced the Kilo-specific effort mapping with
OPENAI_EFFORTS which uses xhigh. This restores 'max' as the
user-facing variant name while mapping it to 'xhigh' on the wire
for OpenRouter API compatibility.

* fix: clarify comment about OpenRouter effort naming vs Anthropic naming
2026-02-10 11:47:14 -03:00
Marius c8464fbc98 feat: add Kilo soul prompt for consistent personality across all models (#214)
* feat: add Kilo soul prompt for consistent personality across all models

* fix: gate soul prompt behind Codex check to match existing prompt delivery pattern

Codex sessions deliver prompts via options.instructions, not system messages.
Prepend the soul to options.instructions for Codex, and skip it from the
system array, matching how SystemPrompt.provider() is already handled.
2026-02-10 14:03:55 +00:00
Peter Dave Hello 87795384de chore: fix typos and GitHub capitalization (#12852) 2026-02-10 06:53:38 -06:00
Marius 7c548fa4b6 fix: make Ctrl+C interrupt instead of kill, require double-press to exit (#195)
* fix: make Ctrl+C interrupt instead of kill, require double-press to exit

* fix: revert config changes, handle ctrl+c double-press in event handlers only

Reverts keybind default changes (unnecessary — ctrl+c overlap is handled
by event priority in onKeyDown). Adds missing preventDefault() in
child-session ctrl+c handler to prevent SIGINT.
2026-02-10 12:32:18 +00:00
Adam 4a73d51acd fix(app): workspace reset issues 2026-02-10 05:52:34 -06:00
kiloconnect[bot] 025dbcb4df fix: use object-based reasoning format for Codex models with Kilo provider (#206)
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-02-10 10:41:12 +00:00
kiloconnect[bot] 7ac6852a46 feat: add x-kilocode-machineid header to API requests
Add the x-kilocode-machineid HTTP header to outgoing requests when using
the kilo-gateway. This enables the cloud backend to track machine IDs
in the microdollar_usage_metadata table (Kilo-Org/cloud#90).

The header is set alongside the existing x-kilocode-mode header when
the model API uses @kilocode/kilo-gateway.
2026-02-10 10:00:17 +00:00
Dax Raad 63cd763418 Revert "feat: add version to session header and /status dialog (#8802)"
This reverts commit ac54535486.
2026-02-10 00:01:28 -05:00
Dax Raad 32394b699e Revert "feat(tui): highlight esc label on hover in dialog (#12383)"
This reverts commit 683d234d80.
2026-02-09 23:57:37 -05:00
Dax Raad 12262862cd Revert "feat: show connected providers in /connect dialog (#8351)"
This reverts commit a57c8669b6.
2026-02-09 23:46:57 -05:00
Harsh Sharma 56a752092e fix: resolve homebrew upgrade requiring multiple runs (#5375) (#10118) 2026-02-09 22:18:57 -06:00
Marcio 056d0c1197 fix(tui): use sender color for queued messages (#12832) 2026-02-09 16:54:12 -06:00
Surma 832902c8e3 fix: publish session.error event for invalid model selection (#8451) 2026-02-09 16:27:48 -06:00
opencode-agent[bot] d9b4535d64 chore: generate 2026-02-09 19:27:52 +00:00
Bryce Ryan 56b340b5d5 fix(opencode): ACP File write should create the file if it doesn't exist (#12854) 2026-02-09 12:56:34 -06:00
Aiden Cline f74c0339cc test: fix failing prompt test (#12847) 2026-02-09 11:25:22 -06:00
Aiden Cline 8ad4768ecd tweak: adjust agent variant logic to not require exact match on model, and instead check if the variant is available for model (#12838) 2026-02-09 11:00:06 -06:00
Aiden Cline a7c5d5ac4c Revert "feat(tui): restore footer to session view (#12245)" (#12836) 2026-02-09 10:08:26 -06:00
Catriel Müller 50121e0e20 feat: merge opencode v1.1.53 2026-02-09 13:07:23 -03:00
Catriel Müller afe2638ed2 refactor: kilo compat for v1.1.53 2026-02-09 13:02:30 -03:00
Marius fb2b39d701 fix: prevent startup banner layout shift and improve text rendering (#194)
Replace setTimeout polling loop with reactive createEffect to wait for
sync completion. Reserve space with a placeholder fallback to prevent
layout shift when notifications load. Fix banner icon consistency and
title overflow handling.
2026-02-09 10:10:47 -05:00
Marius 185f9d0500 fix: rebrand remaining OpenCode user-facing strings to Kilo (#192)
Replace OpenCode/opencode with Kilo/kilo in all user-facing CLI strings,
TUI dialogs, and error messages. String-only changes with kilocode_change
markers for upstream merge tracking.
2026-02-09 10:09:24 -05:00