Commit Graph

18595 Commits

Author SHA1 Message Date
Mark IJbema cdfe3b693e fix(cli): pin @types/bun in script/upstream so bun install works standalone
The catalog: protocol only resolves when the package is part of the root
workspace. script/upstream is intentionally decoupled from the monorepo
so it can run during upstream merges (when the workspace may be in a
half-broken state), which means 'cd script/upstream && bun install'
failed with 'failed to resolve catalog:'. Pin to the version currently
in the root catalog.
2026-04-28 11:27:06 +02:00
Mark IJbema 8078944add Merge pull request #9574 from Kilo-Org/imanolmaiztegui/kilo-opencode-v1.14.23
OpenCode v1.14.23
2026-04-28 11:11:57 +02:00
Mark IJbema e902880bda ran ./script/generate.ts 2026-04-28 10:48:19 +02:00
Mark IJbema 8671a57087 Fix semantic merge with indexing code 2026-04-28 10:44:56 +02:00
Marian Alexandru Alecu 2a6c3e7d5d Merge pull request #9434 from Kilo-Org/fix/infinite-compact-upload-limit
fix(cli): fix compact on sessions with large images
2026-04-28 11:08:51 +03:00
Marian Alexandru Alecu b1713a653a Merge pull request #9600 from Kilo-Org/fix/provider-plugin-ci-upstream-24416
test(cli): port upstream provider plugin fixture
2026-04-28 11:05:31 +03:00
Alex Alecu 7d9a4f3316 test(cli): adapt upstream plugin fixture for Kilo 2026-04-28 10:50:36 +03:00
Kit Langton fb9dc874d5 test(provider): avoid plugin dependency install timeout
(cherry picked from commit 179e540ccb556fc48934a5a34bbd0920c8af87b4)
2026-04-28 10:50:32 +03:00
Alex Alecu 9e67b52e7e fix(cli): mark context synthetic 2026-04-28 10:46:26 +03:00
Mark IJbema b037746c79 docs: keep markdown tables minimal 2026-04-28 09:29:57 +02:00
Alex Alecu 37b54fced2 test(cli): cover compaction media safety 2026-04-28 10:24:25 +03:00
Marian Alexandru Alecu 49a0d7815f Merge branch 'main' into fix/infinite-compact-upload-limit 2026-04-28 10:22:27 +03:00
Marian Alexandru Alecu c3ad40b3bb Merge pull request #9409 from Kilo-Org/feat/cli-local-run
feat(cli): add kilodev launcher + dev-alias helper
2026-04-28 10:18:24 +03:00
Mark IJbema aef45c48dc Merge remote-tracking branch 'origin/main' into imanolmaiztegui/kilo-opencode-v1.14.23 2026-04-28 09:15:21 +02:00
Marian Alexandru Alecu 5bd891cea0 Merge branch 'main' into feat/cli-local-run 2026-04-28 10:07:32 +03:00
Joshua Lambert 64e18abc57 Merge pull request #9435 from Kilo-Org/flint-zenith
fix(vscode): make Auto-Approve section titles respect VS Code theme
2026-04-27 19:27:08 -04:00
Joshua Lambert dda7ec8a6e Merge branch 'main' into flint-zenith 2026-04-27 19:19:25 -04:00
Joshua Lambert f0bdc5a8e8 Merge pull request #9531 from Kilo-Org/docs/custom-model-modalities
docs: document custom model modalities
2026-04-27 15:42:18 -04:00
Josh Lambert 4e96ed8ce9 fix(vscode): use --text-base to match other settings tabs
Swap --text-strong for --text-base so the Auto-Approve tool headers
use the same CSS variable pattern as other settings pages (Providers,
Agent Behaviour, etc.).
2026-04-27 14:30:20 -04:00
Josh Lambert 9186cb440a fix(vscode): make Auto-Approve section titles respect VS Code theme
Replace undefined --text-strong-base CSS variable (which fell back to
literal white) with the actual --text-strong token and a theme-aware
VS Code foreground fallback, so tool headers on the Auto-Approve
settings page stay readable under light themes.

