@juspay/neurolink 9.11.0 → 9.12.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,13 @@
1
+ ## [9.12.0](https://github.com/juspay/neurolink/compare/v9.11.0...v9.12.0) (2026-02-23)
2
+
3
+ ### Features
4
+
5
+ - **(core):** implement SDK boundary items — context windows, caching, tool output management ([75a07a4](https://github.com/juspay/neurolink/commit/75a07a4f6d8eaec2fefe577dc62428e759bb52ce))
6
+
7
+ ### Bug Fixes
8
+
9
+ - **(mcp):** missing gap for mcp cli ([79b51a8](https://github.com/juspay/neurolink/commit/79b51a88fa8f79809917e6159106278114f86636))
10
+
1
11
  ## [9.11.0](https://github.com/juspay/neurolink/compare/v9.10.1...v9.11.0) (2026-02-22)
2
12
 
3
13
  ### Features
@@ -541,15 +541,15 @@ export class ExternalServerManager extends EventEmitter {
541
541
  env: config.env,
542
542
  tools: [], // Will be populated after server connection
543
543
  blockedTools: config.blockedTools,
544
+ // Preserve top-level operational fields so startServer can read them
545
+ timeout: config.timeout,
546
+ retries: config.retries,
547
+ healthCheckInterval: config.healthCheckInterval,
548
+ autoRestart: config.autoRestart,
549
+ cwd: config.cwd,
550
+ url: config.url,
544
551
  metadata: {
545
552
  category: "external",
546
- // Store additional ExternalMCPServerConfig fields in metadata
547
- timeout: config.timeout,
548
- retries: config.retries,
549
- healthCheckInterval: config.healthCheckInterval,
550
- autoRestart: config.autoRestart,
551
- cwd: config.cwd,
552
- url: config.url,
553
553
  ...(safeMetadataConversion(config.metadata) || {}),
554
554
  },
555
555
  };
@@ -928,8 +928,9 @@ export class ExternalServerManager extends EventEmitter {
928
928
  reason,
929
929
  timestamp: new Date(),
930
930
  });
931
- // Attempt restart if enabled
932
- if (this.config.enableAutoRestart && !this.isShuttingDown) {
931
+ // Attempt restart if enabled — prefer server-specific setting, fall back to global
932
+ if ((instance.config.autoRestart ?? this.config.enableAutoRestart) &&
933
+ !this.isShuttingDown) {
933
934
  this.scheduleRestart(serverId);
934
935
  }
935
936
  else {
@@ -2538,6 +2538,11 @@ Current user's request: ${currentInput}`;
2538
2538
  skippedToolInjection: !!options.skipToolPromptInjection,
2539
2539
  enhancedPromptPreview: enhancedSystemPrompt.substring(0, 500) + "...",
2540
2540
  });
2541
+ logger.debug("[Observability] Full system prompt", {
2542
+ requestId,
2543
+ systemPromptLength: enhancedSystemPrompt.length,
2544
+ systemPrompt: enhancedSystemPrompt,
2545
+ });
2541
2546
  // Get conversation messages for context
2542
2547
  let conversationMessages = await getConversationMessages(this.conversationMemory, options);
2543
2548
  if (logger.shouldLog("debug")) {
@@ -541,15 +541,15 @@ export class ExternalServerManager extends EventEmitter {
541
541
  env: config.env,
542
542
  tools: [], // Will be populated after server connection
543
543
  blockedTools: config.blockedTools,
544
+ // Preserve top-level operational fields so startServer can read them
545
+ timeout: config.timeout,
546
+ retries: config.retries,
547
+ healthCheckInterval: config.healthCheckInterval,
548
+ autoRestart: config.autoRestart,
549
+ cwd: config.cwd,
550
+ url: config.url,
544
551
  metadata: {
545
552
  category: "external",
546
- // Store additional ExternalMCPServerConfig fields in metadata
547
- timeout: config.timeout,
548
- retries: config.retries,
549
- healthCheckInterval: config.healthCheckInterval,
550
- autoRestart: config.autoRestart,
551
- cwd: config.cwd,
552
- url: config.url,
553
553
  ...(safeMetadataConversion(config.metadata) || {}),
554
554
  },
555
555
  };
@@ -928,8 +928,9 @@ export class ExternalServerManager extends EventEmitter {
928
928
  reason,
929
929
  timestamp: new Date(),
930
930
  });
931
- // Attempt restart if enabled
932
- if (this.config.enableAutoRestart && !this.isShuttingDown) {
931
+ // Attempt restart if enabled — prefer server-specific setting, fall back to global
932
+ if ((instance.config.autoRestart ?? this.config.enableAutoRestart) &&
933
+ !this.isShuttingDown) {
933
934
  this.scheduleRestart(serverId);
934
935
  }
935
936
  else {
package/dist/neurolink.js CHANGED
@@ -2538,6 +2538,11 @@ Current user's request: ${currentInput}`;
2538
2538
  skippedToolInjection: !!options.skipToolPromptInjection,
2539
2539
  enhancedPromptPreview: enhancedSystemPrompt.substring(0, 500) + "...",
2540
2540
  });
2541
+ logger.debug("[Observability] Full system prompt", {
2542
+ requestId,
2543
+ systemPromptLength: enhancedSystemPrompt.length,
2544
+ systemPrompt: enhancedSystemPrompt,
2545
+ });
2541
2546
  // Get conversation messages for context
2542
2547
  let conversationMessages = await getConversationMessages(this.conversationMemory, options);
2543
2548
  if (logger.shouldLog("debug")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/neurolink",
3
- "version": "9.11.0",
3
+ "version": "9.12.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 13 providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.",
5
5
  "author": {
6
6
  "name": "Juspay Technologies",