chore: sync upstream dev through b8142c7aa8#4
Conversation
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Test User <test@test.com>
Co-authored-by: Test User <test@test.com>
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8aa9841eb4
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| "$out/share/icons/hicolor/256x256/apps/ai.opencode.desktop.png" | ||
| install -Dm644 resources/icons/icon.png \ | ||
| "$out/share/icons/hicolor/512x512/apps/ai.opencode.desktop.png" | ||
| install -Dm644 resources/ai.opencode.desktop.metainfo.xml \ |
There was a problem hiding this comment.
Fix the hard-coded desktop metainfo path
For Linux Nix desktop builds, bun run build runs packages/desktop/scripts/prebuild.ts, whose copy-metainfo.ts writes resources/${identity.appId}.metainfo.xml; in this fork with OPENCODE_CHANNEL=prod that file is resources/io.github.logiclyra.opencodeclassic.metainfo.xml, not resources/ai.opencode.desktop.metainfo.xml. This hard-coded upstream path makes the install phase fail with a missing file before the Nix desktop package can be produced.
Useful? React with 👍 / 👎.
Summary
devthroughb8142c7aa8f88222873fb79d636e312e28037c2d(14 commits past the previous sync base69a80663a).none. The single merge conflict was resolved as an orthogonal combine of fork + upstream intents (see below); no behavioral fix was required.Review
origin/main):867e53a26b8a5a0c810b2c8fe9d4be45c18e249b8aa9841eb4ce9ab147d35dd3f054dd2fbf7e37616d1bb07c74695561e8a9cec076695354b0ceb91a867e53a26(fork) /b8142c7aa(upstream)b8142c7aa8f88222873fb79d636e312e28037c2dIncoming commits (
origin/main..upstream):38989c57achore(tui): upgrade opentui to 0.4.5 (chore(tui): upgrade opentui to 0.4.5 anomalyco/opencode#37522)0df2f6245chore: update nix node_modules hashes49d2dd8a3fix(provider): honor reasoning option semantics (fix(provider): honor reasoning option semantics anomalyco/opencode#37519)41405c9ebchore: generatea46374e90go: kimi k3 promotion45cd8d769update zen models86e04d417revert(tui): downgrade opentui to 0.4.3 (revert(tui): downgrade opentui to 0.4.3 anomalyco/opencode#37582)3476e6baachore: update nix node_modules hashes901c9e732fix(app): disable unavailable file navigation (fix(app): disable unavailable file navigation anomalyco/opencode#37595)fab213312chore: configure trust center domain (chore: configure trust center domain anomalyco/opencode#36910)9da9ed9defix(nix): relax Bun version check for desktop build (fix(nix): relax Bun version check for desktop build anomalyco/opencode#36767)b95fe7b2dfix(nix): restore desktop integration (fix(nix): restore desktop integration anomalyco/opencode#37197)ba3f966edbuild: bump opentui to 0.4.5 (build: bump opentui to 0.4.5 anomalyco/opencode#37616)b8142c7aachore: update nix node_modules hashesConflicts (1):
packages/console/app/src/routes/go/index.tsx— the fork'sfix(console): scale sub-baseline Go limitsrewrote thex()mapping so sub-baseline model ratios scale linearly instead of collapsing (UI correctness for bar geometry). Upstream'sgo: kimi k3 promotionchangedbaseline200→100, renamed the Kimi K3 label, reducedbottom, and removed the x-axis ticks/grid/label block. Resolution: kept the fork'sx()sub-baseline fix and took all of upstream's chart changes. The two are orthogonal — the fork'sx()governs bar positioning (still relevant sincebaseline=100puts grok-4.5 at ratio 0.8) and references nothing upstream removed.bun.lock,package.json, andpackages/opencode/script/build.tsauto-merged cleanly.Fork invariants reviewed (all preserved): product name
OpenCode Classic, app IDio.github.logiclyra.opencodeclassic, URL protocolopencode-classic, package/data/cache/updater names, installer + CLI/desktop updater + WSL + release workflow + artifact URLs allLogicLyra/opencode-classic, external package-manager installs notify-only, automatic downgrades disabled, inherited upstream publisher blocked, pre-push hook still rejects every destination except the fork. The trust-center change (infra/stage.ts+ enterprise FAQ link totrust.opencode.ai) is consistent with the fork's existing posture, which already carries manyopencode.aireferences in non-identity surfaces; it touches no identity surface.Merge strategy requested: merge commit (not squash, not rebase) so the upstream commits, fork parent, sync merge, and any future corrective commits remain in history.
Validation
867e53a26,b8142c7aa) confirmed ancestors,git diff --checkclean, no conflict markers, scope = 51 files / 15 commits ahead oforigin/main, fork identity centralized inpackages/desktop/src/identity.tsuntouched by incoming set.8aa9841eb4, bun1.3.14, nodev24.15.0:bun install): PASStransform.test.ts/provider.test.ts, server/HTTP API, CLI/TUI on opentui 0.4.5): PASSscript/ci-linux.sh package): PASS — evidence basenamelinux-ci-20260718T201819Z-8aa9841eb4-package; all stage + log checksums verified.script/ci-linux-runtime.shon the checksum-verified deb): PASS — evidence basenamelinux-runtime-installed-20260718T205900Z-8aa9841eb4. Renderer originoc://renderer/index.html, window titleOpenCode Classic, version1.18.3, sidecar loopback127.0.0.1,opencode-classic://deep-link forwarding verified,consoleandpageErrorsempty, Settings shows Classic identity, no residual processes, clean sidecar exit. Visual screenshot checksum verified; visual review found no clipping/overlap/blank/error.sync-upstream-dev-8aa9841eb4,SHA256SUMSverified):opencode-classic-desktop-linux-amd64.debsha256af4d1a72dea84e1388942c89e7e5fa577199fa315d98ff5b90c7ff1c5666eefbopencode-classic-desktop-linux-x86_64.rpmsha25662361d62f6970ffebb51604673e9de7f100dd32fb5364a22d0813c1d9838b9b8latest-linux.ymlsha256728f7c9f7743bf2173064ce0e6baab2e13010201b812dc49b6c84f4515612773bun.locksha256649ce5571a9f1f689f44b62894d847747eacfbd17b2c2a6ec341dae1e3ae89dfvisual.pngsha256040a711e2af4936a1080af024663e481a95385962836e78d9395f416f558ffedNo published versions on GitHubbecause no Classic release has been published yet (startup, rendering, and all other runtime checks pass). Electron sandbox/GPU notices and theconsole-messagedeprecation are Xvfb/harness-only.[unknown-token]"leader" skips in TUI tests (binding skipped, not a failure).No tag, release, publication, direct
mainpush, or write to the official upstream repository occurred. The 42 Dependabot advisories GitHub reports are pre-existing onmainand not introduced by this sync.Please review and merge this PR on GitHub using a merge commit.