@deinossrl/dgp-agent 1.4.52 → 1.4.53

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.53] - 2026-01-12
4
+
5
+ ### Fixed
6
+ - Actualizado service_role key con el correcto desde Supabase Dashboard
7
+ - Resuelve error 401 "Invalid API key" al hacer polling de comandos
8
+ - Ahora puede subir backups a Storage sin errores de RLS
9
+
3
10
  ## [1.4.52] - 2026-01-12
4
11
 
5
12
  ### Fixed
package/index.mjs CHANGED
@@ -366,7 +366,7 @@ let AGENT_MODE = 'smart'; // Siempre inteligente
366
366
  const CONFIG = {
367
367
  apiUrl: process.env.DGP_API_URL || fileConfig.apiUrl || 'https://asivayhbrqennwiwttds.supabase.co/functions/v1/dgp-agent-status',
368
368
  commandsUrl: process.env.DGP_COMMANDS_URL || fileConfig.commandsUrl || 'https://asivayhbrqennwiwttds.supabase.co/rest/v1/agent_commands',
369
- supabaseKey: process.env.DGP_SUPABASE_KEY || fileConfig.supabaseKey || 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImFzaXZheWhicnFlbm53aXd0dGRzIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTcyMjU1Mzc3MCwiZXhwIjoyMDM4MTI5NzcwfQ.r7RM4wXOQN4b7QMeHEw5U0y_l3dPZc8b0a7vp7_PBpQ',
369
+ supabaseKey: process.env.DGP_SUPABASE_KEY || fileConfig.supabaseKey || 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImFzaXZheWhicnFlbm53aXd0dGRzIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTc2NzMwMDA5NywiZXhwIjoyMDgyODc2MDk3fQ.53h-WsRtVxJ5ZkquHNAYbWJ-keQotmTJwKsYjcZhmIE',
370
370
  interval: parseInt(process.env.DGP_INTERVAL || fileConfig.interval || '30', 10),
371
371
  commandPollInterval: parseInt(process.env.DGP_COMMAND_POLL_INTERVAL || fileConfig.commandPollInterval || '10', 10),
372
372
  machineId: process.env.DGP_MACHINE_ID || fileConfig.machineId || `${hostname()}-${process.env.USERNAME || process.env.USER || 'dev'}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deinossrl/dgp-agent",
3
- "version": "1.4.52",
3
+ "version": "1.4.53",
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": {