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 数据库"
]
}
}