Skip to content

OpenCode v1.1.46#116

Merged
catrielmuller merged 36 commits intodevfrom
catrielmuller/kilo-opencode-v1.1.46
Feb 4, 2026
Merged

OpenCode v1.1.46#116
catrielmuller merged 36 commits intodevfrom
catrielmuller/kilo-opencode-v1.1.46

Conversation

@catrielmuller
Copy link
Collaborator

https://github.com/anomalyco/opencode/releases/tag/v1.1.46

Core

  • Remove unused experimental keys from TUI (@IdrisGit)
  • Add continuous integration configuration
  • Remove AI SDK middleware that was preventing think blocks from being sent back as assistant message content

Desktop

  • Change language test in app (@neriousy)
  • Add transitions, spacing improvements, scroll fade effects, and prompt area updates (@aaroniker)

Thank you to 3 community contributors:

console.log(` Failed to fetch PR #${pr.number}, skipping`)
skipped.push({ number: pr.number, reason: "Failed to fetch" })
console.log(" Fetching PR head...")
const fetch = await run(["git", "fetch", "origin", `pull/${pr.number}/head:pr/${pr.number}`])
Copy link
Contributor

Choose a reason for hiding this comment

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

CRITICAL: git fetch ... pull/<n>/head:pr/<n> can fail when the branch name contains slashes

Git disallows some refname characters in local refs (notably : in refspecs is fine, but the destination ref pr/<n> is okay; the bigger issue is pull/<n>/head resolves fine, but local branch creation via refspec still risks conflicts if the ref already exists or is checked out). Consider using git fetch origin pull/${pr.number}/head without creating a local ref, or fetch into refs/remotes/pr/${pr.number} to avoid polluting local branches.

const match = transform.match(/matrix(?:3d)?\(([^)]+)\)/)
if (!match) return 0

const values = match[1].split(",").map((v) => parseFloat(v.trim()))
Copy link
Contributor

Choose a reason for hiding this comment

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

WARNING: parseFloat of the transform matrix can yield NaN, which then propagates into effectiveScrollPos and breaks fade calculation

If any matrix value is NaN, Math.max(scrollPos, transformPos) becomes NaN and the component will stop updating properly. Defensive filtering (e.g., defaulting NaN to 0) would avoid a hard-to-debug UI state.

}

const render = (element: JSX.Element, id: string, owner: Owner) => {
setRenders((renders) => ({ ...renders, [id]: element }))
Copy link
Contributor

Choose a reason for hiding this comment

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

WARNING: setRenders((renders) => ({ ...renders, [id]: element })) can cause unbounded growth if render() is called repeatedly with new ids and dialogs never close

renders acts like a registry; if callers generate ids dynamically and never trigger the onClose cleanup, entries will accumulate. Consider documenting that id must be stable, or adding a guard/eviction strategy.

@kiloconnect
Copy link
Contributor

kiloconnect bot commented Feb 4, 2026

Code Review Summary

Status: 3 Issues Found | Recommendation: Address before merge

Overview

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

CRITICAL

File Line Issue
script/beta.ts 44 git fetch ... pull/<n>/head:pr/<n> local ref creation is brittle; consider fetching without creating a local branch/ref to avoid ref conflicts

WARNING

File Line Issue
packages/ui/src/components/scroll-fade.tsx 36 parseFloat can yield NaN which propagates into effectiveScrollPos and breaks fade updates
packages/ui/src/context/dialog.tsx 123 renders registry may grow unbounded if render() is called with non-stable ids or close cleanup is not reached
Files Reviewed (8 files)
  • .github/workflows/beta.yml - 0 issues
  • .github/workflows/generate.yml - 0 issues
  • script/beta.ts - 1 issue
  • script/publish.ts - 0 issues
  • packages/ui/src/components/scroll-fade.tsx - 1 issue
  • packages/ui/src/components/scroll-reveal.tsx - 0 issues
  • packages/ui/src/components/select.tsx - 0 issues
  • packages/ui/src/context/dialog.tsx - 1 issue

@catrielmuller catrielmuller merged commit 128cbd6 into dev Feb 4, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants