UNPKG

ai-debug-local-mcp

Version:

🎯 ENHANCED AI GUIDANCE v4.1.2: Dramatically improved tool descriptions help AI users choose the right tools instead of 'close enough' options. Ultra-fast keyboard automation (10x speed), universal recording, multi-ecosystem debugging support, and compreh

210 lines (180 loc) • 9.41 kB
warning: variable "pid" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 142 │ {:ok, pid} -> │ ~ │ └─ lib/ai_debug_web/live/url_validator_live_improved.ex:142:13: AiDebugWeb.UrlValidatorLiveImproved.start_validation/2 warning: variable "reason" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 146 │ {:error, reason} = error -> │ ~ │ └─ lib/ai_debug_web/live/url_validator_live_improved.ex:146:16: AiDebugWeb.UrlValidatorLiveImproved.start_validation/2 warning: variable "result" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 184 │ defp format_validation_details(result, checklist, checklist_results) do │ ~~~~~~ │ └─ lib/ai_debug_web/live/url_validator_live_improved.ex:184:34: AiDebugWeb.UrlValidatorLiveImproved.format_validation_details/3 warning: variable "conn" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 125 │ def assert_no_console_errors(conn \\ nil) do │ ~~~~ │ └─ lib/ai_debug/test_helpers.ex:125:32: AiDebug.TestHelpers.assert_no_console_errors/1 warning: function generate_debug_report/2 is unused │ 297 │ defp generate_debug_report(session_id, screenshots) do │ ~ │ └─ lib/ai_debug/test_helpers.ex:297:8: AiDebug.TestHelpers (module) warning: function sanitize_filename/1 is unused │ 318 │ defp sanitize_filename(name) do │ ~ │ └─ lib/ai_debug/test_helpers.ex:318:8: AiDebug.TestHelpers (module) warning: function save_debug_report/2 is unused │ 306 │ defp save_debug_report(test_name, report) do │ ~ │ └─ lib/ai_debug/test_helpers.ex:306:8: AiDebug.TestHelpers (module) warning: function timestamp_suffix/0 is unused │ 325 │ defp timestamp_suffix do │ ~ │ └─ lib/ai_debug/test_helpers.ex:325:8: AiDebug.TestHelpers (module) warning: variable "session_id" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 340 │ if session_id = Process.get(:debug_session_id) do │ ~~~~~~~~~~ │ └─ lib/ai_debug/test_helpers.ex:340:8: AiDebug.TestHelpers.DebugMode.visit/1 warning: variable "session_id" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 351 │ if session_id = Process.get(:debug_session_id) do │ ~~~~~~~~~~ │ └─ lib/ai_debug/test_helpers.ex:351:8: AiDebug.TestHelpers.DebugMode.click_button/1 warning: variable "session_id" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 362 │ if session_id = Process.get(:debug_session_id) do │ ~~~~~~~~~~ │ └─ lib/ai_debug/test_helpers.ex:362:8: AiDebug.TestHelpers.DebugMode.fill_in/2 warning: variable "session_id" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 374 │ if session_id = Process.get(:debug_session_id) do │ ~~~~~~~~~~ │ └─ lib/ai_debug/test_helpers.ex:374:8: AiDebug.TestHelpers.DebugMode.assert_text/1 warning: clauses with the same name and arity (number of arguments) should be grouped together, "def handle_info/2" was previously defined (lib/ai_debug_web/live/url_validator_live.ex:112) │ 609 │ def handle_info({:ai_debug_metrics, metrics}, socket) do │ ~ │ └─ lib/ai_debug_web/live/url_validator_live.ex:609:7 warning: variable "session_id" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 660 │ def check_console_errors(session_id, url, pid) do │ ~~~~~~~~~~ │ └─ lib/ai_debug_web/live/url_validator_live.ex:660:28: AiDebugWeb.UrlValidatorLive.check_console_errors/3 warning: variable "session_id" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 679 │ def check_performance_metrics(session_id, url, pid) do │ ~~~~~~~~~~ │ └─ lib/ai_debug_web/live/url_validator_live.ex:679:33: AiDebugWeb.UrlValidatorLive.check_performance_metrics/3 warning: variable "session_id" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 688 │ def check_accessibility(session_id, url, pid) do │ ~~~~~~~~~~ │ └─ lib/ai_debug_web/live/url_validator_live.ex:688:27: AiDebugWeb.UrlValidatorLive.check_accessibility/3 warning: variable "session_id" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 697 │ defp check_step_quality(session_id, step) do │ ~~~~~~~~~~ │ └─ lib/ai_debug_web/live/url_validator_live.ex:697:27: AiDebugWeb.UrlValidatorLive.check_step_quality/2 warning: variable "session_id" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 705 │ defp capture_step_screenshot(session_id, step) do │ ~~~~~~~~~~ │ └─ lib/ai_debug_web/live/url_validator_live.ex:705:32: AiDebugWeb.UrlValidatorLive.capture_step_screenshot/2 warning: variable "result" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 714 │ {:ok, %{passed: true} = result} -> │ ~ │ └─ lib/ai_debug_web/live/url_validator_live.ex:714:31: AiDebugWeb.UrlValidatorLive.run_final_qa_gates/3 warning: AiDebug.AITestGenerator.generate_from_session/1 is undefined (module AiDebug.AITestGenerator is not available or is yet to be defined) │ 736 │ case AiDebug.AITestGenerator.generate_from_session(%{ │ ~ │ └─ lib/ai_debug_web/live/url_validator_live.ex:736:36: AiDebugWeb.UrlValidatorLive.generate_test_from_session/2 warning: variable "from" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 73 │ def handle_call({:call_tool, tool_name, arguments}, from, state) do │ ~~~~ │ └─ lib/ai_debug/mcp_bridge.ex:73:55: AiDebug.MCPBridge.handle_call/3 warning: unused alias LiveViewDebugger │ 15 │ alias AiDebug.LiveViewDebugger │ ~ │ └─ lib/ai_debug_web/live/debug_demo_live.ex:15:3 warning: function start_bridge_async/1 is unused │ 171 │ defp start_bridge_async(state) do │ ~ │ └─ lib/ai_debug/mcp_bridge_manager.ex:171:8: AiDebug.MCPBridgeManager (module) warning: Number.Delimit.number_to_delimited/1 is undefined (module Number.Delimit is not available or is yet to be defined) │ 253 │ <span class="text-white ml-2"><%= Process.info(self(), :reductions) |> elem(1) |> Number.Delimit.number_to_delimited() %></span> │ ~ │ └─ lib/ai_debug_web/components/live_view_debug_panel.ex:253:110: AiDebugWeb.Components.LiveViewDebugPanel.performance_metrics/1 warning: variable "opts" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 107 │ def check_console_errors(target, opts \\ []) do │ ~~~~ │ └─ lib/ai_debug/qa_gates.ex:107:36: AiDebug.QAGates.check_console_errors/2 warning: variable "target" is unused (if the variable is not meant to be used, prefix it with an underscore) │ 227 │ def check_cross_browser(target, opts \\ []) do │ ~~~~~~ │ └─ lib/ai_debug/qa_gates.ex:227:27: AiDebug.QAGates.check_cross_browser/2 warning: function mcp_transport_spec/0 is unused │ 92 │ defp mcp_transport_spec do │ ~ │ └─ lib/ai_debug/application.ex:92:8: AiDebug.Application (module) [info] Starting AI Debug MCP Server... [info] Browser pool initialized with 0 browsers [debug] Process granted: browser_worker (1/20) [debug] Process granted: browser_worker (2/20) [info] Browser worker 1 started [info] Browser worker 2 started [info] MCP HTTP Client initialized with session: om75qp [info] Running AiDebugWeb.Endpoint with Bandit 1.7.0 at 127.0.0.1:9090 (http) [info] Access AiDebugWeb.Endpoint at http://localhost:9090 [watch] build finished, watching for changes... [debug] Browser worker 1 received: {:eol, "READY"} [debug] Browser worker 2 received: {:eol, "READY"} [notice] SIGTERM received - shutting down [notice] SIGTERM received - shutting down [debug] Terminating browser worker 2, reason: :shutdown [debug] Process released (1/20) [debug] Terminating browser worker 1, reason: :shutdown [debug] Process released (0/20)