#3591516: Canvas AI Restrict component catalog to canvas_test_sdc components when canvas_ai_agents_test is installed

[Description of changes]

Manual verification steps

  1. Install the canvas_ai_agents_test module on a development site that has canvas_ai enabled.
  2. Install the ai_api_explorer module.
  3. Go to /admin/config/ai/explorers/tools_explorer, select the get_component_context tool, and click Run.
  4. Verify that the output contains only SDCs from canvas_test_sdc and no blocks or other components.
  5. Uninstall canvas_ai_agents_test, run the tool again, and verify the full component catalog is restored.

Closes #3591516

Edited by Juan Correa

Merge request reports

Loading