Description
The glob tool fails with WebAssembly parsing error for ANY pattern. Other tools (read, edit, bash) work normally.
Error message:
WebAssembly.Module doesn't parse at byte 175: wasm-simd is not enabled, in function at index 81
This error mentions wasm-simd which suggests WebAssembly SIMD instructions are not enabled in the Node.js runtime under WSL2.
Plugins
No response
OpenCode version
1.4.6
Steps to reproduce
- Run opencode in WSL2 environment
- AI uses glob command:
- glob pattern: "*.json"
- glob pattern: "*"
- glob pattern: "**/*"
Screenshot and/or share link
Operating System
WSL2 (Ubuntu/Linux) / Kernel: Linux 6.6.87.2-microsoft-standard-WSL2 / Architecture: x86_64
Terminal
bash (xterm-256color)
Description
The glob tool fails with WebAssembly parsing error for ANY pattern. Other tools (read, edit, bash) work normally.
Error message:
WebAssembly.Module doesn't parse at byte 175: wasm-simd is not enabled, in function at index 81
This error mentions wasm-simd which suggests WebAssembly SIMD instructions are not enabled in the Node.js runtime under WSL2.
Plugins
No response
OpenCode version
1.4.6
Steps to reproduce
Screenshot and/or share link
Operating System
WSL2 (Ubuntu/Linux) / Kernel: Linux 6.6.87.2-microsoft-standard-WSL2 / Architecture: x86_64
Terminal
bash (xterm-256color)