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,11 +12,9 @@
"文档对话"
],
"version": "1.6.2",
"latestVersion": "1.6.2",
"author": "Mintplex Labs",
"githubUrl": "https://github.com/Mintplex-Labs/anything-llm",
"stars": 30200,
"installStatus": "not_installed",
"install": {
"method": "docker",
"requirements": {
@@ -26,18 +24,10 @@
"ports": [
3001
]
}
},
"requirements": {
"docker": true,
"minMemory": "2GB",
"minDisk": "5GB",
"ports": [
3001
},
"configNeeded": [
"Docker 运行环境",
"LLM API Key"
]
},
"configNeeded": [
"Docker 运行环境",
"LLM API Key"
]
}
}

View File

@@ -12,11 +12,9 @@
"插件"
],
"version": "0.5.0",
"latestVersion": "0.5.0",
"author": "Coze",
"githubUrl": "https://github.com/coze-dev/coze",
"stars": 12300,
"installStatus": "not_installed",
"install": {
"method": "docker",
"requirements": {
@@ -26,18 +24,10 @@
"ports": [
8800
]
}
},
"requirements": {
"docker": true,
"minMemory": "4GB",
"minDisk": "8GB",
"ports": [
8800
},
"configNeeded": [
"Docker 运行环境",
"API Key 配置"
]
},
"configNeeded": [
"Docker 运行环境",
"API Key 配置"
]
}
}

View File

@@ -13,15 +13,11 @@
"Workflow"
],
"version": "0.8.3",
"latestVersion": "0.8.3",
"author": "Dify.AI",
"githubUrl": "https://github.com/langgenius/dify",
"stars": 56200,
"installStatus": "not_installed",
"install": {
"method": "docker-compose",
"composePath": "dify/docker-compose.yml",
"envTemplatePath": "dify/.env.example",
"requirements": {
"docker": true,
"minMemory": "4GB",
@@ -30,19 +26,10 @@
3000,
5001
]
}
},
"requirements": {
"docker": true,
"minMemory": "4GB",
"minDisk": "10GB",
"ports": [
3000,
5001
},
"configNeeded": [
"Docker 运行环境",
"OpenAI API Key可选"
]
},
"configNeeded": [
"Docker 运行环境",
"OpenAI API Key可选"
]
}
}

View File

@@ -12,11 +12,9 @@
"插件"
],
"version": "1.20.0",
"latestVersion": "1.20.0",
"author": "LobeHub",
"githubUrl": "https://github.com/lobehub/lobe-chat",
"stars": 48900,
"installStatus": "not_installed",
"install": {
"method": "docker",
"requirements": {
@@ -26,18 +24,10 @@
"ports": [
3210
]
}
},
"requirements": {
"docker": true,
"minMemory": "1GB",
"minDisk": "3GB",
"ports": [
3210
},
"configNeeded": [
"Docker 运行环境",
"OpenAI API Key可选"
]
},
"configNeeded": [
"Docker 运行环境",
"OpenAI API Key可选"
]
}
}

View File

@@ -12,11 +12,9 @@
"Integration"
],
"version": "1.64.0",
"latestVersion": "1.64.0",
"author": "n8n-io",
"githubUrl": "https://github.com/n8n-io/n8n",
"stars": 50600,
"installStatus": "not_installed",
"install": {
"method": "docker",
"requirements": {
@@ -26,18 +24,10 @@
"ports": [
5678
]
}
},
"requirements": {
"docker": true,
"minMemory": "2GB",
"minDisk": "5GB",
"ports": [
5678
},
"configNeeded": [
"Docker 运行环境",
"数据库SQLite / PostgreSQL"
]
},
"configNeeded": [
"Docker 运行环境",
"数据库SQLite / PostgreSQL"
]
}
}

View File

@@ -12,11 +12,9 @@
"WebUI"
],
"version": "0.4.8",
"latestVersion": "0.4.8",
"author": "Open WebUI",
"githubUrl": "https://github.com/open-webui/open-webui",
"stars": 52800,
"installStatus": "not_installed",
"install": {
"method": "docker",
"requirements": {
@@ -26,18 +24,10 @@
"ports": [
8080
]
}
},
"requirements": {
"docker": true,
"minMemory": "2GB",
"minDisk": "5GB",
"ports": [
8080
},
"configNeeded": [
"Docker 运行环境",
"Ollama 或 OpenAI API Key"
]
},
"configNeeded": [
"Docker 运行环境",
"Ollama 或 OpenAI API Key"
]
}
}

View File

@@ -13,11 +13,9 @@
"Sandbox"
],
"version": "0.9.0",
"latestVersion": "0.9.0",
"author": "OpenClaw",
"githubUrl": "https://github.com/openclaw/openclaw",
"stars": 8500,
"installStatus": "not_installed",
"install": {
"method": "docker-compose",
"requirements": {
@@ -28,20 +26,11 @@
8080,
3000
]
}
},
"requirements": {
"docker": true,
"minMemory": "4GB",
"minDisk": "10GB",
"ports": [
8080,
3000
},
"configNeeded": [
"Docker 运行环境",
"Node.js 18+",
"API Key 配置"
]
},
"configNeeded": [
"Docker 运行环境",
"Node.js 18+",
"API Key 配置"
]
}
}

View File

@@ -12,14 +12,11 @@
"知识库"
],
"version": "0.14.0",
"latestVersion": "0.15.0",
"author": "InfiniFlow",
"githubUrl": "https://github.com/infiniflow/ragflow",
"stars": 28400,
"installStatus": "not_installed",
"install": {
"method": "docker-compose",
"composePath": "ragflow/docker-compose.yml",
"requirements": {
"docker": true,
"minMemory": "8GB",
@@ -29,20 +26,10 @@
443,
80
]
}
},
"requirements": {
"docker": true,
"minMemory": "8GB",
"minDisk": "20GB",
"ports": [
9380,
443,
80
},
"configNeeded": [
"Docker 运行环境",
"Elasticsearch / Infinity 数据库"
]
},
"configNeeded": [
"Docker 运行环境",
"Elasticsearch / Infinity 数据库"
]
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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