@expertcustom/mcp-chatbot-core 1.2.0 → 1.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expertcustom/mcp-chatbot-core",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "MCP server com as tools core do Aurora: memoria temporaria, WhatsApp via WAHA, detector de reset de contexto e criacao de agendamentos",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -103,10 +103,11 @@ const inputSchema = {
103
103
  ),
104
104
  preset: z
105
105
  .object({
106
- kind: z.enum(['hourly', 'daily', 'weekly', 'monthly', 'once']),
106
+ kind: z.enum(['in', 'hourly', 'daily', 'weekly', 'monthly', 'once']),
107
+ minutes: z.number().int().min(1).optional(),
107
108
  everyHours: z.number().int().min(1).max(23).optional(),
108
109
  hour: z.number().int().min(0).max(23).optional(),
109
- minute: z.number().int().min(0).max(59),
110
+ minute: z.number().int().min(0).max(59).optional(),
110
111
  weekday: z.number().int().min(0).max(6).optional(),
111
112
  day: z.number().int().min(1).max(28).optional(),
112
113
  date: z.string().optional(),
@@ -114,13 +115,15 @@ const inputSchema = {
114
115
  .strict()
115
116
  .describe(
116
117
  'Preset de quando executar. Estrutura varia por kind:\n' +
117
- '- once (UMA VEZ ): { kind, date "YYYY-MM-DD" (futura), hour (0-23), minute } — executa 1x e para\n' +
118
+ '- in (DAQUI A X — tempo RELATIVO): { kind: "in", minutes: N } — executa 1x daqui a N minutos. ' +
119
+ 'USE ISSO para "daqui 2 minutos", "em 30 min", "daqui 2 horas" (=120). Você NÃO precisa saber a hora atual — o sistema calcula.\n' +
120
+ '- once (data ABSOLUTA): { kind, date "YYYY-MM-DD" (futura), hour (0-23), minute } — executa 1x na data exata\n' +
118
121
  '- hourly: { kind, everyHours (1-23), minute }\n' +
119
122
  '- daily: { kind, hour (0-23), minute }\n' +
120
123
  '- weekly: { kind, weekday (0-6), hour, minute }\n' +
121
124
  '- monthly: { kind, day (1-28), hour, minute }\n' +
122
- 'Use "once" para ações pontuais (lembrete/follow-up em data específica); ' +
123
- 'os demais para tarefas que se repetem.',
125
+ 'REGRA: "daqui a X" / "em X min/horas" SEMPRE "in" (nunca tente adivinhar a hora atual). ' +
126
+ '"amanhã/dia X às H" "once". Repetições → daily/weekly/monthly.',
124
127
  ),
125
128
  }
126
129