[PR #2567] Publish sdk src files to npm, fix sdk resolution in development #10356

Closed
opened 2026-02-16 18:14:59 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2567

State: closed
Merged: No


Fix https://github.com/sst/opencode/issues/1579
Fix https://github.com/sst/opencode-sdk-js/issues/25

@opencode-ai/sdk package only has dist folder in package.json files, so bun install only copies dist folder and not src. So development imports fail. bun i only copies files in dist into node_modules

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2567 **State:** closed **Merged:** No --- Fix https://github.com/sst/opencode/issues/1579 Fix https://github.com/sst/opencode-sdk-js/issues/25 @opencode-ai/sdk package only has dist folder in package.json files, so bun install only copies dist folder and not src. So development imports fail. `bun i` only copies files in dist into node_modules
yindo added the pull-request label 2026-02-16 18:14:59 -05:00
yindo closed this issue 2026-02-16 18:14:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10356