@openclaw-china/wecom-app 2026.3.19 → 2026.3.21
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.js +17 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -6257,6 +6257,21 @@ async function configureWechatMp(prompter, cfg) {
|
|
|
6257
6257
|
],
|
|
6258
6258
|
toTrimmedString(existing.replyMode) ?? "passive"
|
|
6259
6259
|
);
|
|
6260
|
+
let activeDeliveryMode;
|
|
6261
|
+
if (replyMode === "active") {
|
|
6262
|
+
activeDeliveryMode = await prompter.askSelect(
|
|
6263
|
+
"\u4E3B\u52A8\u53D1\u9001\u6A21\u5F0F\uFF08activeDeliveryMode\uFF09",
|
|
6264
|
+
[
|
|
6265
|
+
{ value: "split", label: "split\uFF08\u9010\u5757\u53D1\u9001\uFF0C\u63A8\u8350\uFF09" },
|
|
6266
|
+
{ value: "merged", label: "merged\uFF08\u5408\u5E76\u540E\u5355\u6B21\u53D1\u9001\uFF09" }
|
|
6267
|
+
],
|
|
6268
|
+
toTrimmedString(existing.activeDeliveryMode) ?? "split"
|
|
6269
|
+
);
|
|
6270
|
+
}
|
|
6271
|
+
const renderMarkdown = await prompter.askConfirm(
|
|
6272
|
+
"\u542F\u7528 Markdown \u6E32\u67D3\uFF08\u63A8\u8350\u5F00\u542F\uFF09",
|
|
6273
|
+
toBoolean(existing.renderMarkdown, true)
|
|
6274
|
+
);
|
|
6260
6275
|
const welcomeText = await prompter.askText({
|
|
6261
6276
|
label: "\u6B22\u8FCE\u8BED\uFF08\u53EF\u9009\uFF09",
|
|
6262
6277
|
defaultValue: toTrimmedString(existing.welcomeText),
|
|
@@ -6270,6 +6285,8 @@ async function configureWechatMp(prompter, cfg) {
|
|
|
6270
6285
|
encodingAESKey: messageMode === "plain" ? void 0 : encodingAESKey,
|
|
6271
6286
|
messageMode,
|
|
6272
6287
|
replyMode,
|
|
6288
|
+
activeDeliveryMode,
|
|
6289
|
+
renderMarkdown,
|
|
6273
6290
|
welcomeText: welcomeText || void 0
|
|
6274
6291
|
});
|
|
6275
6292
|
}
|