@elizaos/plugin-slack 2.0.0-alpha
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/index.js +3211 -0
- package/dist/index.js.map +28 -0
- package/package.json +119 -0
package/package.json
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@elizaos/plugin-slack",
|
|
3
|
+
"version": "2.0.0-alpha",
|
|
4
|
+
"description": "Slack integration plugin for ElizaOS agents with Socket Mode support",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"module": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/elizaos-plugins/plugin-slack.git"
|
|
13
|
+
},
|
|
14
|
+
"exports": {
|
|
15
|
+
"./package.json": "./package.json",
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"import": "./dist/index.js",
|
|
19
|
+
"default": "./dist/index.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"keywords": [
|
|
26
|
+
"elizaos",
|
|
27
|
+
"plugin",
|
|
28
|
+
"slack",
|
|
29
|
+
"chat",
|
|
30
|
+
"messaging"
|
|
31
|
+
],
|
|
32
|
+
"author": "elizaOS",
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "bun run build.ts",
|
|
36
|
+
"build:ts": "bun run build.ts",
|
|
37
|
+
"dev": "bun --hot build.ts",
|
|
38
|
+
"clean": "rm -rf dist .turbo node_modules",
|
|
39
|
+
"test": "vitest run",
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
41
|
+
"lint": "bunx @biomejs/biome check --write --unsafe .",
|
|
42
|
+
"lint:check": "bunx @biomejs/biome check .",
|
|
43
|
+
"format": "bunx @biomejs/biome format --write .",
|
|
44
|
+
"format:check": "bunx @biomejs/biome format ."
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@slack/bolt": "^4.1.0",
|
|
48
|
+
"@slack/web-api": "^7.7.0",
|
|
49
|
+
"@elizaos/core": "workspace:*",
|
|
50
|
+
"zod": "^4.3.6"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/node": "^25.0.3",
|
|
54
|
+
"typescript": "^5.9.3",
|
|
55
|
+
"@biomejs/biome": "^2.3.11"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"@elizaos/core": "workspace:*"
|
|
59
|
+
},
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"access": "public"
|
|
62
|
+
},
|
|
63
|
+
"agentConfig": {
|
|
64
|
+
"pluginType": "elizaos:plugin:1.0.0",
|
|
65
|
+
"pluginParameters": {
|
|
66
|
+
"SLACK_BOT_TOKEN": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "Slack Bot Token (xoxb-...) for API authentication",
|
|
69
|
+
"required": true,
|
|
70
|
+
"sensitive": true
|
|
71
|
+
},
|
|
72
|
+
"SLACK_APP_TOKEN": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "Slack App Token (xapp-...) for Socket Mode connections",
|
|
75
|
+
"required": true,
|
|
76
|
+
"sensitive": true
|
|
77
|
+
},
|
|
78
|
+
"SLACK_SIGNING_SECRET": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Slack Signing Secret for verifying requests",
|
|
81
|
+
"required": false,
|
|
82
|
+
"sensitive": true
|
|
83
|
+
},
|
|
84
|
+
"SLACK_USER_TOKEN": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "Optional User Token (xoxp-...) for enhanced permissions",
|
|
87
|
+
"required": false,
|
|
88
|
+
"sensitive": true
|
|
89
|
+
},
|
|
90
|
+
"SLACK_CHANNEL_IDS": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "Comma-separated list of channel IDs to restrict the bot to",
|
|
93
|
+
"required": false,
|
|
94
|
+
"sensitive": false
|
|
95
|
+
},
|
|
96
|
+
"SLACK_SHOULD_IGNORE_BOT_MESSAGES": {
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"description": "If true, the bot will ignore messages from other bots",
|
|
99
|
+
"required": false,
|
|
100
|
+
"sensitive": false
|
|
101
|
+
},
|
|
102
|
+
"SLACK_SHOULD_RESPOND_ONLY_TO_MENTIONS": {
|
|
103
|
+
"type": "boolean",
|
|
104
|
+
"description": "If true, the bot will only respond when mentioned",
|
|
105
|
+
"required": false,
|
|
106
|
+
"sensitive": false
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"milaidy": {
|
|
111
|
+
"platforms": [
|
|
112
|
+
"node"
|
|
113
|
+
],
|
|
114
|
+
"runtime": "node",
|
|
115
|
+
"platformDetails": {
|
|
116
|
+
"node": "Default export (Node.js)"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|