Merge upstream OpenCode v1.2.7+v1.2.8#16
Merged
bSi (brunusansi) merged 183 commits intodevfrom Feb 20, 2026
Merged
Conversation
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.
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
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
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.
Summary
Merges 181 upstream commits from anomalyco/opencode (v1.2.7 + v1.2.8) into Lightweight.
Key upstream changes included
Bun.file()→ centralizedFilesystemmodule across entire codebaseConflict resolution (7 files)
CONTRIBUTING.mdbun.lockbun installglobal-sdk.tsxcreateSdkForServerpatterndesktop/package.json0.2.6-alphacli.rsCommandWrapperpattern (formalizes our CMD window fix)opencode/package.jsonlightweight-ainame, took1.2.8versionweb/package.jsonCustomizations verified preserved ✅
models.ts:85→Flag.OPENCODE_MODELS_URL || "https://templarsco.github.io/models.dev-1"release-desktop.yml→OPENCODE_MODELS_URL: https://templarsco.github.io/models.dev-1release.yml→OPENCODE_MODELS_URL: https://templarsco.github.io/models.dev-1cli.rs→CLI_INSTALL_DIR: ".lightweight/bin",CLI_BINARY_NAME: "lightweight"lightweight-ai(CLI),@opencode-ai/desktop(desktop)Local build verification
lightweight-ai-*)