Files
fivenode_go/hbrtl_ext/nodebridge
CharlesKWON 00b4835a53 feat(rtl): nodebridge — handle-based Node module bridge in pure Go
Faithful Go port of the C++ fivenode Require() mechanism: persistent node
sidecar + JSON handle protocol (require→handle, call→method with auto-await
Promise, end), driven by pure-Go glue (os/exec + stdio). No C/CGO, not
`node -e` string eval. NODE_PATH points at the app's node_modules.
PRG: FN_REQUIRE / FN_CALL / FN_END / FN_LASTERROR.

Replaces the earlier nodertl (NODE_EVAL string-eval), removed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 19:04:09 +09:00
..