@elizaos/plugin-commands 2.0.0-beta.1 → 2.0.3-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/index.js DELETED
@@ -1,784 +0,0 @@
1
- // src/index.ts
2
- import {
3
- logger
4
- } from "@elizaos/core";
5
-
6
- // src/registry.ts
7
- var DEFAULT_COMMANDS = [
8
- {
9
- key: "help",
10
- nativeName: "help",
11
- description: "Show available commands",
12
- textAliases: ["/help", "/h", "/?"],
13
- scope: "both",
14
- category: "status",
15
- acceptsArgs: false
16
- },
17
- {
18
- key: "commands",
19
- nativeName: "commands",
20
- description: "List all commands",
21
- textAliases: ["/commands", "/cmds"],
22
- scope: "both",
23
- category: "status",
24
- acceptsArgs: false
25
- },
26
- {
27
- key: "status",
28
- nativeName: "status",
29
- description: "Show current session status",
30
- textAliases: ["/status", "/s"],
31
- scope: "both",
32
- category: "status",
33
- acceptsArgs: false
34
- },
35
- {
36
- key: "context",
37
- nativeName: "context",
38
- description: "Show current context information",
39
- textAliases: ["/context", "/ctx"],
40
- scope: "both",
41
- category: "status",
42
- acceptsArgs: true,
43
- args: [{ name: "mode", description: "Output mode (list, detail, json)" }]
44
- },
45
- {
46
- key: "whoami",
47
- nativeName: "whoami",
48
- description: "Show your identity information",
49
- textAliases: ["/whoami", "/who"],
50
- scope: "both",
51
- category: "status",
52
- acceptsArgs: false
53
- },
54
- {
55
- key: "stop",
56
- nativeName: "stop",
57
- description: "Stop current operation",
58
- textAliases: ["/stop", "/abort", "/cancel"],
59
- scope: "both",
60
- category: "session",
61
- acceptsArgs: false
62
- },
63
- {
64
- key: "restart",
65
- nativeName: "restart",
66
- description: "Restart the session",
67
- textAliases: ["/restart"],
68
- scope: "both",
69
- category: "session",
70
- acceptsArgs: false,
71
- requiresAuth: true
72
- },
73
- {
74
- key: "reset",
75
- nativeName: "reset",
76
- description: "Reset session state",
77
- textAliases: ["/reset"],
78
- scope: "both",
79
- category: "session",
80
- acceptsArgs: false,
81
- requiresAuth: true
82
- },
83
- {
84
- key: "new",
85
- nativeName: "new",
86
- description: "Start a new conversation",
87
- textAliases: ["/new"],
88
- scope: "both",
89
- category: "session",
90
- acceptsArgs: false
91
- },
92
- {
93
- key: "compact",
94
- nativeName: "compact",
95
- description: "Compact conversation history",
96
- textAliases: ["/compact"],
97
- scope: "both",
98
- category: "session",
99
- acceptsArgs: true,
100
- args: [
101
- { name: "instructions", description: "Optional compaction instructions" }
102
- ]
103
- },
104
- {
105
- key: "think",
106
- nativeName: "think",
107
- description: "Set thinking level",
108
- textAliases: ["/think", "/thinking", "/t"],
109
- scope: "both",
110
- category: "options",
111
- acceptsArgs: true,
112
- args: [
113
- { name: "level", description: "off, minimal, low, medium, high, xhigh" }
114
- ]
115
- },
116
- {
117
- key: "verbose",
118
- nativeName: "verbose",
119
- description: "Set verbose output level",
120
- textAliases: ["/verbose", "/v"],
121
- scope: "both",
122
- category: "options",
123
- acceptsArgs: true,
124
- args: [{ name: "level", description: "off, on, full" }]
125
- },
126
- {
127
- key: "reasoning",
128
- nativeName: "reasoning",
129
- description: "Set reasoning visibility",
130
- textAliases: ["/reasoning", "/reason"],
131
- scope: "both",
132
- category: "options",
133
- acceptsArgs: true,
134
- args: [{ name: "level", description: "off, on, stream" }]
135
- },
136
- {
137
- key: "elevated",
138
- nativeName: "elevated",
139
- description: "Set elevated permission mode",
140
- textAliases: ["/elevated", "/elev"],
141
- scope: "both",
142
- category: "options",
143
- acceptsArgs: true,
144
- args: [{ name: "level", description: "off, on, ask, full" }],
145
- requiresAuth: true
146
- },
147
- {
148
- key: "model",
149
- nativeName: "model",
150
- description: "Set or show current model",
151
- textAliases: ["/model", "/m"],
152
- scope: "both",
153
- category: "options",
154
- acceptsArgs: true,
155
- args: [{ name: "model", description: "provider/model or alias" }]
156
- },
157
- {
158
- key: "models",
159
- nativeName: "models",
160
- description: "List available models",
161
- textAliases: ["/models"],
162
- scope: "both",
163
- category: "options",
164
- acceptsArgs: false
165
- },
166
- {
167
- key: "usage",
168
- nativeName: "usage",
169
- description: "Show token usage",
170
- textAliases: ["/usage"],
171
- scope: "both",
172
- category: "options",
173
- acceptsArgs: false
174
- },
175
- {
176
- key: "queue",
177
- nativeName: "queue",
178
- description: "Set queue mode",
179
- textAliases: ["/queue", "/q"],
180
- scope: "both",
181
- category: "options",
182
- acceptsArgs: true,
183
- args: [
184
- {
185
- name: "mode",
186
- description: "steer, followup, collect, interrupt, or options"
187
- }
188
- ]
189
- },
190
- {
191
- key: "allowlist",
192
- nativeName: "allowlist",
193
- description: "Manage sender allowlist",
194
- textAliases: ["/allowlist", "/allow"],
195
- scope: "both",
196
- category: "management",
197
- acceptsArgs: true,
198
- args: [
199
- { name: "action", description: "list, add, remove" },
200
- { name: "value", description: "sender to add/remove" }
201
- ],
202
- requiresAuth: true
203
- },
204
- {
205
- key: "approve",
206
- nativeName: "approve",
207
- description: "Approve or deny a pending action",
208
- textAliases: ["/approve"],
209
- scope: "both",
210
- category: "management",
211
- acceptsArgs: true,
212
- args: [
213
- { name: "id", description: "Approval ID", required: true },
214
- { name: "action", description: "allow-once, allow-always, deny" }
215
- ],
216
- requiresAuth: true
217
- },
218
- {
219
- key: "subagents",
220
- nativeName: "subagents",
221
- description: "Manage subagents",
222
- textAliases: ["/subagents", "/sub"],
223
- scope: "both",
224
- category: "management",
225
- acceptsArgs: true,
226
- args: [{ name: "action", description: "list, stop, log, info, send" }],
227
- requiresAuth: true
228
- },
229
- {
230
- key: "config",
231
- nativeName: "config",
232
- description: "View or set configuration",
233
- textAliases: ["/config", "/cfg"],
234
- scope: "both",
235
- category: "management",
236
- acceptsArgs: true,
237
- args: [
238
- { name: "key", description: "Configuration key" },
239
- { name: "value", description: "Value to set" }
240
- ],
241
- requiresAuth: true,
242
- enabled: false
243
- },
244
- {
245
- key: "debug",
246
- nativeName: "debug",
247
- description: "Debug information",
248
- textAliases: ["/debug"],
249
- scope: "both",
250
- category: "management",
251
- acceptsArgs: true,
252
- requiresAuth: true,
253
- enabled: false
254
- },
255
- {
256
- key: "tts",
257
- nativeName: "tts",
258
- description: "Text-to-speech settings",
259
- textAliases: ["/tts", "/voice"],
260
- scope: "both",
261
- category: "media",
262
- acceptsArgs: true,
263
- args: [
264
- {
265
- name: "action",
266
- description: "on, off, status, provider, limit, audio"
267
- }
268
- ]
269
- },
270
- {
271
- key: "bash",
272
- nativeName: "bash",
273
- description: "Execute shell command",
274
- textAliases: ["/bash", "/sh", "/!"],
275
- scope: "text",
276
- category: "tools",
277
- acceptsArgs: true,
278
- args: [
279
- {
280
- name: "command",
281
- description: "Shell command to execute",
282
- captureRemaining: true
283
- }
284
- ],
285
- requiresAuth: true,
286
- requiresElevated: true
287
- }
288
- ];
289
- var runtimeStores = new Map;
290
- var fallbackStore = {
291
- commands: DEFAULT_COMMANDS.map((c) => ({ ...c })),
292
- aliasMap: null
293
- };
294
- var activeStore = fallbackStore;
295
- function initForRuntime(agentId) {
296
- const store = {
297
- commands: DEFAULT_COMMANDS.map((c) => ({ ...c })),
298
- aliasMap: null
299
- };
300
- runtimeStores.set(agentId, store);
301
- activeStore = store;
302
- }
303
- function useRuntime(agentId) {
304
- const store = runtimeStores.get(agentId);
305
- if (store) {
306
- activeStore = store;
307
- }
308
- }
309
- function getCommands() {
310
- return [...activeStore.commands];
311
- }
312
- function getEnabledCommands() {
313
- return activeStore.commands.filter((cmd) => cmd.enabled !== false);
314
- }
315
- function getCommandsByCategory(category) {
316
- return activeStore.commands.filter((cmd) => cmd.category === category && cmd.enabled !== false);
317
- }
318
- function registerCommand(command) {
319
- activeStore.commands = activeStore.commands.filter((c) => c.key !== command.key);
320
- activeStore.commands.push(command);
321
- activeStore.aliasMap = null;
322
- }
323
- function registerCommands(newCommands) {
324
- for (const command of newCommands) {
325
- registerCommand(command);
326
- }
327
- }
328
- function unregisterCommand(key) {
329
- activeStore.commands = activeStore.commands.filter((c) => c.key !== key);
330
- activeStore.aliasMap = null;
331
- }
332
- function resetCommands() {
333
- activeStore.commands = DEFAULT_COMMANDS.map((c) => ({ ...c }));
334
- activeStore.aliasMap = null;
335
- }
336
- function getAliasMap() {
337
- if (activeStore.aliasMap)
338
- return activeStore.aliasMap;
339
- activeStore.aliasMap = new Map;
340
- for (const command of activeStore.commands) {
341
- if (command.enabled === false)
342
- continue;
343
- for (const alias of command.textAliases) {
344
- const normalized = alias.toLowerCase().trim();
345
- if (!activeStore.aliasMap.has(normalized)) {
346
- activeStore.aliasMap.set(normalized, command);
347
- }
348
- }
349
- }
350
- return activeStore.aliasMap;
351
- }
352
- function findCommandByAlias(alias) {
353
- const map = getAliasMap();
354
- return map.get(alias.toLowerCase().trim());
355
- }
356
- function findCommandByKey(key) {
357
- return activeStore.commands.find((c) => c.key === key);
358
- }
359
- function startsWithCommand(text) {
360
- const map = getAliasMap();
361
- const normalized = text.toLowerCase().trim();
362
- for (const [alias, command] of map) {
363
- if (normalized === alias) {
364
- return command;
365
- }
366
- if (normalized.startsWith(`${alias} `) || normalized.startsWith(`${alias}:`)) {
367
- return command;
368
- }
369
- }
370
- return;
371
- }
372
-
373
- // src/parser.ts
374
- var escapeRegExp = (value) => value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
375
- function hasCommand(text) {
376
- if (!text)
377
- return false;
378
- const trimmed = text.trim();
379
- if (!trimmed.startsWith("/") && !trimmed.startsWith("!"))
380
- return false;
381
- return Boolean(startsWithCommand(trimmed));
382
- }
383
- function detectCommand(text) {
384
- if (!text) {
385
- return { isCommand: false };
386
- }
387
- const trimmed = text.trim();
388
- if (!trimmed.startsWith("/") && !trimmed.startsWith("!")) {
389
- return { isCommand: false };
390
- }
391
- const command = startsWithCommand(trimmed);
392
- if (!command) {
393
- return { isCommand: false };
394
- }
395
- const parsed = parseCommand(trimmed, command);
396
- if (!parsed) {
397
- return { isCommand: false };
398
- }
399
- return { isCommand: true, command: parsed };
400
- }
401
- function parseCommand(text, definition) {
402
- const trimmed = text.trim();
403
- let matchedAlias = null;
404
- for (const alias of definition.textAliases) {
405
- const normalized = alias.toLowerCase();
406
- if (trimmed.toLowerCase() === normalized) {
407
- matchedAlias = alias;
408
- break;
409
- }
410
- if (trimmed.toLowerCase().startsWith(`${normalized} `) || trimmed.toLowerCase().startsWith(`${normalized}:`)) {
411
- matchedAlias = alias;
412
- break;
413
- }
414
- }
415
- if (!matchedAlias) {
416
- return null;
417
- }
418
- let rawArgs = trimmed.slice(matchedAlias.length).trim();
419
- if (rawArgs.startsWith(":")) {
420
- rawArgs = rawArgs.slice(1).trim();
421
- }
422
- const args = parseArgs(rawArgs, definition);
423
- return {
424
- key: definition.key,
425
- canonical: definition.textAliases[0] ?? `/${definition.key}`,
426
- args,
427
- rawArgs: rawArgs || undefined
428
- };
429
- }
430
- function parseArgs(rawArgs, definition) {
431
- if (!rawArgs || !definition.acceptsArgs) {
432
- return [];
433
- }
434
- const parsing = definition.argsParsing ?? "positional";
435
- if (parsing === "none") {
436
- return rawArgs ? [rawArgs] : [];
437
- }
438
- const args = [];
439
- const argDefs = definition.args ?? [];
440
- const tokens = tokenize(rawArgs);
441
- for (let i = 0;i < tokens.length; i++) {
442
- const argDef = argDefs[i];
443
- if (argDef?.captureRemaining) {
444
- args.push(tokens.slice(i).join(" "));
445
- break;
446
- }
447
- args.push(tokens[i]);
448
- }
449
- return args;
450
- }
451
- function tokenize(input) {
452
- const tokens = [];
453
- let current = "";
454
- let inQuote = false;
455
- let quoteChar = "";
456
- for (let i = 0;i < input.length; i++) {
457
- const char = input[i];
458
- if (inQuote) {
459
- if (char === quoteChar) {
460
- inQuote = false;
461
- if (current) {
462
- tokens.push(current);
463
- current = "";
464
- }
465
- } else {
466
- current += char;
467
- }
468
- } else if (char === '"' || char === "'") {
469
- inQuote = true;
470
- quoteChar = char;
471
- } else if (/\s/.test(char)) {
472
- if (current) {
473
- tokens.push(current);
474
- current = "";
475
- }
476
- } else {
477
- current += char;
478
- }
479
- }
480
- if (current) {
481
- tokens.push(current);
482
- }
483
- return tokens;
484
- }
485
- function normalizeCommandBody(text, botMention) {
486
- let normalized = text.trim();
487
- if (botMention) {
488
- const mentionPattern = new RegExp(`^@${escapeRegExp(botMention)}\\s*`, "i");
489
- normalized = normalized.replace(mentionPattern, "");
490
- }
491
- normalized = normalized.replace(/^(\/\w+):\s*/, "$1 ");
492
- return normalized.trim();
493
- }
494
- function isCommandOnly(text) {
495
- const detection = detectCommand(text);
496
- if (!detection.isCommand || !detection.command) {
497
- return false;
498
- }
499
- if (!detection.command.rawArgs) {
500
- return true;
501
- }
502
- return detection.command.rawArgs.trim().length === 0;
503
- }
504
- function extractCommand(text) {
505
- const detection = detectCommand(text);
506
- if (!detection.isCommand || !detection.command) {
507
- return null;
508
- }
509
- const { command } = detection;
510
- if (!command.rawArgs) {
511
- return { command, remainingText: "" };
512
- }
513
- return { command, remainingText: command.rawArgs };
514
- }
515
-
516
- // src/index.ts
517
- var commandRegistryProvider = {
518
- name: "COMMAND_REGISTRY",
519
- description: "Available chat commands and their descriptions",
520
- descriptionCompressed: "Available chat commands and descriptions.",
521
- dynamic: true,
522
- contexts: ["general", "automation"],
523
- contextGate: { anyOf: ["general", "automation"] },
524
- cacheStable: true,
525
- cacheScope: "agent",
526
- async get(runtime, message, _state) {
527
- useRuntime(runtime.agentId);
528
- const text = message.content?.text ?? "";
529
- const isCommand = hasCommand(text);
530
- const commands = getEnabledCommands();
531
- if (isCommand) {
532
- const commandList = commands.map((cmd) => {
533
- const auth = cmd.requiresAuth ? " (requires auth)" : "";
534
- return `- ${cmd.textAliases[0]}: ${cmd.description}${auth}`;
535
- });
536
- return {
537
- text: `The user sent a slash command. Available commands:
538
- ${commandList.join(`
539
- `)}
540
-
541
- IMPORTANT: This is a slash command — respond by executing the matching command action, not with conversational text.`,
542
- values: {
543
- commandCount: commands.length,
544
- isCommand: true,
545
- hasElevatedCommands: commands.some((c) => c.requiresElevated)
546
- },
547
- data: { commands, isCommand: true }
548
- };
549
- }
550
- return {
551
- text: "",
552
- values: {
553
- commandCount: commands.length,
554
- isCommand: false
555
- },
556
- data: { isCommand: false }
557
- };
558
- }
559
- };
560
- function formatCommandResult(result) {
561
- if (result.error) {
562
- return `Error: ${result.error}`;
563
- }
564
- return result.reply ?? "Command executed";
565
- }
566
- function isAuthorized(context, command) {
567
- if (!command.requiresAuth) {
568
- return true;
569
- }
570
- return context.isAuthorized;
571
- }
572
- function isElevated(context, command) {
573
- if (!command.requiresElevated) {
574
- return true;
575
- }
576
- return context.isElevated;
577
- }
578
- var commandsPlugin = {
579
- name: "commands",
580
- description: "Chat command system with /help, /status, /reset, etc.",
581
- providers: [commandRegistryProvider],
582
- autoEnable: {
583
- shouldEnable: (_env, config) => {
584
- const f = config?.features?.commands;
585
- return f === true || typeof f === "object" && f !== null && f.enabled !== false;
586
- }
587
- },
588
- config: {
589
- COMMANDS_ENABLED: "true",
590
- COMMANDS_CONFIG_ENABLED: "false",
591
- COMMANDS_DEBUG_ENABLED: "false",
592
- COMMANDS_BASH_ENABLED: "false",
593
- COMMANDS_RESTART_ENABLED: "true"
594
- },
595
- tests: [
596
- {
597
- name: "command-detection",
598
- tests: [
599
- {
600
- name: "Detect command prefix",
601
- fn: async (_runtime) => {
602
- if (!hasCommand("/help")) {
603
- throw new Error("Should detect /help command");
604
- }
605
- if (!hasCommand("/status test")) {
606
- throw new Error("Should detect /status with args");
607
- }
608
- if (hasCommand("hello world")) {
609
- throw new Error("Should not detect plain text as command");
610
- }
611
- logger.success("Command prefix detection works correctly");
612
- }
613
- },
614
- {
615
- name: "Parse command with args",
616
- fn: async (_runtime) => {
617
- const detection = detectCommand("/think:high");
618
- if (!detection.isCommand) {
619
- throw new Error("Should detect think command");
620
- }
621
- if (detection.command?.key !== "think") {
622
- throw new Error(`Expected key 'think', got '${detection.command?.key}'`);
623
- }
624
- if (detection.command?.args[0] !== "high") {
625
- throw new Error(`Expected arg 'high', got '${detection.command?.args[0]}'`);
626
- }
627
- logger.success("Command argument parsing works correctly");
628
- }
629
- },
630
- {
631
- name: "Normalize command body",
632
- fn: async (_runtime) => {
633
- const normalized1 = normalizeCommandBody("/status: test");
634
- if (normalized1 !== "/status test") {
635
- throw new Error(`Expected '/status test', got '${normalized1}'`);
636
- }
637
- const normalized2 = normalizeCommandBody("@bot /help", "bot");
638
- if (normalized2 !== "/help") {
639
- throw new Error(`Expected '/help', got '${normalized2}'`);
640
- }
641
- logger.success("Command normalization works correctly");
642
- }
643
- },
644
- {
645
- name: "Find command by alias",
646
- fn: async (_runtime) => {
647
- const cmd = findCommandByAlias("/h");
648
- if (!cmd) {
649
- throw new Error("Should find help command by /h alias");
650
- }
651
- if (cmd.key !== "help") {
652
- throw new Error(`Expected key 'help', got '${cmd.key}'`);
653
- }
654
- logger.success("Command alias lookup works correctly");
655
- }
656
- },
657
- {
658
- name: "Find command by key",
659
- fn: async (_runtime) => {
660
- const cmd = findCommandByKey("status");
661
- if (!cmd) {
662
- throw new Error("Should find status command by key");
663
- }
664
- if (cmd.key !== "status") {
665
- throw new Error(`Expected key 'status', got '${cmd.key}'`);
666
- }
667
- logger.success("Command key lookup works correctly");
668
- }
669
- }
670
- ]
671
- },
672
- {
673
- name: "command-registry",
674
- tests: [
675
- {
676
- name: "Get enabled commands",
677
- fn: async (_runtime) => {
678
- const commands = getEnabledCommands();
679
- if (commands.length === 0) {
680
- throw new Error("Should have enabled commands");
681
- }
682
- const cmdHelp = commands.some((c) => c.key === "help");
683
- const cmdStatus = commands.some((c) => c.key === "status");
684
- if (!cmdHelp || !cmdStatus) {
685
- throw new Error("Should have help and status commands");
686
- }
687
- logger.success("Command registry works correctly");
688
- }
689
- },
690
- {
691
- name: "Register custom command",
692
- fn: async (_runtime) => {
693
- const customCmd = {
694
- key: "test-custom",
695
- description: "Test custom command",
696
- textAliases: ["/test-custom", "/tc"],
697
- scope: "text"
698
- };
699
- registerCommand(customCmd);
700
- const found = findCommandByKey("test-custom");
701
- if (!found) {
702
- throw new Error("Should find registered custom command");
703
- }
704
- unregisterCommand("test-custom");
705
- const notFound = findCommandByKey("test-custom");
706
- if (notFound) {
707
- throw new Error("Should not find unregistered command");
708
- }
709
- logger.success("Custom command registration works correctly");
710
- }
711
- },
712
- {
713
- name: "Get commands by category",
714
- fn: async (_runtime) => {
715
- const statusCommands = getCommandsByCategory("status");
716
- if (statusCommands.length === 0) {
717
- throw new Error("Should have status category commands");
718
- }
719
- const allStatus = statusCommands.every((c) => c.category === "status");
720
- if (!allStatus) {
721
- throw new Error("All returned commands should be in status category");
722
- }
723
- logger.success("Command categorization works correctly");
724
- }
725
- }
726
- ]
727
- }
728
- ],
729
- async init(config, runtime) {
730
- logger.log("[plugin-commands] Initializing command system");
731
- initForRuntime(runtime.agentId);
732
- const configEnabled = config.COMMANDS_CONFIG_ENABLED === "true";
733
- const debugEnabled = config.COMMANDS_DEBUG_ENABLED === "true";
734
- const bashEnabled = config.COMMANDS_BASH_ENABLED === "true";
735
- const restartEnabled = config.COMMANDS_RESTART_ENABLED !== "false";
736
- const configCmd = findCommandByKey("config");
737
- if (configCmd) {
738
- configCmd.enabled = configEnabled;
739
- }
740
- const debugCmd = findCommandByKey("debug");
741
- if (debugCmd) {
742
- debugCmd.enabled = debugEnabled;
743
- }
744
- const bashCmd = findCommandByKey("bash");
745
- if (bashCmd) {
746
- bashCmd.enabled = bashEnabled;
747
- }
748
- const restartCmd = findCommandByKey("restart");
749
- if (restartCmd) {
750
- restartCmd.enabled = restartEnabled;
751
- }
752
- const enabledCount = getEnabledCommands().length;
753
- logger.log(`[plugin-commands] ${enabledCount} commands enabled for agent ${runtime.agentId}`);
754
- }
755
- };
756
- var src_default = commandsPlugin;
757
- export {
758
- useRuntime,
759
- unregisterCommand,
760
- startsWithCommand,
761
- resetCommands,
762
- registerCommands,
763
- registerCommand,
764
- parseCommand,
765
- normalizeCommandBody,
766
- isElevated,
767
- isCommandOnly,
768
- isAuthorized,
769
- initForRuntime,
770
- hasCommand,
771
- getEnabledCommands,
772
- getCommandsByCategory,
773
- getCommands,
774
- formatCommandResult,
775
- findCommandByKey,
776
- findCommandByAlias,
777
- extractCommand,
778
- detectCommand,
779
- src_default as default,
780
- commandsPlugin,
781
- commandRegistryProvider
782
- };
783
-
784
- //# debugId=BAB16333EBF522DA64756E2164756E21