|
|
|
@ -47,6 +47,7 @@ export class CommandService {
|
|
|
|
private static async processTareaCommand(
|
|
|
|
private static async processTareaCommand(
|
|
|
|
context: CommandContext
|
|
|
|
context: CommandContext
|
|
|
|
): Promise<CommandResponse[]> {
|
|
|
|
): Promise<CommandResponse[]> {
|
|
|
|
|
|
|
|
return [];
|
|
|
|
const trimmed = (context.message || '').trim();
|
|
|
|
const trimmed = (context.message || '').trim();
|
|
|
|
const tokens = trimmed.split(/\s+/);
|
|
|
|
const tokens = trimmed.split(/\s+/);
|
|
|
|
const rawAction = (tokens[1] || '').toLowerCase();
|
|
|
|
const rawAction = (tokens[1] || '').toLowerCase();
|
|
|
|
@ -1116,7 +1117,7 @@ Puedes interactuar escribiéndome por privado:
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
const routed = await routeCommand(context, { db: this.dbInstance });
|
|
|
|
const routed = await routeCommand(context, { db: this.dbInstance });
|
|
|
|
const responses = routed ?? (await this.processTareaCommand(context));
|
|
|
|
const responses = routed ?? [];
|
|
|
|
|
|
|
|
|
|
|
|
// Clasificación explícita del outcome (evita lógica en server)
|
|
|
|
// Clasificación explícita del outcome (evita lógica en server)
|
|
|
|
const tokens = msg.split(/\s+/);
|
|
|
|
const tokens = msg.split(/\s+/);
|
|
|
|
|