refactor: 清理 registry 条目 — 移除运行时字段,规范静态数据

Apps(8 个):
- 删除顶层 requirements(已在 install.requirements 中)
- 删除 installStatus、latestVersion(运行时/冗余字段)
- 将 configNeeded 移入 install.configNeeded
- 删除 install 内的 composePath/envTemplatePath

MCP(7 个):
- 删除 protocol/status/origin/transport(由 sync 层按目录类型注入)

Services(5 个):
- 删除 protocol/status/origin(由 sync 层注入)

原则:Registry 只存静态数据,运行时字段由客户端 sync 层注入默认值。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Johnson
2026-02-25 23:02:52 +08:00
parent c729eecdd6
commit 4083ee3f94
20 changed files with 41 additions and 171 deletions

View File

@@ -12,22 +12,11 @@
"文档对话" "文档对话"
], ],
"version": "1.6.2", "version": "1.6.2",
"latestVersion": "1.6.2",
"author": "Mintplex Labs", "author": "Mintplex Labs",
"githubUrl": "https://github.com/Mintplex-Labs/anything-llm", "githubUrl": "https://github.com/Mintplex-Labs/anything-llm",
"stars": 30200, "stars": 30200,
"installStatus": "not_installed",
"install": { "install": {
"method": "docker", "method": "docker",
"requirements": {
"docker": true,
"minMemory": "2GB",
"minDisk": "5GB",
"ports": [
3001
]
}
},
"requirements": { "requirements": {
"docker": true, "docker": true,
"minMemory": "2GB", "minMemory": "2GB",
@@ -41,3 +30,4 @@
"LLM API Key" "LLM API Key"
] ]
} }
}

View File

@@ -12,22 +12,11 @@
"插件" "插件"
], ],
"version": "0.5.0", "version": "0.5.0",
"latestVersion": "0.5.0",
"author": "Coze", "author": "Coze",
"githubUrl": "https://github.com/coze-dev/coze", "githubUrl": "https://github.com/coze-dev/coze",
"stars": 12300, "stars": 12300,
"installStatus": "not_installed",
"install": { "install": {
"method": "docker", "method": "docker",
"requirements": {
"docker": true,
"minMemory": "4GB",
"minDisk": "8GB",
"ports": [
8800
]
}
},
"requirements": { "requirements": {
"docker": true, "docker": true,
"minMemory": "4GB", "minMemory": "4GB",
@@ -41,3 +30,4 @@
"API Key 配置" "API Key 配置"
] ]
} }
}

View File

@@ -13,25 +13,11 @@
"Workflow" "Workflow"
], ],
"version": "0.8.3", "version": "0.8.3",
"latestVersion": "0.8.3",
"author": "Dify.AI", "author": "Dify.AI",
"githubUrl": "https://github.com/langgenius/dify", "githubUrl": "https://github.com/langgenius/dify",
"stars": 56200, "stars": 56200,
"installStatus": "not_installed",
"install": { "install": {
"method": "docker-compose", "method": "docker-compose",
"composePath": "dify/docker-compose.yml",
"envTemplatePath": "dify/.env.example",
"requirements": {
"docker": true,
"minMemory": "4GB",
"minDisk": "10GB",
"ports": [
3000,
5001
]
}
},
"requirements": { "requirements": {
"docker": true, "docker": true,
"minMemory": "4GB", "minMemory": "4GB",
@@ -46,3 +32,4 @@
"OpenAI API Key可选" "OpenAI API Key可选"
] ]
} }
}

View File

@@ -12,22 +12,11 @@
"插件" "插件"
], ],
"version": "1.20.0", "version": "1.20.0",
"latestVersion": "1.20.0",
"author": "LobeHub", "author": "LobeHub",
"githubUrl": "https://github.com/lobehub/lobe-chat", "githubUrl": "https://github.com/lobehub/lobe-chat",
"stars": 48900, "stars": 48900,
"installStatus": "not_installed",
"install": { "install": {
"method": "docker", "method": "docker",
"requirements": {
"docker": true,
"minMemory": "1GB",
"minDisk": "3GB",
"ports": [
3210
]
}
},
"requirements": { "requirements": {
"docker": true, "docker": true,
"minMemory": "1GB", "minMemory": "1GB",
@@ -41,3 +30,4 @@
"OpenAI API Key可选" "OpenAI API Key可选"
] ]
} }
}

View File

@@ -12,22 +12,11 @@
"Integration" "Integration"
], ],
"version": "1.64.0", "version": "1.64.0",
"latestVersion": "1.64.0",
"author": "n8n-io", "author": "n8n-io",
"githubUrl": "https://github.com/n8n-io/n8n", "githubUrl": "https://github.com/n8n-io/n8n",
"stars": 50600, "stars": 50600,
"installStatus": "not_installed",
"install": { "install": {
"method": "docker", "method": "docker",
"requirements": {
"docker": true,
"minMemory": "2GB",
"minDisk": "5GB",
"ports": [
5678
]
}
},
"requirements": { "requirements": {
"docker": true, "docker": true,
"minMemory": "2GB", "minMemory": "2GB",
@@ -41,3 +30,4 @@
"数据库SQLite / PostgreSQL" "数据库SQLite / PostgreSQL"
] ]
} }
}

