@juspay/neurolink 4.1.1 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/CHANGELOG.md +46 -2
  2. package/README.md +1 -12
  3. package/dist/cli/commands/mcp.d.ts +11 -0
  4. package/dist/cli/commands/mcp.js +332 -223
  5. package/dist/cli/index.js +69 -11
  6. package/dist/core/factory.js +2 -2
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/lib/core/factory.js +2 -2
  10. package/dist/lib/index.d.ts +1 -1
  11. package/dist/lib/index.js +1 -1
  12. package/dist/lib/mcp/context-manager.d.ts +6 -0
  13. package/dist/lib/mcp/context-manager.js +8 -0
  14. package/dist/lib/mcp/contracts/mcpContract.d.ts +1 -0
  15. package/dist/lib/mcp/external-client.js +6 -2
  16. package/dist/lib/mcp/initialize.d.ts +2 -1
  17. package/dist/lib/mcp/initialize.js +8 -7
  18. package/dist/lib/mcp/orchestrator.js +9 -0
  19. package/dist/lib/mcp/registry.d.ts +1 -1
  20. package/dist/lib/mcp/servers/ai-providers/ai-analysis-tools.js +1 -1
  21. package/dist/lib/mcp/servers/ai-providers/ai-core-server.js +3 -3
  22. package/dist/lib/mcp/servers/ai-providers/ai-workflow-tools.d.ts +2 -2
  23. package/dist/lib/mcp/servers/ai-providers/ai-workflow-tools.js +1 -1
  24. package/dist/lib/mcp/session-manager.js +1 -1
  25. package/dist/lib/mcp/session-persistence.js +1 -1
  26. package/dist/lib/mcp/tool-registry.d.ts +31 -11
  27. package/dist/lib/mcp/tool-registry.js +226 -38
  28. package/dist/lib/mcp/unified-mcp.d.ts +12 -2
  29. package/dist/lib/mcp/unified-registry.d.ts +21 -7
  30. package/dist/lib/mcp/unified-registry.js +179 -17
  31. package/dist/lib/neurolink.js +17 -25
  32. package/dist/lib/providers/googleVertexAI.js +19 -1
  33. package/dist/lib/providers/openAI.js +18 -1
  34. package/dist/lib/utils/provider-setup-messages.d.ts +8 -0
  35. package/dist/lib/utils/provider-setup-messages.js +120 -0
  36. package/dist/lib/utils/provider-validation.d.ts +35 -0
  37. package/dist/lib/utils/provider-validation.js +625 -0
  38. package/dist/lib/utils/providerUtils-fixed.js +20 -1
  39. package/dist/lib/utils/providerUtils.d.ts +2 -2
  40. package/dist/lib/utils/providerUtils.js +38 -7
  41. package/dist/lib/utils/timeout-manager.d.ts +75 -0
  42. package/dist/lib/utils/timeout-manager.js +244 -0
  43. package/dist/mcp/context-manager.d.ts +6 -0
  44. package/dist/mcp/context-manager.js +8 -0
  45. package/dist/mcp/contracts/mcpContract.d.ts +1 -0
  46. package/dist/mcp/external-client.js +6 -2
  47. package/dist/mcp/initialize.d.ts +2 -1
  48. package/dist/mcp/initialize.js +8 -7
  49. package/dist/mcp/orchestrator.js +9 -0
  50. package/dist/mcp/registry.d.ts +1 -1
  51. package/dist/mcp/servers/ai-providers/ai-analysis-tools.js +1 -1
  52. package/dist/mcp/servers/ai-providers/ai-core-server.js +3 -3
  53. package/dist/mcp/servers/ai-providers/ai-workflow-tools.d.ts +2 -2
  54. package/dist/mcp/servers/ai-providers/ai-workflow-tools.js +1 -1
  55. package/dist/mcp/session-manager.js +1 -1
  56. package/dist/mcp/session-persistence.js +1 -1
  57. package/dist/mcp/tool-registry.d.ts +31 -11
  58. package/dist/mcp/tool-registry.js +226 -38
  59. package/dist/mcp/unified-mcp.d.ts +12 -2
  60. package/dist/mcp/unified-registry.d.ts +21 -7
  61. package/dist/mcp/unified-registry.js +179 -17
  62. package/dist/neurolink.js +17 -25
  63. package/dist/providers/googleVertexAI.js +19 -1
  64. package/dist/providers/openAI.js +18 -1
  65. package/dist/utils/provider-setup-messages.d.ts +8 -0
  66. package/dist/utils/provider-setup-messages.js +120 -0
  67. package/dist/utils/provider-validation.d.ts +35 -0
  68. package/dist/utils/provider-validation.js +625 -0
  69. package/dist/utils/providerUtils-fixed.js +20 -1
  70. package/dist/utils/providerUtils.d.ts +2 -2
  71. package/dist/utils/providerUtils.js +38 -7
  72. package/dist/utils/timeout-manager.d.ts +75 -0
  73. package/dist/utils/timeout-manager.js +244 -0
  74. package/package.json +2 -3
  75. package/dist/cli/commands/agent-generate.d.ts +0 -1
  76. package/dist/cli/commands/agent-generate.js +0 -67
