Missing ulid dependency in packages/opencode/package.json #1330

Closed
opened 2026-02-16 17:30:27 -05:00 by yindo · 1 comment
Owner

Originally created by @delafthi on GitHub (Aug 16, 2025).

Originally assigned to: @thdxr on GitHub.

The ulid package is missing from the dependencies in packages/opencode/package.json, but it's required in packages/opencode/src/session/index.ts.

This issue only shows up when installing node dependencies with:

bun install --filter=opencode

which we use to package opencode in nix.

When installing node dependencies without the --filter flag running and building succeeds, because ulid is a dependency of other packages in the monorepo, so it gets installed transitively.

Originally created by @delafthi on GitHub (Aug 16, 2025). Originally assigned to: @thdxr on GitHub. The `ulid` package is missing from the dependencies in `packages/opencode/package.json`, but it's required in `packages/opencode/src/session/index.ts`. This issue only shows up when installing node dependencies with: ```bash bun install --filter=opencode ``` which we use to package opencode in nix. When installing node dependencies without the `--filter` flag running and building succeeds, because `ulid` is a dependency of other packages in the monorepo, so it gets installed transitively.
yindo closed this issue 2026-02-16 17:30:27 -05:00
Author
Owner

@rekram1-node commented on GitHub (Aug 16, 2025):

closing as complete after: https://github.com/sst/opencode/commit/5d5ac168a4233ee1f38581ec56b915733b12510c

@rekram1-node commented on GitHub (Aug 16, 2025): closing as complete after: https://github.com/sst/opencode/commit/5d5ac168a4233ee1f38581ec56b915733b12510c
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1330