diff --git a/api/v76-scripts/sponsors-list.sh b/api/v76-scripts/sponsors-list.sh new file mode 100755 index 000000000..1287402cc --- /dev/null +++ b/api/v76-scripts/sponsors-list.sh @@ -0,0 +1,3 @@ +#!/bin/bash +# Sponsors depuis PostgreSQL +sudo -u postgres psql -d adx_clients -c "SELECT name, country, status FROM sponsors LIMIT 20;" 2>/dev/null || echo "No sponsors table" diff --git a/api/v76-scripts/uptime-info.sh b/api/v76-scripts/uptime-info.sh new file mode 100755 index 000000000..dde328ed1 --- /dev/null +++ b/api/v76-scripts/uptime-info.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# Server uptime + time running +echo "Uptime serveur:" +uptime +echo +echo "Date:" +date +echo +echo "Load average ~ heures actives:" +w | head -1 diff --git a/api/v76-scripts/wevia-version.sh b/api/v76-scripts/wevia-version.sh new file mode 100755 index 000000000..9dcba88d5 --- /dev/null +++ b/api/v76-scripts/wevia-version.sh @@ -0,0 +1,16 @@ +#!/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|.*/||' diff --git a/api/v83-business-kpi-latest.json b/api/v83-business-kpi-latest.json index c7cd43be6..04414d020 100644 --- a/api/v83-business-kpi-latest.json +++ b/api/v83-business-kpi-latest.json @@ -1,7 +1,7 @@ { "ok": true, "version": "V83-business-kpi", - "ts": "2026-04-19T16:05:25+00:00", + "ts": "2026-04-19T16:09:46+00:00", "summary": { "total_categories": 7, "total_kpis": 56, diff --git a/api/wave-wiring-queue.json b/api/wave-wiring-queue.json index 0cd5aa451..b946765e6 100644 --- a/api/wave-wiring-queue.json +++ b/api/wave-wiring-queue.json @@ -3057,5 +3057,89 @@ "status": "PENDING_APPROVAL", "created_at": "2026-04-19T16:01:53+00:00", "source": "opus4-autowire-early-v2" + }, + "243": { + "name": "ollama_list", + "triggers": [ + "ollama list", + "ollama models", + "models local" + ], + "cmd": "curl -sk http:\/\/127.0.0.1:11434\/api\/tags", + "status": "PENDING_APPROVAL", + "created_at": "2026-04-19T16:09:43+00:00", + "source": "opus4-autowire-early-v2" + }, + "244": { + "name": "ollama_status", + "triggers": [ + "ollama status", + "ollama service", + "ollama running" + ], + "cmd": "curl -sk http:\/\/127.0.0.1:11434\/api\/version", + "status": "PENDING_APPROVAL", + "created_at": "2026-04-19T16:09:44+00:00", + "source": "opus4-autowire-early-v2" + }, + "245": { + "name": "wevia_version_info", + "triggers": [ + "quelle version de wevia", + "version wevia", + "wevia version info" + ], + "cmd": "bash \/var\/www\/html\/api\/v76-scripts\/wevia-version.sh", + "status": "PENDING_APPROVAL", + "created_at": "2026-04-19T16:09:44+00:00", + "source": "opus4-autowire-early-v2" + }, + "246": { + "name": "disk_space_free", + "triggers": [ + "disk space free", + "free space", + "disk available" + ], + "cmd": "curl -sk http:\/\/127.0.0.1\/api\/infra-live.php", + "status": "PENDING_APPROVAL", + "created_at": "2026-04-19T16:09:44+00:00", + "source": "opus4-autowire-early-v2" + }, + "247": { + "name": "sponsors_list", + "triggers": [ + "liste les sponsors", + "sponsors list", + "quels sponsors" + ], + "cmd": "bash \/var\/www\/html\/api\/v76-scripts\/sponsors-list.sh", + "status": "PENDING_APPROVAL", + "created_at": "2026-04-19T16:09:45+00:00", + "source": "opus4-autowire-early-v2" + }, + "248": { + "name": "uptime_server", + "triggers": [ + "combien heure restante", + "uptime serveur", + "depuis quand le serveur" + ], + "cmd": "bash \/var\/www\/html\/api\/v76-scripts\/uptime-info.sh", + "status": "PENDING_APPROVAL", + "created_at": "2026-04-19T16:09:46+00:00", + "source": "opus4-autowire-early-v2" + }, + "249": { + "name": "ollama_ps", + "triggers": [ + "ollama ps", + "ollama running", + "models loaded" + ], + "cmd": "curl -sk http:\/\/127.0.0.1:11434\/api\/ps", + "status": "PENDING_APPROVAL", + "created_at": "2026-04-19T16:09:57+00:00", + "source": "opus4-autowire-early-v2" } } \ No newline at end of file diff --git a/api/wired-pending/intent-opus4-disk_space_free.php b/api/wired-pending/intent-opus4-disk_space_free.php new file mode 100644 index 000000000..52086ed30 --- /dev/null +++ b/api/wired-pending/intent-opus4-disk_space_free.php @@ -0,0 +1,14 @@ + 'disk_space_free', + 'triggers' => + array ( + 0 => 'disk space free', + 1 => 'free space', + 2 => 'disk available', + ), + 'cmd' => 'curl -sk http://127.0.0.1/api/infra-live.php', + 'status' => 'PENDING_APPROVAL', + 'created_at' => '2026-04-19T16:09:44+00:00', + 'source' => 'opus4-autowire-early-v2', +); diff --git a/api/wired-pending/intent-opus4-ollama_list.php b/api/wired-pending/intent-opus4-ollama_list.php new file mode 100644 index 000000000..b71f3a435 --- /dev/null +++ b/api/wired-pending/intent-opus4-ollama_list.php @@ -0,0 +1,14 @@ + 'ollama_list', + 'triggers' => + array ( + 0 => 'ollama list', + 1 => 'ollama models', + 2 => 'models local', + ), + 'cmd' => 'curl -sk http://127.0.0.1:11434/api/tags', + 'status' => 'PENDING_APPROVAL', + 'created_at' => '2026-04-19T16:09:43+00:00', + 'source' => 'opus4-autowire-early-v2', +); diff --git a/api/wired-pending/intent-opus4-ollama_ps.php b/api/wired-pending/intent-opus4-ollama_ps.php new file mode 100644 index 000000000..1fb7f38e6 --- /dev/null +++ b/api/wired-pending/intent-opus4-ollama_ps.php @@ -0,0 +1,14 @@ + 'ollama_ps', + 'triggers' => + array ( + 0 => 'ollama ps', + 1 => 'ollama running', + 2 => 'models loaded', + ), + 'cmd' => 'curl -sk http://127.0.0.1:11434/api/ps', + 'status' => 'PENDING_APPROVAL', + 'created_at' => '2026-04-19T16:09:57+00:00', + 'source' => 'opus4-autowire-early-v2', +); diff --git a/api/wired-pending/intent-opus4-ollama_status.php b/api/wired-pending/intent-opus4-ollama_status.php new file mode 100644 index 000000000..72124f39d --- /dev/null +++ b/api/wired-pending/intent-opus4-ollama_status.php @@ -0,0 +1,14 @@ + 'ollama_status', + 'triggers' => + array ( + 0 => 'ollama status', + 1 => 'ollama service', + 2 => 'ollama running', + ), + 'cmd' => 'curl -sk http://127.0.0.1:11434/api/version', + 'status' => 'PENDING_APPROVAL', + 'created_at' => '2026-04-19T16:09:44+00:00', + 'source' => 'opus4-autowire-early-v2', +); diff --git a/api/wired-pending/intent-opus4-sponsors_list.php b/api/wired-pending/intent-opus4-sponsors_list.php new file mode 100644 index 000000000..58760bf14 --- /dev/null +++ b/api/wired-pending/intent-opus4-sponsors_list.php @@ -0,0 +1,14 @@ + 'sponsors_list', + 'triggers' => + array ( + 0 => 'liste les sponsors', + 1 => 'sponsors list', + 2 => 'quels sponsors', + ), + 'cmd' => 'bash /var/www/html/api/v76-scripts/sponsors-list.sh', + 'status' => 'PENDING_APPROVAL', + 'created_at' => '2026-04-19T16:09:45+00:00', + 'source' => 'opus4-autowire-early-v2', +); diff --git a/api/wired-pending/intent-opus4-uptime_server.php b/api/wired-pending/intent-opus4-uptime_server.php new file mode 100644 index 000000000..25d8bfd9a --- /dev/null +++ b/api/wired-pending/intent-opus4-uptime_server.php @@ -0,0 +1,14 @@ + 'uptime_server', + 'triggers' => + array ( + 0 => 'combien heure restante', + 1 => 'uptime serveur', + 2 => 'depuis quand le serveur', + ), + 'cmd' => 'bash /var/www/html/api/v76-scripts/uptime-info.sh', + 'status' => 'PENDING_APPROVAL', + 'created_at' => '2026-04-19T16:09:46+00:00', + 'source' => 'opus4-autowire-early-v2', +); diff --git a/api/wired-pending/intent-opus4-wevia_greetings.php b/api/wired-pending/intent-opus4-wevia_greetings.php index da22773c8..12f98f482 100644 --- a/api/wired-pending/intent-opus4-wevia_greetings.php +++ b/api/wired-pending/intent-opus4-wevia_greetings.php @@ -6,11 +6,11 @@ return array ( 0 => 'salut', 1 => 'bonjour', 2 => 'hello', - 3 => 'hi', + 4 => 'coucou', - 5 => 'ca va', - 6 => 'ça va', - 7 => 'hey', + + + 8 => 'yo wevia', ), 'cmd' => 'echo salut yacine ! wevia opérationnelle - nr 153/153 - l99 322/322 - 7 sigma 150/150 - 1236 intents wired - 1528 stubs executed - autonomie 92 pourcent - tout live - tu veux quoi maintenant', diff --git a/api/wired-pending/intent-opus4-wevia_version_info.php b/api/wired-pending/intent-opus4-wevia_version_info.php new file mode 100644 index 000000000..de1f2808f --- /dev/null +++ b/api/wired-pending/intent-opus4-wevia_version_info.php @@ -0,0 +1,14 @@ + 'wevia_version_info', + 'triggers' => + array ( + 0 => 'quelle version de wevia', + 1 => 'version wevia', + 2 => 'wevia version info', + ), + 'cmd' => 'bash /var/www/html/api/v76-scripts/wevia-version.sh', + 'status' => 'PENDING_APPROVAL', + 'created_at' => '2026-04-19T16:09:44+00:00', + 'source' => 'opus4-autowire-early-v2', +);