Files
Understand-Anything/package.json
T
Lum1104 c7f564a60e fix: OpenCode plugin not discovering skills (#16)
OpenCode installs the repo via git and looks at the root for the plugin
entry point. Our skills/agents live inside understand-anything-plugin/,
so OpenCode couldn't find them.

- Add .opencode/plugins/understand-anything.js that uses the config hook
  to inject understand-anything-plugin/skills/ into skills.paths
- Add "main" field to root package.json pointing to the plugin entry
- Update INSTALL.md with version pinning and troubleshooting sections

Closes #16

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 23:10:23 +08:00

19 lines
611 B
JSON

{
"name": "understand-anything",
"private": true,
"type": "module",
"main": ".opencode/plugins/understand-anything.js",
"packageManager": "pnpm@10.6.2+sha512.47870716bea1572b53df34ad8647b42962bc790ce2bf4562ba0f643237d7302a3d6a8ecef9e4bdfc01d23af1969aa90485d4cebb0b9638fa5ef1daef656f6c1b",
"scripts": {
"prepare": "pnpm --filter @understand-anything/core build",
"build": "pnpm -r build",
"test": "vitest",
"dev:dashboard": "pnpm --filter @understand-anything/dashboard dev",
"lint": "eslint ."
},
"devDependencies": {
"typescript": "^5.7.0",
"vitest": "^3.1.0"
}
}