Commit Graph

2994 Commits

Author SHA1 Message Date
Kevin van Dijk f3f82fb65a Resolve merge conflicts 2026-02-18 15:43:38 +01:00
Kevin van Dijk 217f56f58f refactor: kilo compat for v1.1.61 2026-02-18 13:32:24 +01:00
Kevin van Dijk 6f9f7443ef Resolve merge conflicts 2026-02-18 13:26:43 +01:00
Kevin van Dijk 53dea6e1e0 refactor: kilo compat for v1.1.60 2026-02-18 12:53:03 +01:00
Kevin van Dijk 2c86299d45 Merge branch 'dev' into kevinvandijk/kilo-opencode-v1.1.59 2026-02-18 12:37:54 +01:00
Marian Alexandru Alecu c88fc52fb5 Merge branch 'dev' into feat/review-apply-fixes 2026-02-18 11:50:23 +02:00
Christiaan Arnoldus f7bf1b6539 Revert "feat: add X-KiloCode-MachineId header to API requests" 2026-02-18 09:59:59 +01:00
Marian Alexandru Alecu 277be569a5 Merge branch 'dev' into feat/review-apply-fixes 2026-02-18 09:03:54 +02:00
Catriel Müller 3ab1b0c9ec Merge pull request #370 from Kilo-Org/fix/uninstall-opencode-refs
fix: update uninstall command to reference kilo instead of opencode
2026-02-17 18:38:17 -03:00
Kevin van Dijk c845e6a967 Merge branch 'dev' into kevinvandijk/kilo-opencode-v1.1.59 2026-02-17 21:17:40 +01:00
Marian Alexandru Alecu c85beb6d87 Merge branch 'dev' into feat/review-apply-fixes 2026-02-17 18:39:47 +02:00
Christiaan Arnoldus 8c0c0a8807 Merge branch 'dev' into session/agent_8ba846fa-10ac-4d6d-a61a-d26dd567770c 2026-02-17 16:07:53 +01:00
Alex Alecu f3ce168938 fix: remove max option limit from review question tool instructions 2026-02-17 17:00:30 +02:00
Alex Alecu 6be0201f67 fix: remove stale NEEDS DISCUSSION reference from review prompt workflow section 2026-02-17 16:00:17 +02:00
Alex Alecu ab34ac20a0 fix: replace non-existent 'architect' mode with 'orchestrator' in question option descriptions 2026-02-17 15:59:14 +02:00
Kevin van Dijk d05c15ce2a Resolve merge conflicts 2026-02-17 14:09:16 +01:00
Kevin van Dijk 48d2419513 refactor: kilo compat for v1.1.59 2026-02-17 14:03:04 +01:00
marius-kilocode f91f302d86 fix: update uninstall command to reference kilo instead of opencode
Replace opencode-ai with @kilocode/cli and opencode with kilo in all
package manager uninstall commands (npm, pnpm, bun, yarn, brew, choco,
scoop). Also update shell config detection and cleanup to handle both
legacy opencode and kilo path markers for backward compatibility.
2026-02-17 13:13:55 +01:00
Alex Alecu 7ffdb86c21 feat: add one-click apply fixes suggestions to review mode 2026-02-17 11:31:05 +02: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
kiloconnect[bot] e12f8078ab feat: add X-KiloCode-MachineId header to API requests
Add a new X-KILOCODE-MACHINEID header to API requests sent to the Kilo
gateway. The machine ID is a persistent UUID that uniquely identifies
the machine, reusing the existing telemetry identity system which stores
the ID in the global XDG data directory (~/.local/share/kilo/telemetry-id).

Changes:
- Add HEADER_MACHINEID constant to kilo-gateway constants
- Add machineId option to buildKiloHeaders function
- Export HEADER_MACHINEID from kilo-gateway package
- Send machine ID header on kilo provider API requests in session/llm.ts
  using Identity.getMachineId() from kilo-telemetry
2026-02-16 14:59:28 +00: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 7975fe9e80 refactor: update desktop binaries 2026-02-13 12:36:53 -03: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
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
Dax Raad a115565054 core: allow model configurations without npm/api provider details
Makes npm and api fields optional in the provider schema so model definitions

can be more flexible when provider package details aren't needed.
2026-02-12 09:26:28 -05: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
Aiden Cline 624dd94b5d tweak: tool outputs to be more llm friendly (#13269) 2026-02-12 00:33:18 -06:00
Luke Parker 8f9742d988 fix(win32): use ffi to get around bun raw input/ctrl+c issues (#13052) 2026-02-12 15:39:31 +10:00
Kyle Mistele e269788a8f feat: support claude agent SDK-style structured outputs in the OpenCode SDK (#8161)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Dax Raad <d@ironbay.co>
2026-02-12 04:54:05 +00:00
Dax Raad ad2087094d support custom api url per model 2026-02-11 23:10:47 -05:00
Kit Langton 135f8ffb2a feat(tui): add toggle to hide session header (#13244) 2026-02-12 02:21:42 +00:00
dpuyosa bf5a01edd9 feat(opencode): Venice Add automatic variant generation for Venice models (#12106) 2026-02-11 20:21:29 -06:00
Aiden Cline 3befd0c6c5 tweak: use promise all for mcp listTools calls (#13229) 2026-02-12 00:19:53 +00:00
Aiden Cline 8c7b35ad05 tweak: compaction check (#13214) 2026-02-11 21:43:04 +00:00