@openclaw-china/qqbot 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
|
@@ -7162,6 +7162,21 @@ async function configureWechatMp(prompter, cfg) {
|
|
|
7162
7162
|
],
|
|
7163
7163
|
toTrimmedString2(existing.replyMode) ?? "passive"
|
|
7164
7164
|
);
|
|
7165
|
+
let activeDeliveryMode;
|
|
7166
|
+
if (replyMode === "active") {
|
|
7167
|
+
activeDeliveryMode = await prompter.askSelect(
|
|
7168
|
+
"\u4E3B\u52A8\u53D1\u9001\u6A21\u5F0F\uFF08activeDeliveryMode\uFF09",
|
|
7169
|
+
[
|
|
7170
|
+
{ value: "split", label: "split\uFF08\u9010\u5757\u53D1\u9001\uFF0C\u63A8\u8350\uFF09" },
|
|
7171
|
+
{ value: "merged", label: "merged\uFF08\u5408\u5E76\u540E\u5355\u6B21\u53D1\u9001\uFF09" }
|
|
7172
|
+
],
|
|
7173
|
+
toTrimmedString2(existing.activeDeliveryMode) ?? "split"
|
|
7174
|
+
);
|
|
7175
|
+
}
|
|
7176
|
+
const renderMarkdown = await prompter.askConfirm(
|
|
7177
|
+
"\u542F\u7528 Markdown \u6E32\u67D3\uFF08\u63A8\u8350\u5F00\u542F\uFF09",
|
|
7178
|
+
toBoolean(existing.renderMarkdown, true)
|
|
7179
|
+
);
|
|
7165
7180
|
const welcomeText = await prompter.askText({
|
|
7166
7181
|
label: "\u6B22\u8FCE\u8BED\uFF08\u53EF\u9009\uFF09",
|
|
7167
7182
|
defaultValue: toTrimmedString2(existing.welcomeText),
|
|
@@ -7175,6 +7190,8 @@ async function configureWechatMp(prompter, cfg) {
|
|
|
7175
7190
|
encodingAESKey: messageMode === "plain" ? void 0 : encodingAESKey,
|
|
7176
7191
|
messageMode,
|
|
7177
7192
|
replyMode,
|
|
7193
|
+
activeDeliveryMode,
|
|
7194
|
+
renderMarkdown,
|
|
7178
7195
|
welcomeText: welcomeText || void 0
|
|
7179
7196
|
});
|
|
7180
7197
|
}
|