Verified 2026-04-20 against opencode.ai/docs/plugins and sst/opencode@dev.
$ ./node_modules/.bin/tsc --noEmit
(0 errors, strict + exactOptionalPropertyTypes + NodeNext)
$ node --experimental-strip-types --test ./test/presets.test.ts
✔ every preset parses as HushSpec 0.1.0 (14ms)
✔ every preset lints clean (zero errors) ( 8ms)
ℹ pass 2 · fail 0
$ cat src/index.ts | grep 'export const'
export const ChioPlugin: Plugin = async (input) => { ... }
Plugin signature matches @opencode-ai/plugin@1.14.19:
Plugin = (input: PluginInput, options?) => Promise<Hooks>
$ rm opencode-plugin.json src/index.ts{with-activate} src/commands/*
removed VS-Code-shaped fiction.