@lark-apaas/openclaw-scripts-diagnose-cli 0.1.5-alpha.4 → 0.1.5-alpha.5

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 +8 -2
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -50,7 +50,7 @@ node_assert = __toESM(node_assert);
50
50
  * it terse and parseable.
51
51
  */
52
52
  function getVersion() {
53
- return "0.1.5-alpha.4";
53
+ return "0.1.5-alpha.5";
54
54
  }
55
55
  //#endregion
56
56
  //#region src/rule-engine/base.ts
@@ -7803,7 +7803,7 @@ async function reportCliRun(opts) {
7803
7803
  //#region src/help.ts
7804
7804
  const BIN = "mclaw-diagnose";
7805
7805
  function versionBanner() {
7806
- return `v0.1.5-alpha.4`;
7806
+ return `v0.1.5-alpha.5`;
7807
7807
  }
7808
7808
  const COMMANDS = [
7809
7809
  {
@@ -9401,6 +9401,12 @@ function initDiagnoseSlardar() {
9401
9401
  bid: "apaas_miaoda",
9402
9402
  release: getVersion()
9403
9403
  });
9404
+ process.on("beforeExit", flushDiagnoseSlardar);
9405
+ }
9406
+ function flushDiagnoseSlardar() {
9407
+ try {
9408
+ Slardar.flush?.();
9409
+ } catch {}
9404
9410
  }
9405
9411
  function reportDoctorRunToSlardar(opts) {
9406
9412
  const summary = summarizeOutcomes(opts.ruleOutcomes);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/openclaw-scripts-diagnose-cli",
3
- "version": "0.1.5-alpha.4",
3
+ "version": "0.1.5-alpha.5",
4
4
  "description": "CLI for OpenClaw config diagnose and repair with JSON5 support",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {