Commit Graph
56 Commits
Author SHA1 Message Date
opencode 1e49eff703 fix: migliora pattern detection con regex case-insensitive e keyword generiche
- Usa re.IGNORECASE per estrarre path
- Usa ANY keyword read invece di pattern esatti
- Più flessibile nell'interpretazione dell'intento
2026-03-23 18:41:57 +01:00
opencode 9cccbabef1 feat: aggiunge pattern detection per 'leggi file'
- Aggiunge pattern per comandi di lettura file
- Estrae automaticamente il path dal messaggio
2026-03-23 18:39:42 +01:00
opencode cffac60211 fix: langcode.py usa result['response'] invece di messages[-1]
Il bug era che langcode.py prendeva l'ultimo messaggio dalla cronologia invece del campo 'response' che OllamaToolAgent restituisce.
2026-03-23 18:35:45 +01:00
opencode d16102587d debug: add flush=True to print statements 2026-03-23 18:32:40 +01:00
opencode a0ce57132d debug: trace before and after invoke 2026-03-23 18:29:01 +01:00
opencode fbc19aef23 debug: trace invoke execution 2026-03-23 18:15:16 +01:00
opencode e7cd792954 debug: check result keys in main.py 2026-03-23 18:05:36 +01:00
opencode b22297a5d4 fix: usa @tool decorator invece di Tool() per i built-in
Il problema era che Tool() senza parametri si lamentava quando invocato con {}. Usando @tool decorator funziona correttamente.
2026-03-23 18:01:40 +01:00
opencode 2253fbad13 debug: trace full tool execution 2026-03-23 17:57:16 +01:00
opencode 658f7cd580 debug: aggiunge print esplicito 2026-03-23 17:49:19 +01:00
opencode 8528068995 fix: force reload module to avoid cached version 2026-03-23 17:47:24 +01:00
opencode 7fd3bfd26b fix: non passare argomenti vuoti a tool senza parametri 2026-03-23 17:36:50 +01:00
opencode 52925d80ce debug: mostra result del tool 2026-03-23 17:30:39 +01:00
opencode ecf4648393 debug: aggiunge print per vedere detection 2026-03-23 17:29:25 +01:00
opencode 7c645bff78 fix: migliora intent detection con più patterns 2026-03-23 17:21:52 +01:00
opencode a2f933edee fix: return tool result directly for detected intents 2026-03-23 17:19:55 +01:00
opencode 9970bba6c7 fix: aggiunge intent detection per fallback automatico
- Rileva automaticamente richieste di system info e list file
- Non dipende dal modello per usare i tool base
- System prompt semplificato
2026-03-23 17:02:30 +01:00
opencode 2fa06ec0af fix: migliora parsing e system prompt per tool calling
- Nuovo formato TOOL:toolname|arg=val più semplice
- System prompt semplificato con lista chiara tool
- Parsing supporta sia formato nuovo che vecchio
- Validazione tool names esistenti
2026-03-23 16:20:37 +01:00
opencode a309c7e27c feat: aggiunge OllamaToolAgent con tool calling
- Nuovo modulo ollama_agent.py con parsing delle risposte
- Supporta chiamate tool per provider senza bind_tools
- Tool built-in: execute, read_file, write_file, ls, search, system_info
- Il modello risponde con [TOOL_CALL] che noi parsiamo ed eseguiamo
- Integrato in main.py per uso automatico con Ollama
2026-03-23 16:14:37 +01:00
opencode 2077618f52 fix: corregge import langchain_core.messages 2026-03-23 16:03:08 +01:00
opencode 0b5c6a874e fix: usa sempre agente semplice per Ollama
- Rimuovi condizione len(custom_tools) > 0
- Ora usa simple agent per qualsiasi config con provider=ollama
2026-03-23 16:01:28 +01:00
opencode 8acbeb7dfe feat: aggiunge supporto agente semplice per Ollama
- Crea create_simple_agent() per provider senza tool-calling
- Detecta automaticamente Ollama e usa agente semplice
- Aggiunge comando /reset per pulire cronologia
2026-03-23 15:59:11 +01:00
opencode b25aa8fbad feat: migliora gestione errori con suggerimenti contextuali
- Aggiunge config_manager a load_model_from_config() per usare config attive
- Migliora error handling con tipo eccezione e suggerimenti
- Aggiunge pyproject.toml e setup.py per installazione pip
2026-03-23 11:14:20 +01:00
opencode 4de50a1712 docs: riscrive QUICKSTART.md completo con tutte le funzionalità
- Chat interattiva, Server web, Dashboard, API
- CLI configurazione, TUI, Analytics
- Comandi memory, planning, skills
- Struttura progetto e troubleshooting
2026-03-23 09:50:19 +01:00
opencode 122ad6930b docs: aggiunge guida rapida QUICKSTART.md
Guida veloce per installazione da zero su nuova macchina
2026-03-23 09:43:40 +01:00
opencode 05fc002cb4 fix: rimuove virgolette dai fatti salvati nella memoria
- Aggiunta funzione _clean_text() per pulire le virgolette
- Corretto memory_remember per salvare testo pulito
2026-03-23 09:41:46 +01:00
opencode d055204067 fix: migliora parsing comando /plan create per gestire nomi con spazi
- Aggiunto regex parsing per estrarre virgolette dalla stringa grezza
- Il comando ora funziona correttamente con nomi multi-parola
- Formato supportato: /plan create "Nome Piano" "Task1; Task2; Task3"
2026-03-23 09:11:00 +01:00
opencode 56f2819a92 feat: Aggiunge miglioramenti per memoria e pianificazione con integrazione MCP
- Aggiunto sistema SimplePersistentMemory per fatti, preferenze e cronologia conversazioni
- Aggiunto EnhancedPlanner con dipendenze task, priorità e tracciamento progresso
- Integrati strumenti di miglioramento nell'agente (remember, recall, preference, planning)
- Aggiunti comandi CLI /memory e /plan per accesso diretto da terminale
- Aggiunto client MCP per connessione a server Model Context Protocol
- Aggiornato README con documentazione completa per tutte le nuove funzionalità
- Corretto parsing comando creazione piano per gestire nomi multi-parola

