Skip to content

fix: isolate OpenCode plugin factory export - #7

Merged
dataforxyz merged 1 commit into
mainfrom
fix/opencode-server-plugin-exports
Sep 4, 2026
Merged

dataforxyz merged 1 commit into
mainfrom
fix/opencode-server-plugin-exports

Conversation

@dataforxyz

Copy link
Copy Markdown
Owner

Summary

  • keep the OpenCode-configured dist/plugin.mjs default-export-only so OpenCode v1 does not attempt to invoke library values as plugin factories
  • move the package library surface to dist/index.mjs, preserving the existing public notice-ingress exports at the package root
  • add bundle-contract coverage and update packaging/build assertions for the new library bundle
  • repair the npm lockfile’s missing optional platform packages while retaining the credential-free HTTPS Core dependency URL

Validation

  • npm ci
  • npm run build
  • npm run typecheck
  • npm test — 143 passed
  • local review preview — APPROVED

@dataforxyz
dataforxyz merged commit 91ce62f into main Sep 4, 2026
2 checks passed
@dataforxyz
dataforxyz deleted the fix/opencode-server-plugin-exports branch September 4, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant