mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-23 12:57:51 +00:00
fix(update): carry candidate plugin API version through doctor
This commit is contained in:
@@ -1403,6 +1403,7 @@ async function runPackageInstallUpdate(params: {
|
||||
const entryPath = await resolveGatewayInstallEntrypoint(verifiedPackageRoot);
|
||||
if (entryPath) {
|
||||
await createUpdateConfigSnapshot();
|
||||
const candidateHostVersion = await readPackageVersion(verifiedPackageRoot);
|
||||
return await runUpdateStep({
|
||||
name: `${CLI_NAME} doctor`,
|
||||
argv: [
|
||||
@@ -1421,6 +1422,7 @@ async function runPackageInstallUpdate(params: {
|
||||
OPENCLAW_UPDATE_IN_PROGRESS: "1",
|
||||
[UPDATE_DEFER_CONFIGURED_PLUGIN_INSTALL_REPAIR_ENV]: "1",
|
||||
[UPDATE_PARENT_SUPPORTS_DOCTOR_CONFIG_WRITE_ENV]: "1",
|
||||
OPENCLAW_COMPATIBILITY_HOST_VERSION: candidateHostVersion,
|
||||
},
|
||||
timeoutMs: params.timeoutMs,
|
||||
progress: params.progress,
|
||||
|
||||
Reference in New Issue
Block a user