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 @@
"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"
]
}
}