Add claude-bot integration module to tools menu
New module modules/tools/deploy_claude_bot.py with claude_bot_menu() entry point. Supports local deploy/uninstall, remote SSH deploy with auto-generated config.yaml (credentials passed via env vars, not written to disk), and local/remote systemctl status checks. Wired into deploy.py tools_menu() as option 8.
This commit is contained in:
@@ -170,7 +170,7 @@ def deploy_phantom():
|
||||
else:
|
||||
# Auto-clone as fallback
|
||||
print(f"\n{COLORS['YELLOW']}[*] Phantom not found — cloning ghost_protocol...{COLORS['RESET']}")
|
||||
repo_url = "https://github.com/n0mad1k/ghost_protocol-public.git"
|
||||
repo_url = "https://github.com/ghost-protocol/ghost_protocol-public.git"
|
||||
clone_dest = os.path.expanduser('~/tools/ghost_protocol')
|
||||
try:
|
||||
subprocess.run(['git', 'clone', repo_url, clone_dest], check=True)
|
||||
@@ -226,6 +226,7 @@ def tools_menu():
|
||||
print(f"5) Payload Generation Tools {COLORS['GRAY']}*UNDER-CONSTRUCTION*{COLORS['RESET']}")
|
||||
print(f"6) Infrastructure Health Check")
|
||||
print(f"7) Ops Dashboard {COLORS['CYAN']}(Real-Time Engagement Monitor){COLORS['RESET']}")
|
||||
print(f"8) Claude Bot {COLORS['CYAN']}(Matrix-Claude Code Bridge){COLORS['RESET']}")
|
||||
print(f"99) Return to Main Menu")
|
||||
|
||||
choice = input(f"\nSelect an option: ")
|
||||
@@ -248,6 +249,11 @@ def tools_menu():
|
||||
infrastructure_health_check()
|
||||
elif choice == "7":
|
||||
launch_ops_dashboard()
|
||||
elif choice == "8":
|
||||
claude_bot_module_path = os.path.join(os.path.dirname(__file__), 'modules', 'tools', 'deploy_claude_bot.py')
|
||||
claude_bot_module = import_module_from_path('deploy_claude_bot', claude_bot_module_path)
|
||||
if claude_bot_module:
|
||||
claude_bot_module.claude_bot_menu()
|
||||
elif choice == "99":
|
||||
return
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user