OpenCode v1.14.23#9574
Open
imanolmzd-svg wants to merge 48 commits intomainfrom
Open
Conversation
…ect Schema (#23244)
…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>
…example placeholder (#24105)
…#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.
Contributor
Code Review SummaryStatus: 3 Issues Found | Recommendation: Address before merge Overview
Fix these issues in Kilo Cloud Issue Details (click to expand)WARNING
Other Observations (not in diff)No non-diff issues found. Files Reviewed (24 files)
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Core
.npmrcregistry settings when checking package versions and updates.TUI