Commit Graph

2824 Commits

Author SHA1 Message Date
Igor Šćekić 4a179f85c0 fix(session): mark turn close reason as interrupted on abort 2026-02-06 23:16:11 +01:00
Igor Šćekić 6ba626be19 fix(session): set turn close reason on abort/error
Ensure TurnClose is published with an accurate reason by marking aborted
turns as "interrupted" and stop-with-error turns as "error".
2026-02-06 23:02:51 +01:00
Igor Šćekić de05fea01b feat(session): track turn open/close in kilo ingest
Add session.turn.open and session.turn.close bus events and publish them
from the prompt loop with a close reason (completed/error/interrupted).
Extend the ingest queue to sync session_open/session_close items and
version the ingest endpoint with ?v=1.
2026-02-06 23:00:49 +01:00
Marius 390b479fcd Add kilo provider model configuration (#148) 2026-02-05 20:13:01 +01:00
Catriel Müller 5fca0e717f Merge pull request #140 from Kilo-Org/catrielmuller/fix-logout-command
fix: wrap AuthLogoutCommand with Instance.provide() to fix context error
2026-02-05 13:08:34 -03:00
David Barbosa Maia 5b83b70ad4 feat: local-review 2026-02-05 15:36:43 +00:00
Catriel Müller f523f58d94 fix: wrap AuthLogoutCommand with Instance.provide() to fix context error
The logout command was failing with 'No context found for instance' because
ModelsDev.get() calls Config.get() which requires Instance context.
This matches the pattern already used by AuthLoginCommand.
2026-02-05 12:02:31 -03:00
Catriel Müller f137ce623d feat: merge opencode v1.1.51 2026-02-05 09:50:16 -03:00
Catriel Müller 78da7d7b8d refactor: kilo compat for v1.1.51 2026-02-05 09:45:17 -03:00
Catriel Müller 1558fe4d89 fix: provider header 2026-02-04 19:05:45 -03:00
Catriel Müller 338eae492b fix: fix kilo tui components 2026-02-04 18:31:29 -03:00
Catriel Müller dd7da05bd9 feat: merge opencode v1.1.50 2026-02-04 18:24:00 -03:00
Catriel Müller 1520bd4482 refactor: kilo compat for v1.1.50 2026-02-04 18:07:12 -03:00
Catriel Müller 587bf77e65 refactor: Kilo user agent 2026-02-04 17:55:35 -03:00
Catriel Müller 14074e0657 feat: brand exit message 2026-02-04 17:34:08 -03:00
Catriel Müller 252de63a57 fix: fix solidjs tui on kilo news 2026-02-04 17:27:04 -03:00
Catriel Müller 452320af42 feat: merge opencode v1.1.49 2026-02-04 17:06:38 -03:00
Catriel Müller 15ae2b1b1e refactor: kilo compat for v1.1.49 2026-02-04 16:43:32 -03:00
Catriel Müller 1a0b0077dc feat: merge opencode v1.1.48 2026-02-04 14:48:20 -03:00
Catriel Müller b0b442da2c refactor: kilo compat for v1.1.48 2026-02-04 14:43:20 -03:00
Catriel Müller e4163a0ff0 feat: merge opencode v1.1.46 2026-02-04 13:46:48 -03:00
Catriel Müller f5a1d5ce49 refactor: kilo compat for v1.1.46 2026-02-04 13:42:25 -03:00
Catriel Müller 017b6d04e2 Merge branch 'dev' into catrielmuller/kilo-opencode-v1.1.43 2026-02-04 15:15:26 +01:00
Catriel Müller 60f5d043fa fix: fix e2e test model selection 2026-02-04 11:13:39 -03:00
Igor Šćekić 83f9e45ea6 fix(provider): drop kilo/auto sort priority 2026-02-04 14:15:51 +01:00
Igor Šćekić 30c59a7336 fix(provider): remove injected kilo/auto virtual model 2026-02-04 13:24:49 +01:00
Catriel Müller a3cdff968c Merge branch 'dev' into catrielmuller/kilo-opencode-v1.1.43 2026-02-04 13:15:59 +01:00
Marius 452ab52d47 feat: enable reasoning for Claude models via Kilo Gateway (#101)
* feat: enable reasoning for Claude models via Kilo Gateway

Enable extended thinking/reasoning support for Claude models when using
Kilo Gateway (OpenRouter-based). This includes:

- Add Kilo Gateway to OpenRouter SDK key mapping
- Skip toolCallId normalization for OpenRouter/Kilo to preserve thinking blocks
- Strip thinking/reasoning blocks from messages before sending to avoid
  Anthropic API signature validation errors (blocks must be unchanged)
- Skip caching for OpenRouter/Kilo to avoid modifying thinking blocks
- Add Claude-specific reasoning effort variants for Kilo Gateway
- Enable default medium reasoning effort for Claude via Kilo Gateway
- Add proper smallOptions handling for Claude vs other models

The key insight is that Anthropic's API requires thinking blocks to be
EXACTLY unchanged with valid signatures. Since our storage reconstructs
messages, we strip thinking blocks (already shown to user) rather than
risk signature validation failures.

* fix: drop empty messages after stripping thinking blocks
2026-02-04 12:19:02 +01:00
Sebastian 64bafce665 restore direct osc52 (#12071) 2026-02-04 00:35:57 -06:00
Aiden Cline 5588453cbe fix: revert change that caused headers to be double merged if provider was authed in multiple places (#12072) 2026-02-04 06:30:32 +00:00
Aiden Cline 8c1f1f13dc docs: document the built in agents (#12066) 2026-02-04 00:00:05 -06:00
Sergiy Dybskiy b942e0b4dc fix: prevent double-prefixing of Bedrock cross-region inference models (#12056) 2026-02-03 23:06:17 -06:00
Łukasz Gładysz 6daa962aaa fix: prioritize OPENCODE_CONFIG_DIR for AGENTS.md (#11536) 2026-02-04 01:35:22 +00:00
Max Leiter 93e060272a fix: prevent memory leaks from AbortController closures (#12024) 2026-02-03 17:51:26 -06:00
Aiden Cline b5a4671c64 Revert "feat: add Trinity model system prompt support" (#12029) 2026-02-03 16:39:03 -06:00
Aiden Cline a68fedd4a6 chore: adjust way skill dirs are whitelisted (#12026) 2026-02-03 16:33:36 -06:00
Mariam Jabara 015cd404e4 feat: add Trinity model system prompt support (#12025)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 16:33:27 -06:00
Catriel Müller 88f06392d5 resolve merge conflicts 2026-02-03 19:28:35 -03:00
Catriel Müller 6131bb35e5 refactor: kilo compat for v1.1.43 2026-02-03 18:25:15 -03:00
Tyler Gannon a30696f9bf feat(plugin): add shell.env hook for manipulating environment in tools and shell (#12012) 2026-02-03 15:18:41 -06:00
Matt Silverlock 25bdd77b1d fix(opencode): use official ai-gateway-provider package for Cloudflare AI Gateway (#12014) 2026-02-03 15:18:28 -06:00
Idris Gadi 95211a8854 feat(tui): allow theme colors in agent customization (#11444) 2026-02-03 15:09:21 -06:00
Dax 17e62b050f feat: add support for reading skills from .agents/skills directories (#11842)
Co-authored-by: Filip <34747899+neriousy@users.noreply.github.com>
2026-02-03 15:51:54 -05:00
Dax ee84eb44ee cli: add --thinking flag to show reasoning blocks in run command (#12013) 2026-02-03 20:49:15 +00:00
MartinWie 82dd4b6908 fix: always fall back to native clipboard after OSC52 (#11994) 2026-02-03 20:53:04 +01:00
Marius a1891e361e fix: rebrand OpenCode to Kilo in permission dialog (#100)
* fix: rebrand OpenCode to Kilo in permission dialog

* fix: rebrand remaining OpenCode reference in reject flow
2026-02-03 20:41:41 +01:00
opencode-agent[bot] 185858749b chore: generate 2026-02-03 19:10:44 +00:00
Cloudyan 39a504773c fix: provider headers from config not applied to fetch requests (#11788) 2026-02-03 13:09:07 -06:00
Aiden Cline b7b734f51f fix: ensure mcp tools are sanitized (#11984) 2026-02-03 12:22:00 -06:00
Alex 60e616ec81 feat: Add .slnx to C#/F# LSP root detection (#11928) 2026-02-03 11:46:04 -06:00