anything-llm
anything-llm copied to clipboard
Added JSONSchema for `plugin.json` files
Pull Request Type
- [ ] ✨ feat
- [ ] 🐛 fix
- [ ] ♻️ refactor
- [ ] 💄 style
- [ ] 🔨 chore
- [x] 📝 docs
What is in this change?
Added a JSONSchema file that agent skill plugin developes can use to enable errors, warnings, intellisense and AI completions in their IDEs.
Additional Information
I didn’t find a really good place to put it to, and the folder of the JavaScript file that loads the plugin.jsons seemed to be the most sane.
The docs should mention it in plugin-json.mdx. JSONSchema files can be either referenced in plugin.json, like
{
"$schema": "https://raw.githubusercontent.com/Mintplex-Labs/anything-llm/refs/heads/master/server/utils/agents/imported-manifest.schema.json"
}
or be linked to appropriate files using IDE configuration.
Developer Validations
- [x] I ran
yarn lintfrom the root of the repo & committed changes - [ ] Relevant documentation has been updated
- [x] I have tested my code functionality
- [x] Docker build succeeds locally