anomalyco / anomalyco/opencode

cli(v2): node build lists no models

Open
#47,697 1 comment 0 reactions 1 assignee View on GitHub

@kitlangton is already working on this.

Since Sep 7, 2026.

2.0
Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

opencode2-node fails every plugin resolution with TypeError: (intermediate value).resolve is not a function from resolveModule (packages/util/src/runtime/import.node.ts).

Plugin reload dies, the model catalog stays empty, opencode2 models prints nothing, and opencode2 plugin list throws the same error.

Plugins

No response

OpenCode version

opencode2-node v0.0.0-2f78d62

Steps to reproduce
  1. bun run build:node --target=linux-x64 --outdir=dist
  2. Run the produced opencode2-node binary
  3. opencode2 models prints nothing
Screenshot and/or share link
Image Image
Operating System

Linux arch 7.1.8-arch1-3

Terminal

Alacritty

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.