@lark-apaas/openclaw-scripts-diagnose-cli 0.1.6-beta.0 → 0.1.6
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 +11 -3
- 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.6
|
|
53
|
+
return "0.1.6";
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/rule-engine/base.ts
|
|
@@ -8149,7 +8149,7 @@ async function reportCliRun(opts) {
|
|
|
8149
8149
|
//#region src/help.ts
|
|
8150
8150
|
const BIN = "mclaw-diagnose";
|
|
8151
8151
|
function versionBanner() {
|
|
8152
|
-
return `v0.1.6
|
|
8152
|
+
return `v0.1.6`;
|
|
8153
8153
|
}
|
|
8154
8154
|
const COMMANDS = [
|
|
8155
8155
|
{
|
|
@@ -9884,7 +9884,11 @@ function getMultiFlag(args, name) {
|
|
|
9884
9884
|
* `raw` is kept in the signature for backward symmetry with the doctor
|
|
9885
9885
|
* case but is no longer consulted.
|
|
9886
9886
|
*/
|
|
9887
|
-
async function reportRun(command, rc, _raw, invocation, durationMs, outcome, slardar
|
|
9887
|
+
async function reportRun(command, rc, _raw, invocation, durationMs, outcome, slardar = {
|
|
9888
|
+
scene,
|
|
9889
|
+
profile,
|
|
9890
|
+
fix: false
|
|
9891
|
+
}) {
|
|
9888
9892
|
console.error(`${command}: telemetry calling report_cli_run`);
|
|
9889
9893
|
try {
|
|
9890
9894
|
await reportCliRun({
|
|
@@ -10276,6 +10280,10 @@ async function main() {
|
|
|
10276
10280
|
success: result.ok,
|
|
10277
10281
|
result,
|
|
10278
10282
|
error: result.ok ? void 0 : new Error(result.error ?? "lark-cli-init failed")
|
|
10283
|
+
}, {
|
|
10284
|
+
scene,
|
|
10285
|
+
profile,
|
|
10286
|
+
fix: false
|
|
10279
10287
|
});
|
|
10280
10288
|
if (!result.ok) node_process.default.exit(1);
|
|
10281
10289
|
break;
|