Skip to content

refactor: unwrap PluginLoader namespace + self-reexport#22946

Closed
kitlangton wants to merge 1 commit intodevfrom
kit/ns-plugin-loader
Closed

refactor: unwrap PluginLoader namespace + self-reexport#22946
kitlangton wants to merge 1 commit intodevfrom
kit/ns-plugin-loader

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • Unwrap the PluginLoader namespace in packages/opencode/src/plugin/loader.ts to flat top-level exports.
  • Append export * as PluginLoader from "./loader" so consumers keep the same PluginLoader.x import ergonomics.

Verification (local)

  • bunx --bun tsgo --noEmit — no new errors vs baseline.
  • bun run --conditions=browser ./src/index.ts generate — clean.
  • bun run test test/plugin — all pass (if applicable).

@kitlangton kitlangton enabled auto-merge (squash) April 16, 2026 21:38
@opencode-agent opencode-agent bot force-pushed the dev branch 2 times, most recently from 2f2ed11 to 9f201d6 Compare April 16, 2026 21:55
@kitlangton kitlangton disabled auto-merge April 16, 2026 23:49
@kitlangton
Copy link
Copy Markdown
Contributor Author

Superseded by #23001 (redo after release-pipeline force-push dropped the original merge commit).

@kitlangton kitlangton closed this Apr 17, 2026
auto-merge was automatically disabled April 17, 2026 02:45

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant