@cmdop/bot 2026.2.26 → 2026.3.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/README.md +10 -3
- package/dist/index.cjs +380 -171
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +100 -63
- package/dist/index.d.ts +100 -63
- package/dist/index.js +380 -171
- package/dist/index.js.map +1 -1
- package/examples/discord.ts +1 -1
- package/examples/multi-channel.ts +1 -1
- package/examples/slack.ts +1 -1
- package/examples/telegram.ts +1 -1
- package/package.json +5 -3
package/examples/discord.ts
CHANGED
|
@@ -47,7 +47,7 @@ async function main() {
|
|
|
47
47
|
|
|
48
48
|
await hub.start();
|
|
49
49
|
console.log('✅ Discord bot running. Press Ctrl+C to stop.');
|
|
50
|
-
console.log('Slash commands: /exec /agent /files /help\n');
|
|
50
|
+
console.log('Slash commands: /exec /agent /skills /files /help\n');
|
|
51
51
|
|
|
52
52
|
async function shutdown(signal: string) {
|
|
53
53
|
console.log(`\n${signal} received, shutting down...`);
|
|
@@ -85,7 +85,7 @@ async function main() {
|
|
|
85
85
|
console.log(`✅ IntegrationHub started (${running.length}/${hub.channelCount} channels running)`);
|
|
86
86
|
if (running.length > 0) console.log(` Running: ${running.join(', ')}`);
|
|
87
87
|
if (failed.length > 0) console.warn(` ⚠️ Failed: ${failed.join(', ')}`);
|
|
88
|
-
console.log('Commands: /exec /agent /files /help\n');
|
|
88
|
+
console.log('Commands: /exec /agent /skills /files /help\n');
|
|
89
89
|
|
|
90
90
|
// ─── Graceful shutdown ────────────────────────────────────────────────────
|
|
91
91
|
async function shutdown(signal: string) {
|
package/examples/slack.ts
CHANGED
|
@@ -48,7 +48,7 @@ async function main() {
|
|
|
48
48
|
|
|
49
49
|
await hub.start();
|
|
50
50
|
console.log('✅ Slack bot running (Socket Mode). Press Ctrl+C to stop.');
|
|
51
|
-
console.log('Commands: /exec /agent /files /help\n');
|
|
51
|
+
console.log('Commands: /exec /agent /skills /files /help\n');
|
|
52
52
|
|
|
53
53
|
async function shutdown(signal: string) {
|
|
54
54
|
console.log(`\n${signal} received, shutting down...`);
|
package/examples/telegram.ts
CHANGED
|
@@ -35,7 +35,7 @@ async function main() {
|
|
|
35
35
|
|
|
36
36
|
await hub.start();
|
|
37
37
|
console.log('✅ Telegram bot running. Press Ctrl+C to stop.');
|
|
38
|
-
console.log('Available commands: /exec /agent /files /help\n');
|
|
38
|
+
console.log('Available commands: /exec /agent /skills /files /help\n');
|
|
39
39
|
|
|
40
40
|
async function shutdown(signal: string) {
|
|
41
41
|
console.log(`\n${signal} received, shutting down...`);
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cmdop/bot",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.3.1",
|
|
4
4
|
"description": "CMDOP multi-channel bot integrations — Telegram, Discord, Slack, Teams, and more",
|
|
5
5
|
"author": "CMDOP <dev@cmdop.com>",
|
|
6
|
-
"homepage": "https://cmdop.com/sdk/bot
|
|
6
|
+
"homepage": "https://cmdop.com/sdk/python/bot",
|
|
7
|
+
"documentation": "https://cmdop.com/docs/sdk/node/bot",
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
9
10
|
"url": "https://github.com/commandoperator/cmdop-sdk-js.git",
|
|
@@ -34,7 +35,8 @@
|
|
|
34
35
|
"CHANGELOG.md"
|
|
35
36
|
],
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@cmdop/node": "^2026.
|
|
38
|
+
"@cmdop/node": "^2026.3.1",
|
|
39
|
+
"consola": "^3.4.2",
|
|
38
40
|
"zod": "^4"
|
|
39
41
|
},
|
|
40
42
|
"peerDependencies": {
|