@juspay/neurolink 8.33.0 → 8.34.1
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.
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +1 -5
- package/dist/index.js +3 -2
- package/dist/lib/index.d.ts +1 -5
- package/dist/lib/index.js +3 -2
- package/dist/lib/mcp/externalServerManager.js +7 -3
- package/dist/lib/utils/multimodalOptionsBuilder.d.ts +4 -4
- package/dist/mcp/externalServerManager.js +7 -3
- package/dist/mcp/servers/agent/directToolsServer.d.ts +1 -1
- package/dist/mcp/servers/aiProviders/aiCoreServer.d.ts +1 -1
- package/dist/mcp/servers/utilities/utilityServer.d.ts +1 -1
- package/dist/utils/multimodalOptionsBuilder.d.ts +4 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [8.34.1](https://github.com/juspay/neurolink/compare/v8.34.0...v8.34.1) (2026-01-14)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **(dependancy):** add back text-to-speech to dependencies and added types to barrel import ([c4bc86b](https://github.com/juspay/neurolink/commit/c4bc86bbd3ca7fe59595c5fa3bc8c5583a2031a3))
|
|
6
|
+
|
|
7
|
+
## [8.34.0](https://github.com/juspay/neurolink/compare/v8.33.0...v8.34.0) (2026-01-13)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- **(object):** use instance-specific timeout for tool discovery and ([ba1ae4c](https://github.com/juspay/neurolink/commit/ba1ae4c13feeb3513d6800776d50b5aca94d5460))
|
|
12
|
+
|
|
1
13
|
## [8.33.0](https://github.com/juspay/neurolink/compare/v8.32.0...v8.33.0) (2026-01-12)
|
|
2
14
|
|
|
3
15
|
### Features
|
package/dist/index.d.ts
CHANGED
|
@@ -33,12 +33,8 @@
|
|
|
33
33
|
*/
|
|
34
34
|
import { AIProviderFactory } from "./core/factory.js";
|
|
35
35
|
export { AIProviderFactory };
|
|
36
|
-
export
|
|
37
|
-
export type { GenerateOptions, GenerateResult, EnhancedProvider, } from "./types/generateTypes.js";
|
|
38
|
-
export type { ToolContext } from "./types/tools.js";
|
|
36
|
+
export * from "./types/index.js";
|
|
39
37
|
export { validateTool } from "./sdk/toolRegistration.js";
|
|
40
|
-
export type { ToolResult, ToolDefinition } from "./types/tools.js";
|
|
41
|
-
export { DEFAULT_PROVIDER_CONFIGS } from "./types/index.js";
|
|
42
38
|
export { AIProviderName, BedrockModels, OpenAIModels, VertexModels, } from "./constants/enums.js";
|
|
43
39
|
export { getBestProvider, getAvailableProviders, isValidProvider, } from "./utils/providerUtils.js";
|
|
44
40
|
export { dynamicModelProvider } from "./core/dynamicModels.js";
|
package/dist/index.js
CHANGED
|
@@ -34,9 +34,10 @@
|
|
|
34
34
|
// Core exports
|
|
35
35
|
import { AIProviderFactory } from "./core/factory.js";
|
|
36
36
|
export { AIProviderFactory };
|
|
37
|
+
// Export ALL types from the centralized type barrel
|
|
38
|
+
export * from "./types/index.js";
|
|
39
|
+
// Tool Registration utility
|
|
37
40
|
export { validateTool } from "./sdk/toolRegistration.js";
|
|
38
|
-
// Model enums
|
|
39
|
-
export { DEFAULT_PROVIDER_CONFIGS } from "./types/index.js";
|
|
40
41
|
export { AIProviderName, BedrockModels, OpenAIModels, VertexModels, } from "./constants/enums.js";
|
|
41
42
|
// Utility exports
|
|
42
43
|
export { getBestProvider, getAvailableProviders, isValidProvider, } from "./utils/providerUtils.js";
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -33,12 +33,8 @@
|
|
|
33
33
|
*/
|
|
34
34
|
import { AIProviderFactory } from "./core/factory.js";
|
|
35
35
|
export { AIProviderFactory };
|
|
36
|
-
export
|
|
37
|
-
export type { GenerateOptions, GenerateResult, EnhancedProvider, } from "./types/generateTypes.js";
|
|
38
|
-
export type { ToolContext } from "./types/tools.js";
|
|
36
|
+
export * from "./types/index.js";
|
|
39
37
|
export { validateTool } from "./sdk/toolRegistration.js";
|
|
40
|
-
export type { ToolResult, ToolDefinition } from "./types/tools.js";
|
|
41
|
-
export { DEFAULT_PROVIDER_CONFIGS } from "./types/index.js";
|
|
42
38
|
export { AIProviderName, BedrockModels, OpenAIModels, VertexModels, } from "./constants/enums.js";
|
|
43
39
|
export { getBestProvider, getAvailableProviders, isValidProvider, } from "./utils/providerUtils.js";
|
|
44
40
|
export { dynamicModelProvider } from "./core/dynamicModels.js";
|
package/dist/lib/index.js
CHANGED
|
@@ -34,9 +34,10 @@
|
|
|
34
34
|
// Core exports
|
|
35
35
|
import { AIProviderFactory } from "./core/factory.js";
|
|
36
36
|
export { AIProviderFactory };
|
|
37
|
+
// Export ALL types from the centralized type barrel
|
|
38
|
+
export * from "./types/index.js";
|
|
39
|
+
// Tool Registration utility
|
|
37
40
|
export { validateTool } from "./sdk/toolRegistration.js";
|
|
38
|
-
// Model enums
|
|
39
|
-
export { DEFAULT_PROVIDER_CONFIGS } from "./types/index.js";
|
|
40
41
|
export { AIProviderName, BedrockModels, OpenAIModels, VertexModels, } from "./constants/enums.js";
|
|
41
42
|
// Utility exports
|
|
42
43
|
export { getBestProvider, getAvailableProviders, isValidProvider, } from "./utils/providerUtils.js";
|
|
@@ -1138,7 +1138,7 @@ export class ExternalServerManager extends EventEmitter {
|
|
|
1138
1138
|
}
|
|
1139
1139
|
try {
|
|
1140
1140
|
mcpLogger.debug(`[ExternalServerManager] Discovering tools for server: ${serverId}`);
|
|
1141
|
-
const discoveryResult = await this.toolDiscovery.discoverTools(serverId, instance.client, this.config.defaultTimeout);
|
|
1141
|
+
const discoveryResult = await this.toolDiscovery.discoverTools(serverId, instance.client, instance.config.timeout || this.config.defaultTimeout);
|
|
1142
1142
|
if (discoveryResult.success) {
|
|
1143
1143
|
instance.toolsMap.clear();
|
|
1144
1144
|
instance.toolsArray = undefined;
|
|
@@ -1194,7 +1194,9 @@ export class ExternalServerManager extends EventEmitter {
|
|
|
1194
1194
|
registrations.push(toolRegistry.registerTool(toolId, toolInfo, {
|
|
1195
1195
|
execute: async (params, _context) => {
|
|
1196
1196
|
// Execute tool via ExternalServerManager for proper lifecycle management
|
|
1197
|
-
return await this.executeTool(serverId, toolName, params, {
|
|
1197
|
+
return await this.executeTool(serverId, toolName, params, {
|
|
1198
|
+
timeout: instance.config.timeout || this.config.defaultTimeout,
|
|
1199
|
+
});
|
|
1198
1200
|
},
|
|
1199
1201
|
}));
|
|
1200
1202
|
mcpLogger.debug(`[ExternalServerManager] Registered tool with main registry: ${toolId}`);
|
|
@@ -1307,7 +1309,9 @@ export class ExternalServerManager extends EventEmitter {
|
|
|
1307
1309
|
}
|
|
1308
1310
|
// Execute tool through discovery service (with potentially modified parameters)
|
|
1309
1311
|
const result = await this.toolDiscovery.executeTool(toolName, serverId, instance.client, finalParameters, {
|
|
1310
|
-
timeout: options?.timeout ||
|
|
1312
|
+
timeout: options?.timeout ||
|
|
1313
|
+
instance.config.timeout ||
|
|
1314
|
+
this.config.defaultTimeout,
|
|
1311
1315
|
});
|
|
1312
1316
|
const duration = Date.now() - startTime;
|
|
1313
1317
|
// Update metrics
|
|
@@ -44,8 +44,8 @@ import type { StreamOptions } from "../types/streamTypes.js";
|
|
|
44
44
|
export declare function buildMultimodalOptions(options: StreamOptions, providerName: string, modelName: string): {
|
|
45
45
|
input: {
|
|
46
46
|
text: string;
|
|
47
|
-
images: (string | Buffer<ArrayBufferLike> | import("../
|
|
48
|
-
content: import("../
|
|
47
|
+
images: (string | Buffer<ArrayBufferLike> | import("../index.js").ImageWithAltText)[] | undefined;
|
|
48
|
+
content: import("../index.js").Content[] | undefined;
|
|
49
49
|
files: (string | Buffer<ArrayBufferLike>)[] | undefined;
|
|
50
50
|
csvFiles: (string | Buffer<ArrayBufferLike>)[] | undefined;
|
|
51
51
|
pdfFiles: (string | Buffer<ArrayBufferLike>)[] | undefined;
|
|
@@ -56,12 +56,12 @@ export declare function buildMultimodalOptions(options: StreamOptions, providerN
|
|
|
56
56
|
includeHeaders?: boolean;
|
|
57
57
|
} | undefined;
|
|
58
58
|
systemPrompt: string | undefined;
|
|
59
|
-
conversationHistory: import("../
|
|
59
|
+
conversationHistory: import("../index.js").ChatMessage[] | undefined;
|
|
60
60
|
provider: string;
|
|
61
61
|
model: string;
|
|
62
62
|
temperature: number | undefined;
|
|
63
63
|
maxTokens: number | undefined;
|
|
64
64
|
enableAnalytics: boolean | undefined;
|
|
65
65
|
enableEvaluation: boolean | undefined;
|
|
66
|
-
context: import("../
|
|
66
|
+
context: import("../index.js").UnknownRecord | undefined;
|
|
67
67
|
};
|
|
@@ -1138,7 +1138,7 @@ export class ExternalServerManager extends EventEmitter {
|
|
|
1138
1138
|
}
|
|
1139
1139
|
try {
|
|
1140
1140
|
mcpLogger.debug(`[ExternalServerManager] Discovering tools for server: ${serverId}`);
|
|
1141
|
-
const discoveryResult = await this.toolDiscovery.discoverTools(serverId, instance.client, this.config.defaultTimeout);
|
|
1141
|
+
const discoveryResult = await this.toolDiscovery.discoverTools(serverId, instance.client, instance.config.timeout || this.config.defaultTimeout);
|
|
1142
1142
|
if (discoveryResult.success) {
|
|
1143
1143
|
instance.toolsMap.clear();
|
|
1144
1144
|
instance.toolsArray = undefined;
|
|
@@ -1194,7 +1194,9 @@ export class ExternalServerManager extends EventEmitter {
|
|
|
1194
1194
|
registrations.push(toolRegistry.registerTool(toolId, toolInfo, {
|
|
1195
1195
|
execute: async (params, _context) => {
|
|
1196
1196
|
// Execute tool via ExternalServerManager for proper lifecycle management
|
|
1197
|
-
return await this.executeTool(serverId, toolName, params, {
|
|
1197
|
+
return await this.executeTool(serverId, toolName, params, {
|
|
1198
|
+
timeout: instance.config.timeout || this.config.defaultTimeout,
|
|
1199
|
+
});
|
|
1198
1200
|
},
|
|
1199
1201
|
}));
|
|
1200
1202
|
mcpLogger.debug(`[ExternalServerManager] Registered tool with main registry: ${toolId}`);
|
|
@@ -1307,7 +1309,9 @@ export class ExternalServerManager extends EventEmitter {
|
|
|
1307
1309
|
}
|
|
1308
1310
|
// Execute tool through discovery service (with potentially modified parameters)
|
|
1309
1311
|
const result = await this.toolDiscovery.executeTool(toolName, serverId, instance.client, finalParameters, {
|
|
1310
|
-
timeout: options?.timeout ||
|
|
1312
|
+
timeout: options?.timeout ||
|
|
1313
|
+
instance.config.timeout ||
|
|
1314
|
+
this.config.defaultTimeout,
|
|
1311
1315
|
});
|
|
1312
1316
|
const duration = Date.now() - startTime;
|
|
1313
1317
|
// Update metrics
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
* AI Core Server - Central hub for AI provider management
|
|
8
8
|
* Provides provider selection and status checking functionality
|
|
9
9
|
*/
|
|
10
|
-
export declare const aiCoreServer: import("../../../
|
|
10
|
+
export declare const aiCoreServer: import("../../../index.js").NeuroLinkMCPServer;
|
|
@@ -44,8 +44,8 @@ import type { StreamOptions } from "../types/streamTypes.js";
|
|
|
44
44
|
export declare function buildMultimodalOptions(options: StreamOptions, providerName: string, modelName: string): {
|
|
45
45
|
input: {
|
|
46
46
|
text: string;
|
|
47
|
-
images: (string | Buffer<ArrayBufferLike> | import("../
|
|
48
|
-
content: import("../
|
|
47
|
+
images: (string | Buffer<ArrayBufferLike> | import("../index.js").ImageWithAltText)[] | undefined;
|
|
48
|
+
content: import("../index.js").Content[] | undefined;
|
|
49
49
|
files: (string | Buffer<ArrayBufferLike>)[] | undefined;
|
|
50
50
|
csvFiles: (string | Buffer<ArrayBufferLike>)[] | undefined;
|
|
51
51
|
pdfFiles: (string | Buffer<ArrayBufferLike>)[] | undefined;
|
|
@@ -56,12 +56,12 @@ export declare function buildMultimodalOptions(options: StreamOptions, providerN
|
|
|
56
56
|
includeHeaders?: boolean;
|
|
57
57
|
} | undefined;
|
|
58
58
|
systemPrompt: string | undefined;
|
|
59
|
-
conversationHistory: import("../
|
|
59
|
+
conversationHistory: import("../index.js").ChatMessage[] | undefined;
|
|
60
60
|
provider: string;
|
|
61
61
|
model: string;
|
|
62
62
|
temperature: number | undefined;
|
|
63
63
|
maxTokens: number | undefined;
|
|
64
64
|
enableAnalytics: boolean | undefined;
|
|
65
65
|
enableEvaluation: boolean | undefined;
|
|
66
|
-
context: import("../
|
|
66
|
+
context: import("../index.js").UnknownRecord | undefined;
|
|
67
67
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.34.1",
|
|
4
4
|
"description": "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 13 providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Juspay Technologies",
|
|
@@ -207,7 +207,8 @@
|
|
|
207
207
|
"xml2js": "^0.6.2",
|
|
208
208
|
"yargs": "^17.7.2",
|
|
209
209
|
"zod": "^3.22.0",
|
|
210
|
-
"zod-to-json-schema": "^3.24.6"
|
|
210
|
+
"zod-to-json-schema": "^3.24.6",
|
|
211
|
+
"@google-cloud/text-to-speech": "^5.0.0"
|
|
211
212
|
},
|
|
212
213
|
"optionalDependencies": {
|
|
213
214
|
"canvas": "^3.2.0"
|
|
@@ -220,7 +221,6 @@
|
|
|
220
221
|
"@changesets/changelog-github": "^0.5.1",
|
|
221
222
|
"@changesets/cli": "^2.29.7",
|
|
222
223
|
"@eslint/js": "^9.35.0",
|
|
223
|
-
"@google-cloud/text-to-speech": "^5.0.0",
|
|
224
224
|
"@semantic-release/changelog": "^6.0.3",
|
|
225
225
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
226
226
|
"@semantic-release/git": "^10.0.1",
|