[PR #9105] fix(config): only run installDependencies when needed Fixes #9106 #12982

Open
opened 2026-02-16 18:17:52 -05:00 by yindo · 0 comments
Owner

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

State: open
Merged: No


Summary

  • avoid running installDependencies on every startup
  • only install when node_modules is missing, preventing unnecessary bun add runs
  • fixes crash loops in standalone binary environments where process.execPath is not a valid bun runtime

Fixes #9106

Test plan

  • start opencode in a clean directory; plugin install runs once
  • restart opencode in same directory; plugin install is skipped
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9105 **State:** open **Merged:** No --- ## Summary - avoid running installDependencies on every startup - only install when node_modules is missing, preventing unnecessary bun add runs - fixes crash loops in standalone binary environments where process.execPath is not a valid bun runtime Fixes #9106 ## Test plan - [ ] start opencode in a clean directory; plugin install runs once - [ ] restart opencode in same directory; plugin install is skipped
yindo added the pull-request label 2026-02-16 18:17:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12982