Commit Graph

19296 Commits

Author SHA1 Message Date
kiloconnect[bot] 37af1bc751 check-workflows: drop disabled list, only check runnable workflows 2026-05-06 07:11:04 +00:00
kiloconnect[bot] 0c21808597 fix(check-workflows): also catch .yaml files 2026-05-06 06:48:06 +00:00
kiloconnect[bot] ed973a93c0 annotate kilocode_change markers 2026-05-06 06:40:25 +00:00
kiloconnect[bot] 34959bfaac ci: guard against upstream workflow additions
Hardcodes the list of active and disabled workflows and fails CI when
.github/workflows/ drifts. Wired into check-opencode-annotations so we
don't add a new workflow file for this.
2026-05-06 06:38:28 +00:00
Thomas Brugman 40a4d5eae2 fix(ui): keep settings select within viewport (#9910)
Co-authored-by: Marius <marius@kilocode.ai>
2026-05-05 21:43:48 +00:00
Josh Holmer 520922ff39 fix(indexing): prevent indexing home directory when no project is open (#9928) 2026-05-05 18:46:40 +02:00
Josh Holmer 914bbdfd05 fix(core): restore Skill tool as allow by default (#9924) 2026-05-05 18:21:48 +02:00
Imanol Maiztegui 54b2c4dbd3 Merge pull request #9929 from Kilo-Org/imanol/fix-diff-hover-styling
fix(vscode): preserve diff tint on hover
2026-05-05 17:48:51 +02:00
Mark IJbema 9eff48304f Merge pull request #9930 from Kilo-Org/mark/fully-disable-stale-workflows
chore: fully disable stale workflows
2026-05-05 17:48:11 +02:00
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
kiloconnect[bot] dff7761aac chore: move stale-disabled workflows to disabled folder
Consolidate workflow disabling: the six workflows previously soft-disabled
via `if: false` / `&& false` are now moved and renamed alongside the
other `.disabled` workflows so the disabling mechanism is consistent.
2026-05-05 15:34:31 +00:00
kiloconnect[bot] 5525f471d0 chore: reset stale-disabled workflows to upstream
Reset six workflow files that were soft-disabled via `if: false` / `&& false`
to the last merged upstream (v1.14.29) before moving them to the disabled folder
in a follow-up commit.
2026-05-05 15:34:21 +00: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
Imanol Maiztegui d49b5b005c fix(vscode): consolidate diff theme CSS variables into shared utility class
Extract duplicated Pierre diff CSS custom properties from multiple
stylesheets into a single shared `.kilo-diff-theme` class in
`webview-ui/src/styles/diff.css`. Apply the class to all diff container
elements (DiffPanel, FullScreenDiffView, DiffVirtualApp, PermissionDiff)
so hover overrides are consistently defined.

This fixes diff hover styling by adding the missing
`--diffs-bg-addition-hover-override` and
`--diffs-bg-deletion-hover-override` variables and eliminates ~130 lines
of duplicated CSS variable declarations across the codebase.
2026-05-05 17:22:42 +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
Marius 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
kilo-code-bot[bot] 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