Skip to content

Fix OpenCode package plugin entry export#67

Merged
dbpolito merged 1 commit intomainfrom
fix/opencode-plugin-entry
Mar 27, 2026
Merged

Fix OpenCode package plugin entry export#67
dbpolito merged 1 commit intomainfrom
fix/opencode-plugin-entry

Conversation

@dbpolito
Copy link
Copy Markdown
Contributor

@dbpolito dbpolito commented Mar 27, 2026

Ticket

SKIPPED

Description

Align the published OpenCode package entry with the plugin bundle so consumers import the intended plugin surface.

Checklist

Plugin packaging

  • Point the package entry fields at the dedicated plugin bundle
  • Build the package from the plugin entry file instead of the broader index entry

Export surface

  • Add a focused plugin entry that only re-exports the plugin factory surface
  • Cover the package entry contract with a regression test

Validation

  • Verify that importing the published package only exposes plugin factories
  • Check that the package build emits the plugin bundle at the expected entry path

- publish  as the package entry so consumers load the plugin-only surface
- update the build to emit  instead of bundling from
- add a regression test that verifies the plugin entry only exports the plugin factories
@dbpolito dbpolito self-assigned this Mar 27, 2026
@dbpolito dbpolito merged commit 04a51da into main Mar 27, 2026
1 check passed
@dbpolito dbpolito deleted the fix/opencode-plugin-entry branch March 27, 2026 23:11
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