OpenCode v1.15.9 - #11356
Conversation
… opencode run (#28230)
Co-authored-by: starptech <starptech@starptechs-MBP.fritz.box>
…tom providers immediately (#28313)
Adapt Kilo-specific code to breaking changes introduced by the v1.15.9 merge: - Migrate LLM test helpers to use LLMEvent factory constructors instead of raw event object literals - Update provider cost extraction from `usage.raw` to native `usage.providerMetadata` keyed by provider name - Preserve AI SDK raw usage in providerMetadata for billing continuity - Replace `findStartIndex()` with `findItemIndex(scrollOffset)` in virtualizer calls - Replace `overscan` prop with pixel-based `bufferSize` in virtual lists - Change provider `all` data shape from array to Map - Remove `useCommandPalette` dependency, replaced by mode stack pattern - Fix ToolResultValue schema to avoid circular inference with tsgo - Add missing test layer dependencies (HttpClient, RepositoryCache, Command) - Remove obsolete models-snapshot files - Fix Permission reply routing tests to expect NotFoundError instead of boolean false - Normalize config references and fix nested type narrowing
Code Review SummaryStatus: 4 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Incremental Review NotesSince the previous review at The changeset edit is documentation-only and LGTM. Other Observations (not in diff)
Files Reviewed (1 file this increment)
Previous findings on unchanged files carried forward: Fix these issues in Kilo Cloud Previous Review Summaries (6 snapshots, latest commit 326ff35)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 326ff35)Status: 4 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Incremental Review NotesSince the previous review at The changeset is documentation-only and LGTM. Other Observations (not in diff)
Files Reviewed (1 file this increment)
Previous findings on unchanged files carried forward: Fix these issues in Kilo Cloud Previous review (commit a879067)Status: 4 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Incremental Review NotesSince the previous review at
Other Observations (not in diff)
Files Reviewed (40+ key files out of 324 total)
Fix these issues in Kilo Cloud Previous review (commit 9c182af)Status: No Issues Found | Recommendation: Merge Incremental Review Notes
Files Reviewed (30 incremental files)
Fix these issues in Kilo Cloud Previous review (commit d5f1495)Status: No Issues Found | Recommendation: Merge Incremental Review Notes
Files Reviewed (15 incremental files)
Fix these issues in Kilo Cloud Previous review (commit abdef9a)Status: 1 Issue Found | Recommendation: Fix before merge Overview
Issue Details (click to expand)CRITICAL
Other Observations (not in diff)
Incremental Review Notes
Files Reviewed (39 incremental files)
Fix these issues in Kilo Cloud Previous review (commit d2162d8)Status: 1 Issue Found | Recommendation: Fix before merge Overview
Issue Details (click to expand)CRITICAL
Other Observations (not in diff)
[Snapshot truncated.] Additional previous summary content was truncated to keep this comment within platform limits. Reviewed by glm-5.2-20260616 · 195,810 tokens Review guidance: REVIEW.md from base branch |
|
The critical issue reported by the review bot is not critical and is present both upstream and locally |
…42.3 Introduce a `metadata` method on SessionProcessor.Handle that buffers metadata emitted before tool-call registration, then applies it on the running transition. This decouples metadata emission timing from tool-call lifecycle. Downgrade virtua from 0.49.1 to 0.42.3 and migrate the virtualizer API: - Replace `findItemIndex(scrollOffset)` with `findStartIndex()` - Replace `bufferSize` prop with `overscan` (count-based) Additional changes: - Change Permission.reply return type from Promise<boolean> to Promise<void> - Make Ruleset type readonly and remove unnecessary array spreads - Update nvidia provider headers to reference Kilo branding - Reorder SDK event type definitions for installation events - Reduce promise facade allowlist in check script
The models snapshot is now embedded directly in the compiled binary, eliminating the need for a separate models-snapshot.json file alongside the CLI executable. - Delete script/kilocode/models-snapshot.ts build-time preparation - Delete src/kilocode/provider/models-snapshot.ts runtime loader - Remove snapshot copy steps from vscode, jetbrains, and opencode builds - Remove snapshot existence checks from PrepareLocalCliTask/CheckCliTask - Remove snapshot-related .gitignore and .prettierignore entries - Simplify watch-cli, local-bin, and build scripts - Update smoke test error messages to say "embedded" not "sidecar" - Simplify models-snapshot tests to validate parsing only - Remove models-snapshot from extract-source-links skip list
…urations Provider plugins (llmgateway, nvidia, openrouter, vercel, zenmux) now verify the provider ID before applying attribution headers, preventing custom-defined providers sharing the same endpoint URL from being mutated by built-in plugin logic. Additional changes: - Add auth-v2.json migration path for multi-account store continuity - Remove obsolete @ai-sdk/xai patch and ConsoleCommand registration - Add native LLM session recordings for anthropic, openai-oauth, and zen - Update CLI help snapshots to reflect Kilo branding - Expand i18n with usage-exceeded dialog strings (it, nl, uk)
markijbema
left a comment
There was a problem hiding this comment.
dont forget to generate the changeset after merging, and/or do it now in this pr
Document all incorporated upstream changes including native OpenAI runtime preview, diff viewer redesign, Grok OAuth support, v2 HTTP API error schemas, and numerous bugfixes across plugin loading, session management, and TUI keybinds.
… changeset Remove v2 HTTP API error-schema notes and `opencode login` default that do not apply to the Kilo fork. Rename OPENCODE_PERMISSION to KILO_PERMISSION to reflect the correct environment variable.
…opencode-v1.15.9 OpenCode v1.15.9
1.15.5
Core
Improvements
--replayand--replay-limitto show recent history when resuming interactive runsBugfixes
askso tool calls complete correctly/eventupdates caused by a subscription raceTUI
Improvements
Bugfixes
1.15.6
Core
Improvements
runprompt.run.Bugfixes
opencode loginnow defaults tohttps://console.opencode.ai.OPENCODE_PERMISSIONJSON no longer crashes startup.argsno longer break tool loading.PgUpandPgDnTUI keybind aliases.TUI
Improvements
Bugfixes
SDK
opentuidependencies to0.2.15.1.15.7
Core
Improvements
Bugfixes
UnknownErrorresponses with log reference IDs when stored messages are corrupt.503 ServiceUnavailableErrorfor mutations that are not available yet.SessionNotFoundErrorfor missing sessions.TUI
Bugfixes
SDK
Bugfixes
1.15.9
Core
Improvements
Bugfixes
usandeumulti-region setups.TUI
Improvements
Bugfixes