@deinossrl/dgp-agent 1.5.22 → 1.5.23

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,9 @@
1
1
  # Changelog - DGP Agent
2
2
 
3
+ ## [1.5.23] - 2026-01-13
4
+ ### Fixed
5
+ - **Critical**: Lógica invertida en flags `include_owner` e `include_privileges`. Ahora se respeta correctamente la exclusión con `--no-owner` y `--no-privileges` cuando el usuario desmarca las opciones.
6
+
3
7
  ## [1.5.22] - 2026-01-13
4
8
 
5
9
  ### Fixed
package/index.mjs CHANGED
@@ -1746,10 +1746,12 @@ async function executePgDump(command) {
1746
1746
  }
1747
1747
 
1748
1748
  // Incluir opciones adicionales
1749
- if (params.include_privileges) {
1749
+ // NOTA: pg_dump incluye owner y privilegios por defecto.
1750
+ // Usamos --no-owner y --no-privileges para excluirlos.
1751
+ if (!params.include_privileges) {
1750
1752
  pgDumpArgs.push('--no-privileges');
1751
1753
  }
1752
- if (params.include_owner) {
1754
+ if (!params.include_owner) {
1753
1755
  pgDumpArgs.push('--no-owner');
1754
1756
  }
1755
1757
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deinossrl/dgp-agent",
3
- "version": "1.5.22",
3
+ "version": "1.5.23",
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": {