@openclaw/synology-chat 2026.5.30-beta.1 → 2026.5.31-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/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # OpenClaw Synology Chat
2
+
3
+ Official OpenClaw channel plugin for Synology Chat conversations and direct messages.
4
+
5
+ Install from OpenClaw:
6
+
7
+ ```bash
8
+ openclaw plugin add @openclaw/synology-chat
9
+ ```
10
+
11
+ Configure Synology Chat credentials and allowed conversations in OpenClaw, then use the plugin to route messages between Synology Chat and OpenClaw agents.
package/dist/api.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as setSynologyRuntime, t as synologyChatPlugin } from "./channel-QhDg_L89.js";
1
+ import { n as setSynologyRuntime, t as synologyChatPlugin } from "./channel-CKsBuWtg.js";
2
2
  import { t as collectSynologyChatSecurityAuditFindings } from "./security-audit-DIsaxIaB.js";
3
3
  export { collectSynologyChatSecurityAuditFindings, setSynologyRuntime, synologyChatPlugin };
@@ -8,7 +8,7 @@ import { composeWarningCollectors, createConditionalWarningCollector, projectAcc
8
8
  import { createEmptyChannelDirectoryAdapter } from "openclaw/plugin-sdk/directory-runtime";
9
9
  import { normalizeLowercaseStringOrEmpty, normalizeStringEntriesLower } from "openclaw/plugin-sdk/string-coerce-runtime";
10
10
  import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1 } from "openclaw/plugin-sdk/account-resolution";
11
- import { parseStrictNonNegativeInteger } from "openclaw/plugin-sdk/number-runtime";
11
+ import { finiteSecondsToTimerSafeMilliseconds, parseStrictNonNegativeInteger } from "openclaw/plugin-sdk/number-runtime";
12
12
  import { createResolvedApproverActionAuthAdapter, resolveApprovalApprovers } from "openclaw/plugin-sdk/approval-auth-runtime";
13
13
  import * as http from "node:http";
14
14
  import * as https from "node:https";
@@ -443,8 +443,9 @@ function sanitizeInput(text) {
443
443
  var RateLimiter = class {
444
444
  constructor(limit = 30, windowSeconds = 60, maxTrackedUsers = 5e3) {
445
445
  this.limit = limit;
446
+ const windowMs = finiteSecondsToTimerSafeMilliseconds(windowSeconds) ?? 1;
446
447
  this.limiter = createFixedWindowRateLimiter({
447
- windowMs: Math.max(1, Math.floor(windowSeconds * 1e3)),
448
+ windowMs,
448
449
  maxRequests: Math.max(1, Math.floor(limit)),
449
450
  maxTrackedKeys: Math.max(1, Math.floor(maxTrackedUsers))
450
451
  });
@@ -1,2 +1,2 @@
1
- import { t as synologyChatPlugin } from "./channel-QhDg_L89.js";
1
+ import { t as synologyChatPlugin } from "./channel-CKsBuWtg.js";
2
2
  export { synologyChatPlugin };
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/synology-chat",
3
- "version": "2026.5.30-beta.1",
3
+ "version": "2026.5.31-beta.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/synology-chat",
9
- "version": "2026.5.30-beta.1",
9
+ "version": "2026.5.31-beta.2",
10
10
  "dependencies": {
11
11
  "zod": "4.4.3"
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/synology-chat",
3
- "version": "2026.5.30-beta.1",
3
+ "version": "2026.5.31-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.5.30-beta.1"
30
+ "pluginApi": ">=2026.5.31-beta.2"
31
31
  },
32
32
  "build": {
33
- "openclawVersion": "2026.5.30-beta.1"
33
+ "openclawVersion": "2026.5.31-beta.2"
34
34
  },
35
35
  "release": {
36
36
  "publishToClawHub": true,
@@ -47,10 +47,11 @@
47
47
  "files": [
48
48
  "dist/**",
49
49
  "openclaw.plugin.json",
50
- "npm-shrinkwrap.json"
50
+ "npm-shrinkwrap.json",
51
+ "README.md"
51
52
  ],
52
53
  "peerDependencies": {
53
- "openclaw": ">=2026.5.30-beta.1"
54
+ "openclaw": ">=2026.5.31-beta.2"
54
55
  },
55
56
  "peerDependenciesMeta": {
56
57
  "openclaw": {