@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
23 lines (22 loc) • 562 B
JavaScript
/**
* CLI-specific type definitions for NeuroLink
* Replaces 'any' types in CLI commands and arguments
*/
/**
* Type guard for generate result
*/
export function isGenerateResult(value) {
return (typeof value === "object" &&
value !== null &&
"content" in value &&
typeof value.content === "string");
}
/**
* Type guard for command result
*/
export function isCommandResult(value) {
return (typeof value === "object" &&
value !== null &&
"success" in value &&
typeof value.success === "boolean");
}