@lark-apaas/openclaw-scripts-diagnose-cli 0.1.13-alpha.0 → 0.1.13-alpha.1
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 -4
- 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.13-alpha.
|
|
55
|
+
return "0.1.13-alpha.1";
|
|
56
56
|
}
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/rule-engine/base.ts
|
|
@@ -3577,7 +3577,7 @@ let FeishuBotChannelConfigRule = class FeishuBotChannelConfigRule extends Diagno
|
|
|
3577
3577
|
if (!larkApp) continue;
|
|
3578
3578
|
const creatorOpenID = larkApp.creatorOpenID;
|
|
3579
3579
|
if (typeof creatorOpenID === "string" && creatorOpenID !== "") {
|
|
3580
|
-
if (!(Array.isArray(bot.allowFrom) ? bot.allowFrom : []).includes(creatorOpenID)) issues.push(`${accountId} allowFrom missing creatorOpenID ${creatorOpenID}`);
|
|
3580
|
+
if (!(Array.isArray(bot.allowFrom) ? bot.allowFrom : []).includes(creatorOpenID)) issues.push(`${accountId} allowFrom missing creatorOpenID ${creatorOpenID.length > 8 ? creatorOpenID.slice(0, 4) + "***" + creatorOpenID.slice(-4) : "***"}`);
|
|
3581
3581
|
}
|
|
3582
3582
|
const secret = bot.appSecret;
|
|
3583
3583
|
if (typeof secret === "object" && secret !== null && !Array.isArray(secret)) {
|
|
@@ -3632,7 +3632,8 @@ FeishuBotChannelConfigRule = __decorate([Rule({
|
|
|
3632
3632
|
"feishu_bot_id"
|
|
3633
3633
|
],
|
|
3634
3634
|
repairMode: "standard",
|
|
3635
|
-
usesVars: ["larkApps"]
|
|
3635
|
+
usesVars: ["larkApps"],
|
|
3636
|
+
level: "critical"
|
|
3636
3637
|
})], FeishuBotChannelConfigRule);
|
|
3637
3638
|
//#endregion
|
|
3638
3639
|
//#region src/check.ts
|
|
@@ -10245,7 +10246,7 @@ async function reportCliRun(opts) {
|
|
|
10245
10246
|
//#region src/help.ts
|
|
10246
10247
|
const BIN = "mclaw-diagnose";
|
|
10247
10248
|
function versionBanner() {
|
|
10248
|
-
return `v0.1.13-alpha.
|
|
10249
|
+
return `v0.1.13-alpha.1`;
|
|
10249
10250
|
}
|
|
10250
10251
|
const COMMANDS = [
|
|
10251
10252
|
{
|
package/package.json
CHANGED