Commit Graph

10 Commits

Author SHA1 Message Date
sylvain dc7f395aa8 feat: script scheduling, execution notifications, LLM coordinator
- Add /script command (run/schedule/unschedule/schedules/list)
- Add scheduler.add_script_job() with 'once HH:MM' one-shot support
- Subscribe to agents/scripts/execution and notify admins via XMPP
- Integrate LLMCoordinator (local acquire/release for Nexus)
- Update /help with script commands

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 19:48:59 +00:00
sylvain 6be209034c feat: start LLMCoordinator in Nexus, add /queue command
- on_start: instantiate LLMCoordinator from llm_coordinator config
- Override _llm_slot_acquire/release to use local coordinator (no MQTT loop)
- /queue: show coordinator status + agent task queue summary
- Import time (missing)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 19:32:43 +00:00
sylvain 77684fd43d feat: /update returns real result, supports /update all and /update nexus
- /update <agent>: sends COMMAND with reply_to, waits 30s for response
- /update nexus: updates nexus itself via _do_self_update()
- /update all: updates all known agents + nexus last

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 19:19:22 +00:00
sylvain 3478bd637f fix: _llm_lock dans nexus pour éviter les appels LLM concurrents
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 18:02:26 +00:00
sylvain 46367679be fix: nexus répond dans le MUC quand message vient du MUC
Remplace send_message(sender) par _xmpp_reply(sender, body, is_muc)
pour que les réponses aux commandes MUC arrivent dans la room
et pas en chat privé vers un JID de participant.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 17:55:15 +00:00
sylvain 8626161883 feat: commande /llm — switch LLM global local/cloud
- /llm : statut actuel + profils configurés
- /llm local|cloud : switch tous les agents
- /llm list : liste les modèles Ollama (local vs cloud)
- /llm set local|cloud <model> : définit un profil et l'active
- Broadcast via MQTT retained agents/llm/switch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 17:35:31 +00:00
sylvain 57fe04a6f8 debug: log incoming XMPP messages at INFO level
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 16:46:11 +00:00
sylvain 197abc75cc Add agents_status skill and status change notifications
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 13:12:34 +00:00
sylvain cd8077c006 Remove sys.path.insert('/opt') — agents_core now installed via pip
The editable install path finder was being shadowed by the /opt
namespace package lookup. Removing the manual path insert fixes the
ImportError: cannot import name 'BaseAgent' from 'agents_core'.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 10:28:38 +00:00
sylvain 6cd701d673 Initial commit — nexus v2.0 2026-03-09 09:01:33 +00:00