Skip to content

OpenCode v1.14.23#9574

Open
imanolmzd-svg wants to merge 48 commits intomainfrom
imanolmaiztegui/kilo-opencode-v1.14.23
Open

OpenCode v1.14.23#9574
imanolmzd-svg wants to merge 48 commits intomainfrom
imanolmaiztegui/kilo-opencode-v1.14.23

Conversation

@imanolmzd-svg
Copy link
Copy Markdown
Contributor

Context

Core

  • Respect custom .npmrc registry settings when checking package versions and updates.

TUI

  • Render all non-synthetic text in a user message instead of showing only the first text block.

jlongster and others added 30 commits April 23, 2026 11:24
…mbass agents from touching these files (#24057)
Co-authored-by: rgs_ramp <rgs@ramp.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
fwang and others added 14 commits April 24, 2026 02:05
…#24146)

Co-authored-by: Simon Klee <hello@simonklee.dk>
…modules

Replace zod schema definitions with effect Schema equivalents in
BusEvent definitions, tool parameters, session network, suggestions,
and related modules. This aligns Kilo-specific code with the upstream
v1.14.23 migration from zod to effect Schema.

- Convert BusEvent property schemas from zod objects to Schema.Struct
- Migrate tool parameter definitions (recall, warpgrep, suggest) to
  Schema.Struct with annotated descriptions
- Replace zod-based SessionNetwork.Wait with effect Schema and add
  zod interop via withStatics helper
- Extract shared EditorContext schema in message-v2 and reuse in
  prompt input
- Replace `fn()` wrappers in session.ts with explicit
  Schema.decodeUnknownSync calls for type safety
- Use branded SessionID/QuestionID types in place of raw z.string()
- Update pending map in SessionNetwork from Record to Map<QuestionID>
- Update tests to use SessionID.make() for branded identifiers
…chema mismatches

Introduce a local `watch` helper that erases strict schema types when
subscribing to MessageV2.Event.Updated, MessageV2.Event.PartUpdated,
and Session.Event.Diff events. This mirrors the pattern used upstream
in share/share-next.ts and resolves type errors caused by the zod-to-
effect Schema migration where event definition types no longer align
with the Bus.subscribe generic constraint.
Comment thread packages/opencode/src/provider/provider.ts
Comment thread packages/desktop/src/index.tsx
Comment thread packages/extensions/zed/extension.toml
@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot Bot commented Apr 27, 2026

Code Review Summary

Status: 3 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 3
SUGGESTION 0

Fix these issues in Kilo Cloud

Issue Details (click to expand)

WARNING

File Line Issue
packages/opencode/src/provider/provider.ts 1783 Migrated provider errors no longer extend NamedError, so structured 400 responses can become generic 500s.
packages/desktop/src/index.tsx 308 updateAndRestart relaunches without killing the sidecar on macOS/Linux.
packages/extensions/zed/extension.toml 14 Zed archive URLs point at v1.14.23, which does not provide this repo's release assets.
Other Observations (not in diff)

No non-diff issues found.

Files Reviewed (24 files)
  • .prettierignore - 0 issues
  • packages/opencode/src/provider/models-snapshot.ts - 0 issues
  • packages/opencode/src/provider/provider.ts - 1 issue
  • packages/opencode/src/provider/auth.ts - 0 issues
  • packages/opencode/src/provider/error.ts - 0 issues
  • packages/opencode/src/server/middleware.ts - 0 issues
  • packages/opencode/src/session/network.ts - 0 issues
  • packages/opencode/src/session/message.ts - 0 issues
  • packages/opencode/src/session/message-v2.ts - 0 issues
  • packages/opencode/src/kilo-sessions/kilo-sessions.ts - 0 issues
  • packages/opencode/src/kilo-sessions/remote-sender.ts - 0 issues
  • packages/opencode/src/kilocode/session/index.ts - 0 issues
  • packages/opencode/src/kilocode/suggestion/index.ts - 0 issues
  • packages/opencode/src/kilocode/indexing.ts - 0 issues
  • packages/opencode/src/kilocode/tool/semantic-search.ts - 0 issues
  • packages/opencode/test/tool/parameters.test.ts - 0 issues
  • packages/opencode/test/installation/installation.test.ts - 0 issues
  • packages/opencode/test/session/schema-decoding.test.ts - 0 issues
  • packages/opencode/src/cli/cmd/tui/context/editor.ts - 0 issues
  • packages/app/src/components/prompt-input.tsx - 0 issues
  • packages/app/src/components/prompt-input/submit.ts - 0 issues
  • packages/desktop/src/index.tsx - 1 issue
  • packages/desktop-electron/src/main/index.ts - 0 issues
  • packages/extensions/zed/extension.toml - 1 issue

Reviewed by gpt-5.5-2026-04-23 · 1,396,043 tokens

…mas from zod to effect Schema

Replace zod-based schema definitions with Effect Schema equivalents in
the indexing status event and semantic-search tool parameters. This
aligns both modules with the broader zod-to-effect migration underway
across kilo packages.

- Add Effect Schema mirror of IndexingStatus for BusEvent.define
- Import INDEXING_STATUS_STATES literal union from kilo-indexing/status
- Convert SemanticSearchTool parameters from z.object to Schema.Struct
- Inline explicit type annotations on the tool execute callback to
  satisfy the new generic inference after dropping the type parameter
- Reformat long single-line expressions for readability
…hema changes

Refresh JSON Schema snapshots and adjust unit tests to reflect recent
schema modifications in the opencode tool definitions.

- Mark bash `description` field as optional and update its prefix text
- Add i18n key fields (headerKey, questionKey, labelKey, descriptionKey)
  to the question tool snapshot
- Flip bash parameter test from rejecting to accepting missing description
- Remove stale blank line in snapshot file
…nd schema

Update installation tests to reference @kilocode/cli instead of
opencode-ai for npm/bun/pnpm version lookup assertions. Adjust
session schema decoding test to omit the patch field from
SummaryFileDiff, matching the kilo-specific schema shape.
…nore generated files

The large auto-generated models-snapshot.ts is replaced with a minimal
stub, and its compiled outputs (.js, .d.ts) are added to .prettierignore
to prevent formatting of generated files.
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.

10 participants