@juspay/neurolink 7.51.3 → 7.53.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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## [7.53.0](https://github.com/juspay/neurolink/compare/v7.52.0...v7.53.0) (2025-10-26)
2
+
3
+ ### Features
4
+
5
+ - **(test):** vitest configuration setup for cli ([ffb7db3](https://github.com/juspay/neurolink/commit/ffb7db301e2e883af5427db6e6d00a8a7dd65023))
6
+
7
+ ## [7.52.0](https://github.com/juspay/neurolink/compare/v7.51.3...v7.52.0) (2025-10-24)
8
+
9
+ ### Features
10
+
11
+ - **(redis):** Enable SDK-level Redis configuration for multi-tenancy ([6c68883](https://github.com/juspay/neurolink/commit/6c688833ab48608e47402c7ee3c904c6986734ae))
12
+
1
13
  ## [7.51.3](https://github.com/juspay/neurolink/compare/v7.51.2...v7.51.3) (2025-10-23)
2
14
 
3
15
  ### Bug Fixes
@@ -38,10 +38,14 @@ export async function initializeConversationMemory(config) {
38
38
  });
39
39
  if (storageType === "redis") {
40
40
  logger.info("[conversationMemoryInitializer] Initializing Redis-based conversation memory manager");
41
- // Get Redis configuration from environment
42
- logger.debug("[conversationMemoryInitializer] Getting Redis configuration from environment");
43
- const redisConfig = getRedisConfigFromEnv();
41
+ // Get Redis configuration - prioritize passed config, fallback to environment
42
+ logger.debug("[conversationMemoryInitializer] Getting Redis configuration");
43
+ const redisConfig = config.conversationMemory?.redisConfig || getRedisConfigFromEnv();
44
+ const configSource = config.conversationMemory?.redisConfig
45
+ ? "SDK input (from Lighthouse)"
46
+ : "environment variables (NeuroLink)";
44
47
  logger.debug("[conversationMemoryInitializer] Redis configuration retrieved", {
48
+ configSource,
45
49
  host: redisConfig.host || "localhost",
46
50
  port: redisConfig.port || 6379,
47
51
  hasPassword: !!redisConfig.password,
@@ -59,8 +63,10 @@ export async function initializeConversationMemory(config) {
59
63
  hasConfig: !!redisMemoryManager?.config,
60
64
  });
61
65
  logger.info("[conversationMemoryInitializer] Redis conversation memory manager created successfully", {
66
+ configSource,
62
67
  host: redisConfig.host || "localhost",
63
68
  port: redisConfig.port || 6379,
69
+ keyPrefix: redisConfig.keyPrefix || "neurolink:conversation:",
64
70
  maxSessions: memoryConfig.maxSessions,
65
71
  maxTurnsPerSession: memoryConfig.maxTurnsPerSession,
66
72
  managerType: redisMemoryManager?.constructor?.name,
@@ -38,10 +38,14 @@ export async function initializeConversationMemory(config) {
38
38
  });
39
39
  if (storageType === "redis") {
40
40
  logger.info("[conversationMemoryInitializer] Initializing Redis-based conversation memory manager");
41
- // Get Redis configuration from environment
42
- logger.debug("[conversationMemoryInitializer] Getting Redis configuration from environment");
43
- const redisConfig = getRedisConfigFromEnv();
41
+ // Get Redis configuration - prioritize passed config, fallback to environment
42
+ logger.debug("[conversationMemoryInitializer] Getting Redis configuration");
43
+ const redisConfig = config.conversationMemory?.redisConfig || getRedisConfigFromEnv();
44
+ const configSource = config.conversationMemory?.redisConfig
45
+ ? "SDK input (from Lighthouse)"
46
+ : "environment variables (NeuroLink)";
44
47
  logger.debug("[conversationMemoryInitializer] Redis configuration retrieved", {
48
+ configSource,
45
49
  host: redisConfig.host || "localhost",
46
50
  port: redisConfig.port || 6379,
47
51
  hasPassword: !!redisConfig.password,
@@ -59,8 +63,10 @@ export async function initializeConversationMemory(config) {
59
63
  hasConfig: !!redisMemoryManager?.config,
60
64
  });
61
65
  logger.info("[conversationMemoryInitializer] Redis conversation memory manager created successfully", {
66
+ configSource,
62
67
  host: redisConfig.host || "localhost",
63
68
  port: redisConfig.port || 6379,
69
+ keyPrefix: redisConfig.keyPrefix || "neurolink:conversation:",
64
70
  maxSessions: memoryConfig.maxSessions,
65
71
  maxTurnsPerSession: memoryConfig.maxTurnsPerSession,
66
72
  managerType: redisMemoryManager?.constructor?.name,
@@ -30,6 +30,8 @@ export type ConversationMemoryConfig = {
30
30
  mem0Enabled?: boolean;
31
31
  /** Configuration for mem0 integration */
32
32
  mem0Config?: MemoryConfig;
33
+ /** Redis configuration (optional) - overrides environment variables */
34
+ redisConfig?: RedisStorageConfig;
33
35
  };
34
36
  /**
35
37
  * Complete memory for a conversation session
@@ -30,6 +30,8 @@ export type ConversationMemoryConfig = {
30
30
  mem0Enabled?: boolean;
31
31
  /** Configuration for mem0 integration */
32
32
  mem0Config?: MemoryConfig;
33
+ /** Redis configuration (optional) - overrides environment variables */
34
+ redisConfig?: RedisStorageConfig;
33
35
  };
34
36
  /**
35
37
  * Complete memory for a conversation session
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/neurolink",
3
- "version": "7.51.3",
3
+ "version": "7.53.0",
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",
@@ -56,11 +56,22 @@
56
56
  "// Shell Script Conversion": "",
57
57
  "convert:shell-scripts": "node tools/automation/shellConverter.js",
58
58
  "convert:specific": "node tools/automation/shellConverter.js --specific",
59
- "// Testing (Single Continuous Test Suite)": "",
60
- "test": "pnpm run test:providers",
61
- "test:providers": "npx tsx test/continuous-test-suite.ts",
59
+ "// Testing (Enhanced Vitest Framework)": "",
60
+ "test": "vitest run",
61
+ "test:watch": "vitest",
62
+ "test:ui": "vitest --ui",
63
+ "test:coverage": "vitest run --coverage",
64
+ "test:providers": "vitest run test/unit/providers",
65
+ "test:cli": "vitest run test/integration/cli",
66
+ "test:sdk": "vitest run test/unit/sdk",
67
+ "test:integration": "vitest run test/integration",
68
+ "test:e2e": "vitest run test/e2e",
69
+ "test:ci": "vitest run --coverage --reporter=junit --reporter=verbose",
70
+ "test:debug": "vitest --inspect-brk",
62
71
  "test:performance": "node tools/testing/performanceMonitor.js",
63
- "test:ci": "pnpm run test:providers && pnpm run test:performance",
72
+ "// Legacy Testing Support (during transition)": "",
73
+ "test:legacy": "npx tsx test/continuous-test-suite.ts",
74
+ "test:comparison": "pnpm run test && pnpm run test:legacy",
64
75
  "// Content Generation (Cross-platform JS)": "",
65
76
  "content:videos": "node tools/converted-scripts/generateAllVideos.js",
66
77
  "content:cleanup": "node tools/converted-scripts/cleanupHashNamedVideos.js",