@openclaw/synology-chat 2026.5.16-beta.2 → 2026.5.16-beta.4
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/api.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as setSynologyRuntime, t as synologyChatPlugin } from "./channel-
|
|
1
|
+
import { n as setSynologyRuntime, t as synologyChatPlugin } from "./channel-xB42xU9Q.js";
|
|
2
2
|
import { t as collectSynologyChatSecurityAuditFindings } from "./security-audit-Zu_nkF2x.js";
|
|
3
3
|
export { collectSynologyChatSecurityAuditFindings, setSynologyRuntime, synologyChatPlugin };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as synologyChatPlugin } from "./channel-
|
|
1
|
+
import { t as synologyChatPlugin } from "./channel-xB42xU9Q.js";
|
|
2
2
|
export { synologyChatPlugin };
|
|
@@ -258,7 +258,7 @@ function buildSynologyChatInboundSessionKey(params) {
|
|
|
258
258
|
});
|
|
259
259
|
}
|
|
260
260
|
//#endregion
|
|
261
|
-
//#region extensions/synology-chat/src/inbound-
|
|
261
|
+
//#region extensions/synology-chat/src/inbound-event.ts
|
|
262
262
|
const CHANNEL_ID$2 = "synology-chat";
|
|
263
263
|
function resolveSynologyChatInboundRoute(params) {
|
|
264
264
|
const rt = getSynologyRuntime();
|
|
@@ -287,7 +287,7 @@ async function deliverSynologyChatReply(params) {
|
|
|
287
287
|
if (!text) return { visibleReplySent: false };
|
|
288
288
|
return { visibleReplySent: await sendMessage(params.account.incomingUrl, text, params.sendUserId, params.account.allowInsecureSsl) };
|
|
289
289
|
}
|
|
290
|
-
async function
|
|
290
|
+
async function dispatchSynologyChatInboundEvent(params) {
|
|
291
291
|
const currentCfg = getSynologyRuntime().config.current();
|
|
292
292
|
const sendUserId = params.msg.chatUserId ?? params.msg.from;
|
|
293
293
|
const resolved = resolveSynologyChatInboundRoute({
|
|
@@ -979,7 +979,7 @@ function registerSynologyWebhookRoute(params) {
|
|
|
979
979
|
}
|
|
980
980
|
const handler = createWebhookHandler({
|
|
981
981
|
account,
|
|
982
|
-
deliver: async (msg) => await
|
|
982
|
+
deliver: async (msg) => await dispatchSynologyChatInboundEvent({
|
|
983
983
|
account,
|
|
984
984
|
msg,
|
|
985
985
|
log: createUnknownArgsLogAdapter(log)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/synology-chat",
|
|
3
|
-
"version": "2026.5.16-beta.
|
|
3
|
+
"version": "2026.5.16-beta.4",
|
|
4
4
|
"description": "Synology Chat channel plugin for OpenClaw",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"minHostVersion": ">=2026.4.10"
|
|
31
31
|
},
|
|
32
32
|
"compat": {
|
|
33
|
-
"pluginApi": ">=2026.5.16-beta.
|
|
33
|
+
"pluginApi": ">=2026.5.16-beta.4"
|
|
34
34
|
},
|
|
35
35
|
"build": {
|
|
36
|
-
"openclawVersion": "2026.5.16-beta.
|
|
36
|
+
"openclawVersion": "2026.5.16-beta.4"
|
|
37
37
|
},
|
|
38
38
|
"release": {
|
|
39
39
|
"publishToClawHub": true,
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"openclaw.plugin.json"
|
|
53
53
|
],
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"openclaw": ">=2026.5.16-beta.
|
|
55
|
+
"openclaw": ">=2026.5.16-beta.4"
|
|
56
56
|
},
|
|
57
57
|
"peerDependenciesMeta": {
|
|
58
58
|
"openclaw": {
|