Skip to content

OpenCode v1.14.41 - #10507

Merged
imanolmzd-svg merged 108 commits into
mainfrom
imanolmaiztegui/kilo-opencode-v1.14.41
May 22, 2026
Merged

OpenCode v1.14.41#10507
imanolmzd-svg merged 108 commits into
mainfrom
imanolmaiztegui/kilo-opencode-v1.14.41

Conversation

@imanolmzd-svg

Copy link
Copy Markdown
Contributor

1.14.35

Core

Bugfixes

  • Preserve diff patch boundaries so session diffs keep rendering correctly when file contents include diff --git text.

1.14.37

Core

Bugfixes

  • Canceling a task now also cancels child subtask sessions.

Improvements

  • Improved v2 session rendering with cleaner tool states, better compaction summaries, and more accurate timing.
  • Warp a session into another workspace or back to the local project.

Desktop

Bugfixes

  • Run the desktop migration on startup so existing installs transition correctly after the desktop packaging move.
  • Stabilized the Windows titlebar when changing zoom levels.

1.14.38

Core

Bugfixes

  • Embedded UI requests now work with arbitrary connect-src origins under the default CSP.

Desktop

Bugfixes

  • Desktop now trusts system CA certificates for HTTPS connections.

1.14.39

Desktop

Bugfixes

  • Respect HTTP_PROXY and related proxy environment variables in the desktop app.
  • Return null instead of failing when the desktop app cannot read a stored value.

1.14.40

Core

Improvements

  • Support .well-known/opencode configs that point to a separate remote config file.

Bugfixes

  • Preserve assistant text when replaying signed reasoning blocks.
  • Return consistent not-found errors for missing sessions.
  • Apply CORS headers before auth so browser clients can reach legacy server endpoints.
  • Fix serve, web, and ACP network options triggering runtime re-entry errors.
  • Only show connected workspaces in warp flows, and carry the new directory into the session after warping.
  • Restore web terminal CSP allowances.
  • Sanitize invalid surrogate characters before provider transforms.
  • Fix Cloudflare AI Gateway provider options for OpenAI-compatible models.
  • Use the current workspace with /new, including local-project warps.
  • Keep editor selection context stable until it is sent.
  • Retry server_is_overloaded API errors automatically.
  • Restore Mistral Medium 3.5 variants so model selection works correctly.
  • Show compaction summaries before retained tail messages.

TUI

Bugfixes

  • Keep the selected model when model data refreshes.
  • Fix /agent create to use the /agents path.

Desktop

Improvements

  • Allow trusted app windows to write to the clipboard without permission failures.

Bugfixes

  • Ignore broken pipe (EPIPE) errors in desktop console logging.
  • Stop auto-installing updates when quitting the app.
  • Silence noisy browser API Sentry reports in production.
  • Prevent sync bootstrap queries from failing during app startup.

1.14.41

Core

Bugfixes

  • Restored formatter output handling so formatting still works when formatters write to stdout or stderr.

Improvements

  • Warping a session to another workspace can now carry over your uncommitted file changes.

TUI

Bugfixes

  • Restored custom provider setup in /connect.

Desktop

Bugfixes

  • Added a macOS Settings menu entry.

Improvements

  • Moved the desktop app's local server into a separate utility process for more reliable startup and shutdown.

Extensions

Improvements

  • ACP clients now restore the last model, mode, and effort when loading sessions, and can close sessions cleanly.

opencode and others added 30 commits May 4, 2026 23:26
vimtor and others added 13 commits May 7, 2026 14:10
Reformat multiline arrays, JSX props, CSS transitions, and test
indentation to comply with the project's prettier configuration.
Also reorder auto-generated SDK type imports alphabetically and
relocate type definitions to match updated openapi.json output.
…s cancel signature

Use providerID variable instead of provider.id in dialog-provider to
fix incorrect property access after destructuring. Update cancel method
in TaskPromptOps stubs to return Effect.void matching the expected
interface. Remove obsolete workspace-restore test file and add missing
fixture import.
…pecheck

Expand extractFilePathFromHref test coverage to handle file:// URLs on
Unix, Windows drives, and encoded characters. Previously file:// URLs
were expected to return undefined; now they resolve to local paths.
Exclude @kilocode/kilo-jetbrains from turbo typecheck filter to avoid
build errors in that package.
Switch from default to named import to align with the project's
import style and avoid potential issues with module resolution.
Comment thread packages/opencode/src/v2/auth.ts
Comment thread packages/opencode/src/v2/session.ts
Comment thread packages/opencode/src/provider/transform.ts
Comment thread packages/opencode/src/control-plane/workspace.ts
@kilo-code-bot

kilo-code-bot Bot commented May 22, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: 4 Issues Found | Recommendation: Address before merge

