@xmanrui/dsh-im 4.5.0 → 4.6.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.
Files changed (29) hide show
  1. package/lib/client.js +4 -1
  2. package/lib/index.js +247 -239
  3. package/package.json +1 -1
  4. package/src/channels/dingtalk/dingtalk-bridge.mjs +166 -20
  5. package/src/channels/dingtalk/dingtalk-card-stream.mjs +9 -2
  6. package/src/channels/dingtalk/state-store.mjs +98 -0
  7. package/src/channels/discord/discord-api.mjs +7 -0
  8. package/src/channels/discord/discord-runtime.mjs +97 -2
  9. package/src/channels/feishu/bridge.mjs +11 -5
  10. package/src/channels/feishu/message-utils.mjs +229 -0
  11. package/src/channels/qq/qq-bridge.mjs +48 -6
  12. package/src/channels/shared/batch-input.mjs +3 -3
  13. package/src/channels/shared/harness-client.mjs +82 -30
  14. package/src/channels/shared/i18n-en/shared-c.mjs +6 -4
  15. package/src/channels/shared/image-prompt.mjs +51 -0
  16. package/src/channels/shared/semantic/reply-reference.mjs +153 -0
  17. package/src/channels/shared/session-reply-recovery.mjs +104 -0
  18. package/src/channels/shared/session-title.mjs +1 -1
  19. package/src/channels/shared/text-harness-bridge.mjs +12 -6
  20. package/src/channels/slack/manifest.mjs +3 -0
  21. package/src/channels/slack/slack-api.mjs +18 -0
  22. package/src/channels/slack/slack-runtime.mjs +56 -0
  23. package/src/channels/telegram/telegram-runtime.mjs +117 -2
  24. package/src/channels/wecom/wecom-bridge.mjs +49 -7
  25. package/src/channels/weixin/state-store.mjs +110 -0
  26. package/src/channels/weixin/weixin-api.mjs +86 -2
  27. package/src/channels/weixin/weixin-bridge.mjs +96 -9
  28. package/src/channels/weixin/weixin-runtime.mjs +26 -6
  29. package/src/channels/whatsapp/whatsapp-runtime.mjs +56 -0
package/lib/client.js CHANGED
@@ -571,7 +571,7 @@ var React23 = __toESM(require("react"), 1);
571
571
  // package.json
572
572
  var package_default = {
573
573
  name: "@xmanrui/dsh-im",
574
- version: "4.5.0",
574
+ version: "4.6.0",
575
575
  description: "\u628A\u4E5D\u79CD IM \u673A\u5668\u4EBA\u548C\u516C\u7F51 AI Office \u63A5\u5165\u672C\u673A DeepSeek Harness\u3002 Connect nine IM channels and a public AI Office to a local DeepSeek Harness.",
576
576
  keywords: [
577
577
  "deepseek-harness",
@@ -8792,9 +8792,12 @@ oauth_config:
8792
8792
  bot:
8793
8793
  - app_mentions:read
8794
8794
  - chat:write
8795
+ - channels:history
8795
8796
  - files:read
8796
8797
  - files:write
8798
+ - groups:history
8797
8799
  - im:history
8800
+ - mpim:history
8798
8801
  - reactions:write
8799
8802
  settings:
8800
8803
  event_subscriptions: