@juspay/neurolink 13.12.1 → 13.12.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 +2 -5
- package/dist/agent/agentToolRegistrar.js +3 -1
- package/dist/browser/neurolink.min.js +467 -467
- package/dist/context/fileSummarizationService.js +2 -0
- package/dist/core/baseProvider.d.ts +2 -2
- package/dist/core/loopEngine.js +20 -8
- package/dist/core/modules/ToolsManager.d.ts +11 -33
- package/dist/core/modules/ToolsManager.js +71 -99
- package/dist/core/modules/Utilities.js +6 -1
- package/dist/core/toolExecutionGuards.js +79 -11
- package/dist/evaluation/ragasEvaluator.js +2 -0
- package/dist/evaluation/scorers/llm/baseLLMScorer.js +2 -0
- package/dist/hitl/hitlErrors.d.ts +8 -0
- package/dist/hitl/hitlErrors.js +12 -0
- package/dist/hitl/hitlManager.d.ts +25 -7
- package/dist/hitl/hitlManager.js +133 -15
- package/dist/hitl/index.d.ts +1 -1
- package/dist/hitl/index.js +1 -1
- package/dist/hitl/toolCallConfirmation.d.ts +57 -0
- package/dist/hitl/toolCallConfirmation.js +296 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -1
- package/dist/mcp/externalServerManager.d.ts +33 -2
- package/dist/mcp/externalServerManager.js +68 -52
- package/dist/mcp/mcpCircuitBreaker.d.ts +9 -2
- package/dist/mcp/mcpCircuitBreaker.js +9 -1
- package/dist/mcp/toolDiscoveryService.js +11 -2
- package/dist/mcp/toolRegistry.d.ts +20 -0
- package/dist/mcp/toolRegistry.js +68 -58
- package/dist/middleware/utils/guardrailsUtils.js +2 -0
- package/dist/neurolink.d.ts +114 -2
- package/dist/neurolink.js +492 -71
- package/dist/providers/amazonBedrock/client.js +23 -4
- package/dist/providers/anthropic/client.js +5 -1
- package/dist/providers/googleNativeGemini3/utils.js +5 -1
- package/dist/providers/openaiChatCompletionsBase.js +21 -3
- package/dist/rag/metadata/metadataExtractor.js +2 -0
- package/dist/rag/pipeline/RAGPipeline.js +4 -0
- package/dist/rag/pipeline/contextAssembly.d.ts +1 -0
- package/dist/rag/pipeline/contextAssembly.js +2 -0
- package/dist/rag/reranker/reranker.js +4 -0
- package/dist/types/hitl.d.ts +100 -8
- package/dist/types/mcp.d.ts +5 -0
- package/dist/types/providers.d.ts +23 -2
- package/dist/types/tools.d.ts +34 -9
- package/dist/utils/async/index.d.ts +2 -1
- package/dist/utils/async/index.js +2 -1
- package/dist/utils/async/pausableDeadline.d.ts +28 -0
- package/dist/utils/async/pausableDeadline.js +88 -0
- package/dist/utils/async/withTimeout.d.ts +5 -0
- package/dist/utils/async/withTimeout.js +23 -0
- package/dist/utils/errorHandling.d.ts +32 -1
- package/dist/utils/errorHandling.js +70 -18
- package/dist/utils/providerUtils.js +5 -1
- package/dist/workflow/core/ensembleExecutor.js +2 -0
- package/dist/workflow/core/judgeScorer.js +2 -0
- package/dist/workflow/core/responseConditioner.js +2 -0
- package/docs-site/static/search-index.json +8 -6
- package/package.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
## [13.12.
|
|
1
|
+
## [13.12.3](https://github.com/juspay/neurolink/compare/v13.12.2...v13.12.3) (2026-11-16)
|
|
2
2
|
|
|
3
3
|
### Bug Fixes
|
|
4
4
|
|
|
5
|
-
- **(
|
|
6
|
-
- **(deps):** move minimatch to 11.x where the parent supports it ([2afd1b4](https://github.com/juspay/neurolink/commit/2afd1b477b9cb1a3e39b09b5a7c70efa11aafd2b))
|
|
7
|
-
- **(deps):** patch satori and fast-xml-parser advisories ([3b3936d](https://github.com/juspay/neurolink/commit/3b3936dc6410e65aadd7c94dcb4d132bbb8f6d50))
|
|
8
|
-
- **(landing):** serve the OG image fonts as WOFF, which satori can parse ([d475500](https://github.com/juspay/neurolink/commit/d475500e51be730cee8d87c639c52c0a5a6e855f))
|
|
5
|
+
- **(mcp):** do not count caller-cancelled calls as circuit-breaker failures ([2c18531](https://github.com/juspay/neurolink/commit/2c18531d7a2f6f793a69fd14a511e074d78f1159))
|
|
9
6
|
|
|
10
7
|
## [11.2.3](https://github.com/juspay/neurolink/compare/v11.2.2...v11.2.3) (2026-08-19)
|
|
11
8
|
|
|
@@ -255,6 +255,8 @@ export function registerAgentTool(host, definition, options = {}) {
|
|
|
255
255
|
},
|
|
256
256
|
required: ["task"],
|
|
257
257
|
};
|
|
258
|
+
// Never retried: a retry would start a second worker run for the same
|
|
259
|
+
// call, as for delegate_task.
|
|
258
260
|
host.registerTool(name, {
|
|
259
261
|
name,
|
|
260
262
|
description: `Delegate to agent: ${definition.name} — ${definition.description}`,
|
|
@@ -262,7 +264,7 @@ export function registerAgentTool(host, definition, options = {}) {
|
|
|
262
264
|
execute: async (params, context) => {
|
|
263
265
|
return executeDelegation(host, registration, params, context);
|
|
264
266
|
},
|
|
265
|
-
});
|
|
267
|
+
}, { maxRetries: 0 });
|
|
266
268
|
logger.debug("[AgentToolRegistrar] Registered agent tool", {
|
|
267
269
|
name,
|
|
268
270
|
agentId: definition.id,
|