Skip to content

Upstream sync: anomalyco/opencode v1.19.0 into dev - #198

Merged
pminevp merged 45 commits into
devfrom
upstream-sync/v1.19.0
Oct 13, 2026
Merged

pminevp merged 45 commits into
devfrom
upstream-sync/v1.19.0

Conversation

@pminevp

@pminevp pminevp commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

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 upstream dev, which is now v2 (see #190 and XCOD-239). It is a merge, never a rebase. Merge commit 0496cbc317, parents dev c583251625 + 733b2c627e.

44 conflicting files, resolved this way:

Area Resolution
Update flow: upstream's new /update dialog and upgrade --major Kept Lunos's flow (XCOD-147/129/111/102/121). upgrade --major uninstalls Lunos and installs upstream OpenCode 2 from opencode.ai/v2/install, so it is dropped, along with the dialog built around it.
Workflows and release scripts (upstream moved v1 CI/publish to a v1 branch) Lunos's kept unchanged, no .github diff vs dev. This keeps GitHub-hosted runners, XCOD-207 sign-cli-macos and the XCOD-227 gate.
package.json files (27) Lunos version line kept. Upstream's dependency bumps taken: @ai-sdk/xai 3.0.139, gitlab-ai-provider 6.19.0.
upstreamVersion 1.19.0
vscode package Lunos branding kept.
bun.lock Regenerated with bun install.
nix/hashes.json Ours, refreshed by nix-hashes.yml after merge (as in #155).
CHANGELOG One Unreleased → Changed line.
Taken from upstream as-is Copilot reasoning_opaque fix, OpenAI ultrafast tier, PTY preflight, C++ module type, message-v2 fix.

Verified with an isolated HOME:

  • generate: no SDK change.
  • Typecheck: 31/31.
  • turbo test: the same 20 failing test names as dev, none new.
  • upstream-services test passes (no opencode.ai outside the allowlist).
  • build-node OK.

Merge order: this PR and #199 are paired. Merge the sync-job PR first, then this one.

Supersedes #190.

🤖 Generated with Claude Code

neriousy and others added 30 commits October 5, 2026 20:46
Co-authored-by: adamdotdevin <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: slickstef11 <stefanavram22@gmail.com>
opencode-agent Bot and others added 15 commits October 8, 2026 13:49
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>
@pminevp
pminevp merged commit 1b8eff9 into dev Oct 13, 2026
7 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.