The central server module of the Xcraft framework. As of v6.5.0, it orchestrates startup, automatic module discovery, and lifecycle management for the entire Xcraft ecosystem. Release cadence is monthly. Key differentiators include automatic scanning of node_modules for compatible Xcraft modules, recursive dependency resolution, and dual daemon/library execution modes with built-in heartbeat and transport routing. It integrates tightly with xcraft-core-bus, xcraft-core-busclient, and goblin-* actor modules.
npm install xcraft-core-serverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to start the Xcraft server in both daemon and library modes with error handling.
Use the blacklist or filter configuration to exclude irrelevant modules.
Always pass an options object with at least `logs` and `response`.
Always call `lib.start(callback)` after creating the library instance.
Update calls to pass `{logs: true, response: callback}` instead of just a function.Use `require('xcraft-core-server')` instead of relative path.Update to v5.0.0 or later, or use `require('xcraft-core-server').runAsLib`.Configure a blacklist in options or use environment variable XCRAFT_MODULE_BLACKLIST.