Fixes #8879
2026-04-27 14:30:20 -04:00
Johnny Amancio 11f2e2afbe fix: default edit-tool diff to side-by-side (split) view
Add an explicit initialDiffStyle field to the openDiffVirtual message flow so each caller declares the desired diff style up front while having `unified` diff as default to prevent regressions.
2026-04-27 20:06:53 +02:00
Kirill Kalishev 87a8cdd071 Merge pull request #9481 from Kilo-Org/charmed-saver
Expose Agent Manager capabilities in the sidebar chat
2026-04-27 14:06:51 -04:00
Imanol Maiztegui 5ac8a7c973 build(opencode): replace models-snapshot inline data with stub and ignore generated files
The large auto-generated models-snapshot.ts is replaced with a minimal
stub, and its compiled outputs (.js, .d.ts) are added to .prettierignore
to prevent formatting of generated files.
2026-04-27 20:02:44 +02:00
kirillk e22d79b96e test(vscode): fix provider wiring architecture test 2026-04-27 13:57:52 -04:00
Mark IJbema f380f5d36b Merge pull request #9575 from Kilo-Org/session/agent_2642ef3e-70fd-4b3a-b82b-fab4dca6f519
fix(vscode): persist autocomplete model switch back to Codestral
2026-04-27 19:55:15 +02:00
Imanol Maiztegui 2c819613f7 fix(opencode): align test expectations with kilocode package rename and schema
Update installation tests to reference @kilocode/cli instead of
opencode-ai for npm/bun/pnpm version lookup assertions. Adjust
session schema decoding test to omit the patch field from
SummaryFileDiff, matching the kilo-specific schema shape.
2026-04-27 19:53:30 +02:00
kirillk ce8d7adef3 fix(vscode): wire tab worktree actions 2026-04-27 13:46:38 -04:00
Mark IJbema 078a5592d7 fix(vscode): fall back to codestral for empty or invalid autocomplete model
Route the autocomplete model setting through getAutocompleteModel() in
settings.ts, AutocompleteServiceManager, and ChatTextAreaAutocomplete so
that missing, empty, or removed model IDs all resolve to codestral
instead of being passed through to the FIM call.
2026-04-27 19:42:16 +02:00
Imanol Maiztegui 0573557092 test(opencode): update tool parameter snapshots and assertions for schema changes
Refresh JSON Schema snapshots and adjust unit tests to reflect recent
schema modifications in the opencode tool definitions.

- Mark bash `description` field as optional and update its prefix text
- Add i18n key fields (headerKey, questionKey, labelKey, descriptionKey)
  to the question tool snapshot
- Flip bash parameter test from rejecting to accepting missing description
- Remove stale blank line in snapshot file
2026-04-27 19:41:11 +02:00
Imanol Maiztegui bb7ee00b07 refactor(kilo-indexing): migrate BusEvent and SemanticSearchTool schemas from zod to effect Schema
Replace zod-based schema definitions with Effect Schema equivalents in
the indexing status event and semantic-search tool parameters. This
aligns both modules with the broader zod-to-effect migration underway
across kilo packages.

- Add Effect Schema mirror of IndexingStatus for BusEvent.define
- Import INDEXING_STATUS_STATES literal union from kilo-indexing/status
- Convert SemanticSearchTool parameters from z.object to Schema.Struct
- Inline explicit type annotations on the tool execute callback to
  satisfy the new generic inference after dropping the type parameter
- Reformat long single-line expressions for readability
2026-04-27 19:31:58 +02:00
Imanol Maiztegui 27a4db57e9 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.14.23 2026-04-27 19:15:03 +02:00
kiloconnect[bot] 5b26cfe5fa refactor(vscode): remove default autocomplete model from package.json
Remove the hardcoded default value for `kilo-code.new.autocomplete.model` in package.json to prevent VS Code from stripping user overrides that match the schema default. Update corresponding unit tests to verify that no default is declared.
2026-04-27 17:09:38 +00:00
Kirill Kalishev b6ee1e4712 Merge branch 'main' into charmed-saver 2026-04-27 13:03:38 -04:00
Imanol Maiztegui 85eb4fa69b chore: regenerate SDK 2026-04-27 19:00:21 +02:00
Imanol Maiztegui d4e44b6128 fix(kilo-sessions): apply type-erasure workaround for Bus.subscribe schema mismatches
Introduce a local `watch` helper that erases strict schema types when
subscribing to MessageV2.Event.Updated, MessageV2.Event.PartUpdated,
and Session.Event.Diff events. This mirrors the pattern used upstream
in share/share-next.ts and resolves type errors caused by the zod-to-
effect Schema migration where event definition types no longer align
with the Bus.subscribe generic constraint.
2026-04-27 18:59:54 +02:00
kirillk a76ab95103 fix(vscode): improve chat toolbar changes button 2026-04-27 12:57:47 -04:00
Imanol Maiztegui 24d1f693ef refactor(opencode): migrate zod schemas to effect Schema across kilo modules
Replace zod schema definitions with effect Schema equivalents in
BusEvent definitions, tool parameters, session network, suggestions,
and related modules. This aligns Kilo-specific code with the upstream
v1.14.23 migration from zod to effect Schema.

