-
Notifications
You must be signed in to change notification settings - Fork 112
Description
Installing the published npm package and importing it at the top level fails immediately, even before using any functionality.
dist/mcp/claudeFlowSdkServer.js imports agent-booster, but agent-booster is not installed / not declared correctly, so any attempt to import agentic-flow throws.
This breaks the main entrypoint of the package.
Reproduction
mkdir repro-af
cd repro-af
npm init -y
npm install agentic-flow@alpha
node -e "import('agentic-flow').catch(e=>console.error(e))"
Actual result
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'agent-booster'
imported from node_modules/agentic-flow/dist/mcp/claudeFlowSdkServer.js
Expected result
Top-level import should succeed without requiring optional MCP/Claude-Flow integration packages.
Impact
Users cannot even introspect or import the main package API.
Likely fix
• Declare agent-booster as a proper dependency, OR
• Lazy-load MCP/Claude-Flow server modules, OR
• Move MCP server into a separate optional entrypoint instead of top-level import chain.