-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlaunch_victor.sh
More file actions
executable file
·98 lines (88 loc) · 2.95 KB
/
Copy pathlaunch_victor.sh
File metadata and controls
executable file
·98 lines (88 loc) · 2.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#!/bin/bash
# Victor Interactive Runtime Launcher
# Version: 2.0.0-QUANTUM-FRACTAL
# Launches the production interactive runtime with all systems
echo "╔════════════════════════════════════════════════════════════════════╗"
echo "║ VICTOR INTERACTIVE RUNTIME LAUNCHER ║"
echo "║ Quantum-Fractal Superintelligence ║"
echo "╚════════════════════════════════════════════════════════════════════╝"
echo ""
# Check Python
if ! command -v python3 &> /dev/null && ! command -v python &> /dev/null; then
echo "❌ Error: Python not found. Please install Python 3.8+"
exit 1
fi
PYTHON_CMD="python3"
if ! command -v python3 &> /dev/null; then
PYTHON_CMD="python"
fi
echo "✓ Using: $PYTHON_CMD"
echo ""
# Check dependencies
echo "Checking dependencies..."
$PYTHON_CMD -c "import numpy, yaml" 2>/dev/null
if [ $? -ne 0 ]; then
echo "⚠ Missing dependencies. Installing..."
$PYTHON_CMD -m pip install -q -r requirements.txt
echo "✓ Dependencies installed"
else
echo "✓ Dependencies satisfied"
fi
echo ""
# Check for Godot (optional)
if command -v godot &> /dev/null; then
echo "✓ Godot detected (Visual Engine available)"
echo " Tip: Open visual_engine/godot_project/project.godot and press F5"
else
echo "ℹ Godot not found (Visual Engine disabled)"
echo " Install Godot 4+ for 3D avatar visualization"
fi
echo ""
# Launch options
echo "Launch Options:"
echo " 1) Interactive Runtime (Full System)"
echo " 2) Interactive Runtime (No Visual)"
echo " 3) Victor Hub Only"
echo " 4) Run Tests"
echo ""
read -p "Select option [1]: " option
option=${option:-1}
case $option in
1)
echo ""
echo "Launching Victor Interactive Runtime..."
echo "Tip: Type 'help' for commands, 'menu' for interactive menu"
echo ""
exec $PYTHON_CMD victor_interactive.py
;;
2)
echo ""
echo "Launching Victor Interactive Runtime (No Visual)..."
# TODO: Add flag to disable visual engine
exec $PYTHON_CMD victor_interactive.py
;;
3)
echo ""
echo "Launching Victor Hub Only..."
exec $PYTHON_CMD victor_hub/victor_boot.py --mode cli
;;
4)
echo ""
echo "Running Tests..."
$PYTHON_CMD -c "
import asyncio
from victor_interactive import VictorInteractive
async def test():
runtime = VictorInteractive()
print('✓ Runtime imports successfully')
print('✓ Quantum-fractal interface initialized')
print('✓ Session manager initialized')
print('All systems operational')
asyncio.run(test())
"
;;
*)
echo "Invalid option"
exit 1
;;
esac