Commit Graph

21830 Commits

Author SHA1 Message Date
kiloconnect[bot] fc4cff6a74 fix(cli,vscode): normalize SSH git remote URLs to HTTPS for cloud session filter
Fixes the 'Only this repository' filter in the Cloud Sessions history panel
not working when the local git remote uses SSH format.

The CLI's normalizeGitUrl() was storing HTTPS sessions as
'https://github.com/org/repo.git' but when a user has an SSH remote
('git@github.com:org/repo.git'), the VS Code extension sent that raw SSH
URL as the filter, causing a mismatch with the stored HTTPS form.

Changes:
- kilo-sessions.ts: update normalizeGitUrl() to convert SSH format
  (git@host:owner/repo) to canonical HTTPS (https://host/owner/repo)
  so all remote formats produce the same stored URL
- KiloProvider.ts: add normalizeGitRemoteUrl() helper and apply it in
  getGitRemoteUrl() before forwarding the URL as a cloud session filter,
  ensuring the sent URL matches the stored canonical form

Closes #11008
2026-06-08 11:52:43 +00:00
Marius 741b00f2e0 fix(cli): restore subagent isolation in session forks (#11000) 2026-06-08 11:36:44 +00:00
Marius 12e83e1d3b Merge pull request #10998 from Kilo-Org/voltaic-veterinarian
fix(cli): restore automatic session titles
2026-06-08 13:21:41 +02:00
Marius 8918bb767a Merge pull request #10787 from Kilo-Org/picayune-yacht
fix(vscode): route worktree permission approvals correctly
2026-06-08 13:04:32 +02:00
Marius 65f0c3e44e Merge pull request #10995 from Kilo-Org/fix/ignore-legacy-model-snapshots
fix(cli): ignore legacy models snapshots
2026-06-08 13:03:37 +02:00
marius-kilocode a59b255b31 fix(cli): restore automatic session titles 2026-06-08 13:03:28 +02:00
marius-kilocode d71b1e3442 revert(sdk): keep generation on pinned Bun 2026-06-08 12:36:30 +02:00
marius-kilocode 97dd460482 fix(sdk): stabilize generated event ordering 2026-06-08 12:31:59 +02:00
marius-kilocode 5b32c368c9 refactor(sdk): simplify Bun version lookup 2026-06-08 12:25:44 +02:00
marius-kilocode cc2167fc52 fix(sdk): reject mismatched Bun generation 2026-06-08 12:17:29 +02:00
marius-kilocode 4550e0d883 fix(cli): ignore legacy models snapshots 2026-06-08 11:50:27 +02:00
kilo-maintainer[bot] 1181567b26 release: v7.3.40 2026-06-06 02:29:27 +00:00
Johnny Eric Amancio be5f42f158 fix: support custom plan exit paths (#10952) 2026-06-06 00:50:58 +02:00
Catriel Müller 011477a915 Merge pull request #10925 from Kilo-Org/improvement/cli-suggest-skills
Suggest skill slash commands in CLI
2026-06-05 18:38:30 -03:00
kilo-maintainer[bot] f018b8ffa9 release: v7.3.39 2026-06-05 21:13:04 +00:00
Catriel Müller 3b1549d20a Merge pull request #10961 from Kilo-Org/catrielmuller/remove-macos-intel
refactor: fix intel mac runner
2026-06-05 17:59:09 -03:00
Catriel Müller 17f5619c59 refactor: flag intel mac 2026-06-05 17:57:39 -03:00
Catriel Müller 9a53a602d4 Merge pull request #10958 from Kilo-Org/fix/cli-disable-bun-splitting
fix(cli): disable Bun code-splitting to fix baseline release crash
2026-06-05 17:46:49 -03:00
Catriel Müller 8b5fd89708 refactor(cli): drop morphsdk compat layer and CJS build plugin
The compat re-export and the build's CJS-redirect plugin only existed to work
around the 'G9' crash that's actually a Bun --splitting bug (now fixed by
splitting:false). With splitting off the morphsdk ESM barrel bundles cleanly,
so import it directly in warpgrep.ts and remove the indirection.
2026-06-05 16:49:16 -03:00
Catriel Müller 4ca4700359 fix(cli): disable Bun code-splitting to fix baseline startup crash
The real cause of the 'Exported binding G9 needs to refer to a top-level
declared variable' SyntaxError is a Bun 1.3.14 --splitting codegen bug
(oven-sh/bun#25621), not @morphllm/morphsdk. With splitting:true Bun emits
invalid cross-chunk re-exports (import{vn as G9}) that crash the compiled
baseline binary at startup. Disabling splitting produces a valid binary;
verified the 'as G9' artifact is gone from the compiled output.
2026-06-05 16:35:18 -03:00
Catriel Müller fae783dc14 Merge pull request #10957 from Kilo-Org/fix/morphsdk-cjs-resolve-subpath
fix(cli): resolve morphsdk client.cjs via exported subpath
2026-06-05 16:23:24 -03:00
Catriel Müller d7df07a1eb fix(cli): resolve morphsdk client.cjs via exported subpath
The morphsdkCjsPlugin called require.resolve on the raw dist/.../client.cjs
path, which is not an exported subpath in the package's exports map, so Bun
aborted the release build with 'Cannot find module ...client.cjs'.

Resolve through the public specifier @morphllm/morphsdk/tools/warp-grep/client
instead — require.resolve uses the package's "require" condition, mapping it
straight to client.cjs.
2026-06-05 16:22:01 -03:00
Catriel Müller 7d241ee6ff Merge pull request #10956 from Kilo-Org/fix/morphsdk-cjs-build-plugin
fix(cli): use build plugin to redirect morphsdk ESM barrel to CJS
2026-06-05 16:09:12 -03:00
Catriel Müller bd1e3e4a14 fix(cli): use build plugin to redirect morphsdk ESM barrel to CJS
The createRequire approach from #10955 did not prevent the Bun ESM
splitter from generating invalid output. Bun 1.3.14 with
`conditions: ["browser"]` resolves @morphllm/morphsdk via the "import"
condition (pre-split ESM barrel) even inside createRequire() calls,
pulling in 52 chunk-*.js files that cause:

  SyntaxError: Exported binding 'G9' needs to refer to a top-level declared variable.

Fix: add a morphsdkCjsPlugin in script/build.ts using Bun's onResolve
API to redirect the module specifier to the absolute path of client.cjs
before the ESM splitter is invoked. client.cjs is a self-contained
~2300-line CJS bundle with no chunk-*.js imports.

morphsdk.ts is simplified to a plain re-export — the CJS redirection
happens at build time, no source-level workaround needed.
2026-06-05 15:52:14 -03:00
Catriel Müller d9cbaa31e6 Merge pull request #10955 from Kilo-Org/fix/cli-release-validation-runtime
fix(cli): prevent Bun ESM splitter crash and fix Alpine musl validation
2026-06-05 15:35:11 -03:00
Catriel Müller f7970c99ed fix(cli): prevent Bun ESM splitter crash and Alpine musl validation
Two independent release validation failures introduced by kilo-opencode-v1.14.33 (morphsdk) and the new all-arch validation jobs.

**@morphllm/morphsdk pre-split ESM (intermittent SyntaxError on Windows)**

@morphllm/morphsdk/tools/warp-grep/client ships as a 805-byte ESM barrel that
re-exports from 13 internal chunk-*.js files (52 chunks total). When Bun 1.3.14
bundles the CLI with splitting+minify enabled, merging these external pre-split
chunks into its own chunk graph intermittently produces invalid minified ESM:

  SyntaxError: Exported binding 'G9' needs to refer to a top-level declared variable.

Non-deterministic because Bun's parallel bundler uses different orderings per run;
same build sometimes succeeds, sometimes fails on Windows x64.

Fix: load morphsdk via createRequire (forces CJS bundle, client.cjs 2292 lines,
self-contained) instead of the ESM barrel. Wrapper lives in kilocode/compat/ with
a comment explaining how to detect and fix this pattern for future third-party deps.

Scanned all 40+ third-party packages imported by packages/opencode/src — morphsdk
is the only one with pre-split ESM; all others ship single-file ESM or CJS only.

**Alpine musl validation (libstdc++/libgcc missing)**

Bun's musl target (bun-linux-{arch}-musl) is not fully static — it links against
libstdc++.so.6 and libgcc_s.so.1 (GCC C++ runtime). Alpine base does not ship
these by default. The fix adds apk add --no-cache libstdc++ libgcc at the start of
the Alpine Docker smoke test, matching the runtime requirement that any Alpine user
of the CLI would also need.
2026-06-05 15:10:16 -03:00
Joshua Lambert 6ba7c84fc2 Merge pull request #10951 from Kilo-Org/fix/vscode-preserve-sidebar-on-reload
fix(vscode): preserve Explorer after window reload
2026-06-05 13:21:21 -04:00
Catriel Müller 2e2c07b292 Merge pull request #10949 from Kilo-Org/alder-xenoposeidon
Fix CLI models snapshot release validation
2026-06-05 13:48:56 -03:00
Kirill Kalishev 452a34d7a6 Merge pull request #10917 from Kilo-Org/plastic-munchkin
feat: add JetBrains release skill
2026-06-05 11:55:29 -04:00
Ari Messer ed4c402fde Merge pull request #10911 from Kilo-Org/docs/update-nvidia-nemotron-model 2026-06-05 08:02:27 -07:00
kiloconnect[bot] 2a54288a26 docs: update NVIDIA Nemotron model ID and description in gateway models list 2026-06-05 07:45:29 -07:00
Josh Lambert ca5c4d9a91 test(vscode): remove sidebar reload regression guard 2026-06-05 10:27:45 -04:00
Josh Lambert 54534bd641 fix(vscode): preserve sidebar on window reload 2026-06-05 10:24:18 -04:00
Joshua Lambert e2e070da2f Merge pull request #10924 from Kilo-Org/fix/temporarily-disable-session-export
fix(cli): temporarily disable session export
2026-06-05 10:00:36 -04:00
Aarav e02efb5ce6 docs(security): reflect Security Agent availability in docs (#10898)
The previous docs stated Security Agent was restricted to Teams and
Enterprise plans, which no longer matches the product behavior.

The personal and organization sidebars both expose Security Agent
unconditionally, with no plan gate or feature flag. This keeps the
docs aligned with that behavior.

Reason for change: docs were out of sync with UI/backend access rules.
2026-06-05 15:52:01 +02:00
Catriel Müller f828478689 Merge pull request #10933 from Kilo-Org/fix/mcp-json-strict-output
fix(cli): write strict JSON for MCP config
2026-06-05 10:25:35 -03:00
Imanol Maiztegui 225b914b59 perf(chat): reserve layout space for working indicator to prevent content shift (#10950)
Wrap the WorkingIndicator in a persistent slot container with a fixed
min-height so that toggling between the spinner and session actions
does not cause the chat content to jump. This stabilizes the scroll
position when live output finishes.
2026-06-05 13:15:51 +00:00
Catriel Müller 2dd5100eea fix(vscode): validate local CLI snapshot sidecar 2026-06-05 09:40:38 -03:00
Catriel Müller 78117d1a25 fix: validate CLI models snapshot before release builds 2026-06-05 09:28:40 -03:00
Imanol Maiztegui 6a64794a5b fix(auto-scroll): ignore control interactions when detecting user scroll intent (#10946)
Extract helper utilities to identify interactive elements (buttons,
inputs, textareas, contenteditable) and nested scrollable containers.
Skip pausing auto-scroll when the user interacts with form controls
or question answer elements, preventing false positives that would
stop the chat from following new content.
2026-06-05 12:22:20 +00:00
Imanol Maiztegui f5b5797580 refactor(chat): use ResizeObserver to maintain scroll position on container resize (#10944)
Replace the custom event approach for resuming auto-scroll when the
permission dock disappears. Instead, observe the scroll container's
dimensions directly via createResizeObserver in the auto-scroll hook,
eliminating the coupling between ChatView and MessageList through
window events. The scroll ref is now tracked in the store to enable
resize observation alongside the existing content observer.
2026-06-05 13:11:01 +02:00
Imanol Maiztegui 049d567d13 fix(ui): prevent false auto-scroll pauses from programmatic scroll events (#10942)
Remove lastScrollTop tracking that incorrectly classified virtualization
and layout-driven scroll position changes as user-initiated scrolling.
Now only explicit user input (detected via recentlyInteracted()) can
pause the auto-scroll following behavior, keeping chat pinned to the
bottom during programmatic or layout-driven updates.
2026-06-05 09:41:04 +00:00
Christiaan Arnoldus b198441247 Merge pull request #10901 from Kilo-Org/fix/webfetch-unsupported-images
fix(cli): reject unsupported webfetch images
2026-06-05 10:56:13 +02:00
Evan Jacobson c992b92842 fix(cli): annotate command Kilo changes 2026-06-04 23:20:33 -06:00
Evan Jacobson 48466850a9 Undo extra changeset 2026-06-04 22:53:52 -06:00
Evan Jacobson 2099feba9b fix(cli): disambiguate skill slash commands 2026-06-04 22:38:19 -06:00
kilo-maintainer[bot] 5c6b83ad28 release: v7.3.33 2026-06-05 03:24:39 +00:00
Joshua Lambert 62ff9162ab Merge pull request #10935 from Kilo-Org/fix/cli-release-build-state
fix(cli): isolate release target builds
2026-06-04 23:15:54 -04:00
Joshua Lambert 7afef4aa85 Merge branch 'main' into fix/cli-release-build-state 2026-06-04 23:00:29 -04:00
Josh Lambert 254b070bb0 ci: limit CLI artifact validation to version 2026-06-04 22:55:22 -04:00