@deinossrl/dgp-agent 1.4.50 → 1.4.51

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog - DGP Agent
2
2
 
3
+ ## [1.4.51] - 2026-01-12
4
+
5
+ ### Fixed
6
+ - Aumentado delay de 1s a 3s para liberar file handle del ZIP en Windows
7
+ - Resuelve error "El proceso no puede obtener acceso al archivo" al extraer
8
+ - Instalación más robusta en Windows con rutas con espacios
9
+
3
10
  ## [1.4.50] - 2026-01-12
4
11
 
5
12
  ### Added
package/index.mjs CHANGED
@@ -1507,7 +1507,7 @@ async function findOrInstallPgDump() {
1507
1507
  file.close();
1508
1508
  logInfo('Descarga completada. Extrayendo...');
1509
1509
 
1510
- // Dar tiempo a Windows para liberar el handle del archivo
1510
+ // Dar tiempo a Windows para liberar el handle del archivo (aumentado a 3 segundos)
1511
1511
  setTimeout(() => {
1512
1512
  // Extraer solo pg_dump.exe y sus DLLs necesarias
1513
1513
  try {
@@ -1545,7 +1545,7 @@ async function findOrInstallPgDump() {
1545
1545
  } catch (extractError) {
1546
1546
  reject(new Error(`Error al extraer: ${extractError.message}`));
1547
1547
  }
1548
- }, 1000); // Esperar 1 segundo para que Windows libere el archivo
1548
+ }, 3000); // Esperar 3 segundos para que Windows libere el archivo
1549
1549
  });
1550
1550
  }).on('error', reject);
1551
1551
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deinossrl/dgp-agent",
3
- "version": "1.4.50",
3
+ "version": "1.4.51",
4
4
  "description": "Agente local para Despliegue-GPT - Reporta el estado del repositorio Git a la plataforma TenMinute IA",
5
5
  "main": "index.mjs",
6
6
  "bin": {