2026-03-16 23:51:41 -07:00
|
|
|
import { defineChannelPluginEntry } from "openclaw/plugin-sdk/core";
|
2026-03-15 20:39:37 -07:00
|
|
|
import { synologyChatPlugin } from "./src/channel.js";
|
feat(channels): add Synology Chat native channel (#23012)
* feat(channels): add Synology Chat native channel
Webhook-based integration with Synology NAS Chat (DSM 7+).
Supports outgoing webhooks, incoming messages, multi-account,
DM policies, rate limiting, and input sanitization.
- HMAC-based constant-time token validation
- Configurable SSL verification (allowInsecureSsl) for self-signed NAS certs
- 54 unit tests across 5 test suites
- Follows the same ChannelPlugin pattern as LINE/Discord/Telegram
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat(synology-chat): add pairing, warnings, messaging, agent hints
- Enable media capability (file_url already supported by client)
- Add pairing.notifyApproval to message approved users
- Add security.collectWarnings for missing token/URL, insecure SSL, open DM policy
- Add messaging.normalizeTarget and targetResolver for user ID resolution
- Add directory stubs (self, listPeers, listGroups)
- Add agentPrompt.messageToolHints with Synology Chat formatting guide
- 63 tests (up from 54), all passing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 00:09:58 +01:00
|
|
|
import { setSynologyRuntime } from "./src/runtime.js";
|
|
|
|
|
|
2026-03-17 09:33:17 -07:00
|
|
|
export { synologyChatPlugin } from "./src/channel.js";
|
|
|
|
|
export { setSynologyRuntime } from "./src/runtime.js";
|
|
|
|
|
|
2026-03-16 23:51:41 -07:00
|
|
|
export default defineChannelPluginEntry({
|
feat(channels): add Synology Chat native channel (#23012)
* feat(channels): add Synology Chat native channel
Webhook-based integration with Synology NAS Chat (DSM 7+).
Supports outgoing webhooks, incoming messages, multi-account,
DM policies, rate limiting, and input sanitization.
- HMAC-based constant-time token validation
- Configurable SSL verification (allowInsecureSsl) for self-signed NAS certs
- 54 unit tests across 5 test suites
- Follows the same ChannelPlugin pattern as LINE/Discord/Telegram
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat(synology-chat): add pairing, warnings, messaging, agent hints
- Enable media capability (file_url already supported by client)
- Add pairing.notifyApproval to message approved users
- Add security.collectWarnings for missing token/URL, insecure SSL, open DM policy
- Add messaging.normalizeTarget and targetResolver for user ID resolution
- Add directory stubs (self, listPeers, listGroups)
- Add agentPrompt.messageToolHints with Synology Chat formatting guide
- 63 tests (up from 54), all passing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 00:09:58 +01:00
|
|
|
id: "synology-chat",
|
|
|
|
|
name: "Synology Chat",
|
|
|
|
|
description: "Native Synology Chat channel plugin for OpenClaw",
|
2026-03-16 23:51:41 -07:00
|
|
|
plugin: synologyChatPlugin,
|
|
|
|
|
setRuntime: setSynologyRuntime,
|
|
|
|
|
});
|