@areumtecnologia/autonomouscustomerserviceagent 2.0.2 → 2.0.3
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 +1 -2
- package/src/AgentConfig.js +1 -1
- package/src/AgentManager.js +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@areumtecnologia/autonomouscustomerserviceagent",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Agente autônomo de atendimento ao cliente baseado em IA com Google Gemini API. Suporta múltiplas sessões, ferramentas customizadas e retry com backoff exponencial.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "Áreum Tecnologia",
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"start": "node tests/test.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@areumtecnologia/autonomouscustomerserviceagent": "github:areumtecnologia/AutonomousCustomerServiceAgent",
|
|
30
29
|
"@google/genai": "^2.6.0"
|
|
31
30
|
},
|
|
32
31
|
"devDependencies": {
|
package/src/AgentConfig.js
CHANGED
package/src/AgentManager.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const { AutonomousCustomerServiceAgent } = require('./AutonomousCustomerServiceAgent');
|
|
4
|
+
|
|
5
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
6
|
+
// AgentManager — armazena e gerencia múltiplas instâncias de agentes
|
|
7
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
2
8
|
class AgentManager {
|
|
3
9
|
constructor() {
|
|
4
10
|
this.agents = new Map();
|