Commit Graph
19284 Commits
Author SHA1 Message Date
Mark IJbema 4d14811e63 Merge pull request #9925 from Kilo-Org/chore/zdiff3-conflict-style
chore: enforce zdiff3 conflict style via postinstall
2026-05-05 17:37:01 +02:00
Mark IJbema 91ee8ea438 Merge pull request #9927 from Kilo-Org/mark/reset-to-upstream-round1
chore(upstream): drop stale kilocode_change markers + minor cosmetic drift
2026-05-05 17:26:18 +02:00
Mark IJbema f083bc44aa chore(upstream): drop stale kilocode_change markers + minor cosmetic drift
Result of running find-reset-candidates.ts across the repo and hand-
reviewing each candidate.

- mcp/oauth-provider.ts: kilocode_change markers were stale — the
  branding (Kilo, kilo.ai) already lives in the translate transforms,
  so the marker annotations no longer point at any Kilo-specific code.
- acp/session.ts: matches upstream's import order.
- tui/ui/dialog.tsx: matches upstream's prettier line-wrap on a long
  onMouseUp prop.

No behavior change.
2026-05-05 17:16:39 +02:00
kiloconnect[bot] 05fabd3f1f chore: mark script/setup-git.ts with kilocode_change marker 2026-05-05 15:11:02 +00:00
Mark IJbema b5c584ceac Merge pull request #9916 from Kilo-Org/mark/sync-upstream-versions
chore: add sync-versions script for upstream merges
2026-05-05 17:05:13 +02:00
kiloconnect[bot] c239a6bb22 chore(config): enforce zdiff3 conflict style via postinstall
Add a new setup script to configure `merge.conflictStyle=zdiff3` locally
within the repository. This ensures that the common ancestor is visible
during merge conflicts, which is required for structural resolution by
`mergiraf` and simplifies manual conflict resolution.

The configuration is applied during `bun install` via the `postinstall`
hook and remains as a fallback for the upstream merge utilities.
2026-05-05 14:49:50 +00:00
Mark IJbema 6cff7212b3 Merge pull request #9902 from Kilo-Org/mark/find-reset-candidates
chore(upstream): add find-reset-candidates helper
2026-05-05 15:56:20 +02:00
Christiaan Arnoldus 37be66b0f2 Merge pull request #9909 from Kilo-Org/feat/utf-32-bom-encoding
feat(cli): support UTF-32 with BOM for file encoding detection
2026-05-05 15:50:48 +02:00
kiloconnect[bot] 3618565040 chore: annotate sync-versions.ts as kilocode new file 2026-05-05 13:45:44 +00:00
kiloconnect[bot] 6a989dc6bc chore: add sync-versions script for upstream merges
Upstream opencode stamps its own version into shared files (the Zed extension toml + any package.json it bumps), which leaves the tree pointing at an upstream release tag that doesn't exist on Kilo's pipeline — Zed download URLs silently 404 as a result.

script/sync-versions.ts rewrites every top-level package.json version and the Zed extension toml (version + 5 download URLs) to a single target in one shot. Defaults to the root package.json version, accepts an explicit version argument, and skips packages/kilo-jetbrains/ which tracks its own cadence.

Documented in .kilo/command/upstream-manual-merge.md as a dedicated step-10 commit after 'resolve merge conflicts' so version churn stays out of the behavioural merge commit.
2026-05-05 13:43:54 +00:00
Christiaan Arnoldus 7fa306c01e Merge branch 'main' into feat/utf-32-bom-encoding 2026-05-05 15:40:19 +02:00
Marian Alexandru Alecu fd6c4658a8 Merge pull request #9844 from Kilo-Org/track-code-reviews
fix(cli): track local reviews
2026-05-05 16:38:43 +03:00
Mark IJbema 0eb187cf2f Merge pull request #9912 from Kilo-Org/mark/improve-upstream-manual-merge-command
docs(kilo-cli): tighten upstream-manual-merge command
2026-05-05 15:38:17 +02:00
Mark IJbema 9a833ad171 docs(kilo-cli): use find-conflict-markers.sh for post-edit verification 2026-05-05 15:29:45 +02:00
Mark IJbema 0c5ec06f6e fix(upstream): pre-filter big + policy-protected files
Fixes hang when running the finder from the repo root without a path
scope. Root cause: upstream-only packages (packages/console, packages/web,
packages/desktop, etc. in config.skipFiles) contain multi-megabyte
media assets that stall concurrent Bun `git show` subprocesses on the
pipe buffer.

Changes:
- Batch upstream blob sizes in one `git cat-file --batch-check`
  subprocess before classifying anything. Files with missing upstream
  land directly in `upstream-missing`; files > 256 KB land in the new
  `too-large` bucket. Only sane-sized survivors get per-file `git show`.
- Filter out files matching the merge config's `keepOurs` and
  `skipFiles` globs (.github workflows, translated READMEs, upstream-
  only packages, etc.) — these are intentionally preserved or removed
  in Kilo and would otherwise pollute the report and tempt incorrect
  resets.

