Complete uni-wizard implementation with unified tool registry: **Core Architecture:** - harness.py - Single entry point for all capabilities - tools/registry.py - Central tool registry with schema generation - Elegant routing: One harness, infinite capabilities **Tool Categories (13 tools total):** - System: system_info, process_list, service_status, service_control, health_check, disk_usage - Git: git_status, git_log, git_pull, git_commit, git_push, git_checkout, git_branch_list - Network: http_get, http_post, gitea_create_issue, gitea_comment, gitea_list_issues, gitea_get_issue **Daemons:** - health_daemon.py - HTTP endpoint on :8082, writes to ~/timmy/logs/health.json - task_router.py - Polls Gitea for assigned issues, routes to tools, posts results **Systemd Services:** - timmy-health.service - Health monitoring daemon - timmy-task-router.service - Gitea task router daemon **Testing:** - test_harness.py - Exercises all tool categories **Design Principles:** - Local-first: No cloud dependencies - Self-healing: Tools can restart, reconnect, recover - Unified: One consciousness, all capabilities Closes #76, #77, #78
25 lines
486 B
Python
25 lines
486 B
Python
"""
|
|
Uni-Wizard Tools Package
|
|
All tools for self-sufficient operation
|
|
"""
|
|
|
|
from .registry import registry, ToolRegistry, ToolResult, tool, call_tool
|
|
|
|
# Import all tool modules to register them
|
|
from . import system_tools
|
|
from . import git_tools
|
|
from . import network_tools
|
|
|
|
__all__ = [
|
|
'registry',
|
|
'ToolRegistry',
|
|
'ToolResult',
|
|
'tool',
|
|
'call_tool'
|
|
]
|
|
|
|
# Ensure all tools are registered
|
|
system_tools.register_all()
|
|
git_tools.register_all()
|
|
network_tools.register_all()
|