View File

@@ -12,22 +12,11 @@
"WebUI" "WebUI"
], ],
"version": "0.4.8", "version": "0.4.8",
"latestVersion": "0.4.8",
"author": "Open WebUI", "author": "Open WebUI",
"githubUrl": "https://github.com/open-webui/open-webui", "githubUrl": "https://github.com/open-webui/open-webui",
"stars": 52800, "stars": 52800,
"installStatus": "not_installed",
"install": { "install": {
"method": "docker", "method": "docker",
"requirements": {
"docker": true,
"minMemory": "2GB",
"minDisk": "5GB",
"ports": [
8080
]
}
},
"requirements": { "requirements": {
"docker": true, "docker": true,
"minMemory": "2GB", "minMemory": "2GB",
@@ -41,3 +30,4 @@
"Ollama 或 OpenAI API Key" "Ollama 或 OpenAI API Key"
] ]
} }
}

View File

@@ -13,23 +13,11 @@
"Sandbox" "Sandbox"
], ],
"version": "0.9.0", "version": "0.9.0",
"latestVersion": "0.9.0",
"author": "OpenClaw", "author": "OpenClaw",
"githubUrl": "https://github.com/openclaw/openclaw", "githubUrl": "https://github.com/openclaw/openclaw",
"stars": 8500, "stars": 8500,
"installStatus": "not_installed",
"install": { "install": {
"method": "docker-compose", "method": "docker-compose",
"requirements": {
"docker": true,
"minMemory": "4GB",
"minDisk": "10GB",
"ports": [
8080,
3000
]
}
},
"requirements": { "requirements": {
"docker": true, "docker": true,
"minMemory": "4GB", "minMemory": "4GB",
@@ -45,3 +33,4 @@
"API Key 配置" "API Key 配置"
] ]
} }
}

View File

@@ -12,25 +12,11 @@
"知识库" "知识库"
], ],
"version": "0.14.0", "version": "0.14.0",
"latestVersion": "0.15.0",
"author": "InfiniFlow", "author": "InfiniFlow",
"githubUrl": "https://github.com/infiniflow/ragflow", "githubUrl": "https://github.com/infiniflow/ragflow",
"stars": 28400, "stars": 28400,
"installStatus": "not_installed",
"install": { "install": {
"method": "docker-compose", "method": "docker-compose",
"composePath": "ragflow/docker-compose.yml",
"requirements": {
"docker": true,
"minMemory": "8GB",
"minDisk": "20GB",
"ports": [
9380,
443,
80
]
}
},
"requirements": { "requirements": {
"docker": true, "docker": true,
"minMemory": "8GB", "minMemory": "8GB",
@@ -46,3 +32,4 @@
"Elasticsearch / Infinity 数据库" "Elasticsearch / Infinity 数据库"
] ]
} }
}

View File

