Phase 12: Additional plugin examples (File Tools and System Utils)

This commit is contained in:
truetype committed 2026-03-20 19:31:53 +01:00
1 parent 6e1b1a44db
commit e92cc701f6
3 files changed
+937 -1

No files matched your search

+75 -1
View File
@@ -20,6 +20,7 @@ Un agente configurabile basato su DeepAgents che supporta più provider LLM.
- **Monitoraggio**: Sistema di logging e monitoraggio delle performance
- **Dashboard performance**: Monitoraggio dettagliato delle performance
- **Sistema di plugin**: Estendi le funzionalità con plugin personalizzati
- **Plugin inclusi**: File tools, System utils, Example plugin
- **Supporto multilingue**: Interfaccia in italiano e inglese
## Installazione
@@ -424,7 +425,17 @@ MaxClaw Agent include un sistema di plugin per estendere le funzionalità.
### Plugin Inclusi
- **Example Plugin**: Plugin di esempio che dimostra come creare plugin
1. **Example Plugin**: Plugin di esempio che dimostra come creare plugin
- Strumenti: `example_hello`, `example_echo`, `example_math`
- Comandi: `/example`, `/hello`, `/math`
2. **File Tools Plugin**: Strumenti aggiuntivi per la gestione dei file
- Strumenti: `file_find`, `file_size`, `file_copy`, `file_move`, `file_delete`, `file_info`, `dir_list`, `dir_create`
- Comandi: `/find`, `/size`, `/copy`, `/move`, `/delete`, `/info`, `/dir`, `/mkdir`
3. **System Utils Plugin**: Strumenti per informazioni di sistema
- Strumenti: `system_info`, `system_uptime`, `system_ip`, `system_hostname`, `system_platform`, `system_users`, `system_processes`, `system_disk_usage`
- Comandi: `/sysinfo`, `/uptime`, `/ip`, `/hostname`, `/platform`, `/users`, `/ps`, `/df`
### Creare un Plugin
@@ -479,6 +490,69 @@ python -c "from plugins.manager import plugin_manager; plugin_manager.load_all_p
/mycommand
```
### Esempi di Utilizzo dei Plugin
#### File Tools Plugin
```bash
# Trova file per nome
"Find all .py files in the current directory"
# oppure
/find *.py
# Ottieni dimensione di un file
"Get the size of main.py"
# oppure
/size main.py
# Copia un file
"Copy config.json to backup_config.json"
# oppure
/copy config.json backup_config.json
# Elenca directory con dettagli
"List files in the current directory with details"
# oppure
/dir
```
#### System Utils Plugin
```bash
# Ottieni informazioni di sistema
"Show system information"
# oppure
/sysinfo
# Ottieni uptime del sistema
"How long has the system been running?"
# oppure
/uptime
# Ottieni indirizzo IP
"What is my IP address?"
# oppure
/ip
# Ottieni informazioni sulla piattaforma
"What platform am I running on?"
# oppure
/platform
# Elenca utenti loggati
"Who is logged in?"
# oppure
/users
# Elenca processi in esecuzione
"Show running processes"
# oppure
/ps
# Mostra utilizzo disco
"Show disk usage"
# oppure
/df
```
## Supporto Multilingue
MaxClaw Agent supporta più lingue per l'interfaccia utente.