code wiki / (root) / nx_vizsla_tool_register.nx

nx_vizsla_tool_register.nx

buildroot/runtime/nx_vizsla_tool_register.nx

7525 B92 linesdepth 7pulls 9 transitivereach 0 importersview sourcekind orphan librarytopic vizsla
docsdependenciesstructsconstsfunctions

about

nx_vizsla_tool_register.nx -- register the VIZSLA personal-assistant coordination capabilities into the sovereign tool registry (operator 2026-07-08: "we need to get these to mcp level apis"). The registry IS what /api/tools + /mcp tools/list serve, so registration = discoverability for any MCP client / agent. RUNNABLE is the separate fail-closed layer: tool_allowlist.conf GREEN rows (added 2026-07-08) + cap token -- proven by nx_vizsla_mcp_gate over the same tea_* execution path /mcp tools/call uses. Idempotent (reg_put additive, history kept). Verifies by READBACK, not by claim. Mirrors nx_genui_tool_register. expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_tool_registry.nx nx_vizsla_tool_register.nx

imports: nx_tool_registry.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

10func vt_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
11func vt_putn(v: i64) -> i64
23func vt_reg1(name: *u8, desc: *u8, invoke: *u8, status: *u8) -> i64
37func main() -> i64