Commit Graph

689 Commits

Author SHA1 Message Date
Marian Alexandru Alecu 72ce6fbb72 Merge branch 'dev' into feat/suggestions-after-plan-end 2026-02-19 16:59:33 +02:00
Mark IJbema 2e9c140282 Merge pull request #462 from Kilo-Org/mark/llm-completion-telemetry
feat: emit LLM_COMPLETION telemetry event after each LLM stream finishes
2026-02-19 14:27:07 +01:00
kilo-maintainer[bot] 74b3afaacb chore: generate 2026-02-19 12:51:37 +00:00
Marian Alexandru Alecu d37105ae89 Merge branch 'dev' into feat/suggestions-after-plan-end 2026-02-19 13:12:12 +02:00
Mark IJbema 5634fc552d feat: emit LLM_COMPLETION telemetry event after each LLM stream finishes 2026-02-19 11:03:07 +01:00
Alex Alecu 2d46b17f6c feat: Add predefined suggestions after finishing the planning session to improve context management 2026-02-19 10:23:19 +02:00
Christiaan Arnoldus 11c6f9f57a Merge branch 'dev' into revert-415-revert-331-session/agent_8ba846fa-10ac-4d6d-a61a-d26dd567770c 2026-02-18 21:02:07 +01:00
Kevin van Dijk b15b554552 Resolve merge conflicts 2026-02-18 19:38:22 +01:00
Kevin van Dijk ec1b20336d Resolve merge conflicts 2026-02-18 16:39:04 +01:00
Christiaan Arnoldus b51a3c3f1d Apply suggestion from @kiloconnect[bot]
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-02-18 16:01:45 +01:00
Kevin van Dijk 6f9f7443ef Resolve merge conflicts 2026-02-18 13:26:43 +01:00
Christiaan Arnoldus 3cdee88c17 Revert "Revert "feat: add X-KiloCode-MachineId header to API requests"" 2026-02-18 10:44:59 +01:00
Christiaan Arnoldus f7bf1b6539 Revert "feat: add X-KiloCode-MachineId header to API requests" 2026-02-18 09:59:59 +01: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
Aiden Cline 98aeb60a7f fix: ensure @-ing a dir uses the read tool instead of dead list tool (#13428) 2026-02-12 23:20:33 -06:00
Christiaan Arnoldus 1de8c6f3cd Revert "feat: add x-kilocode-machineid header to API requests" 2026-02-12 23:00:57 +01:00
Dax Raad 56ad2db020 core: expose tool arguments in shell hook for plugin visibility 2026-02-12 09:54:47 -05: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
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
Aiden Cline 8c7b35ad05 tweak: compaction check (#13214) 2026-02-11 21:43:04 +00:00
Aiden Cline 006d673ed2 tweak: make read tool offset 1 indexed instead of 0 to avoid confusion that could be caused by line #s being 1 based (#13198) 2026-02-11 14:02:30 -06:00
Catriel Müller 52588386a4 feat: merge opencode v1.1.57 2026-02-11 14:26:25 -03: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ć 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
Aiden Cline 0fd6f365be fix(core): ensure compaction is more reliable, add reserve token buffer to ensure that input window has enough room to compact (#12924)
Co-authored-by: James Lal <james@littlebearlabs.io>
2026-02-10 19:55:22 -06:00
Catriel Müller 6827756fa1 feat: merge opencode v1.1.55 2026-02-10 22:48:25 -03:00
Catriel Müller f8131c2e00 feat: merge opencode v1.1.54 2026-02-10 22:10:03 -03:00
Christiaan Arnoldus 82de52e6d8 Merge branch 'dev' into feat/add-machineid-header 2026-02-10 22:50:43 +01:00
Igor Šćekić bc2b7d5ea5 Merge branch 'dev' into add-o11y-phase-1b 2026-02-10 21:03:52 +01:00
Dax 8bdf6fa359 fix: show helpful message when free usage limit is exceeded (#13005) 2026-02-10 19:04:10 +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
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
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
Surma 832902c8e3 fix: publish session.error event for invalid model selection (#8451) 2026-02-09 16:27:48 -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
Catriel Müller 50121e0e20 feat: merge opencode v1.1.53 2026-02-09 13:07:23 -03:00
Igor Šćekić cb84cb0439 fix(session): align close reason type and publish turn close reliably
Unify ingest queue and session close reasons via `Session.CloseReason` and
ensure `TurnOpen`/`TurnClose` publishing is awaited; mark close reason as
`error` on unexpected exceptions and handle abort-induced stops correctly.

Add ingest queue tests for stable-key coalescing of session open/close and for
including `?v=1` on flush requests.
2026-02-09 13:58:09 +01:00
Aiden Cline 99ea1351ce tweak: add new ContextOverflowError type (#12777) 2026-02-08 23:54:01 -06:00
Aiden Cline 62f38087b8 fix: parse mid stream openai responses style errors to prevent infinite retries for errors that should STOP execution (#12768) 2026-02-08 20:55:41 -06:00
Shantur Rathore a486b74b14 feat(core): Set variant in assistant messages too (#12531)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-06 16:33:47 -06:00
Khang Ha (Kelvin) fde0b39b7c fix: properly encode file URLs with special characters (#12424) 2026-02-06 16:16:56 -06:00
Igor Šćekić 4a179f85c0 fix(session): mark turn close reason as interrupted on abort 2026-02-06 23:16:11 +01:00
opencode-agent[bot] e767801db2 chore: generate 2026-02-06 22:14:34 +00:00
Goni Zahavy def907ae4b fix(opencode): SessionPrompt.shell() now triggers loop if messages are queued (#10987) 2026-02-06 16:13:11 -06: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