3 Commits

Author SHA1 Message Date
Johnson
4083ee3f94 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>
2026-02-25 23:02:52 +08:00
Johnson
c729eecdd6 refactor: 分散式目录结构 — 每个条目独立 <id>/index.json 2026-02-25 08:55:32 +08:00
Johnson
3479e182ab feat: Registry v2 目录重构 — MCP/HTTP 分离 + install/connection 配置
- 新增 mcp/index.json:MCP 服务独立目录,含 install 和 connection 字段
- 新增 services/index.json:仅 HTTP 服务
- 新增 apps/index.json:应用增加 install 字段
- 新增 models/:descriptors + categories 从 services/ 移出
- 更新 manifest.json:版本升级到 2.0.0,统计拆分 MCP/HTTP
- 更新 SCHEMA_VERSION:1.0.0 → 2.0.0
- 旧文件保留用于向后兼容

新增 7 个 MCP 服务条目(含真实包名和安装命令):
  - Filesystem MCP (@modelcontextprotocol/server-filesystem)
  - GitHub MCP (@modelcontextprotocol/server-github)
  - Playwright MCP (@playwright/mcp)
  - Dify MCP Bridge
  - Database MCP (@modelcontextprotocol/server-postgres)
  - Memory MCP (@modelcontextprotocol/server-memory)
  - Fetch MCP (mcp-server-fetch, uvx)
2026-02-24 23:59:59 +08:00