@deinossrl/dgp-agent 1.5.18 → 1.5.19

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,11 @@
1
1
  # Changelog - DGP Agent
2
2
 
3
+ ## [1.5.19] - 2026-01-13
4
+
5
+ ### Fixed
6
+ - Force `LC_ALL=C` on pg_dump execution to ensure English output and reliable progress parsing on non-English systems.
7
+ - Added fallback detection for Spanish keywords ('extrayendo contenus') just in case.
8
+
3
9
  ## [1.5.18] - 2026-01-13
4
10
 
5
11
  ### Fixed
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  /**
3
3
  * DGP Agent - Agente local para Despliegue-GPT
4
4
  * @deinossrl/dgp-agent
@@ -1803,7 +1803,7 @@ async function executePgDump(command) {
1803
1803
  // Usar spawn asíncrono para capturar progreso
1804
1804
  await new Promise((resolve, reject) => {
1805
1805
  const pgDumpProcess = spawn(pgDumpCmd, pgDumpArgs, {
1806
- env: process.env,
1806
+ env: { ...process.env, LC_ALL: 'C' },
1807
1807
  stdio: ['ignore', 'pipe', 'pipe'],
1808
1808
  });
1809
1809
 
@@ -1834,11 +1834,12 @@ async function executePgDump(command) {
1834
1834
 
1835
1835
  // LOGICA LOCAL: Mostrar actividad en consola
1836
1836
  // Si es un mensaje de "loop" (procesando datos), solo mostrar si pasó tiempo
1837
- const isLoopMessage = trimmed.includes('dumping data') || trimmed.includes('processing data') || trimmed.includes('dumping contents');
1837
+ const isLoopMessage = trimmed.includes('dumping data') || trimmed.includes('processing data') || trimmed.includes('dumping contents') || trimmed.includes('extrayendo');
1838
1838
  const now = Date.now();
1839
1839
 
1840
1840
  // LOGICA: Filtrar, calcular y MOSTRAR PROGRESO (Consola y Web)
1841
- if (trimmed.includes('processing') || trimmed.includes('dumping data') || trimmed.includes('dumping contents') || trimmed.includes('creating') || trimmed.includes('setting owner')) {
1841
+
1842
+ if (trimmed.includes('processing') || trimmed.includes('dumping data') || trimmed.includes('dumping contents') || trimmed.includes('extrayendo') || trimmed.includes('creating') || trimmed.includes('setting owner')) {
1842
1843
  objectCount++;
1843
1844
  }
1844
1845
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deinossrl/dgp-agent",
3
- "version": "1.5.18",
3
+ "version": "1.5.19",
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": {