auto-push
This commit is contained in:
@@ -1 +1 @@
|
||||
{}
|
||||
{"issues":0,"last_check":"2026-04-16T12:42:19+02:00","status":"healthy","crons":15}
|
||||
|
||||
@@ -1392,7 +1392,7 @@ if (preg_match('/reconcili|audit.?complet|scan.?complet|check.?all|verif.?tout|b
|
||||
// ===== LANCE DIRECTOR =====
|
||||
if (preg_match('/lance.?director|director.?cycle|director.?run|director.?check/i', $q)) {
|
||||
$r = wv_sh("php /opt/wevia-brain/wevia-director-agent.php 2>&1 | tail -20");
|
||||
$status = @json_decode(@file_get_contents('/var/www/html/api/wevia-director-status.json'), true) ?: [];
|
||||
$status = @json_decode(@file_get_contents('/var/www/html/api/director-status.json'), true) ?: [];
|
||||
$issues = $status['issues'] ?? 0;
|
||||
wv_out("DIRECTOR CYCLE EXECUTED\nIssues: $issues\n$r");
|
||||
}
|
||||
@@ -1442,7 +1442,7 @@ if (preg_match('/multi.?agent|tous.?les.?agents|lance.?tout|all.?agents/i', $q))
|
||||
$nr = @json_decode(@file_get_contents('/var/www/html/api/nonreg-latest.json'), true) ?: [];
|
||||
$r .= "🧪 NonReg: ".($nr['pass'] ?? '?')."/".($nr['total'] ?? '?')."\n";
|
||||
// Director
|
||||
$dir = @json_decode(@file_get_contents('/var/www/html/api/wevia-director-status.json'), true) ?: [];
|
||||
$dir = @json_decode(@file_get_contents('/var/www/html/api/director-status.json'), true) ?: [];
|
||||
$r .= "🎯 Director: ".($dir['issues'] ?? '?')." issues\n";
|
||||
// Backend
|
||||
$php = trim(wv_sh("systemctl is-active php8.5-fpm 2>/dev/null"));
|
||||
|
||||
Reference in New Issue
Block a user