@songsid/agend-plugin-discord 0.0.24-beta.1 → 0.0.24-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/dist/discord-adapter.js
CHANGED
|
@@ -280,26 +280,26 @@ export class DiscordAdapter extends EventEmitter {
|
|
|
280
280
|
// Register classic bot slash commands
|
|
281
281
|
try {
|
|
282
282
|
await this.client.application?.commands.set([
|
|
283
|
-
{ name: "start", description: "Start an agent in this channel" },
|
|
284
|
-
{ name: "stop", description: "Stop the agent in this channel" },
|
|
283
|
+
{ name: "start", description: "[ClassicBot] Start an agent in this channel" },
|
|
284
|
+
{ name: "stop", description: "[ClassicBot] Stop the agent in this channel" },
|
|
285
285
|
{
|
|
286
|
-
name: "chat", description: "Send a message to the agent",
|
|
286
|
+
name: "chat", description: "[ClassicBot] Send a message to the agent",
|
|
287
287
|
options: [{ name: "message", description: "Your message", type: 3, required: true }],
|
|
288
288
|
},
|
|
289
|
-
{ name: "compact", description: "Compact the agent's context window" },
|
|
289
|
+
{ name: "compact", description: "[ClassicBot] Compact the agent's context window" },
|
|
290
290
|
{
|
|
291
|
-
name: "save", description: "Save the agent's conversation",
|
|
291
|
+
name: "save", description: "[ClassicBot] Save the agent's conversation",
|
|
292
292
|
options: [
|
|
293
293
|
{ name: "filename", description: "File name to save as", type: 3, required: true },
|
|
294
294
|
{ name: "force", description: "Overwrite if file exists", type: 5, required: false },
|
|
295
295
|
],
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
|
-
name: "load", description: "Load a saved conversation",
|
|
298
|
+
name: "load", description: "[ClassicBot] Load a saved conversation",
|
|
299
299
|
options: [{ name: "filename", description: "File name to load", type: 3, required: true }],
|
|
300
300
|
},
|
|
301
|
-
{ name: "ctx", description: "Show agent context usage" },
|
|
302
|
-
{ name: "collab", description: "Toggle collaboration mode (@mention trigger)" },
|
|
301
|
+
{ name: "ctx", description: "[ClassicBot] Show agent context usage" },
|
|
302
|
+
{ name: "collab", description: "[ClassicBot] Toggle collaboration mode (@mention trigger)" },
|
|
303
303
|
]);
|
|
304
304
|
}
|
|
305
305
|
catch (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@songsid/agend-plugin-discord",
|
|
3
|
-
"version": "0.0.24-beta.
|
|
3
|
+
"version": "0.0.24-beta.2",
|
|
4
4
|
"description": "Discord channel adapter plugin for AgEnD",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build": "tsc"
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@songsid/agend": ">=0.0.24-beta.
|
|
12
|
+
"@songsid/agend": ">=0.0.24-beta.2"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"discord.js": "^14.25.1"
|
package/src/discord-adapter.ts
CHANGED
|
@@ -310,26 +310,26 @@ export class DiscordAdapter extends EventEmitter implements ChannelAdapter {
|
|
|
310
310
|
// Register classic bot slash commands
|
|
311
311
|
try {
|
|
312
312
|
await this.client.application?.commands.set([
|
|
313
|
-
{ name: "start", description: "Start an agent in this channel" },
|
|
314
|
-
{ name: "stop", description: "Stop the agent in this channel" },
|
|
313
|
+
{ name: "start", description: "[ClassicBot] Start an agent in this channel" },
|
|
314
|
+
{ name: "stop", description: "[ClassicBot] Stop the agent in this channel" },
|
|
315
315
|
{
|
|
316
|
-
name: "chat", description: "Send a message to the agent",
|
|
316
|
+
name: "chat", description: "[ClassicBot] Send a message to the agent",
|
|
317
317
|
options: [{ name: "message", description: "Your message", type: 3, required: true }],
|
|
318
318
|
},
|
|
319
|
-
{ name: "compact", description: "Compact the agent's context window" },
|
|
319
|
+
{ name: "compact", description: "[ClassicBot] Compact the agent's context window" },
|
|
320
320
|
{
|
|
321
|
-
name: "save", description: "Save the agent's conversation",
|
|
321
|
+
name: "save", description: "[ClassicBot] Save the agent's conversation",
|
|
322
322
|
options: [
|
|
323
323
|
{ name: "filename", description: "File name to save as", type: 3, required: true },
|
|
324
324
|
{ name: "force", description: "Overwrite if file exists", type: 5, required: false },
|
|
325
325
|
],
|
|
326
326
|
},
|
|
327
327
|
{
|
|
328
|
-
name: "load", description: "Load a saved conversation",
|
|
328
|
+
name: "load", description: "[ClassicBot] Load a saved conversation",
|
|
329
329
|
options: [{ name: "filename", description: "File name to load", type: 3, required: true }],
|
|
330
330
|
},
|
|
331
|
-
{ name: "ctx", description: "Show agent context usage" },
|
|
332
|
-
{ name: "collab", description: "Toggle collaboration mode (@mention trigger)" },
|
|
331
|
+
{ name: "ctx", description: "[ClassicBot] Show agent context usage" },
|
|
332
|
+
{ name: "collab", description: "[ClassicBot] Toggle collaboration mode (@mention trigger)" },
|
|
333
333
|
]);
|
|
334
334
|
} catch (err) {
|
|
335
335
|
// Non-fatal — slash commands may fail on network issues
|