fix: use local file: dependency for plugin-lib instead of pinned v0.6.1 #161
Merged
FO
4mo ago+4+4+0123456789-4-4-0123456789
Summary
Switch @four-bytes/opencode-plugin-lib from github:four-bytes/four-opencode-plugin-lib#v0.6.1 (stale pinned SHA) to file:../four-opencode-plugin-lib (local sibling).
Fix
package.json:github:four-bytes/four-opencode-plugin-lib#v0.6.1→file:../four-opencode-plugin-libbun.lock: updated accordingly
Root cause
The stale v0.6.1 GitHub ref causes forProject to be stripped from the dist bundle at build time. Using the local file: dep ensures the latest source is picked up during development and CI.
Checklist
- Build passes (
bun run build) -
bun testpasses - Plugin loads in opencode
Summary by cubic
Update @four-bytes/opencode-plugin-lib to github:four-bytes/four-opencode-plugin-lib#v0.6.6 instead of a local file: path to use the latest plugin in dev and CI (fixes #161). This addresses the forProject stripping seen with v0.6.1 and fixes the CI ENOENT error caused by the local path.
Summary by CodeRabbit
- Chores
- Updated internal dependency management configuration.