feat: Complete code integration of modules (#18)

The complete code integration is done.

Co-authored-by: Sagnik <sagnik7896@gmail.com>
Reviewed-on: #18
This commit was merged in pull request #18.
This commit is contained in:
2026-04-12 19:20:14 +05:30
parent 248d92042f
commit 4645ff737b
27 changed files with 3393 additions and 50 deletions

View File

@@ -0,0 +1,20 @@
from backend.services.mcp_registry import mcp_registry
from backend.services.nemoclaw_runtime import nemoclaw_runtime
def test_nemoclaw_runtime_builds_workflow_dispatch() -> None:
dispatch = nemoclaw_runtime.build_workflow_dispatch(
prompt="Build a marketing-ready Oracle canvas",
tenant_id="tenant_velocity",
actor_role="sales_director",
component_templates=["tpl_pipeline_board_v2"],
)
assert dispatch["runtime"] == "python_native_nemoclaw"
assert dispatch["workflow"] == "oracle_canvas_generation"
def test_mcp_registry_lists_root_python_tools() -> None:
tools = mcp_registry.list_tools()
names = {tool["name"] for tool in tools}
assert "crm_search" in names
assert "external_search" in names