code wiki / _hdl_build / nx_vizsla_capture.nx
nx_vizsla_capture.nx
buildroot/runtime/_hdl_build/nx_vizsla_capture.nx
about
nx_vizsla_capture.nx -- NISHI VIZSLA: the OPT-IN page->person extractor for "capture as you browse".
Operator 2026-06-23: "lets NOT make it automatic but an OPTION to add to our personal/professional/business
relationship manager." So this NEVER auto-runs and NEVER auto-adds: it is invoked on demand (a button in the
Nishi browser), it parses the page YOU are looking at locally (no API, no upload), and emits a SUGGESTION you
then confirm into a chosen realm (personal|professional|business). Extraction priority (sovereign, structured):
1) JSON-LD <script type="application/ld+json"> ... "@type":"Person" ... "name":"<N>"
2) OpenGraph <meta property="og:title" content="<N> | site">
3) <title> <title><N> | site</title>
The site suffix (" | ...", " - ...") is stripped; the name is sanitized to an engine handle. Output feeds the
existing action controller (id=&name=) -> the operator picks the realm at confirm time. license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 12 | const K_MAGIC_65536: i64 = 65536 |
| 13 | const K_MAGIC_1024: i64 = 1024 |
functions
| 15 | func cp_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 16 | func cp_p(s: *u8) -> i64 { sys_write(1, s, cp_slen(s)); return 0 } |
| 18 | func cp_cat(dst: *u8, off: i64, s: *u8) -> i64 called by 1: cp_cmd_extract |
| 24 | func cp_readall(path: *u8, szp: *i64) -> *u8 |
| 39 | func cp_find(buf: *u8, n: i64, needle: *u8, from: i64) -> i64 |
| 54 | func cp_san(src: *u8, disp: *u8, id: *u8) -> i64 called by 1: cp_cmd_extract |
| 82 | func cp_strip_suffix(s: *u8) -> i64 called by 1: cp_cmd_extract |
| 100 | func cp_jsonld(buf: *u8, n: i64, out: *u8) -> i64 |
| 117 | func cp_og(buf: *u8, n: i64, out: *u8) -> i64 |
| 131 | func cp_title(buf: *u8, n: i64, out: *u8) -> i64 |
| 142 | func cp_cmd_extract(argc: i64, argv: *i64) -> i64 |
| 173 | func cp_eqc(a: *u8, b: *u8) -> i64 called by 1: main |
| 180 | func main(argc: i64, argv: *i64) -> i64 |