Files
html/api/v76-scripts/wevia-version.sh
2026-04-19 18:10:02 +02:00

17 lines
696 B
Bash
Executable File

#!/bin/bash
# WEVIA version info
python3 -c "
import json
d = json.load(open('/var/www/html/api/wevia-truth-registry.json'))
print(f\"WEVIA Master — version truth-registry\")
print(f\" Agents: {d['agents']['count_unique']}\")
print(f\" Skills: {d['skills']['count'] if 'count' in d.get('skills',{}) else '?'}\")
print(f\" Intents: {d.get('intents',{}).get('count','?')}\")
print(f\" Doctrines: {d.get('doctrines',{}).get('count','?')}\")
print(f\" Dashboards: {d.get('dashboards',{}).get('count','?')}\")
print(f\" Built at: {d.get('built_at','?')}\")"
echo
echo "Sessions récentes:"
ls -1t /var/www/html/wiki/session-opus-19avr-*.md 2>/dev/null | head -5 | sed 's|.*/||'