Skip to content

OpenCode v1.3.14#8870

Merged
catrielmuller merged 146 commits intomainfrom
imanolmaiztegui/kilo-opencode-v1.3.14
Apr 14, 2026
Merged

OpenCode v1.3.14#8870
catrielmuller merged 146 commits intomainfrom
imanolmaiztegui/kilo-opencode-v1.3.14

Conversation

@imanolmzd-svg
Copy link
Copy Markdown
Contributor

Core

  • Restored git-backed review modes, including uncommitted and branch diffs.
  • Fixed revert chains so restoring an earlier message also restores the right snapshot state.
  • Added macOS managed preferences for MDM-enforced config.
  • Fixed sessions getting stuck after tool calls with OpenAI-compatible providers.
  • Kept compaction summaries in the conversation's language.
  • Added Venice AI as a provider.
  • Respected model-specific limit.input overrides.

TUI

  • Kept the prompt cursor with dialogs instead of refocusing the background prompt.
  • Added a one-time confirmation before sharing a session for the first time.
  • Applied scroll settings consistently across TUI scroll views.
  • Kept text selections intact during global key handling.
  • Fell back to the first available agent if the last-used agent is unavailable.

Desktop

  • Added file mentions in review comments.
  • Restored prompt focus after closing agent, model, and variant pickers.
  • Added keyboard navigation and shortcuts to the question dock.
  • Hid model controls in shell mode.
  • Stopped the todo dock from auto-scrolling while tasks update.

SDK

  • Fixed JS SDK server and TUI launch and shutdown on Windows.
  • Fixed object-defined Tool.define() tools from wrapping execute multiple times.

Extensions

  • Added support for theme-only plugin packages.

