[PR #2344] [MERGED] Added JSONSchema for plugin.json files #3960

Closed
opened 2026-02-22 18:34:51 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2344
Author: @Jaid
Created: 9/22/2024
Status: Merged
Merged: 9/23/2024
Merged by: @timothycarambat

Base: masterHead: plugin-schema


📝 Commits (1)

  • eff22b0 Added JSONSchema for agent skill plugin manifest files

📊 Changes

1 file changed (+179 additions, -0 deletions)

View changed files

server/utils/agents/imported-manifest.schema.json (+179 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 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

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/2344 **Author:** [@Jaid](https://github.com/Jaid) **Created:** 9/22/2024 **Status:** ✅ Merged **Merged:** 9/23/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `plugin-schema` --- ### 📝 Commits (1) - [`eff22b0`](https://github.com/Mintplex-Labs/anything-llm/commit/eff22b057be00e74d7dc8e040cd05671c1fbc766) Added JSONSchema for agent skill plugin manifest files ### 📊 Changes **1 file changed** (+179 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `server/utils/agents/imported-manifest.schema.json` (+179 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ 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.json`s seemed to be the most sane. The [docs](https://github.com/Mintplex-Labs/anythingllm-docs) should mention it in [plugin-json.mdx](https://github.com/Mintplex-Labs/anythingllm-docs/blob/main/pages/agent/custom/plugin-json.mdx). JSONSchema files can be either referenced in `plugin.json`, like ```json { "$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 <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:51 -05:00
yindo closed this issue 2026-02-22 18:34:51 -05:00
yindo changed title from [PR #2344] Added JSONSchema for `plugin.json` files to [PR #2344] [MERGED] Added JSONSchema for `plugin.json` files 2026-06-05 15:16:05 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3960