From 30b53a14b9fbc263c1fcb79f3467223e50a63853 Mon Sep 17 00:00:00 2001 From: Opus Wire Date: Tue, 21 Apr 2026 16:49:33 +0200 Subject: [PATCH] feat(tool-registry): 3 tools token_rotate pour WEVIA Master autonomie MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added in registry (627 -> 630 tools): - token_rotate_scan: scan expired tokens via orchestrator - token_rotate_plan: priority rotation plan per provider - token_health_dashboard: 17 providers live UI Permet WEVIA Master de router queries naturelles vers orchestrator: - exec reel: token rotate -> scan action - plan rotation priorite -> plan action - token health dashboard -> dashboard URL Additif pur · chattr mgmt · GOLD backup · zero regression --- api/wevia-tool-registry.json | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/api/wevia-tool-registry.json b/api/wevia-tool-registry.json index 59b80ce4f..93fc650e2 100644 --- a/api/wevia-tool-registry.json +++ b/api/wevia-tool-registry.json @@ -3539,7 +3539,7 @@ "id": "sovereign_providers_list", "kw": "sovereign.*provider|provider.*list|sovereign.*add|add.*provider|sovereign.*scale", "api": "exec", - "cmd": "curl -s http://127.0.0.1:4000/health --max-time 5 | python3 -c \"import json,sys;d=json.load(sys.stdin);print('Active:',d['active'],'/',d['total']);[print(' -',p) for p in d['providers']]\" 2>/dev/null || echo \"Sovereign DOWN \u2014 restart: systemctl restart sovereign-api\"" + "cmd": "curl -s http://127.0.0.1:4000/health --max-time 5 | python3 -c \"import json,sys;d=json.load(sys.stdin);print('Active:',d['active'],'/',d['total']);[print(' -',p) for p in d['providers']]\" 2>/dev/null || echo \"Sovereign DOWN — restart: systemctl restart sovereign-api\"" }, { "id": "all_agents_status", @@ -4417,7 +4417,7 @@ "file": "/api/wevia-apple-intents.php", "action": "POST_prompt", "priority": 90, - "desc": "\u00c9tat WEVIA Apple ingestion" + "desc": "État WEVIA Apple ingestion" }, { "id": "apple_reco", @@ -4453,7 +4453,7 @@ "file": "/api/wevia-apple-intents.php", "action": "POST_prompt", "priority": 94, - "desc": "Entit\u00e9s extraites" + "desc": "Entités extraites" }, { "id": "apple_tasks", @@ -4481,6 +4481,33 @@ "desc": "V93: Real auto-wire router - matches KPI intent and executes stripe/cs/growth wires", "since": "V93", "added_ts": "2026-04-20T22:36:00+02:00" + }, + { + "id": "token_rotate_scan", + "kw": "token.*rotate|expired.*token|token.*expired|rotation.*token", + "cmd": "curl -sk -X POST http://127.0.0.1/api/token-rotate-orchestrator.php -H 'Host: weval-consulting.com' -H 'Content-Type: application/json' --data '{\"action\":\"scan\"}' 2>/dev/null", + "exec": true, + "desc": "Scan expired tokens via orchestrator", + "since": "opus-session-20260421-v4", + "added_ts": "2026-04-21T16:49:18+02:00" + }, + { + "id": "token_rotate_plan", + "kw": "plan.*rotation|rotation.*plan|token.*priority", + "cmd": "curl -sk -X POST http://127.0.0.1/api/token-rotate-orchestrator.php -H 'Host: weval-consulting.com' -H 'Content-Type: application/json' --data '{\"action\":\"plan\"}' 2>/dev/null", + "exec": true, + "desc": "Priority rotation plan per provider", + "since": "opus-session-20260421-v4", + "added_ts": "2026-04-21T16:49:18+02:00" + }, + { + "id": "token_health_dashboard", + "kw": "token.*health|token.*dashboard|token.*monitor", + "cmd": "echo 'Token Health Dashboard: https://weval-consulting.com/token-health-dashboard.html · 17 providers live'", + "exec": true, + "desc": "Token health UI 17 providers", + "since": "opus-session-20260421-v4", + "added_ts": "2026-04-21T16:49:18+02:00" } ], "opus_safe_wire": {