Dashboard › opencode › PluginModule default definition
01a08428-472e-74ce-8243-086ecdb3b506Trap: exporting a legacy async plugin function looks compatible because older OpenCode loaders invoke function exports. Fix: V2 PluginModule.load() requires one default { id, setup } or { id, effect } definition; configured local targets must also be directories with discoverable server or index entrypoints, while standalone files work only through auto-discovery.