Skip to content

OpenCode v1.4.4#9014

Open
johnnyeric wants to merge 217 commits intomainfrom
johnnyamancio/kilo-opencode-v1.4.4
Open

OpenCode v1.4.4#9014
johnnyeric wants to merge 217 commits intomainfrom
johnnyamancio/kilo-opencode-v1.4.4

Conversation

@johnnyeric
Copy link
Copy Markdown
Contributor

Core

  • Restored instance and logger context during prompt runs so prompt-time tools and logging behave correctly.
  • Kept GitHub Copilot compaction requests valid.
  • Restored the flat reply shape for question API responses.
  • Persisted MCP OAuth connections that finish immediately, so authenticated servers stay connected.
  • Prevented duplicate user messages in ACP clients.
  • Stopped emitting user_message_chunk events during session and prompt turns in ACP clients.
  • Fixed reasoning summary injection for @ai-sdk/openai-compatible providers.
  • Added the experimental compaction.autocontinue hook to stop auto-continuing after compaction.
  • Added Alibaba provider support with cache support.
  • Snapshots now fully respect .gitignore, including previously tracked files.
  • Reading images no longer counts against quota.
  • Sessions can now update project permissions mid-run.
  • Enabled thinking for zhipuai-coding-plan and fixed Korean IME truncation.

TUI

  • Added opencode export --sanitize to redact PII and confidential transcript data.
  • Fixed diff line number contrast in built-in themes.
  • Plugin auth login now asks for an API key when a plugin needs authorization.
  • Plugin auth no longer asks for an API key when the plugin has no authorize method.

Desktop

  • Fixed the Windows desktop backend hanging before shutdown.

SDK

  • The JavaScript SDK now throws a clear error when an older server responds with HTML instead of the API.

Extensions

  • Plugins can now register custom workspace adaptors that appear in workspace creation.

Hona and others added 30 commits April 10, 2026 01:00
Ensures users on the prod channel have their data persisted to the same
database as latest and beta channels, preventing data fragmentation
across different release channels.
Copy link
Copy Markdown
Collaborator

@marius-kilocode marius-kilocode left a comment

Choose a reason for hiding this comment

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

Please hold for now, we have too many regressions

Comment thread packages/opencode/src/session/index.ts Outdated
Comment thread packages/sdk/js/src/v2/client.ts
@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot bot commented Apr 17, 2026

Code Review Summary

Status: 5 Issues Found | Recommendation: Address before merge

Overview

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

WARNING

File Line Issue
packages/opencode/src/session/index.ts 477 Session.children() now re-adds project_id filtering only when Instance.current exists, so cleanup/remove paths that run without instance context still fall back to cross-project child traversal.
packages/sdk/js/src/v2/client.ts 91 The new HTML compatibility guard only matches text/html exactly, so common responses like text/html; charset=utf-8 still fall through to opaque parse failures.
packages/opencode/src/server/ui/index.ts 42 The server UI route now returns 404 when embedded assets are unavailable, removing the previous hosted-UI fallback and breaking server-hosted UI in those deployments.
packages/opencode/src/kilocode/suggestion/index.ts 77 Pending suggestions moved to module-global state, so concurrent projects/worktrees in the same process can leak or act on each other’s suggestion state.
Other Observations (not in diff)

Issues found in unchanged code that cannot receive inline comments:

File Line Issue
packages/kilo-vscode/src/KiloProvider.ts 1373 Focus-mode reconcile calls this.streams.drop(sessionID), which can discard queued live SSE deltas that arrived after the reconcile snapshot was taken, leaving the active streaming message temporarily truncated or stale. This file is not commentable in the current PR diff.
packages/opencode/src/plugin/github-copilot/copilot.ts 341 Message-API Copilot models are now tagged as @ai-sdk/anthropic, which bypasses several Copilot-specific transform branches keyed on model.api.npm === "@ai-sdk/github-copilot". This may change reasoning and request-shaping behavior for those models even though providerID stays github-copilot.
Files Reviewed (8 files)
  • packages/opencode/src/session/index.ts - 1 carried-forward issue still reproducible
  • packages/kilo-vscode/src/KiloProvider.ts - 1 new issue outside the current PR diff
  • packages/sdk/js/src/v2/client.ts - 1 carried-forward issue
  • packages/opencode/src/server/ui/index.ts - 1 carried-forward issue
  • packages/opencode/src/kilocode/suggestion/index.ts - 1 carried-forward issue
  • .changeset/folder-mentions.md - no actionable issue reported
  • .changeset/settings-save-error.md - no actionable issue reported
  • .github/workflows/publish.yml - no actionable issue reported

Fix these issues in Kilo Cloud


Reviewed by gpt-5.4-20260305 · 3,603,002 tokens

Comment thread packages/opencode/src/server/ui/index.ts
Comment thread packages/opencode/src/kilocode/suggestion/index.ts
@johnnyeric johnnyeric force-pushed the johnnyamancio/kilo-opencode-v1.4.4 branch from 9d74749 to eb89a19 Compare April 17, 2026 11:42
Comment thread packages/opencode/src/session/index.ts
…DK types

Add experimental workspace adaptor list and status endpoints to the
OpenAPI spec. Add --sanitize flag to CLI export command for redacting
sensitive data. Update SDK types to reorder session status types before
suggestion types. Remove deprecated /global/sync-event endpoint.

Includes formatting fixes across i18n files, opencode source, and
tests, plus a warpgrep import path correction.
Replace raw async/Promise-based test helpers with Effect-based
equivalents to align with the upstream BashTool API changes. Introduce
a ManagedRuntime composed of CrossSpawnSpawner, AppFileSystem, Plugin,
Truncate, and Agent layers. Update metadata, ask, and execute call
sites to return Effect values instead of plain promises.
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.