@kodelyth/synology-chat 2026.5.39
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/api.js +7 -0
- package/channel-plugin-api.js +7 -0
- package/contract-api.js +7 -0
- package/index.js +7 -0
- package/klaw.plugin.json +43 -0
- package/package.json +46 -0
- package/setup-api.js +7 -0
- package/setup-entry.js +7 -0
package/api.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "../../../dist/extensions/synology-chat/api.js";
|
|
2
|
+
import * as module from "../../../dist/extensions/synology-chat/api.js";
|
|
3
|
+
let defaultExport = "default" in module ? module.default : module;
|
|
4
|
+
for (let index = 0; index < 4 && defaultExport && typeof defaultExport === "object" && "default" in defaultExport; index += 1) {
|
|
5
|
+
defaultExport = defaultExport.default;
|
|
6
|
+
}
|
|
7
|
+
export { defaultExport as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "../../../dist/extensions/synology-chat/channel-plugin-api.js";
|
|
2
|
+
import * as module from "../../../dist/extensions/synology-chat/channel-plugin-api.js";
|
|
3
|
+
let defaultExport = "default" in module ? module.default : module;
|
|
4
|
+
for (let index = 0; index < 4 && defaultExport && typeof defaultExport === "object" && "default" in defaultExport; index += 1) {
|
|
5
|
+
defaultExport = defaultExport.default;
|
|
6
|
+
}
|
|
7
|
+
export { defaultExport as default };
|
package/contract-api.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "../../../dist/extensions/synology-chat/contract-api.js";
|
|
2
|
+
import * as module from "../../../dist/extensions/synology-chat/contract-api.js";
|
|
3
|
+
let defaultExport = "default" in module ? module.default : module;
|
|
4
|
+
for (let index = 0; index < 4 && defaultExport && typeof defaultExport === "object" && "default" in defaultExport; index += 1) {
|
|
5
|
+
defaultExport = defaultExport.default;
|
|
6
|
+
}
|
|
7
|
+
export { defaultExport as default };
|
package/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "../../../dist/extensions/synology-chat/index.js";
|
|
2
|
+
import defaultModule from "../../../dist/extensions/synology-chat/index.js";
|
|
3
|
+
let defaultExport = defaultModule;
|
|
4
|
+
for (let index = 0; index < 4 && defaultExport && typeof defaultExport === "object" && "default" in defaultExport; index += 1) {
|
|
5
|
+
defaultExport = defaultExport.default;
|
|
6
|
+
}
|
|
7
|
+
export { defaultExport as default };
|
package/klaw.plugin.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "synology-chat",
|
|
3
|
+
"activation": {
|
|
4
|
+
"onStartup": false
|
|
5
|
+
},
|
|
6
|
+
"channels": [
|
|
7
|
+
"synology-chat"
|
|
8
|
+
],
|
|
9
|
+
"channelEnvVars": {
|
|
10
|
+
"synology-chat": [
|
|
11
|
+
"SYNOLOGY_CHAT_TOKEN",
|
|
12
|
+
"SYNOLOGY_CHAT_INCOMING_URL",
|
|
13
|
+
"SYNOLOGY_NAS_HOST",
|
|
14
|
+
"SYNOLOGY_ALLOWED_USER_IDS",
|
|
15
|
+
"SYNOLOGY_RATE_LIMIT",
|
|
16
|
+
"KLAW_BOT_NAME"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"configSchema": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"properties": {}
|
|
23
|
+
},
|
|
24
|
+
"channelConfigs": {
|
|
25
|
+
"synology-chat": {
|
|
26
|
+
"schema": {
|
|
27
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"dangerouslyAllowNameMatching": {
|
|
31
|
+
"type": "boolean"
|
|
32
|
+
},
|
|
33
|
+
"dangerouslyAllowInheritedWebhookPath": {
|
|
34
|
+
"type": "boolean"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"additionalProperties": {}
|
|
38
|
+
},
|
|
39
|
+
"label": "Synology Chat",
|
|
40
|
+
"description": "Connect your Synology NAS Chat to Klaw with full agent capabilities."
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@kodelyth/synology-chat",
|
|
3
|
+
"version": "2026.5.39",
|
|
4
|
+
"description": "Synology Chat channel plugin for Klaw",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/kodelyth/klaw"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"devDependencies": {
|
|
11
|
+
"@kodelyth/plugin-sdk": "1.0.1"
|
|
12
|
+
},
|
|
13
|
+
"klaw": {
|
|
14
|
+
"extensions": [
|
|
15
|
+
"./index.js"
|
|
16
|
+
],
|
|
17
|
+
"setupEntry": "./setup-entry.js",
|
|
18
|
+
"channel": {
|
|
19
|
+
"id": "synology-chat",
|
|
20
|
+
"label": "Synology Chat",
|
|
21
|
+
"selectionLabel": "Synology Chat (Webhook)",
|
|
22
|
+
"docsPath": "/channels/synology-chat",
|
|
23
|
+
"docsLabel": "synology-chat",
|
|
24
|
+
"blurb": "Connect your Synology NAS Chat to Klaw with full agent capabilities.",
|
|
25
|
+
"order": 90
|
|
26
|
+
},
|
|
27
|
+
"install": {
|
|
28
|
+
"npmSpec": "@kodelyth/synology-chat",
|
|
29
|
+
"defaultChoice": "npm",
|
|
30
|
+
"minHostVersion": ">=2026.4.10"
|
|
31
|
+
},
|
|
32
|
+
"compat": {
|
|
33
|
+
"pluginApi": ">=2026.5.39"
|
|
34
|
+
},
|
|
35
|
+
"build": {
|
|
36
|
+
"klawVersion": "2026.5.39"
|
|
37
|
+
},
|
|
38
|
+
"release": {
|
|
39
|
+
"publishToClawHub": true,
|
|
40
|
+
"publishToNpm": true
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"zod": "4.4.3"
|
|
45
|
+
}
|
|
46
|
+
}
|
package/setup-api.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "../../../dist/extensions/synology-chat/setup-api.js";
|
|
2
|
+
import * as module from "../../../dist/extensions/synology-chat/setup-api.js";
|
|
3
|
+
let defaultExport = "default" in module ? module.default : module;
|
|
4
|
+
for (let index = 0; index < 4 && defaultExport && typeof defaultExport === "object" && "default" in defaultExport; index += 1) {
|
|
5
|
+
defaultExport = defaultExport.default;
|
|
6
|
+
}
|
|
7
|
+
export { defaultExport as default };
|
package/setup-entry.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "../../../dist/extensions/synology-chat/setup-entry.js";
|
|
2
|
+
import defaultModule from "../../../dist/extensions/synology-chat/setup-entry.js";
|
|
3
|
+
let defaultExport = defaultModule;
|
|
4
|
+
for (let index = 0; index < 4 && defaultExport && typeof defaultExport === "object" && "default" in defaultExport; index += 1) {
|
|
5
|
+
defaultExport = defaultExport.default;
|
|
6
|
+
}
|
|
7
|
+
export { defaultExport as default };
|