Repository navigation
Upstream sync: anomalyco/opencode v1.19.0 into dev - #198
Merged
Merged
Conversation
Co-authored-by: adamdotdevin <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: slickstef11 <stefanavram22@gmail.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Upstream promoted v2 to its dev branch (5caf1f9), so Lunos now tracks upstream's v1 release tags instead (option B). This merges tag v1.19.0 (733b2c6, 44 first-parent commits since our last sync point 907b3bc). Fetched into refs/upstream-tags/v1.19.0, not refs/tags, so it can't collide with Lunos's own v1.x tags. 44 conflicting files. Resolutions by area: - Update flow (upstream 9c97b80 "replace V1 auto-update with V2-style /update dialog", c28b6a0 "upgrade --major for moving to OpenCode 2"): keep Lunos's whole flow (XCOD-147 registry check + cache, XCOD-129 /restart, XCOD-111 manual-install hint, XCOD-102 policy lock, XCOD-121 offline). Restored from dev: cli/upgrade.ts, cli/cmd/upgrade.ts, cli/cmd/tui.ts, cli/tui/worker.ts, installation/index.ts and its test, tui app.tsx, routes/home.tsx, tui index.tsx, core v1 config.ts (the autoupdate description), help snapshot, cli/config/tui docs, and the generated SDK/openapi. Dropped upstream's added dialog-update.tsx, update-notification.tsx and their two tests. `upgrade --major` would uninstall Lunos and install upstream OpenCode 2 from opencode.ai (opencode.ai/v2/install, @opencode/cli, anomalyco/tap/opencode-v2), so it is not taken. Only these two commits touched those files, so restoring them loses no other upstream change. - Workflows/release scripts (upstream 9b14c13 "publish v1 from the v1 branch", 03f499d/7062121a19/3569ebe5d6 deploy): keep Lunos's test, typecheck, generate, nix-eval, nix-hashes, deploy and publish workflows, script/publish.ts and script/release. Upstream re-pointed them at a `v1` branch Lunos doesn't have (CI would stop running on dev pushes) and deploy.yml back to a Blacksmith runner. publish.yml keeps XCOD-207 sign-cli-macos and the XCOD-227 changelog gate. - package.json (27 files): Lunos's version line (version-only hunks, settled with script/upstream-sync.ts resolveVersionLines); upstream's dependency bumps (@ai-sdk/xai 3.0.139 + patch rename, gitlab-ai-provider 6.19.0) merged. - packages/opencode/package.json: Lunos version; lunos.upstreamVersion 1.19.0; upstreamSync stamp -> 733b2c6 (0 behind after merge). - sdks/vscode/package.json: Lunos name, publisher and branding. - .gitignore: both (upstream's /artifacts/ plus Lunos's headroom lines). - nix/hashes.json: Lunos's; nix-hashes.yml regenerates them on dev. - bun.lock: Lunos's, reconciled by bun install. - CHANGELOG.md: one Unreleased > Changed line. Taken from upstream unchanged: Copilot reasoning_opaque fix, OpenAI ultrafast service tier, xai bump, pty preflight order, C++ module filetype, message-v2 fix, and console/stats/web content (not shipped in Lunos builds). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Upstream sync: anomalyco/opencode v1.19.0 into dev (option B, XCOD-118)
This merges upstream's v1 release tag
v1.19.0(733b2c627e, 44 commits), not upstreamdev, which is now v2 (see #190 and XCOD-239). It is a merge, never a rebase. Merge commit0496cbc317, parents devc583251625+733b2c627e.44 conflicting files, resolved this way:
/updatedialog andupgrade --majorupgrade --majoruninstalls Lunos and installs upstream OpenCode 2 fromopencode.ai/v2/install, so it is dropped, along with the dialog built around it.v1branch).githubdiff vs dev. This keeps GitHub-hosted runners, XCOD-207 sign-cli-macos and the XCOD-227 gate.package.jsonfiles (27)@ai-sdk/xai3.0.139,gitlab-ai-provider6.19.0.upstreamVersionvscodepackagebun.lockbun install.nix/hashes.jsonnix-hashes.ymlafter merge (as in #155).reasoning_opaquefix, OpenAI ultrafast tier, PTY preflight, C++ module type, message-v2 fix.Verified with an isolated HOME:
generate: no SDK change.turbo test: the same 20 failing test names as dev, none new.upstream-servicestest passes (noopencode.aioutside the allowlist).build-nodeOK.Merge order: this PR and #199 are paired. Merge the sync-job PR first, then this one.
Supersedes #190.
🤖 Generated with Claude Code