#!/bin/bash # Quick test script to verify Agentecho "๐Ÿ’ก Next steps:" echo " 1. Run scripts/setup.sh to configure VS Code integration" echo " 2. Or test manually with: scripts/mcp_launcher.sh"rdinator works without getting stuck echo "๐Ÿงช Quick AgentCoordinator Test" echo "==============================" cd "$(dirname "$0")" echo "๐Ÿ“‹ Testing basic compilation..." if mix compile --force >/dev/null 2>&1; then echo "โœ… Compilation successful" else echo "โŒ Compilation failed" exit 1 fi echo "๐Ÿ“‹ Testing application startup (without persistence)..." if timeout 10 mix run -e " Application.put_env(:agent_coordinator, :enable_persistence, false) {:ok, _apps} = Application.ensure_all_started(:agent_coordinator) IO.puts('โœ… Application started successfully') # Quick MCP server test response = AgentCoordinator.MCPServer.handle_mcp_request(%{ \"jsonrpc\" => \"2.0\", \"id\" => 1, \"method\" => \"tools/list\" }) case response do %{\"result\" => %{\"tools\" => tools}} when is_list(tools) -> IO.puts(\"โœ… MCP server working (#{length(tools)} tools available)\") _ -> IO.puts(\"โŒ MCP server not responding correctly\") end System.halt(0) "; then echo "โœ… Quick test passed!" else echo "โŒ Quick test failed" exit 1 fi echo "" echo "๐ŸŽ‰ AgentCoordinator is ready!" echo "" echo "๐Ÿš€ Next steps:" echo " 1. Run ./setup.sh to configure VS Code integration" echo " 2. Or test manually with: ./mcp_launcher.sh" echo " 3. Or run Python example: python3 mcp_client_example.py"