SIGN IN SIGN UP

fix(plugin): correct exports to point to dist instead of src

The package.json exports were pointing to ./src/*.ts but the published
package only includes the dist/ folder. This caused 'Cannot find module'
errors when custom tools tried to import @opencode-ai/plugin.

Changed exports from:
  ".": "./src/index.ts"
  "./tool": "./src/tool.ts"

To:
  ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }
  "./tool": { "types": "./dist/tool.d.ts", "import": "./dist/tool.js" }
R
R44VC0RP committed
7417e6eb38e96c5e3904a4503740a305475d154a
Parent: 5db0890
Committed by Dax Raad <d@ironbay.co> on 2/2/2026, 12:26:23 AM