package/CHANGELOG.md CHANGED
@@ -1,9 +1,53 @@
1
- ## [4.1.1](https://github.com/juspay/neurolink/compare/v4.1.0...v4.1.1) (2025-07-10)
1
+ # [5.0.0](https://github.com/juspay/neurolink/compare/v4.2.0...v5.0.0) (2025-07-11)
2
+
3
+
4
+ * refactor(cli)!: remove agent-generate command, unify CLI to single generate command ([9c034b7](https://github.com/juspay/neurolink/commit/9c034b7b5a8df3b861fccae0e617c5aa4c85a903))
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * **scripts:** update docs:generate to use docs:validate instead of removed docs:sync ([3277bab](https://github.com/juspay/neurolink/commit/3277bab3eb1cec24a60fe28bf3897fce63d83d3a))
10
+
11
+
12
+ ### BREAKING CHANGES
2
13
 
14
+ * agent-generate command has been removed
15
+
16
+ The agent-generate command has been completely removed from the CLI. All
17
+ functionality is now available through the enhanced generate command with
18
+ tools enabled by default.
19
+
20
+ ### Changes Made:
21
+ - Delete src/cli/commands/agent-generate.ts command implementation
22
+ - Remove agent-generate import and registration from src/cli/index.ts
23
+ - Update docs/CLI-GUIDE.md to remove agent-generate documentation
24
+ - Update memory-bank documentation files to reflect unified approach
25
+ - Remove agent-generate test cases from scripts/corrected-functionality-test.js
26
+
27
+ ### Migration Guide:
28
+ - Replace `neurolink agent-generate "prompt"` with `neurolink generate "prompt"`
29
+ - Tools are enabled by default in generate command
30
+ - Use `--disable-tools` flag if tool-calling is not desired
31
+ - All previous agent-generate functionality available in generate command
32
+
33
+ ### Technical Impact:
34
+ - Simplified CLI interface with single text generation command
35
+ - Reduced codebase complexity and maintenance overhead
36
+ - Enhanced generate command provides all tool-calling capabilities
37
+ - Zero breaking changes to core functionality
38
+ - Clean TypeScript compilation and documentation consistency
39
+
40
+ # [4.2.0](https://github.com/juspay/neurolink/compare/v4.1.1...v4.2.0) (2025-07-11)
41
+
42
+ ### Features
43
+
44
+ - **mcp:** comprehensive MCP system enhancements with timeout management ([1d35b5e](https://github.com/juspay/neurolink/commit/1d35b5e12d03ce60bcdf0608749a1b99e8565567))
45
+
46
+ ## [4.1.1](https://github.com/juspay/neurolink/compare/v4.1.0...v4.1.1) (2025-07-10)
3
47
 
4
48
  ### Bug Fixes
5
49
 
6
- * **format:** fix formatting for all follow ([a49a94b](https://github.com/juspay/neurolink/commit/a49a94bf4d2e02cf1b1f7d4b555c3c71e25a0ea5))
50
+ - **format:** fix formatting for all follow ([a49a94b](https://github.com/juspay/neurolink/commit/a49a94bf4d2e02cf1b1f7d4b555c3c71e25a0ea5))
7
51
 
8
52
  # [4.1.0](https://github.com/juspay/neurolink/compare/v4.0.0...v4.1.0) (2025-07-09)
9
53
 
package/README.md CHANGED
@@ -1,15 +1,4 @@
1
- # @juspay/neurolink
2
-
3
- <!-- TOC -->
4
-
5
- - [📄 License](#[object Object])
6
- - [🔗 Related Projects](#-related-projects)
7
- <!-- /TOC -->
8
-
9
- 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 deploy AI applications with 9 major providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.
10
-
11
- **Version:** 4.0.0
12
- **License:** MIT
1
+ # 🧠 NeuroLink
13
2
 
14
3
  [![NPM Version](https://img.shields.io/npm/v/@juspay/neurolink)](https://www.npmjs.com/package/@juspay/neurolink)
15
4
  [![Downloads](https://img.shields.io/npm/dm/@juspay/neurolink)](https://www.npmjs.com/package/@juspay/neurolink)
@@ -4,5 +4,16 @@
4
4
  * Real MCP server connectivity and management
5
5
  */
6
6
  import type { Argv } from "yargs";
7
+ interface MCPServerConfig {
8
+ name: string;
9
+ command: string;
10
+ args?: string[];
11
+ env?: Record<string, string>;
12
+ cwd?: string;
13
+ transport: "stdio" | "sse";
14
+ url?: string;
15
+ }
16
+ export declare function executeMCPTool(serverConfig: MCPServerConfig, toolName: string, toolParams: any): Promise<any>;
7
17
  export declare function mcpExecuteTool(serverName: string, toolName: string, toolParams: any): Promise<any>;
8
18
  export declare function addMCPCommands(yargs: Argv): Argv;
19
+ export {};