8 Commits

Author SHA1 Message Date
sylvain 7e1c5acf39 fix: script.py guillemets, system_prompt scripts bash
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 19:11:23 +00:00
sylvain e163c7d7e3 feat: confirmations cron/systemd, renforcement script skill, éditeur de script
- base_agent: _pending_confirmations + intercepteur oui/non dans _on_xmpp_message
- cron: add/remove/clear demandent confirmation (requêtes XMPP directes)
- systemd: start/stop/restart/enable/disable/mask/unmask/daemon-reload demandent confirmation
- script: _safe_name strip toutes les extensions, extensions système interdites,
  contenu vide rejeté, nouvelle commande edit <nom> <ligne> | <contenu>
- README mis à jour

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 07:18:47 +00:00
sylvain 52eefac295 feat: script skill with MQTT execution notifications
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 19:49:15 +00:00
sylvain b6ac386a60 feat: add script library skill to all agents
Generic script.py skill (list/show/save/exec/run/delete) with dynamic
scripts dir derived from queue_db path or config scripts_dir key.
Each agent gets its own /opt/<agent>/scripts/ folder.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 19:38:18 +00:00
sylvain 9668304187 feat: deploy agent from any git URL (from_git / from_git_local)
- DeployConfig: add git_url, main_script, apt_deps fields
- Deployer: new _deploy_from_git() and _detect_main_script() methods
  Auto-detects main script (agent_*.py > main.py > grep __main__)
  Uses minimal apt defaults, reads requirements.txt for pip deps
- deploy skill: add from_git and from_git_local actions
  from_git <url> <nom> <host> <user> password|key <cred> <xmpp_jid> <xmpp_pass> <mqtt_host> [main_script]
  from_git_local <url> <nom> <xmpp_jid> <xmpp_pass> <mqtt_host> [main_script]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 19:12:30 +00:00
sylvain ad08ced154 Add agents_status skill and status change notifications
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 13:12:38 +00:00
sylvain abb4d2a9c1 Add mqtt_subscribe and muc_send skills
- mqtt_subscribe: dynamically subscribe/unsubscribe to any MQTT topic,
  received messages are forwarded to XMPP admins
- muc_send: post a message to the XMPP MUC group (agents@muc.xmpp.ovh)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 12:39:00 +00:00
sylvain f2da35e072 Initial commit — agent_deploy v2.0 2026-03-09 09:01:34 +00:00