04-oct: instalar_dependencias.ps1 + omniroute-autostart.ts al repo + comparativa equipos

This commit is contained in:
minguezsanzjuanjose
2026-10-04 00:15:07 +02:00
parent 0b4fe1cf7f
commit 29157d4f08
6 changed files with 242 additions and 4 deletions

View File

@@ -36,6 +36,8 @@ $TaskMonitor = 'Monitor Estado'
$WatchdogMonitor = Join-Path $RepoRoot 'scripts\monitor_estado_watchdog.ps1'
$PluginSrcMon = Join-Path $RepoRoot 'opencode\monitor-estado-bootstrap.ts'
$PluginDstMon = Join-Path $PluginDir 'monitor-estado-bootstrap.ts'
$PluginSrcAuto = Join-Path $RepoRoot 'opencode\omniroute-autostart.ts'
$PluginDstAuto = Join-Path $PluginDir 'omniroute-autostart.ts'
Write-Host '== Instalando infraestructura global (OmniRoute + OpenCode) ==' -ForegroundColor Cyan
@@ -47,6 +49,11 @@ Write-Host " - Plugin global instalado en $PluginDst" -ForegroundColor Green
Copy-Item -LiteralPath $PluginSrcMon -Destination $PluginDstMon -Force
Write-Host " - Plugin global instalado en $PluginDstMon" -ForegroundColor Green
if (Test-Path $PluginSrcAuto) {
Copy-Item -LiteralPath $PluginSrcAuto -Destination $PluginDstAuto -Force
Write-Host " - Plugin global instalado en $PluginDstAuto" -ForegroundColor Green
}
# 2) Tarea programada ------------------------------------------------------
if (-not (Test-Path $Watchdog)) { throw "No se encuentra el vigilante: $Watchdog" }