@@ -2,10 +2,6 @@
"id": "db-mcp", "id": "db-mcp",
"name": "Database MCP", "name": "Database MCP",
"description": "PostgreSQL 数据库查询与管理,支持 SQL 执行和 Schema 浏览", "description": "PostgreSQL 数据库查询与管理,支持 SQL 执行和 Schema 浏览",
"protocol": "mcp",
"status": "offline",
"origin": "registry",
"transport": "stdio",
"capabilities": [ "capabilities": [
"sql_query", "sql_query",
"schema_browse", "schema_browse",

View File

@@ -2,12 +2,8 @@
"id": "dify-mcp", "id": "dify-mcp",
"name": "Dify MCP Bridge", "name": "Dify MCP Bridge",
"description": "Dify 平台 Agent 工具集桥接,支持调用 Dify 内置工具和自定义工具", "description": "Dify 平台 Agent 工具集桥接,支持调用 Dify 内置工具和自定义工具",
"protocol": "mcp",
"status": "offline",
"origin": "app",
"sourceAppId": "dify", "sourceAppId": "dify",
"sourceAppName": "Dify", "sourceAppName": "Dify",
"transport": "streamable-http",
"capabilities": [ "capabilities": [
"tool_invoke", "tool_invoke",
"workflow_trigger", "workflow_trigger",

View File

@@ -2,10 +2,6 @@
"id": "fetch-mcp", "id": "fetch-mcp",
"name": "Fetch MCP", "name": "Fetch MCP",
"description": "网页内容获取与转换,将网页转为 Markdown 供 LLM 使用", "description": "网页内容获取与转换,将网页转为 Markdown 供 LLM 使用",
"protocol": "mcp",
"status": "offline",
"origin": "registry",
"transport": "stdio",
"capabilities": [ "capabilities": [
"url_fetch", "url_fetch",
"html_to_markdown", "html_to_markdown",

View File

@@ -2,10 +2,6 @@
"id": "fs-mcp", "id": "fs-mcp",
"name": "Filesystem MCP", "name": "Filesystem MCP",
"description": "本地文件系统操作,支持读写、搜索、监控文件变化", "description": "本地文件系统操作,支持读写、搜索、监控文件变化",
"protocol": "mcp",
"status": "offline",
"origin": "registry",
"transport": "stdio",
"capabilities": [ "capabilities": [
"file_read", "file_read",
"file_write", "file_write",

View File

@@ -2,10 +2,6 @@
"id": "github-mcp", "id": "github-mcp",
"name": "GitHub MCP", "name": "GitHub MCP",
"description": "代码仓库操作,支持 PR、Issue、代码搜索和仓库管理", "description": "代码仓库操作,支持 PR、Issue、代码搜索和仓库管理",
"protocol": "mcp",
"status": "offline",
"origin": "registry",
"transport": "stdio",
"capabilities": [ "capabilities": [
"repo_read", "repo_read",
"pr_manage", "pr_manage",

View File

@@ -2,10 +2,6 @@
"id": "memory-mcp", "id": "memory-mcp",
"name": "Memory MCP", "name": "Memory MCP",
"description": "基于知识图谱的持久化记忆服务,支持实体和关系的存取", "description": "基于知识图谱的持久化记忆服务,支持实体和关系的存取",
"protocol": "mcp",
"status": "offline",
"origin": "registry",
"transport": "stdio",
"capabilities": [ "capabilities": [
"entity_store", "entity_store",
"relation_store", "relation_store",

View File

@@ -2,10 +2,6 @@
"id": "playwright-mcp", "id": "playwright-mcp",
"name": "Playwright MCP", "name": "Playwright MCP",
"description": "浏览器自动化 — 网页导航、截图、表单填写、DOM 操作、PDF 生成", "description": "浏览器自动化 — 网页导航、截图、表单填写、DOM 操作、PDF 生成",
"protocol": "mcp",
"status": "offline",
"origin": "registry",
"transport": "stdio",
"capabilities": [ "capabilities": [
"page_navigate", "page_navigate",
"screenshot", "screenshot",

View File

@@ -2,9 +2,6 @@
"id": "baidu-map", "id": "baidu-map",
"name": "百度地图 API", "name": "百度地图 API",
"description": "地理位置服务,支持地理编码、路线规划和 POI 搜索", "description": "地理位置服务,支持地理编码、路线规划和 POI 搜索",
"protocol": "http",
"status": "offline",
"origin": "manual",
"endpoint": "https://api.map.baidu.com/v3", "endpoint": "https://api.map.baidu.com/v3",
"capabilities": [ "capabilities": [
"geocoding", "geocoding",

View File

@@ -2,9 +2,6 @@
"id": "deepl-translate", "id": "deepl-translate",
"name": "DeepL 翻译", "name": "DeepL 翻译",
"description": "高质量多语言翻译服务,支持 30+ 语言互译和文档翻译", "description": "高质量多语言翻译服务,支持 30+ 语言互译和文档翻译",
"protocol": "http",
"status": "offline",
"origin": "manual",
"endpoint": "https://api-free.deepl.com/v2", "endpoint": "https://api-free.deepl.com/v2",
"capabilities": [ "capabilities": [
"text_translate", "text_translate",

View File

@@ -2,9 +2,6 @@
"id": "dify-rag", "id": "dify-rag",
"name": "Dify RAG API", "name": "Dify RAG API",
"description": "Dify 知识库检索服务,支持语义搜索和多知识库联合检索", "description": "Dify 知识库检索服务,支持语义搜索和多知识库联合检索",
"protocol": "http",
"status": "offline",
"origin": "app",
"sourceAppId": "dify", "sourceAppId": "dify",
"sourceAppName": "Dify", "sourceAppName": "Dify",
"endpoint": "http://localhost:3000/api/v1/datasets", "endpoint": "http://localhost:3000/api/v1/datasets",

View File

@@ -2,9 +2,6 @@
"id": "ragflow-pipeline", "id": "ragflow-pipeline",
"name": "RagFlow Pipeline", "name": "RagFlow Pipeline",
"description": "深度文档理解 RAG 引擎,支持复杂格式文档解析和多级检索", "description": "深度文档理解 RAG 引擎,支持复杂格式文档解析和多级检索",
"protocol": "http",
"status": "offline",
"origin": "app",
"sourceAppId": "ragflow", "sourceAppId": "ragflow",
"sourceAppName": "RagFlow", "sourceAppName": "RagFlow",
"endpoint": "http://localhost:9380/api/v1", "endpoint": "http://localhost:9380/api/v1",

View File

@@ -2,9 +2,6 @@
"id": "wecom-webhook", "id": "wecom-webhook",
"name": "企业微信 Webhook", "name": "企业微信 Webhook",
"description": "企业微信机器人消息通知支持文本、Markdown 和卡片消息", "description": "企业微信机器人消息通知支持文本、Markdown 和卡片消息",
"protocol": "http",
"status": "offline",
"origin": "manual",
"endpoint": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send", "endpoint": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send",
"capabilities": [ "capabilities": [
"text_message", "text_message",