kitlangton and others added 30 commits April 1, 2026 00:44
…308)

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
…(#20367)

Co-authored-by: JosXa <info@josxa.dev>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
…ls from github models endpoint (falls back to models.dev) (#20533)
Resolve merge conflicts across e2e tests, UI components, and core
packages. Clean up conflict markers in test specs by adopting the
upstream `project` fixture pattern over the legacy `withProject`
approach. Alphabetically sort package.json dependencies, apply
consistent code formatting across i18n files, flag declarations,
and TSX components. Update internal API calls to use current
signatures (Permission.defaultLayer, MessageV2.parts, Git.run).

Key changes:
- Remove Windows-specific test.skip guards and conflict markers
- Replace deprecated `git` util import with `Git.run` in worktree-family
- Drop unused SDK type import from share-next
- Add lib entries to kilo-gateway and kilo-telemetry tsconfigs
- Regenerate models-snapshot.js and SDK types with reordered events
- Fix SDK openapi.json code sample to reference @kilocode/sdk
- Add onCleanup import to popover component
...extraEnv,
}
const shell = process.platform === "win32" ? null : getUserShell()
const envs = shell ? mergeShellEnv(loadShellEnv(shell), env) : env
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Shell env probing blocks the Electron main process on every command spawn

spawnCommand() is used for normal desktop CLI launches like serve() and debug config(), but this new loadShellEnv(shell) call runs synchronously and can spend up to 5 seconds inside spawnSync(..., timeout: 5000). On shells with slow or interactive startup files, that freezes the main process every time a command starts. Caching the probed env once, or moving the probe off the hot path, avoids turning shell startup latency into UI stalls.

@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot bot commented Apr 13, 2026

Code Review Summary

Status: 2 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 2
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
packages/desktop-electron/src/main/cli.ts 148 Synchronous shell env probing now blocks the Electron main process during every command launch and can freeze the desktop UI for several seconds on slow login shells.
Other Observations (not in diff)

Issues found in unchanged code that cannot receive inline comments:

File Line Issue
packages/kilo-vscode/src/agent-manager/run/task.ts 39 executeTask() is awaited before completion listeners are attached, so fast-finishing run scripts can miss both end events and leave the worktree stuck in running/stopping until reload.
packages/kilo-vscode/README.md 2 Markdown docs in this repo still use HTML <img> tags; new docs should prefer markdown image syntax like ![alt](./path.png) per review policy.
Files Reviewed (19 files)
  • packages/desktop-electron/src/main/cli.ts - 1 issue
  • packages/desktop-electron/src/main/shell-env.ts - 0 issues
  • packages/opencode/src/account/index.ts - 0 issues
  • packages/app/src/pages/session/composer/session-todo-dock.tsx - 0 issues
  • packages/app/src/components/prompt-input.tsx - 0 issues
  • packages/opencode/src/cli/ui.ts - 0 issues
  • packages/kilo-vscode/src/agent-manager/run/task.ts - 1 issue
  • script/version.ts - 0 issues
  • packages/kilo-docs/source-links.md - 0 issues
  • script/extract-source-links.ts - 0 issues
  • bun.lock - 0 issues
  • packages/sdk/js/openapi.json - 0 issues
  • turbo.json - 0 issues
  • .github/workflows/test.yml - 0 issues
  • packages/opencode/src/config/config.ts - 0 issues
  • packages/opencode/src/flag/flag.ts - 0 issues
  • packages/opencode/src/permission/index.ts - 0 issues
  • packages/opencode/src/session/prompt.ts - 0 issues
  • packages/opencode/src/kilocode/rules-migrator.ts - 0 issues

Fix these issues in Kilo Cloud


Reviewed by gpt-5.4-20260305 · 1,001,757 tokens

imanolmzd-svg and others added 13 commits April 13, 2026 20:33
Replace upstream opencode ASCII art with Kilo-branded wordmark
in the CLI startup banner.
…l locales

Introduce new localized strings for git/branch change titles and
diff file list controls (changed, showAll, showLess, more) in 18
language files to support the updated session review UI.
… popup selector

Align boolean expression continuation indent in isCompletionResult
and reformat generic type constraint in PopupSelectorProps interface
to follow consistent code style conventions.
…names

Add GitHub Copilot API endpoint reference, update file paths to
reflect github-copilot plugin directory restructure and tui config
migration rename, and remove stale bun issue link references.
Add api.githubcopilot.com to the exclude patterns in the extraction
script and regenerate source-links.md, dropping the now-filtered
entry and updating the unique URL count from 79 to 78.

permissions:
contents: read
# checks: write // kilocode_change
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Removing checks: write disables the JUnit check report

mikepenz/action-junit-report@v6 creates or updates a GitHub check run by default, and its own action metadata/README explicitly requires checks: write unless you switch it to annotate_only. With this permission commented out, the Publish unit reports step can no longer publish the unit test check for PRs, so test results stop surfacing in the workflow checks.

@catrielmuller catrielmuller merged commit 02aec08 into main Apr 14, 2026
19 checks passed
@catrielmuller catrielmuller deleted the imanolmaiztegui/kilo-opencode-v1.3.14 branch April 14, 2026 07:05
marius-kilocode added a commit that referenced this pull request Apr 14, 2026
After the Effect migration in #8870, provider state is cached via
InstanceState/ScopedCache. The hasKey check that determines which
models are available ran once at init and was never re-evaluated.
When auth changed (login, logout, org switch), only ModelCache was
cleared but the provider state retained the stale hasKey decision,
causing authenticated users to be stuck on the free model.
marius-kilocode added a commit that referenced this pull request Apr 14, 2026
* fix(cli): invalidate provider state after auth changes

After the Effect migration in #8870, provider state is cached via
InstanceState/ScopedCache. The hasKey check that determines which
models are available ran once at init and was never re-evaluated.
When auth changed (login, logout, org switch), only ModelCache was
cleared but the provider state retained the stale hasKey decision,
causing authenticated users to be stuck on the free model.

* chore: add changeset

* fix(gateway): scope disposeAll to KiloRoutesDeps, not ImportDeps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.