Full-repo dry-run now completes in ~2s.
2026-05-05 15:25:37 +02:00
Mark IJbema 8b407f4fd7 docs(kilo-cli): tighten upstream-manual-merge command
Incorporate lessons from the v1.14.30 merge: explain reasoning before
showing diffs, investigate why Kilo-specific helpers exist before
bypassing them, prefer commenting-out over deletion with kilocode_change
markers, use TODO (not NOTE) for follow-ups, check adjacent files that
structural upstream splits force you to touch, grep for usages before
deleting apparently-unused upstream declarations, and include PR-body
guidance and the 'resolve merge conflicts' commit convention.
2026-05-05 15:23:29 +02:00
Marius d9d4dcd37c fix(cli): recover dangling assistant turns (#9907) 2026-05-05 10:22:45 -03:00
Marius 0c5d75772d Show snapshot progress in working indicator (#9905)
* fix(vscode): show snapshot progress in working indicator

* fix(vscode): type synthetic text parts

* fix(vscode): keep provider under lint line cap
2026-05-05 15:18:13 +02:00
kilo-agent 988d080f96 remove redundant wide-UTF BOM gate from detect()
Users that hand us BOM-less UTF-16/32 are violating the documented
contract; trust jschardet + iconv.encodingExists and let the result
be whatever it is.
2026-05-05 13:06:57 +00:00
kilo-agent 9ffd047962 feat(cli): support UTF-32 with BOM for file encoding detection
UTF-16 and UTF-32 without a BOM remain unsupported (ambiguous).

Aligns with upstream opencode PR chrarnoldus/opencode#1.
2026-05-05 13:02:21 +00:00
Catriel Müller 7c59d31ec5 Merge pull request #9901 from Kilo-Org/determined-oxygen
test(cli): quarantine flaky MCP OAuth browser tests
2026-05-05 09:44:44 -03:00
Mariusandgithub-actions[bot] b7657d1aef Add webview font size setting (#9824)
* feat(vscode): add webview font size setting

* test(vscode): guard webview font size tokens

* fix(vscode): add font size locale keys

* fix(vscode): preserve default webview font rendering

* fix(vscode): keep provider under line cap

* chore: update kilo-vscode visual regression baselines

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-05 14:43:53 +02:00
Mark IJbema 36beb51eec Merge branch 'main' into mark/find-reset-candidates 2026-05-05 14:33:00 +02:00
Mark IJbema 0b763ac4ce Some resets found by this script 2026-05-05 14:31:32 +02:00
Mark IJbema 346c1058cc Merge pull request #9904 from Kilo-Org/fix/mention-autocomplete-trailing-space
fix(vscode): append trailing space after @ mention autocomplete
2026-05-05 14:24:34 +02:00
Catriel Müller b37808d123 Merge pull request #9881 from Kilo-Org/catrielmuller/fix-9511
fix(vscode): route Kilo Gateway sign-in through Profile view
2026-05-05 09:22:35 -03:00
Mark IJbema c1accfa588 fix(upstream): stop finder hanging on big assets
Replace the subprocess-based line diff in classifyDrift with an
in-process multiset diff (approxDiff) so concurrent classifications
don't deadlock on big text files like sprite.svg via Bun $.quiet()
pipe-buffer stalls.

Also filter non-code assets (SVG, PNG, fonts, archives, lock files,
etc.) before classification so they don't bloat the report or stress
git subprocesses. Switch kilo-only path excludes to glob pathspecs so
every packages/kilo-*/ and **/kilocode/** dir is excluded without
maintaining a hand list.

Rename the 'whitespace-only' bucket to 'cosmetic-only' — with the
multiset diff it also catches line reordering, so the old label was
misleading.
2026-05-05 14:17:33 +02:00
kiloconnect[bot] 080faf4df8 fix(vscode): append trailing space after @ mention autocomplete
When autocompleting a file, folder, or special mention via the @ menu
in the chat textarea, insert a single trailing space (unless the next
char is already whitespace) so typing immediately after selection does
not get appended to the path and break attachment parsing.
2026-05-05 12:15:40 +00:00
Marian Alexandru Alecu 490df21393 Merge pull request #9887 from Kilo-Org/fix/queued-compaction-marker
fix(cli): process queued compaction markers
2026-05-05 15:05:25 +03:00
Marius 59e8effc3d Make codebase indexing setting project-specific (#9855)
* fix: make indexing enablement project-specific

* chore: annotate indexing config changes

* fix: save TUI indexing toggle per project

* fix: move indexing scope logic to Kilo config
2026-05-05 14:04:56 +02:00
Marius 4737eedef2 test(vscode): cover opening config files (#9864) 2026-05-05 14:04:43 +02:00
008387a8ac fix(cli): restore kilo branding in MCP auth toast and client name (#9892)
* fix(cli): restore kilo branding in MCP auth toast and client name

The 'Run: opencode mcp auth' popup / toast and the MCP protocol client
'name' field were reverted to 'opencode' by an upstream refactor
(opencode PR #22913, pulled in via Kilo PR #9346). Re-apply the
Kilo-branded strings with narrow kilocode_change markers and add a
regression test in packages/opencode/test/kilocode/ so the next upstream
merge fails a Kilo-owned test instead of shipping an 'opencode' popup.

* fix: use kilocode_change block markers for startAuth signature

---------

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Co-authored-by: marius-kilocode <marius@kilocode.ai>
2026-05-05 14:04:37 +02:00
marius-kilocode c0c982befd test(cli): allow explicit quarantined test runs 2026-05-05 13:47:34 +02:00
Mark IJbema 3f2ea7188b chore(upstream): add find-reset-candidates helper
Bulk-finds files that have drifted insignificantly from the last merged
upstream and (optionally) resets them. Extracts shared clean/changed
marker helpers into utils/markers.ts and shared reset logic into
utils/reset.ts so both the single-file reset helper and the new finder
use the same classification pipeline.
2026-05-05 13:44:01 +02:00
marius-kilocode 279a86c2b6 test(cli): quarantine flaky MCP OAuth browser tests 2026-05-05 13:43:00 +02:00
Catriel Müller 6b9b659b96 refactor: disable flasky windows test 2026-05-05 08:42:14 -03:00
Scuttle Bot 35dd6557c3 docs: update Ask agent tool access to reflect read-only bash and MCP support (#7955) 2026-05-05 13:18:02 +02:00
Mark IJbema 3db7620ddb Merge pull request #9888 from Kilo-Org/mark/upstream-manual-prompt-zdiff
docs(upstream): extract manual merge prompt
2026-05-05 13:06:42 +02:00
Mark IJbema 23818a5127 Merge pull request #9896 from Kilo-Org/mark/skip-team-members
chore(upstream): skip files Kilo has removed from upstream
2026-05-05 12:49:41 +02:00
Mark IJbema fcce31aae7 Merge remote-tracking branch 'origin/main' into mark/upstream-manual-prompt-zdiff 2026-05-05 12:48:05 +02:00
kiloconnect[bot] 6986b2b879 chore(upstream): skip files Kilo has removed from upstream
Add .github/TEAM_MEMBERS and other files Kilo has deleted to skipFiles
so future upstream merges auto-remove them via git rm instead of
surfacing delete-by-us conflicts that need manual resolution.

Also drop the stale github/.gitignore entry from keepOurs (the file
does not exist in Kilo main; keepOurs was a no-op) and move it to
skipFiles so upstream's copy is dropped on merge instead of added.
2026-05-05 10:27:26 +00:00
Mark IJbema 33891196c7 Merge pull request #9895 from Kilo-Org/mark/release-slack-prerelease-status
fix: show release type in Slack notifications
2026-05-05 12:15:27 +02:00
Christiaan Arnoldus 12d2c08e8f Merge pull request #8732 from shssoichiro/cli-cost
feat(cli): show model costs in model picker
2026-05-05 11:54:44 +02:00
kiloconnect[bot] 7be57483bd docs(upstream): keep manual merge prompt only 2026-05-05 09:44:58 +00:00
Mark IJbema aef7147395 Merge remote-tracking branch 'origin/main' into mark/upstream-manual-prompt-zdiff 2026-05-05 11:38:26 +02:00
Mark IJbema e77c6c005a Merge pull request #9889 from Kilo-Org/mark/reset-file-to-upstream
Add reset-to-upstream helper
2026-05-05 11:29:48 +02:00
Marius 27d14d432c fix(cli): keep env reads behind ask (#9843)
* fix(cli): keep env reads behind ask

* fix(cli): protect pending env reads

* fix(cli): share permission rule helpers
2026-05-05 11:24:34 +02:00
kiloconnect[bot] 47cab6b3df fix: show release type in Slack notifications 2026-05-05 09:12:27 +00:00
kilo-maintainer[bot] 8fcc77a2ae release: v7.2.40 2026-05-05 09:05:27 +00:00
Marius f392debf0f fix(cli): serialize OAuth callback port tests (#9870)
* fix(cli): serialize OAuth callback port tests

* fix(cli): close MCP OAuth browser test listener race

The mock subprocess emitted its error via setTimeout(10ms), which raced the error listener attachment on slow Windows CI and left BrowserOpenFailed unpublished. Emit on newListener('error') via a microtask so the listener is always attached first. Revert the unrelated test-runner serialization.

* fix(cli): deliver MCP OAuth mock error to listener directly

Override subprocess.on in the mock so the error is queued to the registered listener as soon as it attaches. The previous newListener + emit chain still lost events on slow Windows CI because EventEmitter dispatch can race microtask draining.
2026-05-05 11:04:53 +02:00