Commit Graph
6891 Commits
Author SHA1 Message Date
kiloconnect[bot] 02415384df refactor(cli): dedupe BOM byte sequences in encoding module
Consolidate the UTF-8/16/32 BOM byte literals into a single lookup table
and share a startsWith helper across detection and encoding. Pure
refactor in a Kilo-only file; upstream diff unchanged.
2026-05-05 14:16:05 +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
Marius d9d4dcd37c fix(cli): recover dangling assistant turns (#9907) 2026-05-05 10:22:45 -03: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
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
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
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
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
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
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
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
kilo-maintainer[bot] 4e1bae01ae release: v7.2.39 2026-05-05 08:30:11 +00:00
Imanol Maiztegui 6cd26f31c6 fix(cli): skip web UI embed when packages/app is missing
The upstream build script tries to bundle packages/app/ which was removed in #9845. Guard the embed step so the CLI build still works, and revert the --skip-embed-web-ui workaround from #9885 since it is no longer needed.
2026-05-05 10:10:03 +02:00
Alex Alecu d9453f0da2 fix(cli): process queued compaction markers 2026-05-05 11:00:55 +03:00
Alex Alecu 95be772b9b Merge remote-tracking branch 'origin/main' into track-code-reviews
# Conflicts:
#	packages/opencode/src/session/processor.ts
2026-05-05 09:55:16 +03:00
kilo-maintainer[bot] fa7082fcf8 release: v7.2.36 2026-05-05 00:11:27 +00:00
Mark IJbema 302470e4ce Merge pull request #9840 from Kilo-Org/fix/restore-kilo-env-var
fix: restore KILO env var (regression from #9014)
2026-05-04 21:37:49 +02:00
Catriel Müller 1bb2042c22 Merge pull request #9869 from Kilo-Org/catrielmuller/fix-9823
fix(cli): restore question tool availability in code mode
2026-05-04 15:04:06 -03:00
Catriel Müller 27fd7a46d7 fix: kilocode_change 2026-05-04 14:55:41 -03:00
Catriel Müller e82f56176c fix: tests 2026-05-04 14:49:43 -03:00
Imanol Maiztegui df42ca48ac Merge remote-tracking branch 'origin/main' into fix/agent-toggle-false-persistence 2026-05-04 19:29:22 +02:00
Imanol Maiztegui e7e3e39746 refactor(config): use explicit undefined guard in agent normalize function
The nullish coalescing operator (??) treats null as a falsy value and
falls through to the right-hand operand. Switch to a strict undefined
check so that a null assignment on `steps` is forwarded as-is, allowing
callers to express an intentional reset of the steps configuration.
2026-05-04 19:28:45 +02:00
Catriel Müller 532a16c9f9 Merge branch 'main' into catrielmuller/fix-9823 2026-05-04 14:26:28 -03:00
Catriel Müller 1c15a07464 chore: annotate kilocode_change on filesystem.ts import 2026-05-04 14:17:34 -03:00
Catriel Müller 4ed9fc0d8d fix(cli): atomic write in Filesystem.write to prevent partial JSON reads 2026-05-04 14:11:26 -03:00
Marius 97bed63b78 test(cli): cover indexing registry isolation (#9866) 2026-05-04 14:11:13 -03:00
Imanol Maiztegui 2c1a8d882c Merge branch 'main' into fix/agent-toggle-false-persistence 2026-05-04 19:09:55 +02:00
Catriel Müller 896d8d0d82 fix: fix code question on code mode 2026-05-04 13:55:46 -03:00
Marius f499257c32 fix(cli): honor external directory allows in Ask mode (#9838)
* fix(cli): honor external directory allows in ask mode

* chore(cli): annotate external directory permission fix
2026-05-04 18:17:54 +02:00
kilo-maintainer[bot] a0d657fc65 release: v7.2.35 2026-05-04 16:10:20 +00:00
Josh Holmer 2999e9f56e feat(cli): show model costs in model picker 2026-05-04 12:09:21 -04:00
Imanol Maiztegui ef9c1f3d9e Merge branch 'main' into fix/agent-toggle-false-persistence 2026-05-04 17:57:17 +02:00
Imanol Maiztegui 213c40cc3c fix(cli): use block kilocode_change markers for nullable agent schema changes 2026-05-04 17:42:18 +02:00
Mark IJbema 1f00db7fdd Merge branch 'main' into fix/restore-kilo-env-var 2026-05-04 17:27:26 +02:00
Mark IJbema 87d71ee4ec Merge pull request #9848 from Kilo-Org/session/agent_2d15a8c3-fff3-46d3-aa79-08876f24bdca
fix(cli): avoid MCP OAuth callback port contention
2026-05-04 17:24:20 +02:00
Imanol Maiztegui 21cef5013b Merge origin/main into fix/agent-toggle-false-persistence
Resolve conflicts after main's config.ts refactor to @effect/schema and
the messages.ts → messages/ directory split:

- Port AgentConfig nullable fields + default_agent nullable to the new
  packages/opencode/src/config/agent.ts and config.ts Effect schemas.
  The null delete sentinel for steps is already preserved by main's
  normalize() (steps excluded from spread when undefined).
- Move AgentConfig nullable fields and Config.default_agent nullable to
  the new messages/agents.ts and messages/config.ts.
- Re-apply the core fix to ModeEditView.tsx hidden/disable toggles:
  send explicit false instead of val || undefined so deepMerge
  overwrites a previously-saved true. Keep default_agent clear via
  null delete sentinel when hiding/disabling the current default.
- Drop configSaved/configSaveFailed messages; main's retry + optimistic
  fallback in KiloProvider and configUpdateFailed + saveError signal in
  ConfigProvider subsume the PR's save-outcome split.
2026-05-04 17:05:07 +02:00
Mark IJbema 05964c0de5 Merge branch 'main' into fix/restore-kilo-env-var 2026-05-04 16:57:40 +02:00
kiloconnect[bot] b8113bb24e Merge remote-tracking branch 'origin/main' into session/agent_2d15a8c3-fff3-46d3-aa79-08876f24bdca
# Conflicts:
#	packages/opencode/src/mcp/index.ts
2026-05-04 14:49:51 +00:00
Mark IJbema 9a336b8640 Merge branch 'main' into fix/restore-kilo-env-var 2026-05-04 16:44:57 +02:00
Catriel Müller e491c76392 refactor: disable flasky test 2026-05-04 11:36:41 -03:00
kiloconnect[bot] 325bdae8a4 chore(cli): annotate MCP OAuth fix 2026-05-04 14:29:05 +00:00
Catriel Müller 50d7543f4c Merge branch 'main' into catrielmuller/fix-big-repos 2026-05-04 11:24:57 -03:00
Imanol Maiztegui 446d51cccd fix(sdk): preserve null sentinel for agent steps config
Replace nullish coalescing with explicit undefined check so that
`steps: null` is not collapsed to `maxSteps`, preserving the ability
to clear the steps override via a null sentinel value.
2026-05-04 16:14:53 +02:00