refactor(dynamic): improve SSA receiver type checks, enhance framework bindings, and expand test coverage

This commit is contained in:
elipeter 2026-05-24 14:06:54 -05:00
parent f7310b20ba
commit 3027c1afa7
9 changed files with 583 additions and 56 deletions

View file

@ -1,5 +1,6 @@
// Phase 21 — `ws` WebSocket benign control.
const _NYX_ADAPTER_MARKER = "require('ws')";
const _NYX_WS_MESSAGE_MARKER = "wss.on('connection', ws => ws.on('message', onMessage))";
function onMessage(data) {
return 'echoed: ' + JSON.stringify(String(data));

View file

@ -4,6 +4,7 @@
// WebSocketServer instance. It splices the message bytes into a
// child-process command — classic WS → cmdi shape.
const _NYX_ADAPTER_MARKER = "require('ws')";
const _NYX_WS_MESSAGE_MARKER = "wss.on('connection', ws => ws.on('message', onMessage))";
const { execSync } = require('child_process');