Problem
src/run-live.ts dynamically imports ./live-bridge.js and requires it to export createMcpCaller():
const bridgePath = './live-bridge.js';
const mod = await import(bridgePath);
const factory = mod['createMcpCaller'];
if (typeof factory !== 'function') throw new Error('live-bridge.ts must export createMcpCaller()');
No src/live-bridge.ts (nor a compiled dist/live-bridge.js) exists in the repo. As a result both the documented NEXUS_LIVE=true npx tsx src/run-live.ts (README) and the pnpm live script (package.json) always fail with Failed to load live bridge: ....
Suggested fix
Pick one:
- Commit a
src/live-bridge.ts that exports createMcpCaller(): Promise<ToolCaller> wiring up a real nexus-agents MCP client (preferred), or
- Commit a documented example/stub
live-bridge.example.ts and update the README to instruct users to copy it to src/live-bridge.ts, clarifying that live mode requires a user-supplied bridge.
The existing try/catch handles the missing-module case gracefully, so this is a functionality/onboarding gap rather than a crash, but the feature does not work out of the box as documented.
Problem
src/run-live.ts dynamically imports
./live-bridge.jsand requires it to exportcreateMcpCaller():No
src/live-bridge.ts(nor a compileddist/live-bridge.js) exists in the repo. As a result both the documentedNEXUS_LIVE=true npx tsx src/run-live.ts(README) and thepnpm livescript (package.json) always fail withFailed to load live bridge: ....Suggested fix
Pick one:
src/live-bridge.tsthat exportscreateMcpCaller(): Promise<ToolCaller>wiring up a real nexus-agents MCP client (preferred), orlive-bridge.example.tsand update the README to instruct users to copy it tosrc/live-bridge.ts, clarifying that live mode requires a user-supplied bridge.The existing try/catch handles the missing-module case gracefully, so this is a functionality/onboarding gap rather than a crash, but the feature does not work out of the box as documented.