@xmanrui/dsh-im 4.38.2 → 4.39.0

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/lib/client.js CHANGED
@@ -595,7 +595,7 @@ var React40 = __toESM(require("react"), 1);
595
595
  // package.json
596
596
  var package_default = {
597
597
  name: "@xmanrui/dsh-im",
598
- version: "4.38.2",
598
+ version: "4.39.0",
599
599
  icon: "./assets/logo-plugin-message-link-gradient.webp",
600
600
  description: "\u628A\u5FAE\u4FE1\u3001\u98DE\u4E66\u3001\u4F01\u5FAE\u3001\u9489\u9489\u3001QQ\u3001Telegram\u3001WhatsApp\u3001Slack\u3001Discord\u3001Matrix\u63A5\u5165DSH\u3002 Connect Telegram, WhatsApp, Slack, Discord, Matrix, WeChat, Feishu, WeCom, DingTalk, and QQ to DSH.",
601
601
  keywords: [
@@ -3519,7 +3519,9 @@ var INJECTED_CONTEXT_TAGS = Object.freeze({
3519
3519
  guidanceOpen: "<dsh_im_source_guidance>",
3520
3520
  guidanceClose: "</dsh_im_source_guidance>",
3521
3521
  replyOpen: "<dsh_im_reply_to>",
3522
- replyClose: "</dsh_im_reply_to>"
3522
+ replyClose: "</dsh_im_reply_to>",
3523
+ contextOpen: "<dsh_im_context>",
3524
+ contextClose: "</dsh_im_context>"
3523
3525
  });
3524
3526
  var CONTEXT_ENHANCEMENT_GUIDANCE_MAX_LENGTH = 8e3;
3525
3527
  var CONTEXT_GROUP_GUIDANCE_EXAMPLE = `\u4EC5\u4F9D\u636E\u5F53\u524D\u6D88\u606F\u7684 <dsh_im_source> \u4E2D\u5B9E\u9645\u63D0\u4F9B\u7684\u5B57\u6BB5\u7406\u89E3\u6765\u6E90\uFF1B\u6CA1\u6709\u63D0\u4F9B\u7684\u5B57\u6BB5\u4E0D\u8981\u731C\u6D4B\u6216\u8865\u5168\u3002