Initial Push

This commit is contained in:
2026-01-31 23:01:54 +00:00
parent 44d036c8d6
commit 5874b31464
32 changed files with 7171 additions and 0 deletions

101
test_app.sh Executable file
View File

@@ -0,0 +1,101 @@
#!/bin/bash
# Enhanced Terminal Test Script
# This script verifies the application is built correctly
echo "🧪 Testing Enhanced Terminal..."
echo ""
# Check if app exists
if [ ! -d "EnhancedTerminal.app" ]; then
echo "❌ EnhancedTerminal.app not found!"
echo " Run ./build.sh first"
exit 1
fi
echo "✅ Application bundle exists"
# Check if executable exists
if [ ! -f "EnhancedTerminal.app/Contents/MacOS/EnhancedTerminal" ]; then
echo "❌ Executable not found!"
exit 1
fi
echo "✅ Executable exists"
# Check if executable is executable
if [ ! -x "EnhancedTerminal.app/Contents/MacOS/EnhancedTerminal" ]; then
echo "❌ Executable is not executable!"
exit 1
fi
echo "✅ Executable has correct permissions"
# Check if Info.plist exists
if [ ! -f "EnhancedTerminal.app/Contents/Info.plist" ]; then
echo "❌ Info.plist not found!"
exit 1
fi
echo "✅ Info.plist exists"
# Check file size
SIZE=$(stat -f%z "EnhancedTerminal.app/Contents/MacOS/EnhancedTerminal" 2>/dev/null || stat -c%s "EnhancedTerminal.app/Contents/MacOS/EnhancedTerminal" 2>/dev/null)
if [ "$SIZE" -lt 100000 ]; then
echo "⚠️ Warning: Executable seems small ($SIZE bytes)"
else
echo "✅ Executable size looks good ($SIZE bytes)"
fi
# Check if all source files exist
echo ""
echo "📁 Checking source files..."
FILES=(
"EnhancedTerminalApp.swift"
"Settings.swift"
"HistoryManager.swift"
"SnippetManager.swift"
"AIManager.swift"
"TerminalSession.swift"
"Panels.swift"
"MainWindowController.swift"
)
for file in "${FILES[@]}"; do
if [ -f "$file" ]; then
echo " ✅ $file"
else
echo " ❌ $file missing!"
fi
done
# Check documentation
echo ""
echo "📚 Checking documentation..."
DOCS=(
"README.md"
"USAGE_GUIDE.md"
"QUICK_REFERENCE.md"
"CHANGES.md"
"IMPLEMENTATION_SUMMARY.md"
)
for doc in "${DOCS[@]}"; do
if [ -f "$doc" ]; then
echo " ✅ $doc"
else
echo " ❌ $doc missing!"
fi
done
echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "✅ All tests passed!"
echo ""
echo "To run the application:"
echo " open EnhancedTerminal.app"
echo ""
echo "Or double-click EnhancedTerminal.app in Finder"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"