@juspay/neurolink 7.51.2 → 7.51.3
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
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [7.51.3](https://github.com/juspay/neurolink/compare/v7.51.2...v7.51.3) (2025-10-23)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **(neurolink):** add Zod schema detection for inputSchema field in baseProvider ([5ad0c0a](https://github.com/juspay/neurolink/commit/5ad0c0a1750b92e0e4412243f5b872f30c258624))
|
|
6
|
+
|
|
1
7
|
## [7.51.2](https://github.com/juspay/neurolink/compare/v7.51.1...v7.51.2) (2025-10-14)
|
|
2
8
|
|
|
3
9
|
## [7.51.1](https://github.com/juspay/neurolink/compare/v7.51.0...v7.51.1) (2025-10-13)
|
|
@@ -771,10 +771,14 @@ export class BaseProvider {
|
|
|
771
771
|
logger.debug(`[BaseProvider] Converting custom tool: ${toolName}`);
|
|
772
772
|
let finalSchema;
|
|
773
773
|
let originalInputSchema;
|
|
774
|
-
// Prioritize parameters (Zod), then inputSchema (JSON Schema)
|
|
774
|
+
// Prioritize parameters (Zod), then inputSchema (Zod or JSON Schema)
|
|
775
775
|
if (toolInfo.parameters && this.isZodSchema(toolInfo.parameters)) {
|
|
776
776
|
finalSchema = toolInfo.parameters;
|
|
777
777
|
}
|
|
778
|
+
else if (toolInfo.inputSchema &&
|
|
779
|
+
this.isZodSchema(toolInfo.inputSchema)) {
|
|
780
|
+
finalSchema = toolInfo.inputSchema;
|
|
781
|
+
}
|
|
778
782
|
else if (toolInfo.inputSchema &&
|
|
779
783
|
typeof toolInfo.inputSchema === "object") {
|
|
780
784
|
// Use original JSON Schema with jsonSchema() wrapper - NO CONVERSION!
|
|
@@ -771,10 +771,14 @@ export class BaseProvider {
|
|
|
771
771
|
logger.debug(`[BaseProvider] Converting custom tool: ${toolName}`);
|
|
772
772
|
let finalSchema;
|
|
773
773
|
let originalInputSchema;
|
|
774
|
-
// Prioritize parameters (Zod), then inputSchema (JSON Schema)
|
|
774
|
+
// Prioritize parameters (Zod), then inputSchema (Zod or JSON Schema)
|
|
775
775
|
if (toolInfo.parameters && this.isZodSchema(toolInfo.parameters)) {
|
|
776
776
|
finalSchema = toolInfo.parameters;
|
|
777
777
|
}
|
|
778
|
+
else if (toolInfo.inputSchema &&
|
|
779
|
+
this.isZodSchema(toolInfo.inputSchema)) {
|
|
780
|
+
finalSchema = toolInfo.inputSchema;
|
|
781
|
+
}
|
|
778
782
|
else if (toolInfo.inputSchema &&
|
|
779
783
|
typeof toolInfo.inputSchema === "object") {
|
|
780
784
|
// Use original JSON Schema with jsonSchema() wrapper - NO CONVERSION!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "7.51.
|
|
3
|
+
"version": "7.51.3",
|
|
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 9 major providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Juspay Technologies",
|