Nuovi comandi:
- /memory remember <testo> - Ricorda un fatto
- /memory recall <query> - Cerca nella memoria
- /memory preference set/get - Gestisci preferenze
- /memory stats - Statistiche memoria
- /plan create <nome> <task1;task2;...> - Crea un piano
- /plan list - Elenca tutti i piani
- /plan progress <plan_id> - Mostra progresso piano
- /plan start <task_id> - Inizia un task
- /plan complete <task_id> - Completa un task
2026-03-23 08:57:21 +01:00
opencode 5a8fcda993 fix: remove pycache files and finalize integration 2026-03-22 14:41:40 +01:00
opencode d68417bbc8 cleanup: remove pycache files and update main.py 2026-03-21 22:39:51 +01:00
opencode 6e7ae3a959 feat: Add skill management capabilities to discover, install, and manage agent skills
- Created skill_manager.py for interacting with skills.sh and other skill registries
- Added skill management tools (search_skills, install_skill, uninstall_skill, list_installed_skills, get_skill_details) as LangChain Tools
- Integrated skill management into the agent's tool system via get_skill_tools()
- Added /skills subcommand to CLI for direct terminal access to skill management
- Updated system prompt to inform users about skill management capabilities
- Created comprehensive documentation in docs/skills-management-design.md
- Enables users to discover and install community skills to extend agent capabilities
2026-03-21 22:31:14 +01:00
opencode 753c7d491e feat: Add MCP integration to enable tools from skills.sh and other MCP servers
- Added MCP client to discover and convert MCP tools to LangChain Tools
- Extended configuration manager to support MCP server configurations
- Updated CLI to manage MCP server configurations (list, add, remove, use)
- Integrated MCP tools into the agent's tool loading system
- Added documentation for MCP integration design
2026-03-21 19:01:58 +01:00
truetype 55a31278a8 Fix completion scripts: remove remaining maxclaw references
- Rewrote langcode.bash with full unified CLI support
- Rewrote langcode.zsh with full unified CLI support
- All commands: chat, server, tui, config, analytics, dashboard, version
- Config subcommands: list, add, remove, use, active, test, export, import, search
2026-03-21 08:52:39 +01:00
truetype eda22811ce Rename project: maxclaw → langcode
- Renamed all references from maxclaw to langcode across all files
- Renamed maxclaw.py → langcode.py
- Renamed completion scripts: maxclaw.bash/zsh → langcode.bash/zsh
- Updated Dockerfile, README, all Python files, HTML, JSON, YAML
- New Gitea repository: http://192.168.0.183:8085/truetype/langcode_agent.git
2026-03-21 08:36:35 +01:00
truetype 0612b290d5 Phase 19: Unified CLI entry point (maxclaw.py)
- Single 'maxclaw' command for all functionality
- Subcommands: chat, server, tui, config, analytics, dashboard, version
- Nested config subcommands: list, add, remove, use, active, test, export, import, search
- Updated README with unified CLI documentation
- Updated Dockerfile to use maxclaw.py
- Added .gitignore for __pycache__
2026-03-21 08:03:47 +01:00
truetype 3e986d83f1 Phase 18: Advanced analytics and enhanced documentation 2026-03-20 21:10:58 +01:00
truetype 1dae4c5656 Phase 17: Plugin marketplace and enhanced documentation 2026-03-20 20:55:34 +01:00
truetype cf8e4c677f Phase 16: Responsive web design improvements and enhanced documentation 2026-03-20 20:34:23 +01:00
truetype b3f57a8635 Phase 15: Multi-language support for monitoring dashboard 2026-03-20 20:19:31 +01:00
truetype 7103b218b9 Phase 14: Enhanced performance optimizations with connection pooling and lazy loading 2026-03-20 20:01:27 +01:00
truetype 979d19bdc1 Phase 13: Real-time monitoring web interface and enhanced API server 2026-03-20 19:46:41 +01:00
truetype e92cc701f6 Phase 12: Additional plugin examples (File Tools and System Utils) 2026-03-20 19:31:53 +01:00
truetype 6e1b1a44db Phase 11: Performance monitoring dashboard and enhanced documentation 2026-03-20 19:17:07 +01:00
truetype 8dbab53c6d Phase 10: Multi-language support (Italian and English) 2026-03-20 19:07:47 +01:00
truetype 98b6f10ea4 Phase 9: Plugin system for extensibility and advanced customization 2026-03-20 18:58:00 +01:00
truetype c54f2a33c8 Phase 8: Additional provider integrations (Anthropic, Google) and enhanced documentation 2026-03-20 18:47:02 +01:00
truetype c44a4ae92a Phase 7: Performance optimizations, monitoring, and command system with / prefix 2026-03-20 18:36:32 +01:00
truetype 6eace3abc0 Phase 6: Web UI for configuration management and enhanced API server 2026-03-20 18:25:22 +01:00
truetype 5541770896 Phase 5: Docker containerization and API server for remote access 2026-03-20 18:16:11 +01:00
truetype b17c180fbe Add comprehensive architecture and usage documentation in docs/ 2026-03-20 18:07:02 +01:00