n8n-nodes-tembory 1.0.53 → 1.0.55

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.
@@ -1453,6 +1453,10 @@ const applyOperationalPreset = (advanced = {}) => {
1453
1453
  if (resolved.useVectorMemory === false) {
1454
1454
  resolved.includeRelations = false;
1455
1455
  resolved.includeEntityTimeline = false;
1456
+ resolved.includeToolLedgerProbe = false;
1457
+ resolved.includeRecentMessageProbe = false;
1458
+ if (resolved.summarySource === 'vectorOnly' || resolved.summarySource === 'vectors')
1459
+ resolved.summarySource = 'activeContext';
1456
1460
  }
1457
1461
  return resolved;
1458
1462
  };
@@ -2237,7 +2241,7 @@ const invokeConnectedModelSummary = async (connectedLanguageModel, summaryInput,
2237
2241
  const response = await connectedLanguageModel.invoke([
2238
2242
  toBaseMessage({
2239
2243
  role: 'user',
2240
- content: `Update the Tembory active summary for the next agent turn. Return only concise Portuguese bullets, no JSON and no markdown table. Preserve IDs, dates, tool names, confirmed decisions, pending actions, constraints, contradictions, and do-not-repeat instructions. Prefer durable useful context over raw logs. Do not invent facts.\n\nContext:\n${summaryInput}`,
2244
+ content: `Update the Tembory active summary for the next agent turn. Return only concise Portuguese bullets, no JSON and no markdown table. Preserve IDs, dates, tool names, confirmed decisions, explicit pending actions, constraints, contradictions, and do-not-repeat instructions. Prefer durable useful context over raw logs. Do not invent facts. Treat inferred gaps or missing details as read-only observations, not action requirements, unless they are explicitly present in tool_state, action_ledger, working_memory.next_expected_action, or the current user message. Do not convert observations, guesses, or helpful suggestions into blocking pending actions.\n\nContext:\n${summaryInput}`,
2241
2245
  }),
2242
2246
  ]);
2243
2247
  return cleanModelSummaryText(response, Number(adv.connectedModelSummaryMaxChars || 1200));
@@ -2700,13 +2704,13 @@ class Mem0Memory {
2700
2704
  name: 'retrievalMode',
2701
2705
  type: 'options',
2702
2706
  options: [
2703
- { name: 'Básico', value: 'basic', description: 'Retorna memórias brutas (recentes ou todas)' },
2707
+ { name: 'Operacional Estruturado', value: 'basic', description: 'Usa estado da thread, histórico de tools, mensagens recentes e resumo ativo, sem busca vetorial' },
2704
2708
  { name: 'Resumo', value: 'summary', description: 'Retorna um resumo simples em texto' },
2705
2709
  { name: 'Semântico (v1)', value: 'semantic', description: 'Busca semântica usando o endpoint v1 com opção de rerank' },
2706
2710
  { name: 'Semântico (v2)', value: 'semanticV2', description: 'Busca semântica avançada com filtros (v2)' },
2707
2711
  { name: 'Híbrido', value: 'hybrid', description: 'Combina memórias recentes com busca semântica (v2) usando time-decay e pontuação híbrida' },
2708
2712
  ],
2709
- default: 'hybrid',
2713
+ default: 'basic',
2710
2714
  },
2711
2715
  {
2712
2716
  displayName: 'Consulta',
@@ -2792,14 +2796,9 @@ class Mem0Memory {
2792
2796
  { displayName: 'Últimas N Mensagens', name: 'recentMessagesLastN', type: 'number', default: 50 },
2793
2797
  { displayName: 'Incluir Highlights Recentes', name: 'includeRecentHighlights', type: 'boolean', default: false },
2794
2798
  { displayName: 'Máximo de Highlights', name: 'recentHighlightsMaxItems', type: 'number', default: 6 },
2795
- { displayName: 'Incluir Grafo', name: 'includeRelations', type: 'boolean', default: false },
2796
- { displayName: 'Máximo de Relações', name: 'maxRelations', type: 'number', default: 10 },
2797
2799
  { displayName: 'Incluir Action Ledger', name: 'includeActionLedger', type: 'boolean', default: true },
2798
2800
  { displayName: 'Incluir Entity Timeline', name: 'includeEntityTimeline', type: 'boolean', default: false },
2799
- { displayName: 'Usar Memória Vetorial no Caminho Quente', name: 'useVectorMemory', type: 'boolean', default: false },
2800
2801
  { displayName: 'Persistir Memórias no Backend', name: 'persistBackendMemories', type: 'boolean', default: true },
2801
- { displayName: 'Probe Vetorial de Mensagens Recentes', name: 'includeRecentMessageProbe', type: 'boolean', default: false },
2802
- { displayName: 'Probe Vetorial de Tool Ledger', name: 'includeToolLedgerProbe', type: 'boolean', default: false },
2803
2802
  ],
2804
2803
  },
2805
2804
  {
@@ -2832,7 +2831,6 @@ class Mem0Memory {
2832
2831
  options: [
2833
2832
  { name: 'Automático', value: 'auto' },
2834
2833
  { name: 'Contexto Ativo', value: 'activeContext' },
2835
- { name: 'Somente Vetores', value: 'vectorOnly' },
2836
2834
  { name: 'Desligado', value: 'off' },
2837
2835
  ],
2838
2836
  default: 'auto',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-tembory",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "description": "Tembory node for n8n AI Agents with profile, tools, timeline, graph and semantic memory",
5
5
  "license": "MIT",
6
6
  "homepage": "https://tembory.com",