Commit Graph

757 Commits

Author SHA1 Message Date
Kevin van Dijk d50aa1ae8c Merge branch 'main' into kevinvandijk/kilo-opencode-v1.2.16 2026-03-11 09:17:41 +01:00
Evan Jacobson 90fbe52841 fix: flush StringDecoder at EOF to surface trailing buffered bytes
decoder.write() can hold incomplete multi-byte sequences internally.
Without calling decoder.end() after streams close, those trailing bytes
are silently dropped. Flush all decoders after process exit so any
remaining bytes are emitted as replacement characters rather than lost.
2026-03-10 12:31:11 -06:00
Evan Jacobson b13bfe3889 fix: use separate StringDecoder per stream to prevent cross-pipe corruption
Address review feedback: a shared StringDecoder across stdout and stderr
can mix partial UTF-8 bytes between streams. Use one decoder per pipe so
incomplete sequences on stdout are never completed by stderr bytes.
2026-03-10 11:48:04 -06:00
Evan Jacobson 2596acaf3e fix: use StringDecoder for UTF-8 multi-byte stream decoding
Replace chunk.toString() with StringDecoder in stream processing to
prevent garbled characters (arrows, tree-drawing chars appearing as
mojibake) when multi-byte UTF-8 sequences are split across chunk
boundaries. StringDecoder maintains state across chunks to correctly
reassemble incomplete characters.

