@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and
24 lines (23 loc) • 796 B
JavaScript
// Optional Telemetry Infrastructure (Phase 2)
export { TelemetryService } from "./telemetryService.js";
import { logger } from "../utils/logger.js";
/**
* Initialize telemetry for NeuroLink
* OPTIONAL - Only works when NEUROLINK_TELEMETRY_ENABLED=true
*/
export async function initializeTelemetry() {
const { TelemetryService } = await import("./telemetryService.js");
const telemetry = TelemetryService.getInstance();
if (telemetry.isEnabled()) {
await telemetry.initialize();
logger.info("[NeuroLink] Telemetry initialized");
}
return telemetry;
}
/**
* Get telemetry status
*/
export async function getTelemetryStatus() {
const { TelemetryService } = await import("./telemetryService.js");
return TelemetryService.getInstance().getStatus();
}