/ test_ceo_linkedin_budget.sh
test_ceo_linkedin_budget.sh
 1  #!/bin/bash
 2  set -euo pipefail
 3  
 4  # Test CEO agent's session_consult for LinkedIn marketing budget planning
 5  
 6  echo "=================================================="
 7  echo " CEO Agent - LinkedIn Marketing Budget Test"
 8  echo "=================================================="
 9  echo ""
10  
11  # Test 1: Initial consultation about LinkedIn marketing budget
12  echo "Test 1: Asking CEO to analyze LinkedIn marketing budget needs..."
13  echo ""
14  
15  cat <<'EOF' | ./apps/ceo/ceo 2>&1 | grep -A 1000 '"result":'
16  {"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "test-client", "version": "1.0.0"}}}
17  {"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "session_consult", "arguments": {"question": "As CEO, I need your strategic analysis on allocating budget for LinkedIn marketing in 2025. Our company is a B2B SaaS with 50 employees. What budget range would be appropriate, what KPIs should we track, and what marketing strategies should we prioritize?"}}}
18  EOF
19  
20  echo ""
21  echo "=================================================="
22  echo " Test Complete"
23  echo "=================================================="