Skip to content

Merge upstream OpenCode v1.2.7+v1.2.8#16

Merged
bSi (brunusansi) merged 183 commits intodevfrom
merge-upstream-v1.2.8
Feb 20, 2026
Merged

Merge upstream OpenCode v1.2.7+v1.2.8#16
bSi (brunusansi) merged 183 commits intodevfrom
merge-upstream-v1.2.8

Conversation

@brunusansi
Copy link
Member

Summary

Merges 181 upstream commits from anomalyco/opencode (v1.2.7 + v1.2.8) into Lightweight.

Key upstream changes included

Conflict resolution (7 files)

File Resolution
CONTRIBUTING.md Kept ours + added upstream "Adding New Providers" section
bun.lock Took upstream, regenerated with bun install
global-sdk.tsx Took upstream createSdkForServer pattern
desktop/package.json Kept our version 0.2.6-alpha
cli.rs Took upstream CommandWrapper pattern (formalizes our CMD window fix)
opencode/package.json Kept lightweight-ai name, took 1.2.8 version
web/package.json Auto-resolved

Customizations verified preserved ✅

  • models.ts:85Flag.OPENCODE_MODELS_URL || "https://templarsco.github.io/models.dev-1"
  • release-desktop.ymlOPENCODE_MODELS_URL: https://templarsco.github.io/models.dev-1
  • release.ymlOPENCODE_MODELS_URL: https://templarsco.github.io/models.dev-1
  • cli.rsCLI_INSTALL_DIR: ".lightweight/bin", CLI_BINARY_NAME: "lightweight"
  • Package names: lightweight-ai (CLI), @opencode-ai/desktop (desktop)
  • All workflow files, patches, docs untouched

Local build verification

  • ✅ Typecheck: all 12 packages passed
  • ✅ CLI build: all 11 targets compiled (lightweight-ai-*)
  • ⏳ Desktop build: will be tested via release workflow after merge

Use consistent strong color for active mode icons instead of different
colors for shell vs normal mode, making the active state more visually
clear to users.
We receive a large number of AI-generated security reports and don't have the resources to review them all. This policy clarifies that such submissions will result in an automatic ban to protect our maintainers' time.
Co-authored-by: Alexander Abramov <abramov231@gmail.com>
Added default type parameter 'any' to readJson<T> so users can call it without specifying a type when they don't need strict typing. This reduces boilerplate for quick JSON reads where type safety isn't required.
Jun (Seungjun0906) and others added 25 commits February 19, 2026 14:17
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
…able (anomalyco#10649)

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
…alyco#14283)

Co-authored-by: tctev <224793535+tctev@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
# Conflicts:
#	CONTRIBUTING.md
#	bun.lock
#	packages/app/src/context/global-sdk.tsx
#	packages/desktop/package.json
#	packages/desktop/src-tauri/src/cli.rs
#	packages/opencode/package.json
@github-actions
Copy link

Hey! Your PR title Merge upstream OpenCode v1.2.7+v1.2.8 doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@brunusansi bSi (brunusansi) merged commit fb9f383 into dev Feb 20, 2026
7 of 8 checks passed
@brunusansi bSi (brunusansi) deleted the merge-upstream-v1.2.8 branch February 20, 2026 00:19
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.