@juspay/neurolink 7.26.1 → 7.28.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.
- package/CHANGELOG.md +12 -0
- package/dist/cli/commands/config.d.ts +3 -3
- package/dist/lib/mcp/toolDiscoveryService.js +1 -1
- package/dist/lib/neurolink.d.ts +7 -1
- package/dist/lib/neurolink.js +1130 -56
- package/dist/lib/providers/amazonBedrock.d.ts +2 -2
- package/dist/lib/providers/amazonBedrock.js +16 -7
- package/dist/lib/providers/googleVertex.d.ts +28 -3
- package/dist/lib/providers/googleVertex.js +1132 -84
- package/dist/lib/providers/litellm.d.ts +1 -1
- package/dist/lib/providers/litellm.js +7 -4
- package/dist/lib/providers/openaiCompatible.d.ts +1 -1
- package/dist/lib/providers/openaiCompatible.js +7 -4
- package/dist/lib/proxy/proxyFetch.js +124 -2
- package/dist/lib/utils/providerHealth.d.ts +57 -1
- package/dist/lib/utils/providerHealth.js +638 -33
- package/dist/lib/utils/transformationUtils.js +3 -3
- package/dist/mcp/toolDiscoveryService.js +1 -1
- package/dist/neurolink.d.ts +7 -1
- package/dist/neurolink.js +1130 -56
- package/dist/providers/amazonBedrock.d.ts +2 -2
- package/dist/providers/amazonBedrock.js +16 -7
- package/dist/providers/googleVertex.d.ts +28 -3
- package/dist/providers/googleVertex.js +1132 -84
- package/dist/providers/litellm.d.ts +1 -1
- package/dist/providers/litellm.js +7 -4
- package/dist/providers/openaiCompatible.d.ts +1 -1
- package/dist/providers/openaiCompatible.js +7 -4
- package/dist/proxy/proxyFetch.js +124 -2
- package/dist/utils/providerHealth.d.ts +57 -1
- package/dist/utils/providerHealth.js +638 -33
- package/dist/utils/transformationUtils.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [7.28.0](https://github.com/juspay/neurolink/compare/v7.27.0...v7.28.0) (2025-08-25)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **(proxy):** comprehensive proxy support for all AI providers ([332974a](https://github.com/juspay/neurolink/commit/332974ae73e9ccc84a8dbbea65f10bc3262fecd5))
|
|
6
|
+
|
|
7
|
+
## [7.27.0](https://github.com/juspay/neurolink/compare/v7.26.1...v7.27.0) (2025-08-24)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- **(History):** Added the functionality to export the conversation history for debugging purpose ([71cec7e](https://github.com/juspay/neurolink/commit/71cec7e30154d80c123cae022806dfea58edbe69))
|
|
12
|
+
|
|
1
13
|
## [7.26.1](https://github.com/juspay/neurolink/compare/v7.26.0...v7.26.1) (2025-08-21)
|
|
2
14
|
|
|
3
15
|
## [7.26.0](https://github.com/juspay/neurolink/compare/v7.25.0...v7.26.0) (2025-08-21)
|
|
@@ -60,8 +60,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
60
60
|
}, {
|
|
61
61
|
model?: string | undefined;
|
|
62
62
|
projectId?: string | undefined;
|
|
63
|
-
credentials?: string | undefined;
|
|
64
63
|
location?: string | undefined;
|
|
64
|
+
credentials?: string | undefined;
|
|
65
65
|
serviceAccountKey?: string | undefined;
|
|
66
66
|
clientEmail?: string | undefined;
|
|
67
67
|
privateKey?: string | undefined;
|
|
@@ -201,8 +201,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
201
201
|
vertex?: {
|
|
202
202
|
model?: string | undefined;
|
|
203
203
|
projectId?: string | undefined;
|
|
204
|
-
credentials?: string | undefined;
|
|
205
204
|
location?: string | undefined;
|
|
205
|
+
credentials?: string | undefined;
|
|
206
206
|
serviceAccountKey?: string | undefined;
|
|
207
207
|
clientEmail?: string | undefined;
|
|
208
208
|
privateKey?: string | undefined;
|
|
@@ -570,8 +570,8 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
570
570
|
vertex?: {
|
|
571
571
|
model?: string | undefined;
|
|
572
572
|
projectId?: string | undefined;
|
|
573
|
-
credentials?: string | undefined;
|
|
574
573
|
location?: string | undefined;
|
|
574
|
+
credentials?: string | undefined;
|
|
575
575
|
serviceAccountKey?: string | undefined;
|
|
576
576
|
clientEmail?: string | undefined;
|
|
577
577
|
privateKey?: string | undefined;
|
|
@@ -460,7 +460,7 @@ export class ToolDiscoveryService extends EventEmitter {
|
|
|
460
460
|
isArray: Array.isArray(result),
|
|
461
461
|
isObject: isObject(result),
|
|
462
462
|
hasKeys: isObject(result) ? Object.keys(result).length : 0,
|
|
463
|
-
fullResponse: result // Log the complete response, not a truncated sample
|
|
463
|
+
fullResponse: result, // Log the complete response, not a truncated sample
|
|
464
464
|
});
|
|
465
465
|
// COMPLETELY PERMISSIVE APPROACH:
|
|
466
466
|
// - Any response format is valid (objects, strings, arrays, booleans, numbers)
|
package/dist/lib/neurolink.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import type { MCPServerInfo, MCPExecutableTool } from "./types/mcpTypes.js";
|
|
|
12
12
|
import type { JsonObject } from "./types/common.js";
|
|
13
13
|
import type { BatchOperationResult } from "./types/typeAliases.js";
|
|
14
14
|
import { EventEmitter } from "events";
|
|
15
|
-
import type { ConversationMemoryConfig } from "./types/conversationTypes.js";
|
|
15
|
+
import type { ConversationMemoryConfig, ChatMessage } from "./types/conversationTypes.js";
|
|
16
16
|
import type { ExternalMCPServerInstance, ExternalMCPOperationResult, ExternalMCPToolInfo } from "./types/externalMcp.js";
|
|
17
17
|
export interface ProviderStatus {
|
|
18
18
|
provider: string;
|
|
@@ -394,6 +394,12 @@ export declare class NeuroLink {
|
|
|
394
394
|
* Get conversation memory statistics (public API)
|
|
395
395
|
*/
|
|
396
396
|
getConversationStats(): Promise<import("./types/conversationTypes.js").ConversationMemoryStats>;
|
|
397
|
+
/**
|
|
398
|
+
* Get complete conversation history for a specific session (public API)
|
|
399
|
+
* @param sessionId - The session ID to retrieve history for
|
|
400
|
+
* @returns Array of ChatMessage objects in chronological order, or empty array if session doesn't exist
|
|
401
|
+
*/
|
|
402
|
+
getConversationHistory(sessionId: string): Promise<ChatMessage[]>;
|
|
397
403
|
/**
|
|
398
404
|
* Clear conversation history for a specific session (public API)
|
|
399
405
|
*/
|