code wiki / (root) / nx_companion_photo.nx

nx_companion_photo.nx

buildroot/runtime/nx_companion_photo.nx

2181 B33 linesdepth 8pulls 11 transitivereach 1 importersview sourcekind librarytopic companion
docsdependenciesstructsconstsfunctions

about

nx_companion_photo.nx -- the capstone that makes the companion SHARE a grounded self-image and REMEMBER it, unifying the visual arc with episodic memory. When the companion sends a photo: advance her visual arc (new outfit/scene -- same person), compose the /gen/api/generate request for the existing NAS pipeline, AND append an episodic memory ("I sent you a photo of me <current look, scene>") so what she shares and what she recalls stay coherent turn to turn. The caller sends the returned request to the sovereign gen daemon; the memory is already written. This is "integrated in her persona and env and all the things": one being who talks, remembers, and shares images of herself grounded in our scenes, varying every time. license_tier: ORIGINAL

dependencies 2 imports · 1 importers

nx_companion_render.nx nx_companion_memory.nx nx_companion_photo.nx nx_companion_photo_gate.nx

imports: nx_companion_render.nxnx_companion_memory.nx

imported by: nx_companion_photo_gate.nx

structs

none

consts

10const K_MAGIC_4096: i64 = 4096
11const K_MAGIC_8192: i64 = 8192

functions

15func companion_share_photo_pfx(vpfx: *u8, mpfx: *u8, persona: *u8, session: *u8, ts: *u8, out_req: *u8, cap: i64, step_out: *i64) -> i64
31func companion_share_photo(persona: *u8, session: *u8, ts: *u8, out_req: *u8, cap: i64, step_out: *i64) -> i64