CI / Build & Test (push) Successful in 2m46s
Split host.js (435 lines) into host/{paths,logger,startup,message-router}.js.
Split holesail-manager.js (698 lines) into holesail-manager/{state,settings,
connections,port-allocator,servers,virtual-hosts,service-tunnels,index}.js.
Top-level host.js and holesail-manager.js become thin shims so index.mjs
requires no changes. Deleted dev scratch file test-cp.mjs.
Updated CI with 12 new node --check lines for all sub-modules.
Updated docs/ARCHITECTURE.md with per-file tables for host/ and
holesail-manager/ sub-modules.
No functionality changed. No new dependencies.
7 lines
264 B
JavaScript
7 lines
264 B
JavaScript
/**
|
|
* Entry-point shim — delegates to host/message-router.js.
|
|
* Kept at the top level so index.mjs require('./host.js') continues to work.
|
|
*/
|
|
const { handleMessage, cleanup } = require('./host/message-router.js');
|
|
module.exports = { handleMessage, cleanup };
|