@botharness/im-provider 4.32.0-botharness.16 → 4.32.0-botharness.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/PROVENANCE.json +9 -9
- package/lib/client.js +8 -5
- package/lib/index.js +305 -308
- package/package.json +6 -5
- package/plugin-src/host/app-setup.mjs +244 -0
- package/plugin-src/host/build.mjs +3 -2
- package/plugin-src/host/channels/qq/production.mjs +7 -1
- package/plugin-src/host/channels/shared/startup.mjs +3 -0
- package/plugin-src/host/delivery-adapter.mjs +15 -0
- package/plugin-src/host/delivery-service.mjs +103 -3
- package/plugin-src/host/index.mjs +15 -2
- package/plugin-src/host/qq-sdk-observation-patch.mjs +53 -0
- package/src/channels/discord/discord-api.mjs +9 -0
- package/src/channels/discord/discord-controller.mjs +1 -2
- package/src/channels/discord/discord-runtime.mjs +13 -0
- package/src/channels/discord/reachable-conversations.mjs +211 -0
- package/src/channels/feishu/external-cards.mjs +63 -6
- package/src/channels/feishu/external-reactions.mjs +36 -0
- package/src/channels/feishu/feishu-runtime.mjs +95 -2
- package/src/channels/feishu/multi-bot-controller.mjs +78 -4
- package/src/channels/qq/config-store.mjs +1 -0
- package/src/channels/qq/external-addressing.mjs +6 -0
- package/src/channels/qq/external-consumer.mjs +214 -0
- package/src/channels/qq/external-files.mjs +50 -0
- package/src/channels/qq/external-images.mjs +109 -0
- package/src/channels/qq/external-mentions.mjs +32 -0
- package/src/channels/qq/external-post.mjs +51 -0
- package/src/channels/qq/external-voice.mjs +32 -0
- package/src/channels/qq/native-gateway-diagnostics.mjs +86 -0
- package/src/channels/qq/native-reply-observations.mjs +143 -0
- package/src/channels/qq/native-transport-diagnostics.mjs +42 -0
- package/src/channels/qq/qq-controller.mjs +105 -1
- package/src/channels/qq/qq-runtime.mjs +259 -12
- package/src/channels/qq/sdk-frame-observation.mjs +31 -0
- package/src/channels/qq/voice-attachment.mjs +3 -0
- package/src/channels/shared/i18n-en/qq.mjs +4 -0
- package/src/channels/shared/i18n-en/weixin.mjs +1 -0
- package/src/channels/shared/token-bot-controller.mjs +26 -0
- package/src/channels/slack/reachable-conversations.mjs +136 -0
- package/src/channels/slack/slack-api.mjs +9 -1
- package/src/channels/slack/slack-controller.mjs +25 -2
- package/src/channels/slack/slack-runtime.mjs +23 -0
- package/src/channels/weixin/connection-error.en.mjs +1 -0
- package/src/channels/weixin/connection-error.mjs +1 -0
- package/src/channels/weixin/weixin-controller.mjs +23 -2
package/PROVENANCE.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botharness/im-provider",
|
|
3
|
-
"version": "4.32.0-botharness.
|
|
4
|
-
"source": "
|
|
3
|
+
"version": "4.32.0-botharness.21",
|
|
4
|
+
"source": "beaed4a6dabb583654d28fb09298716267039b4a",
|
|
5
5
|
"sourceRepository": "https://github.com/DoodleBears/dsh-im",
|
|
6
6
|
"upstreamRepository": "https://github.com/xmanrui/dsh-im",
|
|
7
|
-
"dsh": "0.2.0-rc.
|
|
7
|
+
"dsh": "0.2.0-rc.2",
|
|
8
8
|
"qualifiedInput": {
|
|
9
|
-
"runtimeFiles":
|
|
10
|
-
"runtimeSha256": "
|
|
9
|
+
"runtimeFiles": 421,
|
|
10
|
+
"runtimeSha256": "42e1140e67ba2f74122db3d49bb2c8aece239b7d75f9564ce713a8a491902706"
|
|
11
11
|
},
|
|
12
12
|
"compiledOutput": {
|
|
13
|
-
"runtimeFiles":
|
|
14
|
-
"runtimeSha256": "
|
|
13
|
+
"runtimeFiles": 422,
|
|
14
|
+
"runtimeSha256": "302dfdcca0d36f93fe02098d13764ba4eccd11ce324ffb0c415c3f971a7d0275"
|
|
15
15
|
},
|
|
16
|
-
"sourceManifestSha256": "
|
|
17
|
-
"sourceLockSha256": "
|
|
16
|
+
"sourceManifestSha256": "3331e8f771a91abf396eb4e7ed5c0acc4c3b504cdccc7d715e37062708384cc2",
|
|
17
|
+
"sourceLockSha256": "3476c34c7d4515000d2617beaf2568b2a794b60de9b350cd8eafb7a2bf21adef",
|
|
18
18
|
"managedSources": {
|
|
19
19
|
"update-rpc.mjs": "3bf9f5345309bc47b978ba9997f38a8e89e4012f5c103121042ef95dba465a76",
|
|
20
20
|
"update-policy.mjs": "f9912eca6a8077792efb72b80d05b26d06d6d1fa76d3c468c723169ef7ee8872",
|
package/lib/client.js
CHANGED
|
@@ -3,6 +3,7 @@ window.__ModuleLoader__.load({
|
|
|
3
3
|
factory: (require) => {
|
|
4
4
|
var module = { exports: {} };
|
|
5
5
|
var exports = module.exports;
|
|
6
|
+
"use strict";
|
|
6
7
|
var __create = Object.create;
|
|
7
8
|
var __defProp = Object.defineProperty;
|
|
8
9
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -71,7 +72,7 @@ var React37 = __toESM(require("react"), 1);
|
|
|
71
72
|
// package.json
|
|
72
73
|
var package_default = {
|
|
73
74
|
name: "@botharness/im-provider",
|
|
74
|
-
version: "4.32.0-botharness.
|
|
75
|
+
version: "4.32.0-botharness.21",
|
|
75
76
|
icon: "./assets/logo-plugin-message-link-gradient.webp",
|
|
76
77
|
description: "BotHarness-qualified IM Provider, maintained from dsh-im",
|
|
77
78
|
keywords: [
|
|
@@ -219,7 +220,7 @@ var package_default = {
|
|
|
219
220
|
platform: "web"
|
|
220
221
|
},
|
|
221
222
|
compatibility: {
|
|
222
|
-
dsh: ">=0.
|
|
223
|
+
dsh: ">=0.2.0-0",
|
|
223
224
|
profiles: [
|
|
224
225
|
"web"
|
|
225
226
|
]
|
|
@@ -227,7 +228,7 @@ var package_default = {
|
|
|
227
228
|
},
|
|
228
229
|
engines: {
|
|
229
230
|
node: ">=22",
|
|
230
|
-
dsh: ">=0.
|
|
231
|
+
dsh: ">=0.2.0-0"
|
|
231
232
|
},
|
|
232
233
|
dependencies: {
|
|
233
234
|
"@matrix-org/olm": "3.2.15",
|
|
@@ -239,7 +240,8 @@ var package_default = {
|
|
|
239
240
|
mailparser: "^3.9.28",
|
|
240
241
|
nodemailer: "^10.0.10",
|
|
241
242
|
qrcode: "1.5.4",
|
|
242
|
-
undici: "7.29.1"
|
|
243
|
+
undici: "7.29.1",
|
|
244
|
+
ws: "8.21.3"
|
|
243
245
|
},
|
|
244
246
|
optionalDependencies: {
|
|
245
247
|
"@tencent-qqmail/agently-cli": "^1.0.18",
|
|
@@ -248,7 +250,7 @@ var package_default = {
|
|
|
248
250
|
peerDependencies: {},
|
|
249
251
|
botharness: {
|
|
250
252
|
managedByProduct: true,
|
|
251
|
-
upstreamSource: "
|
|
253
|
+
upstreamSource: "beaed4a6dabb583654d28fb09298716267039b4a"
|
|
252
254
|
}
|
|
253
255
|
};
|
|
254
256
|
|
|
@@ -530,6 +532,7 @@ var diagnostics_default = Object.freeze({
|
|
|
530
532
|
|
|
531
533
|
// src/channels/weixin/connection-error.en.mjs
|
|
532
534
|
var connection_error_en_default = {
|
|
535
|
+
"\u8BE5\u5FAE\u4FE1\u8D26\u53F7\u5DF2\u5728\u672C\u673A\u914D\u7F6E\uFF0C\u8BF7\u9009\u62E9\u5DF2\u6709\u5E94\u7528\u3002": "This WeChat account is already configured locally. Choose the existing app.",
|
|
533
536
|
"\u5FAE\u4FE1\u914D\u7F6E\u683C\u5F0F\u9519\u8BEF\uFF1A{file}\u3002\u8BF7\u67E5\u770B\u8BCA\u65AD\u8BE6\u60C5\uFF0C\u4FEE\u590D\u540E\u91CD\u542F DSH\u3002": "The WeChat configuration is invalid: {file}. See the diagnostic details, fix the file, and restart DSH.",
|
|
534
537
|
"\u914D\u7F6E\u6587\u4EF6": "Configuration file",
|
|
535
538
|
"\u914D\u7F6E\u5B57\u6BB5": "Configuration field",
|