Fixed in bash tool, prompt shell execution, and ripgrep output.
2026-03-10 11:34:40 -06:00
Marius cae63f8396 fix: add windowsHide to all spawn calls to prevent CMD window flash on Windows (#6813)
Every child_process.spawn() call was missing windowsHide: true, causing
a visible CMD console window to briefly appear on every shell command,
LSP server start, ripgrep search, clipboard operation, and process kill
on Windows. This option is a no-op on non-Windows platforms.
2026-03-10 16:59:49 +01:00
Catriel Müller 3b535cf5aa feat: migrate .opencode project folder to .kilo 2026-03-09 11:19:57 -03:00
Kevin van Dijk 69a6cf6507 Update path for plans 2026-03-09 13:24:16 +01:00
Kevin van Dijk 312733ebd6 Resolve merge conflicts 2026-03-09 13:02:22 +01:00
Igor Šćekić d97714b11a fix: use separate taskID for title generation to prevent model leak (#6552)
ensureTitle was sending small-model requests with the same HEADER_TASKID
as the agent session. The gateway saw two different models (kilo-auto/small
and kilo-auto/frontier) under the same task and routed to both. Prefixing
the title sessionID with "title-" isolates it from the agent task.
2026-03-07 00:51:47 +01:00
Imanol Maiztegui 2d5f8a256c fix: Moved kilocode specific code to kilocode folder 2026-03-06 21:15:18 +01:00
Imanol Maiztegui ec0e0bf5ed feat: Better messages for auth required errors 2026-03-06 20:29:54 +01:00
Marius 15c7b6a61e Fix agent interrupt AbortError leak (#6554) 2026-03-03 09:35:51 -03:00
Ryan Skidmore fd6f7133c5 fix(opencode): clone part data in Bus event to preserve token values (#15780) 2026-03-02 22:52:43 -05:00
opencode-agent[bot] 4b9e19f72f chore: generate 2026-03-02 07:41:53 +00:00
bentrd be20f865ac fix: recover from 413 Request Entity Too Large via auto-compaction (#14707)
Co-authored-by: Noam Bressler <noamzbr@gmail.com>
2026-03-02 13:10:55 +05:30
James Long 3ee1653f40 feat(core): add workspace_id to session table (#15410) 2026-02-28 22:09:53 -05:00
Catriel Müller ecd9c89838 fix: e2e test 2026-02-26 15:41:03 -03: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 a04589b028 Resolve merge conflicts 2026-02-26 12:56:14 +01:00
Christiaan Arnoldus ad70628553 Add family, prompt, variants to the Kilo gateway 2026-02-26 11:44:27 +01:00
Kevin van Dijk 2b05e4f40b Resolve merge conflicts 2026-02-25 18:34:18 +01:00
Mark IJbema a8c693e8e8 use Anthropic prompt for kilo/auto model 2026-02-25 16:15:27 +01:00
Shantur Rathore 79b5ce58e9 feat(core): add message delete endpoint (#14417) 2026-02-25 09:25:26 -05:00
Alex Alecu 67e0694039 Merge branch 'fix/fix-plan-mode-suggestions' of https://github.com/Kilo-Org/kilocode into fix/fix-plan-mode-suggestions 2026-02-25 09:46:20 +02:00
Alex Alecu 7143683e20 fix: Fix plan_exit call 2026-02-25 09:46:17 +02:00
Marian Alexandru Alecu 3653c79395 Merge branch 'main' into fix/fix-plan-mode-suggestions 2026-02-25 09:45:49 +02:00
Kevin van Dijk 0514802611 Resolve merge conflicts 2026-02-24 18:34:12 +01:00
Catriel Müller 8acb463b2e Merge pull request #6206 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.7
OpenCode v1.2.7
2026-02-24 11:28:02 -03:00
Alex Alecu 0886ef8fa0 fix(plan): Show implementation suggestions only when LLM has all the information 2026-02-24 15:32:58 +02:00
Igor Šćekić 92ce9b3a5d style: reformat multiline expressions for readability 2026-02-23 22:23:28 +01:00
Kevin van Dijk ae62fff98d Resolve merge conflicts 2026-02-23 20:12:28 +01:00
Kevin van Dijk d6e6016e91 Resolve merge conflicts 2026-02-23 18:19:57 +01:00
Marius 0aff5681f1 feat(agent-manager): add telemetry tracking for agent-manager sessions (#6179) 2026-02-23 16:59:23 +00:00
Mark IJbema 89400ad02a Merge pull request #6151 from Kilo-Org/mark/editor-context
feat: send editor context (visible files, open tabs, shell, timezone) to CLI backend
2026-02-23 17:14:12 +01:00
Kevin van Dijk 8bb58c4bb7 Merge pull request #6194 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.2
OpenCode v1.2.2
2026-02-23 16:21:16 +01:00
Kevin van Dijk 58995d9591 Resolve merge conflicts 2026-02-23 16:11:57 +01:00
Mark IJbema 70d6368394 refactor: extract editor context logic to kilocode/editor-context.ts
Move formatTime and editor context env-line building into a dedicated
kilocode-specific file to minimize changes in the shared system.ts.
The only changes to system.ts are now: import, signature, and one
spread call.
2026-02-23 16:10:37 +01:00
Kevin van Dijk 1815ff235e Merge pull request #6189 from Kilo-Org/kevinvandijk/kilo-opencode-v1.2.1
OpenCode v1.2.1
2026-02-23 16:10:11 +01:00
Christiaan Arnoldus 9023af64f0 Merge pull request #6190 from Kilo-Org/christiaan/llm-completion
Change LLM Completion telemetry properties to be consistent with old extension
2026-02-23 16:02:05 +01:00
Christiaan Arnoldus 8c018c21f2 Change LLM Completion telemetry properties to be consistent with old extension 2026-02-23 15:46:42 +01:00
Mark IJbema a2fcda3fe3 chore: add kilocode_change markers to shared opencode files
Mark editorContext additions in message-v2.ts, prompt.ts, and system.ts
with kilocode_change markers to ease upstream merge conflict resolution.
2026-02-23 15:12:24 +01:00
Mark IJbema 08cb48aa2e fix: use ISO 8601 timestamp with timezone offset in system prompt
Replace imprecise toDateString() (e.g. 'Mon Feb 23 2026') with full
ISO 8601 UTC timestamp and user timezone with UTC offset when the
extension provides it via editorContext.timezone.

Before: Today's date: Mon Feb 23 2026
After:  Current time: 2026-02-23T12:23:04.159Z
        User timezone: Europe/Amsterdam, UTC+1:00
2026-02-23 14:25:10 +01:00
Kevin van Dijk 3bbf043c25 Resolve merge conflicts 2026-02-23 14:00:54 +01:00
Kevin van Dijk 7ac4e68dc8 Resolve merge conflicts 2026-02-23 13:54:54 +01:00
Mark IJbema 2a0ac40e0d feat(opencode): accept editorContext in PromptInput and render in system prompt 2026-02-23 13:23:17 +01:00
Mark IJbema b51b9eb677 docs: update repository URLs from kilo to kilocode
Update all github.com/Kilo-Org/kilo references to github.com/Kilo-Org/kilocode
across package.json files, documentation, scripts, and configuration files.

This reflects the repository rename from kilo to kilocode.
2026-02-23 11:41:41 +01:00
kilo-maintainer[bot] 6b9f23ff00 chore: generate 2026-02-20 13:54:12 +00:00
Ryan Vogel 7419ebc872 feat: add list sessions for all sessions (experimental) (#14038) 2026-02-20 08:45:12 -05:00
Marian Alexandru Alecu 104c34ff49 Merge branch 'dev' into feat/suggestions-after-plan-end 2026-02-20 08:39:44 +02:00
NatChung d2d7a37bca fix: add missing id/sessionID/messageID to MCP tool attachments (#14345) 2026-02-19 18:37:56 -06:00