SIGN IN SIGN UP

fix: only default export plugin function for npm packages

OpenCode calls ALL exports as plugin functions for npm packages.
Named exports like SHADOW_AGENTS caused 'fn3 is not a function' error.

Local plugins (.opencode/plugin/*.ts) can use named exports,
but npm packages must only default export the plugin function.

Ref: https://opencode.ai/docs/plugins/
M
Moinul committed
6cb18e4eb87845c822b11999d95e2d2ff42cfb83
Parent: 091b003