@lark-apaas/openclaw-scripts-diagnose-cli 0.1.15-alpha.13 → 0.1.15-alpha.14
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 +18 -2
- 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.14";
|
|
56
56
|
}
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/rule-engine/base.ts
|
|
@@ -10697,7 +10697,7 @@ async function reportCliRun(opts) {
|
|
|
10697
10697
|
//#region src/help.ts
|
|
10698
10698
|
const BIN = "mclaw-diagnose";
|
|
10699
10699
|
function versionBanner() {
|
|
10700
|
-
return `v0.1.15-alpha.
|
|
10700
|
+
return `v0.1.15-alpha.14`;
|
|
10701
10701
|
}
|
|
10702
10702
|
const COMMANDS = [
|
|
10703
10703
|
{
|
|
@@ -11596,6 +11596,22 @@ function runUpgradeLark(opts) {
|
|
|
11596
11596
|
log(` configPath : ${configPath}`);
|
|
11597
11597
|
log(`${"=".repeat(60)}`);
|
|
11598
11598
|
const timing = {};
|
|
11599
|
+
for (const s of [
|
|
11600
|
+
"PORT_FIX_READY",
|
|
11601
|
+
"PORT_FIX_FAILED",
|
|
11602
|
+
"CHANNEL_FIX_READY",
|
|
11603
|
+
"CHANNEL_FIX_FAILED"
|
|
11604
|
+
]) {
|
|
11605
|
+
const f = `${FIX_EVENT_DIR}/${s}`;
|
|
11606
|
+
try {
|
|
11607
|
+
if (node_fs.default.existsSync(f)) {
|
|
11608
|
+
node_fs.default.rmSync(f);
|
|
11609
|
+
log(`[fix-event] cleared stale: ${f}`);
|
|
11610
|
+
}
|
|
11611
|
+
} catch (e) {
|
|
11612
|
+
log(`[fix-event] clear failed: ${f} — ${e.message}`);
|
|
11613
|
+
}
|
|
11614
|
+
}
|
|
11599
11615
|
const finalReturn = (r) => {
|
|
11600
11616
|
if (r.fixStatus !== void 0) writeFixStatusEvent(r.fixStatus, r, log);
|
|
11601
11617
|
return r;
|
package/package.json
CHANGED