@lark-apaas/openclaw-scripts-diagnose-cli 0.1.1-alpha.11 → 0.1.1-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.cjs +2 -2
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -1209,14 +1209,14 @@ function waitForInitNpm(maxWaitMs) {
1209
1209
  function reinstallOpenclaw(srcDir) {
1210
1210
  const targetVersion = loadJSON5().parse(node_fs.default.readFileSync(node_path.default.join(srcDir, "openclaw.json"), "utf-8")).meta?.lastTouchedVersion;
1211
1211
  if (targetVersion && isOpenclawAtVersion(targetVersion)) {
1212
- shell("openclaw doctor --fix", 12e4);
1212
+ shell("openclaw doctor --fix", 10 * 6e4);
1213
1213
  return;
1214
1214
  }
1215
1215
  try {
1216
1216
  shell("npm uninstall -g openclaw 2>/dev/null || true", 6e4);
1217
1217
  } catch {}
1218
1218
  shell(`npm i -g openclaw@${targetVersion || "latest"} --prefer-offline --fetch-timeout=60000 --fetch-retries=2`, 15 * 6e4);
1219
- shell("openclaw doctor --fix", 12e4);
1219
+ shell("openclaw doctor --fix", 10 * 6e4);
1220
1220
  }
1221
1221
  /** Return true if `openclaw --version` output contains `targetVersion`. */
1222
1222
  function isOpenclawAtVersion(targetVersion) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/openclaw-scripts-diagnose-cli",
3
- "version": "0.1.1-alpha.11",
3
+ "version": "0.1.1-alpha.12",
4
4
  "description": "CLI for OpenClaw config diagnose and repair with JSON5 support",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {