@openclaw-china/feishu-china 2026.3.19 → 2026.3.20
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
|
@@ -6220,6 +6220,21 @@ async function configureWechatMp(prompter, cfg) {
|
|
|
6220
6220
|
],
|
|
6221
6221
|
toTrimmedString(existing.replyMode) ?? "passive"
|
|
6222
6222
|
);
|
|
6223
|
+
let activeDeliveryMode;
|
|
6224
|
+
if (replyMode === "active") {
|
|
6225
|
+
activeDeliveryMode = await prompter.askSelect(
|
|
6226
|
+
"\u4E3B\u52A8\u53D1\u9001\u6A21\u5F0F\uFF08activeDeliveryMode\uFF09",
|
|
6227
|
+
[
|
|
6228
|
+
{ value: "split", label: "split\uFF08\u9010\u5757\u53D1\u9001\uFF0C\u63A8\u8350\uFF09" },
|
|
6229
|
+
{ value: "merged", label: "merged\uFF08\u5408\u5E76\u540E\u5355\u6B21\u53D1\u9001\uFF09" }
|
|
6230
|
+
],
|
|
6231
|
+
toTrimmedString(existing.activeDeliveryMode) ?? "split"
|
|
6232
|
+
);
|
|
6233
|
+
}
|
|
6234
|
+
const renderMarkdown = await prompter.askConfirm(
|
|
6235
|
+
"\u542F\u7528 Markdown \u6E32\u67D3\uFF08\u63A8\u8350\u5F00\u542F\uFF09",
|
|
6236
|
+
toBoolean(existing.renderMarkdown, true)
|
|
6237
|
+
);
|
|
6223
6238
|
const welcomeText = await prompter.askText({
|
|
6224
6239
|
label: "\u6B22\u8FCE\u8BED\uFF08\u53EF\u9009\uFF09",
|
|
6225
6240
|
defaultValue: toTrimmedString(existing.welcomeText),
|
|
@@ -6233,6 +6248,8 @@ async function configureWechatMp(prompter, cfg) {
|
|
|
6233
6248
|
encodingAESKey: messageMode === "plain" ? void 0 : encodingAESKey,
|
|
6234
6249
|
messageMode,
|
|
6235
6250
|
replyMode,
|
|
6251
|
+
activeDeliveryMode,
|
|
6252
|
+
renderMarkdown,
|
|
6236
6253
|
welcomeText: welcomeText || void 0
|
|
6237
6254
|
});
|
|
6238
6255
|
}
|