@openclaw/synology-chat 2026.6.10-beta.2 → 2026.6.11-beta.2
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-BpZt8_If.js";
|
|
2
2
|
import { t as collectSynologyChatSecurityAuditFindings } from "./security-audit-DIsaxIaB.js";
|
|
3
3
|
export { collectSynologyChatSecurityAuditFindings, setSynologyRuntime, synologyChatPlugin };
|
|
@@ -845,7 +845,7 @@ async function processAuthorizedSynologyWebhook(params) {
|
|
|
845
845
|
payload: params.message.payload,
|
|
846
846
|
log: params.log
|
|
847
847
|
});
|
|
848
|
-
const
|
|
848
|
+
const reply = await params.deliver({
|
|
849
849
|
body: params.message.body,
|
|
850
850
|
from: authorizedWebhookUserId,
|
|
851
851
|
senderName: params.message.payload.username,
|
|
@@ -855,10 +855,6 @@ async function processAuthorizedSynologyWebhook(params) {
|
|
|
855
855
|
commandAuthorized: params.message.commandAuthorized,
|
|
856
856
|
chatUserId: deliveryUserId
|
|
857
857
|
});
|
|
858
|
-
const timeoutPromise = new Promise((_, reject) => {
|
|
859
|
-
setTimeout(() => reject(/* @__PURE__ */ new Error("Agent response timeout (120s)")), 12e4);
|
|
860
|
-
});
|
|
861
|
-
const reply = await Promise.race([deliverPromise, timeoutPromise]);
|
|
862
858
|
if (!reply) return;
|
|
863
859
|
await sendMessage(params.account.incomingUrl, reply, deliveryUserId, params.account.allowInsecureSsl);
|
|
864
860
|
const replyPreview = reply.length > 100 ? `${reply.slice(0, 100)}...` : reply;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as synologyChatPlugin } from "./channel-
|
|
1
|
+
import { t as synologyChatPlugin } from "./channel-BpZt8_If.js";
|
|
2
2
|
export { synologyChatPlugin };
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/synology-chat",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.11-beta.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/synology-chat",
|
|
9
|
-
"version": "2026.6.
|
|
9
|
+
"version": "2026.6.11-beta.2",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"zod": "4.4.3"
|
|
12
12
|
}
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/synology-chat",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.11-beta.2",
|
|
4
4
|
"description": "Synology Chat channel plugin for OpenClaw channels and direct messages.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"minHostVersion": ">=2026.4.10"
|
|
28
28
|
},
|
|
29
29
|
"compat": {
|
|
30
|
-
"pluginApi": ">=2026.6.
|
|
30
|
+
"pluginApi": ">=2026.6.11-beta.2"
|
|
31
31
|
},
|
|
32
32
|
"build": {
|
|
33
|
-
"openclawVersion": "2026.6.
|
|
33
|
+
"openclawVersion": "2026.6.11-beta.2"
|
|
34
34
|
},
|
|
35
35
|
"release": {
|
|
36
36
|
"publishToClawHub": true,
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"README.md"
|
|
52
52
|
],
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"openclaw": ">=2026.6.
|
|
54
|
+
"openclaw": ">=2026.6.11-beta.2"
|
|
55
55
|
},
|
|
56
56
|
"peerDependenciesMeta": {
|
|
57
57
|
"openclaw": {
|