mirror of
https://git.openapi.site/https://github.com/desirecore/registry.git
synced 2026-10-21 03:13:23 +08:00
fix: Control 市场安装切换核验记录协议并要求客户端 10.0.170 (#7)
This commit is contained in:
@@ -11,12 +11,12 @@
|
|||||||
"zh-CN": {
|
"zh-CN": {
|
||||||
"name": "DesireCore Control",
|
"name": "DesireCore Control",
|
||||||
"summary": "供外部智能体控制本机多个 DesireCore 实例的独立应用,内置 ChatGPT 隧道管理。",
|
"summary": "供外部智能体控制本机多个 DesireCore 实例的独立应用,内置 ChatGPT 隧道管理。",
|
||||||
"description": "DesireCore Control 是独立开源的宿主机应用:自动识别本机实例、展示管理页面,并通过对外 MCP 提供窗口、截图与 CDP 操作。1.4.0 支持管理官方 ChatGPT tunnel-client。默认只读,不随 DesireCore 启停,不向内部智能体注册 MCP。应用市场安装需要支持 native-app 的客户端及应用安装管理技能 1.4.0;隧道客户端另行安装,真实账户凭据由用户在本机提供。"
|
"description": "DesireCore Control 是独立开源的宿主机应用:自动识别本机实例、展示管理页面,并通过对外 MCP 提供窗口、截图与 CDP 操作。1.4.0 支持管理官方 ChatGPT tunnel-client。默认只读,不随 DesireCore 启停,不向内部智能体注册 MCP。应用市场安装需要支持 native-app 的客户端 10.0.170 及应用安装管理技能 1.5.0;隧道客户端另行安装,真实账户凭据由用户在本机提供。"
|
||||||
},
|
},
|
||||||
"en-US": {
|
"en-US": {
|
||||||
"name": "DesireCore Control",
|
"name": "DesireCore Control",
|
||||||
"summary": "Independent application for external agents to control local DesireCore instances, with ChatGPT tunnel management.",
|
"summary": "Independent application for external agents to control local DesireCore instances, with ChatGPT tunnel management.",
|
||||||
"description": "Runs natively on the host and discovers multiple local CDP instances. Version 1.4.0 manages the official ChatGPT tunnel client. Readonly by default, no internal MCP registration or DesireCore lifecycle coupling. Requires a native-app-aware client and installation skill 1.4.0; tunnel installation and credentials are separate."
|
"description": "Runs natively on the host and discovers multiple local CDP instances. Version 1.4.0 manages the official ChatGPT tunnel client. Readonly by default, no internal MCP registration or DesireCore lifecycle coupling. Requires client 10.0.170 or newer and installation skill 1.5.0; tunnel installation and credentials are separate."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tags": [
|
"tags": [
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"linux"
|
"linux"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"requiredClientVersion": "10.0.169"
|
"requiredClientVersion": "10.0.170"
|
||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
"kind": "app",
|
"kind": "app",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 安装、升级与卸载 DesireCore Control
|
# 安装、升级与卸载 DesireCore Control
|
||||||
|
|
||||||
这是供外部智能体使用的**独立应用**,不是给 DesireCore 内部智能体安装的 MCP。只接受 resolver 已复核的 `kind=app`、`manifest.type=native-app` 和本指南。需要支持原生应用的客户端(目录最低版本 10.0.169)及 app-install-manager >=1.4.0;旧版拒绝时停止,不改成 Docker/MCP,不绕过收据与 operationId。
|
这是供外部智能体使用的**独立应用**,不是给 DesireCore 内部智能体安装的 MCP。只接受 resolver 已复核的 `kind=app`、`manifest.type=native-app` 和本指南。需要客户端 >=10.0.170 及 app-install-manager >=1.5.0,使用 application-observation-v1 核验记录协议;旧版拒绝时停止,不改成 Docker/MCP,不预写安装中间态或绕过修订检查。
|
||||||
|
|
||||||
## 安装前确认
|
## 安装前确认
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ if ($LASTEXITCODE -ne 0) { throw '隔离实例发现自检失败' }
|
|||||||
Remove-Item -LiteralPath $Temp -Recurse
|
Remove-Item -LiteralPath $Temp -Recurse
|
||||||
```
|
```
|
||||||
|
|
||||||
安装入口与空名录自检通过才能回写 installed。保持 resolver 的原生 App lifecycle receipt,不添加 runtimeServerId;使用同一 sourceId、entryId、deviceId、operationId,按 app-install-manager 的 build-receipt-patch 回写,不直接编辑 installed-entries.json。installed 只表示安装通过,不代表应用/隧道正在运行。
|
安装入口与空名录自检通过后,按 app-install-manager 的 recording-api.md 提交 present 观察,保存实际安装前缀、核验时间和证据引用。复用 resolver 返回的 material 与 expectedRevision,不手拼收据、不传 operationId/runtimeServerId,不直接编辑 installed-entries.json。观察只说明当时核验通过,不代表应用或隧道正在运行。
|
||||||
|
|
||||||
## macOS / Linux
|
## macOS / Linux
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ node "$PREFIX/node_modules/desirecore-cdp-mcp/bin/desirecore-control.cjs" --help
|
|||||||
node "$PREFIX/node_modules/desirecore-cdp-mcp/bin/desirecore-cdp-mcp.cjs" list --registry "$REGISTRY"
|
node "$PREFIX/node_modules/desirecore-cdp-mcp/bin/desirecore-cdp-mcp.cjs" list --registry "$REGISTRY"
|
||||||
```
|
```
|
||||||
|
|
||||||
同时读取该前缀的 package.json 核对 name/version。任何一步失败立即停止,不能仅凭下载成功或 npm 退出码 0 回写 installed。只清理本次创建的临时目录。
|
同时读取该前缀的 package.json 核对 name/version。任何一步失败立即停止,不能仅凭下载成功或 npm 退出码 0 提交 present 观察。只清理本次创建的临时目录。
|
||||||
|
|
||||||
## 独立启动与 ChatGPT 隧道
|
## 独立启动与 ChatGPT 隧道
|
||||||
|
|
||||||
@@ -63,10 +63,10 @@ node "$PREFIX/node_modules/desirecore-cdp-mcp/bin/desirecore-cdp-mcp.cjs" list -
|
|||||||
|
|
||||||
## 升级、重装和回滚
|
## 升级、重装和回滚
|
||||||
|
|
||||||
只按用户批准的精确安装身份操作。新版本安装到独立版本目录并校验成功后才切换启动入口和 catalogReceipt;不得覆盖运行中的包目录。旧版仍可用时升级失败恢复 installed 并保留原 receipt/version;首装失败或已不可用时按协议回 failed。不要删除用户凭据、旧实例数据或其它版本以“修复”安装。版本切换后要求用户重新扫描外部客户端工具定义。
|
只按用户批准的精确安装身份操作。新版本安装到独立版本目录并校验成功后才切换启动入口、提交新版本观察;不得覆盖运行中的包目录。失败或结果不明时检查实际软件,不写 failed、不宣称自动回滚,不用新版本资料登记旧版成功。没有明确结果就保留历史记录;记账失败只补记,不重跑安装。不要删除用户凭据、旧实例数据或其它版本以“修复”安装。版本切换后要求用户重新扫描外部客户端工具定义。
|
||||||
|
|
||||||
## 卸载
|
## 卸载
|
||||||
|
|
||||||
先由 resolver 按原 installed ownership + lifecycle receipt 返回本指南,再获得用户确认。仅停止明确由此安装启动的 Control 进程及其自有隧道,不执行按名称批量 kill Node/tunnel-client,不停止 DesireCore。对准确安装前缀运行 `npm uninstall --prefix <Prefix> desirecore-cdp-mcp`,并确认该包入口已不存在,再回写 uninstalled。卸载失败但原应用仍可用时回 installed,不能遗留 uninstalling。
|
先由 resolver 按精确安装记录返回历史管理指南,再获得用户确认。仅停止明确由此安装启动的 Control 进程及其自有隧道,不执行按名称批量 kill Node/tunnel-client,不停止 DesireCore。对准确安装前缀运行 `npm uninstall --prefix <Prefix> desirecore-cdp-mcp`,并确认该包入口已不存在,再提交 absent 观察。卸载失败或结果不明时不覆盖历史记录;不预写 uninstalling,也不自动恢复为 installed。
|
||||||
|
|
||||||
默认保留 `%LOCALAPPDATA%\DesireCoreMcp` 或 `$HOME/.desirecore-mcp` 的用户凭据,以及其它版本与用户配置;删除这些材料必须另行获得明确同意。不得清理 DesireCore 的任何 home、用户数据、实例名录或内部 MCP 配置。
|
默认保留 `%LOCALAPPDATA%\DesireCoreMcp` 或 `$HOME/.desirecore-mcp` 的用户凭据,以及其它版本与用户配置;删除这些材料必须另行获得明确同意。不得清理 DesireCore 的任何 home、用户数据、实例名录或内部 MCP 配置。
|
||||||
|
|||||||
@@ -6,18 +6,18 @@
|
|||||||
"author": "desirecore-agent",
|
"author": "desirecore-agent",
|
||||||
"description": "供外部智能体控制本机多个 DesireCore 实例的独立应用,内置 ChatGPT 隧道管理。",
|
"description": "供外部智能体控制本机多个 DesireCore 实例的独立应用,内置 ChatGPT 隧道管理。",
|
||||||
"shortDesc": "供外部智能体控制本机多个 DesireCore 实例的独立应用,内置 ChatGPT 隧道管理。",
|
"shortDesc": "供外部智能体控制本机多个 DesireCore 实例的独立应用,内置 ChatGPT 隧道管理。",
|
||||||
"fullDesc": "DesireCore Control 是独立开源的宿主机应用:自动识别本机实例、展示管理页面,并通过对外 MCP 提供窗口、截图与 CDP 操作。1.4.0 支持管理官方 ChatGPT tunnel-client。默认只读,不随 DesireCore 启停,不向内部智能体注册 MCP。应用市场安装需要支持 native-app 的客户端及应用安装管理技能 1.4.0;隧道客户端另行安装,真实账户凭据由用户在本机提供。",
|
"fullDesc": "DesireCore Control 是独立开源的宿主机应用:自动识别本机实例、展示管理页面,并通过对外 MCP 提供窗口、截图与 CDP 操作。1.4.0 支持管理官方 ChatGPT tunnel-client。默认只读,不随 DesireCore 启停,不向内部智能体注册 MCP。应用市场安装需要支持 native-app 的客户端 10.0.170 及应用安装管理技能 1.5.0;隧道客户端另行安装,真实账户凭据由用户在本机提供。",
|
||||||
"tags": ["DesireCore", "external-agents", "ChatGPT", "CDP", "control"],
|
"tags": ["DesireCore", "external-agents", "ChatGPT", "CDP", "control"],
|
||||||
"icon": "monitor",
|
"icon": "monitor",
|
||||||
"iconLetter": "DC",
|
"iconLetter": "DC",
|
||||||
"platformSupport": ["windows", "macos", "linux"],
|
"platformSupport": ["windows", "macos", "linux"],
|
||||||
"category": "tools",
|
"category": "tools",
|
||||||
"githubUrl": "https://github.com/desirecore-agent/desirecore-cdp-mcp",
|
"githubUrl": "https://github.com/desirecore-agent/desirecore-cdp-mcp",
|
||||||
"requiredClientVersion": "10.0.169",
|
"requiredClientVersion": "10.0.170",
|
||||||
"install": {
|
"install": {
|
||||||
"method": "native-node",
|
"method": "native-node",
|
||||||
"requirements": { "docker": false, "node": ">=22.22.2", "minMemory": "512MB(安装建议预留,非实测峰值)", "minDisk": "512MB(建议预留)", "ports": [9333] },
|
"requirements": { "docker": false, "node": ">=22.22.2", "minMemory": "512MB(安装建议预留,非实测峰值)", "minDisk": "512MB(建议预留)", "ports": [9333] },
|
||||||
"configNeeded": ["宿主机 Node.js >=22.22.2 与 npm", "应用安装管理技能 >=1.4.0", "ChatGPT 隧道为可选功能,需独立安装官方 tunnel-client 并由用户提供凭据"]
|
"configNeeded": ["宿主机 Node.js >=22.22.2 与 npm", "应用安装管理技能 >=1.5.0(核验后记账,无安装中间态)", "ChatGPT 隧道为可选功能,需独立安装官方 tunnel-client 并由用户提供凭据"]
|
||||||
},
|
},
|
||||||
"placementPolicy": { "showInMyApps": true, "allowNavPin": true, "allowAgentBinding": false },
|
"placementPolicy": { "showInMyApps": true, "allowNavPin": true, "allowAgentBinding": false },
|
||||||
"source": { "kind": "release", "url": "https://github.com/desirecore-agent/desirecore-cdp-mcp/releases/download/v1.4.0/desirecore-cdp-mcp-1.4.0.tgz", "ref": "38184fbb01f82d4dd850b67366cdac048a09474b", "sha256": "ecfd6e770cd1854d7368ec89852b5e798cc04f6e19bbb59fedae52a56bacbee0" },
|
"source": { "kind": "release", "url": "https://github.com/desirecore-agent/desirecore-cdp-mcp/releases/download/v1.4.0/desirecore-cdp-mcp-1.4.0.tgz", "ref": "38184fbb01f82d4dd850b67366cdac048a09474b", "sha256": "ecfd6e770cd1854d7368ec89852b5e798cc04f6e19bbb59fedae52a56bacbee0" },
|
||||||
|
|||||||
Reference in New Issue
Block a user