n8n-nodes-tembory-agent-memory-v2 2.0.0 → 2.1.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/README.md +1 -1
- package/dist/nodes/Tembory/GenericFunctions.js +1 -1
- package/dist/nodes/Tembory/tembory-brain.svg +1 -23
- package/dist/nodes/TemboryActionGuardV2/tembory-brain.svg +1 -2
- package/dist/nodes/TemboryAgentMemory/TemboryAgentMemory.node.js +5 -8
- package/dist/nodes/TemboryAgentMemory/tembory-brain.svg +1 -23
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Tembory Agent Memory for n8n
|
|
2
2
|
|
|
3
|
-
Stable release: `2.0.
|
|
3
|
+
Stable release: `2.0.1`. Instale-o lado a lado com o pacote legado e migre workflows somente de forma controlada.
|
|
4
4
|
|
|
5
5
|
RC13 mantém o arquivo JSONB durável do RC11 e adiciona timeout explícito de 60 s com retry seguro à consolidação incremental. Gravação e recuperação lexical permanecem disponíveis sem um modelo de embeddings. O Core aceita o contrato anterior durante o rollout aditivo; a ativação vetorial continua opt-in.
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@ async function temboryApiRequest(method, endpoint, body = {}, qs = {}) {
|
|
|
25
25
|
...(qs && typeof qs === 'object' ? qs : {}),
|
|
26
26
|
...(body && typeof body === 'object' ? body : {}),
|
|
27
27
|
operation,
|
|
28
|
-
nodePackage: 'n8n-nodes-tembory-agent-memory-v2/2.
|
|
28
|
+
nodePackage: 'n8n-nodes-tembory-agent-memory-v2/2.1.0',
|
|
29
29
|
contextContract: 'agent-context/2',
|
|
30
30
|
};
|
|
31
31
|
const options = {
|
|
@@ -1,23 +1 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
3
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
-
viewBox="0 0 460 460" xml:space="preserve">
|
|
5
|
-
<g>
|
|
6
|
-
<path style="fill:#FF926E;" d="M230,203.06h-29.375v50h-31.25v-50H85.04v-30H120V133.1h30v39.96h109.375v50h31.25v-50h84.335v-30
|
|
7
|
-
H340V103.1h-30v39.96h-80v-36h-49.96v-30H230V0c-23.02,0-42.99,12.97-53.06,31.99c-18.22-11.44-42.01-12.68-61.94-1.18
|
|
8
|
-
C95.07,42.32,84.25,63.54,85.04,85.04C63.54,84.25,42.32,95.07,30.81,115c-11.5,19.93-10.26,43.72,1.18,61.94
|
|
9
|
-
C12.97,187.01,0,206.98,0,230s12.97,42.99,31.99,53.06H230V203.06z"/>
|
|
10
|
-
<path style="fill:#F46A1A;" d="M428.01,176.94c11.44-18.22,12.68-42.01,1.18-61.94c-11.51-19.93-32.73-30.75-54.23-29.96
|
|
11
|
-
c0.79-21.5-10.03-42.72-29.96-54.23c-19.93-11.5-43.72-10.26-61.94,1.18C272.99,12.97,253.02,0,230,0v77.06h50.04v30H230v36h80
|
|
12
|
-
V103.1h30v39.96h34.96v30h-84.335v50h-31.25v-50H230v110h198.01C447.03,272.99,460,253.02,460,230S447.03,187.01,428.01,176.94z
|
|
13
|
-
M393.51,253.06h-30v-30h30V253.06z"/>
|
|
14
|
-
<path style="fill:#FFB76E;" d="M329.01,283.06h-99c0,47.828,33.909,87.729,79,96.979V460h40v-79.961
|
|
15
|
-
c-6.459,1.325-13.148,2.021-20,2.021V283.06z"/>
|
|
16
|
-
<rect x="180.04" y="77.06" style="fill:#FFB76E;" width="50" height="30"/>
|
|
17
|
-
<polygon style="fill:#FFB76E;" points="150,133.1 120,133.1 120,173.06 85.04,173.06 85.04,203.06 169.375,203.06 169.375,253.06
|
|
18
|
-
200.625,253.06 200.625,203.06 230,203.06 230,173.06 150,173.06 "/>
|
|
19
|
-
<rect x="230.04" y="77.06" style="fill:#FF926E;" width="50" height="30"/>
|
|
20
|
-
<rect x="363.51" y="223.06" style="fill:#FF926E;" width="30" height="30"/>
|
|
21
|
-
<path style="fill:#FF926E;" d="M329.01,382.06c6.852,0,13.54-0.697,20-2.021c45.091-9.249,79-49.15,79-96.979h-99V382.06z"/>
|
|
22
|
-
</g>
|
|
23
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" role="img" aria-label="Tembory"><defs><linearGradient id="g" x1="28" y1="22" x2="102" y2="106" gradientUnits="userSpaceOnUse"><stop stop-color="#49F2D1"/><stop offset=".48" stop-color="#16C6C5"/><stop offset="1" stop-color="#1594E8"/></linearGradient></defs><rect width="128" height="128" rx="30" fill="#081D31"/><path d="M29 27c0-5 4-9 9-9h52c5 0 9 4 9 9v13c0 5-4 9-9 9H75v48c0 8-5 13-11 13s-11-5-11-13V49H38c-5 0-9-4-9-9V27Z" fill="url(#g)"/><path d="M84 62h15c5 0 9 4 9 9v4c0 5-4 9-9 9H84V62Zm0 25h8c5 0 9 4 9 9v4c0 5-4 9-9 9h-8V87Z" fill="#0C3853"/><circle cx="99" cy="73" r="4" fill="#49F2D1"/><circle cx="92" cy="98" r="4" fill="#49F2D1"/></svg>
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
2
|
-
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" role="img" aria-label="Tembory"><defs><linearGradient id="g" x1="28" y1="22" x2="102" y2="106" gradientUnits="userSpaceOnUse"><stop stop-color="#49F2D1"/><stop offset=".48" stop-color="#16C6C5"/><stop offset="1" stop-color="#1594E8"/></linearGradient></defs><rect width="128" height="128" rx="30" fill="#081D31"/><path d="M29 27c0-5 4-9 9-9h52c5 0 9 4 9 9v13c0 5-4 9-9 9H75v48c0 8-5 13-11 13s-11-5-11-13V49H38c-5 0-9-4-9-9V27Z" fill="url(#g)"/><path d="M84 62h15c5 0 9 4 9 9v4c0 5-4 9-9 9H84V62Zm0 25h8c5 0 9 4 9 9v4c0 5-4 9-9 9h-8V87Z" fill="#0C3853"/><circle cx="99" cy="73" r="4" fill="#49F2D1"/><circle cx="92" cy="98" r="4" fill="#49F2D1"/></svg>
|
|
@@ -47,14 +47,14 @@ const buildAgentMemoryDescription = () => {
|
|
|
47
47
|
advancedGroups.description = 'Controles brutos para debug e casos avançados. O uso recomendado já ativa timeline, toolLog, SLM analysis, dedupe e retenção segura.';
|
|
48
48
|
return {
|
|
49
49
|
...deepClone(base),
|
|
50
|
-
inputs: [{displayName: 'Modelo de Resumo (Opcional)', type: 'ai_languageModel', maxConnections: 1, required: false}
|
|
50
|
+
inputs: [{displayName: 'Modelo de Resumo (Opcional)', type: 'ai_languageModel', maxConnections: 1, required: false}],
|
|
51
51
|
builderHint: {inputs: {ai_languageModel: {required: false}}},
|
|
52
|
-
displayName: 'Tembory Agent Memory
|
|
53
|
-
name: '
|
|
52
|
+
displayName: 'Tembory Agent Memory',
|
|
53
|
+
name: 'temboryAgentMemory',
|
|
54
54
|
version: 2,
|
|
55
|
-
description: '
|
|
55
|
+
description: 'Memória operacional durável para agentes de IA',
|
|
56
56
|
defaults: {
|
|
57
|
-
name: 'Tembory Agent Memory
|
|
57
|
+
name: 'Tembory Agent Memory',
|
|
58
58
|
},
|
|
59
59
|
credentials: [
|
|
60
60
|
{
|
|
@@ -71,9 +71,6 @@ const buildAgentMemoryDescription = () => {
|
|
|
71
71
|
},
|
|
72
72
|
},
|
|
73
73
|
properties: [
|
|
74
|
-
{displayName: 'Historical Recall (pgvector)', name: 'pgvectorEnabled', type: 'boolean', default: false, description: 'Archive and retrieve conversation evidence in Tembory PostgreSQL. Requires an Embeddings connection; enable on validated workflows.'},
|
|
75
|
-
{displayName: 'Embedding Space', name: 'embeddingSpace', type: 'string', default: '', displayOptions: {show: {pgvectorEnabled: [true]}}, description: 'Stable provider/model/revision identifier. Use a new value when changing embedding models.'},
|
|
76
|
-
{displayName: 'Archive Retention (Days)', name: 'vectorRetentionDays', type: 'number', default: 90, typeOptions: {minValue: 1, maxValue: 365}, displayOptions: {show: {pgvectorEnabled: [true]}}},
|
|
77
74
|
{ displayName: 'Conecte à memória do agente e selecione a credencial. Contexto, ferramentas, correções e resumo funcionam automaticamente. No AI Agent compatível, reutiliza o modelo e o objetivo do agente; o modelo de resumo separado é opcional.', name: 'automaticNotice', type: 'notice', default: '' },
|
|
78
75
|
threadId,
|
|
79
76
|
advancedOnly(project),
|
|
@@ -1,23 +1 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
3
|
-
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
-
viewBox="0 0 460 460" xml:space="preserve">
|
|
5
|
-
<g>
|
|
6
|
-
<path style="fill:#FF926E;" d="M230,203.06h-29.375v50h-31.25v-50H85.04v-30H120V133.1h30v39.96h109.375v50h31.25v-50h84.335v-30
|
|
7
|
-
H340V103.1h-30v39.96h-80v-36h-49.96v-30H230V0c-23.02,0-42.99,12.97-53.06,31.99c-18.22-11.44-42.01-12.68-61.94-1.18
|
|
8
|
-
C95.07,42.32,84.25,63.54,85.04,85.04C63.54,84.25,42.32,95.07,30.81,115c-11.5,19.93-10.26,43.72,1.18,61.94
|
|
9
|
-
C12.97,187.01,0,206.98,0,230s12.97,42.99,31.99,53.06H230V203.06z"/>
|
|
10
|
-
<path style="fill:#F46A1A;" d="M428.01,176.94c11.44-18.22,12.68-42.01,1.18-61.94c-11.51-19.93-32.73-30.75-54.23-29.96
|
|
11
|
-
c0.79-21.5-10.03-42.72-29.96-54.23c-19.93-11.5-43.72-10.26-61.94,1.18C272.99,12.97,253.02,0,230,0v77.06h50.04v30H230v36h80
|
|
12
|
-
V103.1h30v39.96h34.96v30h-84.335v50h-31.25v-50H230v110h198.01C447.03,272.99,460,253.02,460,230S447.03,187.01,428.01,176.94z
|
|
13
|
-
M393.51,253.06h-30v-30h30V253.06z"/>
|
|
14
|
-
<path style="fill:#FFB76E;" d="M329.01,283.06h-99c0,47.828,33.909,87.729,79,96.979V460h40v-79.961
|
|
15
|
-
c-6.459,1.325-13.148,2.021-20,2.021V283.06z"/>
|
|
16
|
-
<rect x="180.04" y="77.06" style="fill:#FFB76E;" width="50" height="30"/>
|
|
17
|
-
<polygon style="fill:#FFB76E;" points="150,133.1 120,133.1 120,173.06 85.04,173.06 85.04,203.06 169.375,203.06 169.375,253.06
|
|
18
|
-
200.625,253.06 200.625,203.06 230,203.06 230,173.06 150,173.06 "/>
|
|
19
|
-
<rect x="230.04" y="77.06" style="fill:#FF926E;" width="50" height="30"/>
|
|
20
|
-
<rect x="363.51" y="223.06" style="fill:#FF926E;" width="30" height="30"/>
|
|
21
|
-
<path style="fill:#FF926E;" d="M329.01,382.06c6.852,0,13.54-0.697,20-2.021c45.091-9.249,79-49.15,79-96.979h-99V382.06z"/>
|
|
22
|
-
</g>
|
|
23
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" role="img" aria-label="Tembory"><defs><linearGradient id="g" x1="28" y1="22" x2="102" y2="106" gradientUnits="userSpaceOnUse"><stop stop-color="#49F2D1"/><stop offset=".48" stop-color="#16C6C5"/><stop offset="1" stop-color="#1594E8"/></linearGradient></defs><rect width="128" height="128" rx="30" fill="#081D31"/><path d="M29 27c0-5 4-9 9-9h52c5 0 9 4 9 9v13c0 5-4 9-9 9H75v48c0 8-5 13-11 13s-11-5-11-13V49H38c-5 0-9-4-9-9V27Z" fill="url(#g)"/><path d="M84 62h15c5 0 9 4 9 9v4c0 5-4 9-9 9H84V62Zm0 25h8c5 0 9 4 9 9v4c0 5-4 9-9 9h-8V87Z" fill="#0C3853"/><circle cx="99" cy="73" r="4" fill="#49F2D1"/><circle cx="92" cy="98" r="4" fill="#49F2D1"/></svg>
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-tembory-agent-memory-v2",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"private": false,
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Tembory Agent Memory for n8n AI Agents",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://tembory.com",
|
|
8
8
|
"author": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"main": "index.js",
|
|
20
20
|
"scripts": {
|
|
21
|
-
"build": "node --check index.js && node --check dist/nodes/Tembory/GenericFunctions.js && node --check dist/nodes/Tembory/TemboryMemory.node.js && node --check dist/nodes/TemboryAgentMemory/TemboryAgentMemory.node.js
|
|
21
|
+
"build": "node --check index.js && node --check dist/nodes/Tembory/GenericFunctions.js && node --check dist/nodes/Tembory/TemboryMemory.node.js && node --check dist/nodes/TemboryAgentMemory/TemboryAgentMemory.node.js",
|
|
22
22
|
"test": "node --test test/*.test.js",
|
|
23
23
|
"prepublishOnly": "npm run build"
|
|
24
24
|
},
|
|
@@ -32,8 +32,7 @@
|
|
|
32
32
|
"n8nNodesApiVersion": 1,
|
|
33
33
|
"credentials": [],
|
|
34
34
|
"nodes": [
|
|
35
|
-
"dist/nodes/TemboryAgentMemory/TemboryAgentMemory.node.js"
|
|
36
|
-
"dist/nodes/TemboryActionGuardV2/TemboryActionGuardV2.node.js"
|
|
35
|
+
"dist/nodes/TemboryAgentMemory/TemboryAgentMemory.node.js"
|
|
37
36
|
]
|
|
38
37
|
},
|
|
39
38
|
"keywords": [
|