Test fixtures and unit tests for module-scope UDA registration (registerModule / registerModules). The annotated free functions below exercise @tool, @resource, @prompt, and a tool taking an explicit RequestContext. Everything here is version (unittest) only.
Tests that the public API is tiered.