@lark-apaas/openclaw-scripts-diagnose-cli 0.1.15-alpha.17 → 0.1.15-alpha.18
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.
- package/dist/index.cjs +5 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -52,7 +52,7 @@ node_assert = __toESM(node_assert);
|
|
|
52
52
|
* it terse and parseable.
|
|
53
53
|
*/
|
|
54
54
|
function getVersion() {
|
|
55
|
-
return "0.1.15-alpha.
|
|
55
|
+
return "0.1.15-alpha.18";
|
|
56
56
|
}
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/rule-engine/base.ts
|
|
@@ -10714,7 +10714,7 @@ async function reportCliRun(opts) {
|
|
|
10714
10714
|
//#region src/help.ts
|
|
10715
10715
|
const BIN = "mclaw-diagnose";
|
|
10716
10716
|
function versionBanner() {
|
|
10717
|
-
return `v0.1.15-alpha.
|
|
10717
|
+
return `v0.1.15-alpha.18`;
|
|
10718
10718
|
}
|
|
10719
10719
|
const COMMANDS = [
|
|
10720
10720
|
{
|
|
@@ -11946,7 +11946,9 @@ function acquireInstallLock(command) {
|
|
|
11946
11946
|
} catch {}
|
|
11947
11947
|
continue;
|
|
11948
11948
|
}
|
|
11949
|
-
|
|
11949
|
+
const conflictMsg = `另一个安装指令正在运行,请等待其完成后重试。\n 占用指令: ${existing.command}\n 进程 PID : ${existing.pid}\n 开始时间: ${existing.startedAt}\n 锁文件 : ${INSTALL_LOCK_FILE}`;
|
|
11950
|
+
console.error(`[install-lock] conflict: command=${command} blocked by pid=${existing.pid} command=${existing.command}`);
|
|
11951
|
+
return conflictMsg;
|
|
11950
11952
|
}
|
|
11951
11953
|
}
|
|
11952
11954
|
/**
|
package/package.json
CHANGED