Skip to content

nix: bundle js dist with bun and patch tree-sitter wasm paths - #4644

Merged
rekram1-node merged 10 commits into
anomalyco:devfrom
Alb-O:nix-support
Nov 24, 2025
Merged

nix: bundle js dist with bun and patch tree-sitter wasm paths#4644
rekram1-node merged 10 commits into
anomalyco:devfrom
Alb-O:nix-support

Conversation

@Alb-O

Copy link
Copy Markdown
Contributor
  • nix now bundles a bun runtime javascript dist instead of a compiled binary.
  • copies over node_modules/.bun and local packages, and wrap execution with bun.
  • add bundle/patch scripts to include the parser worker and rewrite tree-sitter wasm paths.
  • update canonicalize-node-modules to skip missing targets.

This should hopefully fix#4575. Credit to @Mic92 for suggesting/providing the js bundle solution.

Alb-Oand others added 9 commits November 23, 2025 07:27
commit d96d89b
Author: Dax Raad <d@ironbay.co>
Date: Sat Nov 22 23:59:50 2025 -0500
fix logout
commit 7a013d4
Author: Dax Raad <d@ironbay.co>
Date: Sat Nov 22 23:56:28 2025 -0500
fixed
commit e4597df
Author: GitHub Action <action@github.com>
Date: Sun Nov 23 04:54:26 2025 +0000
chore: format code
commit 2b014fc
Author: Dax Raad <d@ironbay.co>
Date: Sat Nov 22 23:53:32 2025 -0500
fix auth
commit c2bf697
Author: Github Action <action@github.com>
Date: Sun Nov 23 00:44:43 2025 +0000
Update Nix flake.lock and hashes
commit 733e1f7
Author: Sebastian Herrlinger <hasta84@gmail.com>
Date: Sun Nov 23 01:42:33 2025 +0100
bump opentui to v0.1.49
- fix stdin handling for suspend/resume
- fix textarea cursor movement segfault for wcdwidth (alacritty/tmux)
commit 2a6cbfd
Author: GitHub Action <action@github.com>
Date: Sun Nov 23 00:20:07 2025 +0000
chore: format code
commit 6173b69
Author: Adam <2363879+adamdotdevin@users.noreply.github.com>
Date: Sat Nov 22 18:17:45 2025 -0600
wip(share): more styling
commit fc72cfe
Author: opencode <opencode@sst.dev>
Date: Sat Nov 22 22:39:18 2025 +0000
release: v1.0.105
commit 768c81c
Author: Dax Raad <d@ironbay.co>
Date: Sat Nov 22 17:32:53 2025 -0500
core: prevent concurrent bun package installs that could cause corruption or conflicts
commit bcea8ed
Author: Dax Raad <d@ironbay.co>
Date: Sat Nov 22 17:28:41 2025 -0500
tui: fix message completion timing and duration display in session view
commit f93bb1d
Author: GitHub Action <action@github.com>
Date: Sat Nov 22 22:27:23 2025 +0000
chore: format code
commit b92e851
Author: Ravi Kumar <82090231+Raviguntakala@users.noreply.github.com>
Date: Sun Nov 23 03:56:46 2025 +0530
fix: auto upgrade toast message (#4625)
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: opencode <opencode@sst.dev>
Merge branch 'dev' into nix-support

@Mic92Mic92 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Alb-O Thanks this now works here!

@rekram1-node
rekram1-node merged commit a3a2399 into anomalyco:devNov 24, 2025
2 of 3 checks passed
shuv1337 pushed a commit to Latitudes-Dev/shuvcode that referenced this pull request Nov 24, 2025
…yco#4644)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Github Action <action@github.com>
shuv1337 added a commit to Latitudes-Dev/shuvcode that referenced this pull request Nov 24, 2025
* ci: fix action
* feature: optional selectedListItemText element in themes and luminance-based fallback to solve 4369 (anomalyco#4572)
Co-authored-by: knanao <nao.7ken@gmail.com>
Co-authored-by: knanao <k@knanao.com>
* ignore: update download stats 2025-11-23
* ignore: update @solidjs/start dependency and fix console redirect handling
Updates the @solidjs/start dependency to latest version and removes deprecated getResponseHeaders usage from auth callback. Also adds error handling for workspace ID lookup to prevent redirect failures.
* Update Nix flake.lock and hashes
* tweak: fix bool
* sync
* ci: stuff
* Update Nix flake.lock and hashes
* ci: stuff
* Update Nix flake.lock and hashes
* fix bash tool wsl
* ci: ignore
* release: v1.0.106
* Update Nix flake.lock and hashes
* ci: ignore
* token
* ci: secret
* chore: format code
* ci: ignore
* ci: ignore
* ci: ignore
* ci: remove log
* tweak: slight improvements to title gen
* wip: zen
* wip: zen
* chore: format code
* fix: add explicit fallback model and prevent direct opencode provider calls (anomalyco#4653)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
* nix: bundle js dist with bun and patch tree-sitter wasm paths (anomalyco#4644)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Github Action <action@github.com>
* chore: format code
* fix: fatal: undefined is not an object (evaluating 'color.buffer')
* bump copilot plugin, give better error message for copilot (anomalyco#4678)
* release: v1.0.107
* tweak: modified files sidebar
* fix: persist light vs dark mode
* chore: format code
* tweak: display MCPs in alphabetic order in the sidebar. (anomalyco#4680)
Co-authored-by: Github Action <action@github.com>
* TUI: fix: add null check for user.time in duration calculation (anomalyco#4679)
* ignore: update download stats 2025-11-24
* docs: add Ollama Cloud provider setup to providers.mdx (anomalyco#4693)
* non-corpo loading spinner
* chore: format code
* release: v1.0.108
* textarea highlight cursor color
* chore: format code
* wip: zen
* ci: nix hash
* add autoupdate: notify
* zen: add opus 4.5
* wip(share): more styling
* wip(share): more styling
* wip(share): more styling
* wip(share): enterprise favicon
* fix(console): favicon issues
* chore: format code
* fix(console): remove extra favicon
* adjust bundled provider logic, fix tree shaking stuff (anomalyco#4708)
* wip: zen
* zen: display reasoning tokens
* fix(desktop): layout
* Add --refresh flag to models command (anomalyco#4707)
* zen: byok for gemini
* remove hardcoded openrouter provider
* release: v1.0.109
* chore: format code
* Update Nix flake.lock and hashes
---------
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Ariane Emory <97994360+ariane-emory@users.noreply.github.com>
Co-authored-by: knanao <nao.7ken@gmail.com>
Co-authored-by: knanao <k@knanao.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: opencode <opencode@sst.dev>
Co-authored-by: Frank <frank@sst.dev>
Co-authored-by: Huang Qi <huangqi3@xiaomi.com>
Co-authored-by: Albert O'Shea <albertoshea2@gmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Carli Samuele <WohthaN@users.noreply.github.com>
Co-authored-by: Frankie Seabrook <75613843+fifthfrankie@users.noreply.github.com>
Co-authored-by: Sebastian Herrlinger <hasta84@gmail.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: Adam Hosker <adam@hosker.info>
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
…yco#4644)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Github Action <action@github.com>
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
…yco#4644)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Github Action <action@github.com>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
…yco#4644)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Github Action <action@github.com>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
…yco#4644)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Github Action <action@github.com>
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
…yco#4644)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Github Action <action@github.com>
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
…yco#4644)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Github Action <action@github.com>
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Github Action <action@github.com>
Sign up for freeto 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.

opencode binary on macOS arm64 is 0 byte large when building from nix flake

4 participants

@Alb-O@Mic92@rekram1-node@actions-user