Commit Graph

3715 Commits

Author SHA1 Message Date
Catriel Müller 91588eaa89 refactor: vscode monorepo instegration 2026-02-16 18:21:05 -03:00
kilo-maintainer[bot] b8474bc1f9 release: v1.0.22 2026-02-16 19:58:41 +00:00
Catriel Müller 5ce1886661 fix: remove duplicate kilo provider injection
Ensure kilo provider is deleted before re-injection to prevent duplication in model provider list
2026-02-16 16:42:25 -03:00
Marius 50a6238baf feat: merge upstream opencode v1.1.58 (#323)
* fix(tui): prevent home wordmark corruption in height-constrained terminals (#13069)

* feat(prompt): mode-specific input placeholders (#12388)

* fix(tui): keep /share available to copy existing link (#12532)

* fix(tui): dismiss dialogs with ctrl+c (#12884)

* fix(app): terminal resize

* fix(console): translations

* fix(app): terminal PTY buffer carryover

* fix(app): notifications on child sessions

* Revert "feat(desktop): add WSL backend mode (#12914)"

This reverts commit 213a87234d.

* release: v1.1.58

* refactor: kilo compat for v1.1.58

---------

Co-authored-by: Kit Langton <kit.langton@gmail.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: opencode <opencode@sst.dev>
2026-02-16 13:50:12 +00:00
Imanol Maiztegui 79ce389a92 fix(tui): correct inaccurate tips for slash commands and config fields 2026-02-16 11:47:25 +01:00
Lucas 1f2ee7d875 docs: add MCP config file path (~/.config/kilo/opencode.json) (#319)
* docs: add MCP config file path (~/.config/kilo/opencode.json)

- README: state where MCP is configured and format (mcp object, type local, command array)
- migration.md: add config file location section for macOS/Linux/Windows and format

* docs(mcp): align with code — path, filenames, schema refs

- README: mention opencode.jsonc; optional fields (environment, enabled, timeout); link to global/index.ts and config.ts McpLocal
- migration.md: document config load order (config.json, opencode.json, opencode.jsonc); Windows note (xdg-basedir); Config.McpLocal and file refs
2026-02-16 08:43:59 +00:00
Catriel Müller 062823a3a2 refactor: merge dev 2026-02-13 12:41:44 -03:00
Catriel Müller 7975fe9e80 refactor: update desktop binaries 2026-02-13 12:36:53 -03:00
Marius 7163fbcee9 chore: update config schema URL from opencode.ai to app.kilo.ai (#267) 2026-02-13 16:01:33 +01:00
kilo-maintainer[bot] f486ccfc43 release: v1.0.21 2026-02-13 13:57:12 +00:00
Catriel Müller 2c0f53a4c1 merge dev 2026-02-13 10:46:28 -03:00
Catriel Müller 9b6caa3707 refactor: disable github action 2026-02-13 10:24:36 -03:00
Marius d97fb9a6da fix: revert Claude reasoning additions for Kilo Gateway (#305)
Disable reasoning for Claude models via Kilo Gateway until the
OpenRouter AI SDK is upgraded to v2.x (which includes the fix for
reasoning_details duplication - OpenRouterTeam/ai-sdk-provider#344).

Changes:
- Remove hardcoded reasoning effort for Claude in options()
- Return empty variants for Claude in variants()
- Remove Claude-specific reasoning.effort in smallOptions()
- Keep thinking/reasoning block stripping code (prevents corrupt
  reasoning_details from being sent back to the API)
- Caching continues to work via model.api.id matching

Fixes #303
2026-02-13 10:38:01 +01:00
kilo-maintainer[bot] 5c3a1abc4f release: v1.0.20 2026-02-13 08:44:41 +00:00
Catriel Müller c5e52c11bf feat: kilo github migration 2026-02-12 19:36:23 -03:00
Christiaan Arnoldus 1de8c6f3cd Revert "feat: add x-kilocode-machineid header to API requests" 2026-02-12 23:00:57 +01:00
Igor Šćekić eed3a7c907 Merge pull request #277 from Kilo-Org/feat/vscode-question-support 2026-02-12 14:39:43 +01:00
kilo-maintainer[bot] 7c129b4ef5 release: v1.0.19 2026-02-12 13:22:58 +00:00
kilo-maintainer[bot] 62f243849b release: v1.0.18 2026-02-12 12:55:21 +00:00
Igor Šćekić 8d80a0c928 Merge branch 'dev' into feat/vscode-question-support 2026-02-12 13:37:16 +01:00
Catriel Müller 635cbc4229 Merge pull request #278 from Kilo-Org/schaltwerk/vigilant_goodall
fix: match scoped package dirs in publish script glob
2026-02-12 09:31:56 -03:00
Igor Šćekić 2ac4c149d3 Merge branch 'dev' into feat/vscode-question-support 2026-02-12 12:51:29 +01:00
marius-kilocode 252b0a3050 fix: match scoped package dirs in publish script glob 2026-02-12 12:27:39 +01:00
kilo-maintainer[bot] 2ef145efc1 release: v1.0.17 2026-02-12 11:09:07 +00:00
Marius 03a7157941 fix: use absolute paths for release archive output and upload (#276) 2026-02-12 12:02:53 +01:00
Marius a76dd8323a fix: use explicit archive paths in release upload instead of shell globs (#274) 2026-02-12 11:49:06 +01:00
Igor Šćekić 4865714719 Merge branch 'dev' into feat/vscode-question-support 2026-02-12 11:35:08 +01:00
Igor Šćekić 02fa9f6243 feat(vscode): add support for answering LLM questions in the extension
Enable the question tool for the vscode client and implement the full
question flow: SSE events, HTTP reply/reject endpoints, session state,
DataBridge wiring, and an inline QuestionDock component that replaces
the prompt input while a question is pending.

Closes #238
2026-02-12 11:32:59 +01:00
Christiaan Arnoldus e67630da55 Merge pull request #271 from Kilo-Org/re-enable-prompt-caching-openrouter
Re-enable prompt caching for Kilo Gateway and OpenRouter
2026-02-12 10:56:42 +01:00
Dax ed208a4799 Change USER_AGENT prefix from 'opencode' to 'kilo' (#260)
* Change USER_AGENT prefix from 'opencode' to 'kilo'

* fix: use KILO_VERSION/KILO_CHANNEL globals and add kilocode_change marker

---------

Co-authored-by: Marius <marius@kilocode.ai>
2026-02-12 09:40:51 +00:00
Christiaan Arnoldus 5714cbcaa7 Apply suggestion from @chrarnoldus 2026-02-12 10:13:30 +01:00
Christiaan Arnoldus 6400e30760 Apply suggestions from code review 2026-02-12 10:13:17 +01:00
kiloconnect[bot] 67e7abfff6 Re-enable prompt caching for Kilo Gateway and OpenRouter
Previously prompt caching via applyCaching() was disabled for both
OpenRouter and Kilo Gateway to avoid modifying thinking blocks. PR #270
re-enabled it for Kilo Gateway only. This change re-enables it for both
providers by including isOpenRouterOrKilo in the caching condition.

Thinking block stripping still applies to both providers before caching
is applied, so the original concern about modified thinking blocks is
addressed.
2026-02-12 09:07:29 +00:00
kiloconnect[bot] 3e3385fbb3 fix: support remote MCP server migration in mcp-migrator (#247)
* fix: support remote MCP server migration in mcp-migrator

The MCP migrator only handled stdio/local MCP servers. When a user
configured a remote streamable-http or sse MCP server in
.kilocode/mcp_settings.json, it failed with:
  The "file" argument must be of type string. Received undefined

This happened because convertServer() always assumed local servers,
building a command array from server.command (which is undefined for
remote servers).

Changes:
- Add remote transport type detection (streamable-http, sse)
- Convert remote servers to Config.McpRemote (type: "remote")
- Pass through url and headers fields
- Make command optional in KilocodeMcpServer interface
- Add comprehensive tests for remote server migration

* fix: validate url/command before use in mcp-migrator

Add guard clauses for missing url on remote servers and missing command
on local servers instead of using non-null assertions that could crash
on malformed config files.

---------

Co-authored-by: Kilo Agent <agent@kilo.ai>
Co-authored-by: marius-kilocode <marius@kilocode.ai>
2026-02-12 08:19:44 +00:00
kilo-maintainer[bot] 324a30e679 chore: generate 2026-02-12 08:01:36 +00:00
Catriel Müller 1eedad9213 Refactor publish workflow and environment variables (#261)
* feat: changelog generation

* refactor: rename all ENV variables to KILO prefix

* refactor: publish rework

* refactor: publish rework

* refactor: unify git commiter action

* refactor: add all kilobots to the team
2026-02-12 09:00:51 +01:00
Marius 142f423b76 feat: add ask agent for read-only Q&A mode (#256)
* feat: add ask agent for read-only Q&A mode

Add a new primary 'ask' agent that answers questions and explains code
without making changes. Permissions are read-only: read, grep, glob,
list, question, webfetch, websearch, codesearch — edit, bash, and task
are denied. Migrators already had 'ask' in their known mode lists.

* fix: preserve .env read gating in ask agent, clarify read-only prompt

Address PR review feedback:
- Re-state *.env pattern map in ask agent permissions so the blanket
  deny+allow doesn't bypass the default env file gating
- Update prompt to say 'this agent is read-only' instead of implying
  edits are possible on request
- Add .env gating assertions to ask agent test
2026-02-12 08:47:14 +01:00
Catriel Müller cb13cb5606 fix: fix binary names 2026-02-11 14:33:27 -03:00
Catriel Müller 52588386a4 feat: merge opencode v1.1.57 2026-02-11 14:26:25 -03:00
Catriel Müller 029bbb9dc2 refactor: kilo compat for v1.1.57 2026-02-11 14:18:32 -03:00
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
opencode edcfd562af release: v1.1.57 2026-02-11 13:45:34 +00: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