@juspay/neurolink
Version:
Universal AI Development Platform with external MCP server integration, multi-provider support, and professional CLI. Connect to 65+ MCP servers for filesystem, GitHub, database operations, and more. Build, test, and deploy AI applications with 9 major pr
102 lines (101 loc) • 4.55 kB
TypeScript
/**
* AI Development Workflow Tools
* Phase 1.2 Implementation - 4 specialized tools for AI development lifecycle
*/
import { z } from 'zod';
import type { NeuroLinkMCPTool } from '../../factory.js';
/**
* Generate test cases for code functions
*/
export declare const generateTestCasesTool: NeuroLinkMCPTool;
/**
* Refactor code for improved quality
*/
export declare const refactorCodeTool: NeuroLinkMCPTool;
/**
* Generate documentation from code
*/
export declare const generateDocumentationTool: NeuroLinkMCPTool;
/**
* Debug AI-generated output
*/
export declare const debugAIOutputTool: NeuroLinkMCPTool;
export declare const aiWorkflowTools: NeuroLinkMCPTool[];
export declare const workflowToolSchemas: {
'generate-test-cases': z.ZodObject<{
codeFunction: z.ZodString;
testTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<["unit", "integration", "edge-cases", "performance", "security"]>, "many">>;
framework: z.ZodDefault<z.ZodEnum<["jest", "mocha", "vitest", "pytest", "unittest", "rspec"]>>;
coverageTarget: z.ZodDefault<z.ZodNumber>;
includeAsyncTests: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
codeFunction: string;
testTypes: ("unit" | "integration" | "edge-cases" | "performance" | "security")[];
framework: "jest" | "mocha" | "vitest" | "pytest" | "unittest" | "rspec";
coverageTarget: number;
includeAsyncTests: boolean;
}, {
codeFunction: string;
testTypes?: ("unit" | "integration" | "edge-cases" | "performance" | "security")[] | undefined;
framework?: "jest" | "mocha" | "vitest" | "pytest" | "unittest" | "rspec" | undefined;
coverageTarget?: number | undefined;
includeAsyncTests?: boolean | undefined;
}>;
'refactor-code': z.ZodObject<{
code: z.ZodString;
language: z.ZodDefault<z.ZodString>;
objectives: z.ZodDefault<z.ZodArray<z.ZodEnum<["readability", "performance", "maintainability", "testability", "modularity", "dry-principle", "solid-principles"]>, "many">>;
preserveFunctionality: z.ZodDefault<z.ZodBoolean>;
styleGuide: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
code: string;
language: string;
objectives: ("performance" | "readability" | "maintainability" | "testability" | "modularity" | "dry-principle" | "solid-principles")[];
preserveFunctionality: boolean;
styleGuide?: string | undefined;
}, {
code: string;
language?: string | undefined;
objectives?: ("performance" | "readability" | "maintainability" | "testability" | "modularity" | "dry-principle" | "solid-principles")[] | undefined;
preserveFunctionality?: boolean | undefined;
styleGuide?: string | undefined;
}>;
'generate-documentation': z.ZodObject<{
code: z.ZodString;
language: z.ZodDefault<z.ZodString>;
documentationType: z.ZodDefault<z.ZodEnum<["jsdoc", "markdown", "sphinx", "doxygen", "readme"]>>;
includeExamples: z.ZodDefault<z.ZodBoolean>;
detailLevel: z.ZodDefault<z.ZodEnum<["minimal", "standard", "comprehensive"]>>;
}, "strip", z.ZodTypeAny, {
code: string;
language: string;
documentationType: "jsdoc" | "markdown" | "sphinx" | "doxygen" | "readme";
includeExamples: boolean;
detailLevel: "minimal" | "standard" | "comprehensive";
}, {
code: string;
language?: string | undefined;
documentationType?: "jsdoc" | "markdown" | "sphinx" | "doxygen" | "readme" | undefined;
includeExamples?: boolean | undefined;
detailLevel?: "minimal" | "standard" | "comprehensive" | undefined;
}>;
'debug-ai-output': z.ZodObject<{
aiOutput: z.ZodString;
expectedBehavior: z.ZodString;
context: z.ZodOptional<z.ZodString>;
outputType: z.ZodDefault<z.ZodEnum<["code", "text", "structured-data", "conversation"]>>;
includeFixSuggestions: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
aiOutput: string;
expectedBehavior: string;
outputType: "code" | "text" | "conversation" | "structured-data";
includeFixSuggestions: boolean;
context?: string | undefined;
}, {
aiOutput: string;
expectedBehavior: string;
context?: string | undefined;
outputType?: "code" | "text" | "conversation" | "structured-data" | undefined;
includeFixSuggestions?: boolean | undefined;
}>;
};