@deinossrl/dgp-agent 1.5.4 → 1.5.6

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,19 @@
1
1
  # Changelog - DGP Agent
2
2
 
3
+ ## [1.5.6] - 2026-01-12
4
+
5
+ ### Fixed
6
+ - **CRÍTICO**: Timestamps ahora muestran hora local en formato 24h (antes mostraba UTC)
7
+ - Cambiado de `toISOString()` a `toLocaleTimeString('en-GB', { hour12: false })`
8
+ - Los logs ahora respetan la zona horaria del sistema mientras mantienen formato 24h
9
+
10
+ ## [1.5.5] - 2026-01-12
11
+
12
+ ### Changed
13
+ - Logs ahora usan formato de 24 horas (HH:MM:SS) en lugar de locale-based
14
+ - Formato consistente: `toISOString().substring(11, 19)` en lugar de `toLocaleTimeString()`
15
+ - Timestamps predecibles independientemente de la configuración regional del sistema
16
+
3
17
  ## [1.5.4] - 2026-01-12
4
18
 
5
19
  ### Fixed
package/index.mjs CHANGED
@@ -411,7 +411,7 @@ function printBanner(lines, color = 'cyan') {
411
411
  }
412
412
 
413
413
  function log(message, color = 'reset') {
414
- const timestamp = new Date().toLocaleTimeString();
414
+ const timestamp = new Date().toLocaleTimeString('en-GB', { hour12: false }); // HH:MM:SS en formato 24h (hora local)
415
415
  console.log(`${colors.gray}[${timestamp}]${colors.reset} ${colors[color]}${message}${colors.reset}`);
416
416
  }
417
417
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deinossrl/dgp-agent",
3
- "version": "1.5.4",
3
+ "version": "1.5.6",
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": {