@openclaw/synology-chat 2026.5.26-beta.2 → 2026.5.27-beta.1

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-DCngpPp6.js";
1
+ import { n as setSynologyRuntime, t as synologyChatPlugin } from "./channel-DCdPVZPg.js";
2
2
  import { t as collectSynologyChatSecurityAuditFindings } from "./security-audit-DIsaxIaB.js";
3
3
  export { collectSynologyChatSecurityAuditFindings, setSynologyRuntime, synologyChatPlugin };
@@ -3,8 +3,7 @@ import { t as collectSynologyChatSecurityAuditFindings } from "./security-audit-
3
3
  import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
4
4
  import { createHybridChannelConfigAdapter, createScopedDmSecurityResolver } from "openclaw/plugin-sdk/channel-config-helpers";
5
5
  import { createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
6
- import { waitUntilAbort } from "openclaw/plugin-sdk/channel-lifecycle";
7
- import { createMessageReceiptFromOutboundResults, defineChannelMessageAdapter } from "openclaw/plugin-sdk/channel-message";
6
+ import { createMessageReceiptFromOutboundResults, defineChannelMessageAdapter, waitUntilAbort } from "openclaw/plugin-sdk/channel-outbound";
8
7
  import { composeWarningCollectors, createConditionalWarningCollector, projectAccountConfigWarningCollector, projectAccountWarningCollector } from "openclaw/plugin-sdk/channel-policy";
9
8
  import { createEmptyChannelDirectoryAdapter } from "openclaw/plugin-sdk/directory-runtime";
10
9
  import { normalizeLowercaseStringOrEmpty, normalizeStringEntriesLower } from "openclaw/plugin-sdk/string-coerce-runtime";
@@ -310,7 +309,7 @@ async function dispatchSynologyChatInboundEvent(params) {
310
309
  account: params.account,
311
310
  userId: params.msg.from
312
311
  });
313
- await resolved.rt.channel.turn.run({
312
+ await resolved.rt.channel.inbound.run({
314
313
  channel: CHANNEL_ID$2,
315
314
  accountId: params.account.accountId,
316
315
  raw: params.msg,
@@ -323,9 +322,9 @@ async function dispatchSynologyChatInboundEvent(params) {
323
322
  textForCommands: msg.body,
324
323
  raw: msg
325
324
  }),
326
- resolveTurn: (input) => {
325
+ resolveTurn: async (input) => {
327
326
  const chatKind = params.msg.chatType === "group" || params.msg.chatType === "channel" ? params.msg.chatType : "direct";
328
- const msgCtx = resolved.rt.channel.turn.buildContext({
327
+ const msgCtx = resolved.rt.channel.inbound.buildContext({
329
328
  channel: CHANNEL_ID$2,
330
329
  accountId: params.account.accountId,
331
330
  timestamp: input.timestamp,
@@ -337,11 +336,7 @@ async function dispatchSynologyChatInboundEvent(params) {
337
336
  conversation: {
338
337
  kind: chatKind,
339
338
  id: params.msg.from,
340
- label: params.msg.senderName || params.msg.from,
341
- routePeer: {
342
- kind: "direct",
343
- id: params.msg.from
344
- }
339
+ label: params.msg.senderName || params.msg.from
345
340
  },
346
341
  route: {
347
342
  agentId: resolved.route.agentId,
@@ -349,15 +344,11 @@ async function dispatchSynologyChatInboundEvent(params) {
349
344
  routeSessionKey: resolved.sessionKey,
350
345
  dispatchSessionKey: resolved.sessionKey
351
346
  },
352
- reply: {
353
- to: `synology-chat:${params.msg.from}`,
354
- originatingTo: `synology-chat:${params.msg.from}`
355
- },
347
+ reply: { to: `synology-chat:${params.msg.from}` },
356
348
  message: {
357
349
  rawBody: input.rawText,
358
350
  commandBody: input.textForCommands,
359
- bodyForAgent: input.textForAgent,
360
- envelopeFrom: params.msg.senderName
351
+ bodyForAgent: input.textForAgent
361
352
  },
362
353
  extra: {
363
354
  ChatType: params.msg.chatType,
@@ -1,2 +1,2 @@
1
- import { t as synologyChatPlugin } from "./channel-DCngpPp6.js";
1
+ import { t as synologyChatPlugin } from "./channel-DCdPVZPg.js";
2
2
  export { synologyChatPlugin };
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/synology-chat",
3
- "version": "2026.5.26-beta.2",
3
+ "version": "2026.5.27-beta.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/synology-chat",
9
- "version": "2026.5.26-beta.2",
9
+ "version": "2026.5.27-beta.1",
10
10
  "dependencies": {
11
11
  "zod": "4.4.3"
12
12
  }
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "id": "synology-chat",
3
+ "name": "Synology Chat",
4
+ "description": "Synology Chat channel plugin for OpenClaw channels and direct messages.",
3
5
  "activation": {
4
6
  "onStartup": false
5
7
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openclaw/synology-chat",
3
- "version": "2026.5.26-beta.2",
4
- "description": "Synology Chat channel plugin for OpenClaw",
3
+ "version": "2026.5.27-beta.1",
4
+ "description": "Synology Chat channel plugin for OpenClaw channels and direct messages.",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/openclaw/openclaw"
@@ -27,10 +27,10 @@
27
27
  "minHostVersion": ">=2026.4.10"
28
28
  },
29
29
  "compat": {
30
- "pluginApi": ">=2026.5.26-beta.2"
30
+ "pluginApi": ">=2026.5.27-beta.1"
31
31
  },
32
32
  "build": {
33
- "openclawVersion": "2026.5.26-beta.2"
33
+ "openclawVersion": "2026.5.27-beta.1"
34
34
  },
35
35
  "release": {
36
36
  "publishToClawHub": true,
@@ -50,7 +50,7 @@
50
50
  "npm-shrinkwrap.json"
51
51
  ],
52
52
  "peerDependencies": {
53
- "openclaw": ">=2026.5.26-beta.2"
53
+ "openclaw": ">=2026.5.27-beta.1"
54
54
  },
55
55
  "peerDependenciesMeta": {
56
56
  "openclaw": {