62bb2eb93c
A local plugin loaded by path cannot resolve bare package specifiers, so
`import { Plugin } from "@opencode/plugin"` made the plugin fail with an opaque
"Plugin failed to load".
Isolated by experiment:
index.js, no imports -> active
index.ts, no imports -> active
index.ts, @opencode/plugin -> failed
index.ts, @opencode-ai/plugin -> failed
So it was never the TypeScript, the default export or the hook. Plugin.define is
an identity function in the runtime, so exporting the definition object directly
is equivalent. Registered status is now 'active'.