code wiki / (root) / nx_swarm_endpoint.nx

nx_swarm_endpoint.nx

buildroot/runtime/nx_swarm_endpoint.nx

7415 B145 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic swarm
docsdependenciesstructsconstsfunctions

about

nx_swarm_endpoint.nx -- thin CLI over nx_swarm_endpoint_lib (the resolver SSOT). The parser and the table live in the LIB so that consumers (nx_swarm_coord, nx_worker_dispatch, nx_mesh_lb, nx_hostctl, nx_mgmt_api) call the SAME code this CLI proves. If the CLI owned its own copy of the parser we would have rebuilt the very duplication this whole arc exists to delete. EXIT: 0 resolved / 4 REFUSE (unknown role, unreadable table) / 2 usage. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_swarm_endpoint_lib.nx nx_swarm_endpoint.nx

imports: nx_syscalls.nxnx_swarm_endpoint_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap se_put sys_write se_ctx sys_mmap ↻ se_slurp sys_openat_rd sys_read sys_close se_field sys_exit se_ceq se_putn se_putd sys_mmap ↻ se_addr se_ctx ↻ se_find se_seq se_len sys_mmap ↻ se_putn ↻ se_has se_len ↻ se_addr_desc se_ctx ↻ se_find ↻ sys_mmap ↻ se_putn ↻ se_put ↻

structs

none

consts

11const K_MAGIC_65536: i64 = 65536

functions

13func main(argc: i64, argv: *i64) -> i64