- Convert BusEvent property schemas from zod objects to Schema.Struct
- Migrate tool parameter definitions (recall, warpgrep, suggest) to
  Schema.Struct with annotated descriptions
- Replace zod-based SessionNetwork.Wait with effect Schema and add
  zod interop via withStatics helper
- Extract shared EditorContext schema in message-v2 and reuse in
  prompt input
- Replace `fn()` wrappers in session.ts with explicit
  Schema.decodeUnknownSync calls for type safety
- Use branded SessionID/QuestionID types in place of raw z.string()
- Update pending map in SessionNetwork from Record to Map<QuestionID>
- Update tests to use SessionID.make() for branded identifiers
2026-04-27 18:34:48 +02:00
Joshua Lambert f57e2e91f9 Merge branch 'main' into docs/custom-model-modalities 2026-04-27 12:03:45 -04:00
kilo-maintainer[bot] 5bc384fc83 chore: update nix node_modules hashes 2026-04-27 15:56:54 +00:00
Josh Holmer f74d54c431 feat: implement codebase indexing (#6966)
* feat(core): implement codebase indexing

* feat(core): gate indexing behind experimental flag

* fix: improvements to slow provider startups and indexing init blocking the world

* test(cli): stabilize indexing startup tests

* test(cli): avoid indexing startup hang

* test(cli): avoid CI startup leaks

* test(cli): annotate provider test change

* fix(indexing): tighten dependency surface

* refactor(cli): move indexing logic into kilocode paths

* test(cli): skip flaky shell cancel prompt cases

* fix(cli): tolerate slow Windows worktree cleanup

* fix(vscode): authenticate indexing status fetch

---------

Co-authored-by: Marius <marius@kilocode.ai>
2026-04-27 17:43:27 +02:00
Joshua Lambert 7fc0d9f1fa Merge branch 'main' into docs/custom-model-modalities 2026-04-27 11:29:47 -04:00
Josh Lambert 552706bece docs: clarify modalities is optional but requires input/output when specified 2026-04-27 11:28:45 -04:00
Alex Alecu ff9e2810a5 fix(cli): run dev setup via bun 2026-04-27 17:43:42 +03:00
Kirill Kalishev 040e2c5dbb Merge branch 'main' into charmed-saver 2026-04-27 10:32:03 -04:00
Josh Lambert 13df76ac06 docs: clarify required modalities fields 2026-04-27 10:26:56 -04:00
Mark IJbema 1ec3885099 Merge pull request #9567 from Kilo-Org/fix/rerere-training-grep-case-sensitivity
fix: broaden rerere training grep to cover historical merge messages
2026-04-27 16:10:09 +02:00
kiloconnect[bot] 18a1f289ff fix: include lowercase 'resolve merge conflicts' in rerere training grep
The training grep only matched uppercase 'Resolve merge conflict', missing the
lowercase convention used by most historical upstream merges. This dropped ~70
past merges from the rerere training set on kilocode, leaving the cache mostly
empty and causing rerere to miss resolutions that involve the opencode -> kilo
rename.
2026-04-27 13:59:58 +00:00
Imanol Maiztegui fd8818e48c resolve merge conflicts 2026-04-27 15:57:16 +02:00
Johnny Amancio e3476be3bb feat: Add diff view for edit tool 2026-04-27 14:52:29 +02:00
Kirill Kalishev 1eaf60feb1 Merge branch 'main' into charmed-saver 2026-04-27 08:44:14 -04:00