Overview

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

WARNING

File Line Issue
packages/opencode/src/v2/auth.ts 114 Empty catch {} silently swallows JSON parse errors from KILO_AUTH_CONTENT — parse failure is ignored with no logging
packages/opencode/src/v2/session.ts 147 V2Session.create is a stub returning {} as any. Called by subagent() which calls result.prompt() on the stub's empty ID — silent broken behavior at runtime
packages/opencode/src/control-plane/workspace.ts 308 vcs.apply failure via remote path is silently mapped to fallback: { applied: false } and warp proceeds — the "fail before warping" intent only works for local workspaces

SUGGESTION

File Line Issue
packages/opencode/src/provider/transform.ts 63 TODO comment contains unprofessional language
Other Observations (not in diff)
  • packages/opencode/src/v2/session.ts — The subagent implementation calls Effect.forkChild() on a fiber whose result is fully discarded. The text part found in assistant messages is retrieved but never used. This appears to be a work-in-progress scaffold; the business logic for what to do with the subagent's output is missing.
  • packages/opencode/src/v2/model.ts — Uses a module-level let models = HashMap.empty<string, Info>() inside Effect.gen, which is mutated directly in add/remove. This is mutable shared state within the layer closure. This pattern is common for in-memory stores and is acceptable here, but worth noting if the layer is expected to be scoped.
  • packages/opencode/src/provider/transform.ts — The new sanitizeSurrogates + surrogate replacement is added but normalizeMessages now mutates the input msgs array in-place (msg.content = ..., content.text = ...). This is a side-effectful pattern on what the caller may consider immutable data.
Files Reviewed (key files)
  • packages/opencode/src/v2/auth.ts - 1 issue
  • packages/opencode/src/v2/session.ts - 1 issue
  • packages/opencode/src/v2/model.ts
  • packages/opencode/src/control-plane/workspace.ts - 1 issue
  • packages/opencode/src/provider/transform.ts - 1 issue
  • packages/opencode/src/provider/error.ts
  • packages/opencode/src/session/session.ts
  • packages/opencode/src/session/prompt.ts
  • packages/opencode/src/session/revert.ts
  • packages/opencode/src/session/message-v2.ts
  • packages/opencode/src/session/processor.ts
  • packages/opencode/src/tool/task.ts
  • packages/opencode/src/format/index.ts
  • packages/opencode/src/git/index.ts
  • packages/opencode/src/project/vcs.ts
  • packages/opencode/src/sync/index.ts
  • packages/opencode/src/acp/agent.ts
  • packages/opencode/src/server/shared/ui.ts
  • packages/opencode/src/server/server.ts
  • packages/opencode/src/server/routes/instance/httpapi/groups/instance.ts
  • packages/opencode/src/server/routes/instance/httpapi/handlers/session.ts
  • packages/opencode/src/server/routes/instance/sync.ts
  • packages/opencode/src/cli/cmd/tui/context/sync-v2.tsx
  • packages/opencode/src/cli/cmd/tui/context/editor.ts
  • packages/opencode/src/cli/cmd/tui/component/dialog-workspace-create.tsx
  • packages/ui/src/components/session-diff.ts

Fix these issues in Kilo Cloud


Reviewed by claude-4.6-sonnet-20260217 · 8,708,654 tokens

Review guidance: REVIEW.md from base branch main

@imanolmzd-svg
imanolmzd-svg merged commit 8ee9512 into main May 22, 2026
15 checks passed
@imanolmzd-svg
imanolmzd-svg deleted the imanolmaiztegui/kilo-opencode-v1.14.41 branch May 22, 2026 13:31
markijbema pushed a commit that referenced this pull request May 25, 2026
…ew-notes

review: OpenCode v1.14.41 upstream merge review (PR #10507)
markijbema pushed a commit that referenced this pull request May 25, 2026
…v1.14.41-review-notes

Revert "review: OpenCode v1.14.41 upstream merge review (PR #10507)"
t7tran pushed a commit to t7tran/kilocode that referenced this pull request Aug 14, 2026
t7tran pushed a commit to t7tran/kilocode that referenced this pull request Aug 14, 2026
t7tran pushed a commit to t7tran/kilocode that referenced this pull request Aug 14, 2026
….41-review-notes

review: OpenCode v1.14.41 upstream merge review (PR Kilo-Org#10507)
t7tran pushed a commit to t7tran/kilocode that referenced this pull request Aug 14, 2026
t7tran pushed a commit to t7tran/kilocode that referenced this pull request Aug 14, 2026
…pencode-v1.14.41-review-notes

Revert "review: OpenCode v1.14.41 upstream merge review (PR Kilo-Org#10507)"
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.