nx_seat_warm.nx
buildroot/runtime/nx_seat_warm.nx
about
nx_seat_warm.nx -- SEAT PRIMER (the anti-prefill-tax capability, 2026-07-16). One POST /gen
{prompt=<pack file>, max_new:1, chat, pfx:1} against a live serve builds the serve-resident
prefix-KV snapshot ONCE; every later engine/loop/curves call sharing the pack prefix then
re-prefills only its task suffix (boundary-safe, byte-identical -- nx_gen_pfx_live_gate 4/4).
At 1.5B this converts ~20min prefill per run into a one-time cost per seat boot.
usage: nx_seat_warm <packfile> <port> <chat> exit 0 = warmed ("ok":1 in reply), 1 = fail.
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_forge_loop.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
| none |
functions
| 10 | func main(argc: i64, argv: *i64) -> i64 |