@juspay/neurolink 11.3.0 → 11.3.1

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.
@@ -1545,7 +1545,7 @@ export class MCPCommandFactory {
1545
1545
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
1546
1546
  tools: [
1547
1547
  ${tools
1548
- .map((toolName) => ` { name: "${toolName}", description: "TODO: Add description for ${toolName}", inputSchema: { type: "object", properties: {}, required: [] } },`)
1548
+ .map((toolName) => ` { name: "${toolName}", description: "Add a description for ${toolName}", inputSchema: { type: "object", properties: {}, required: [] } },`)
1549
1549
  .join("\n")}
1550
1550
  ],
1551
1551
  }));
@@ -1554,7 +1554,7 @@ ${tools
1554
1554
  switch (request.params.name) {
1555
1555
  ${tools
1556
1556
  .map((toolName) => ` case "${toolName}":
1557
- // TODO: Implement ${toolName} tool
1557
+ // Implement ${toolName} tool logic here
1558
1558
  return {
1559
1559
  content: [{ type: "text", text: "${toolName} executed successfully" }],
1560
1560
  };`)
@@ -1661,7 +1661,7 @@ npm run build # Build for production
1661
1661
 
1662
1662
  ## Tools
1663
1663
 
1664
- ${tools.length > 0 ? tools.map((t) => `- **${t}**: TODO: Add description`).join("\n") : "- **hello**: A simple hello tool"}
1664
+ ${tools.length > 0 ? tools.map((t) => `- **${t}**: add a description`).join("\n") : "- **hello**: A simple hello tool"}
1665
1665
  `;
1666
1666
  fs.writeFileSync(path.join(serverDir, "README.md"), readme);
1667
1667
  }
@@ -1682,7 +1682,7 @@ ${tools.length > 0 ? tools.map((t) => `- **${t}**: TODO: Add description`).join(
1682
1682
  const _safeName = toolName.replace(/-/g, "_");
1683
1683
  const keyword = index === 0 ? "if" : "elif";
1684
1684
  return ` ${keyword} name == "${toolName}":
1685
- # TODO: Implement ${toolName} tool
1685
+ # Implement ${toolName} tool logic here
1686
1686
  return [TextContent(type="text", text="${toolName} executed successfully")]`;
1687
1687
  })
1688
1688
  .join("\n");
@@ -1710,7 +1710,7 @@ async def call_tool(name: str, arguments: dict) -> list[TextContent]:
1710
1710
  .map((toolName) => `
1711
1711
  Tool(
1712
1712
  name="${toolName}",
1713
- description="TODO: Add description for ${toolName}",
1713
+ description="Add a description for ${toolName}",
1714
1714
  inputSchema={
1715
1715
  "type": "object",
1716
1716
  "properties": {},
@@ -1798,7 +1798,7 @@ neurolink mcp add ${serverName} python ${path.join(serverDir, "server.py")}
1798
1798
 
1799
1799
  ## Tools
1800
1800
 
1801
- ${tools.length > 0 ? tools.map((t) => `- **${t}**: TODO: Add description`).join("\n") : "- **hello**: A simple hello tool"}
1801
+ ${tools.length > 0 ? tools.map((t) => `- **${t}**: add a description`).join("\n") : "- **hello**: A simple hello tool"}
1802
1802
  `;
1803
1803
  fs.writeFileSync(path.join(serverDir, "README.md"), readme);
1804
1804
  }
@@ -1840,7 +1840,7 @@ if (handlers[request.params.name]) {
1840
1840
  };
1841
1841
  }`;
1842
1842
  const toolList = tools.length > 0
1843
- ? tools.map((t) => `{ name: "${t}", description: "TODO: Add description", inputSchema: { type: "object", properties: {} } }`)
1843
+ ? tools.map((t) => `{ name: "${t}", description: "Add a description", inputSchema: { type: "object", properties: {} } }`)
1844
1844
  : [
1845
1845
  `{ name: "hello", description: "A simple hello tool", inputSchema: { type: "object", properties: { name: { type: "string" } }, required: ["name"] } }`,
1846
1846
  ];
@@ -1896,7 +1896,7 @@ neurolink mcp add ${serverName} node ${path.join(serverDir, "server.js")}
1896
1896
 
1897
1897
  ## Tools
1898
1898
 
1899
- ${tools.length > 0 ? tools.map((t) => `- **${t}**: TODO: Add description`).join("\n") : "- **hello**: A simple hello tool"}
1899
+ ${tools.length > 0 ? tools.map((t) => `- **${t}**: add a description`).join("\n") : "- **hello**: A simple hello tool"}
1900
1900
  `;
1901
1901
  fs.writeFileSync(path.join(serverDir, "README.md"), readme);
1902
1902
  }
@@ -285,7 +285,7 @@ export const MODEL_CONTEXT_WINDOWS = {
285
285
  "anthropic.claude-opus-4-6-v1:0": 1_000_000,
286
286
  "anthropic.claude-sonnet-4-6": 1_000_000,
287
287
  // Claude 4.5
288
- "anthropic.claude-opus-4-5-20251124-v1:0": 200_000,
288
+ "anthropic.claude-opus-4-5-20251101-v1:0": 200_000,
289
289
  "anthropic.claude-sonnet-4-5-20250929-v1:0": 200_000,
290
290
  "anthropic.claude-haiku-4-5-20251001-v1:0": 200_000,
291
291
  // Claude legacy
@@ -69,7 +69,7 @@ export declare enum OpenRouterModels {
69
69
  export declare enum BedrockModels {
70
70
  CLAUDE_4_6_OPUS = "anthropic.claude-opus-4-6-v1:0",
71
71
  CLAUDE_4_6_SONNET = "anthropic.claude-sonnet-4-6",
72
- CLAUDE_4_5_OPUS = "anthropic.claude-opus-4-5-20251124-v1:0",
72
+ CLAUDE_4_5_OPUS = "anthropic.claude-opus-4-5-20251101-v1:0",
73
73
  CLAUDE_4_5_SONNET = "anthropic.claude-sonnet-4-5-20250929-v1:0",
74
74
  CLAUDE_4_5_HAIKU = "anthropic.claude-haiku-4-5-20251001-v1:0",
75
75
  CLAUDE_4_1_OPUS = "anthropic.claude-opus-4-1-20250805-v1:0",
@@ -256,7 +256,7 @@ export declare enum AzureOpenAIModels {
256
256
  export declare enum VertexModels {
257
257
  CLAUDE_4_6_OPUS = "claude-opus-4-6",
258
258
  CLAUDE_4_6_SONNET = "claude-sonnet-4-6",
259
- CLAUDE_4_5_OPUS = "claude-opus-4-5@20251124",
259
+ CLAUDE_4_5_OPUS = "claude-opus-4-5@20251101",
260
260
  CLAUDE_4_5_SONNET = "claude-sonnet-4-5@20250929",
261
261
  CLAUDE_4_5_HAIKU = "claude-haiku-4-5@20251001",
262
262
  CLAUDE_4_0_SONNET = "claude-sonnet-4@20250514",
@@ -91,7 +91,7 @@ export var BedrockModels;
91
91
  BedrockModels["CLAUDE_4_6_OPUS"] = "anthropic.claude-opus-4-6-v1:0";
92
92
  BedrockModels["CLAUDE_4_6_SONNET"] = "anthropic.claude-sonnet-4-6";
93
93
  // Claude 4.5 Series (September-November 2025)
94
- BedrockModels["CLAUDE_4_5_OPUS"] = "anthropic.claude-opus-4-5-20251124-v1:0";
94
+ BedrockModels["CLAUDE_4_5_OPUS"] = "anthropic.claude-opus-4-5-20251101-v1:0";
95
95
  BedrockModels["CLAUDE_4_5_SONNET"] = "anthropic.claude-sonnet-4-5-20250929-v1:0";
96
96
  BedrockModels["CLAUDE_4_5_HAIKU"] = "anthropic.claude-haiku-4-5-20251001-v1:0";
97
97
  // Claude 4 Series (May-August 2025)
@@ -356,7 +356,7 @@ export var VertexModels;
356
356
  VertexModels["CLAUDE_4_6_OPUS"] = "claude-opus-4-6";
357
357
  VertexModels["CLAUDE_4_6_SONNET"] = "claude-sonnet-4-6";
358
358
  // Claude 4.5 Series (September-November 2025)
359
- VertexModels["CLAUDE_4_5_OPUS"] = "claude-opus-4-5@20251124";
359
+ VertexModels["CLAUDE_4_5_OPUS"] = "claude-opus-4-5@20251101";
360
360
  VertexModels["CLAUDE_4_5_SONNET"] = "claude-sonnet-4-5@20250929";
361
361
  VertexModels["CLAUDE_4_5_HAIKU"] = "claude-haiku-4-5@20251001";
362
362
  // Claude 4 Series (May 2025)
@@ -122,7 +122,7 @@ export declare const PROVIDER_TOKEN_LIMITS: {
122
122
  readonly "gemini-1.5-pro": 8192;
123
123
  readonly "gemini-1.5-flash": 8192;
124
124
  readonly "claude-sonnet-4-5@20250929": 8192;
125
- readonly "claude-opus-4-5@20251124": 8192;
125
+ readonly "claude-opus-4-5@20251101": 8192;
126
126
  readonly "claude-haiku-4-5@20251001": 8192;
127
127
  readonly "claude-sonnet-4@20250514": 4096;
128
128
  readonly "claude-opus-4@20250514": 4096;
@@ -136,7 +136,7 @@ export const PROVIDER_TOKEN_LIMITS = {
136
136
  "gemini-1.5-flash": 8192,
137
137
  // Claude 4.5 Series (September-November 2025)
138
138
  "claude-sonnet-4-5@20250929": 8192,
139
- "claude-opus-4-5@20251124": 8192,
139
+ "claude-opus-4-5@20251101": 8192,
140
140
  "claude-haiku-4-5@20251001": 8192,
141
141
  // Claude 4 Series (May 2025)
142
142
  "claude-sonnet-4@20250514": 4096,
@@ -412,7 +412,7 @@ const VISION_CAPABILITIES = {
412
412
  "claude-opus-4-5",
413
413
  "claude-opus-4.5",
414
414
  "anthropic.claude-opus-4-5",
415
- "anthropic.claude-opus-4-5-20251124-v1:0",
415
+ "anthropic.claude-opus-4-5-20251101-v1:0",
416
416
  "claude-haiku-4-5",
417
417
  "claude-haiku-4.5",
418
418
  "anthropic.claude-haiku-4-5",
@@ -285,7 +285,7 @@ export const MODEL_CONTEXT_WINDOWS = {
285
285
  "anthropic.claude-opus-4-6-v1:0": 1_000_000,
286
286
  "anthropic.claude-sonnet-4-6": 1_000_000,
287
287
  // Claude 4.5
288
- "anthropic.claude-opus-4-5-20251124-v1:0": 200_000,
288
+ "anthropic.claude-opus-4-5-20251101-v1:0": 200_000,
289
289
  "anthropic.claude-sonnet-4-5-20250929-v1:0": 200_000,
290
290
  "anthropic.claude-haiku-4-5-20251001-v1:0": 200_000,
291
291
  // Claude legacy
@@ -69,7 +69,7 @@ export declare enum OpenRouterModels {
69
69
  export declare enum BedrockModels {
70
70
  CLAUDE_4_6_OPUS = "anthropic.claude-opus-4-6-v1:0",
71
71
  CLAUDE_4_6_SONNET = "anthropic.claude-sonnet-4-6",
72
- CLAUDE_4_5_OPUS = "anthropic.claude-opus-4-5-20251124-v1:0",
72
+ CLAUDE_4_5_OPUS = "anthropic.claude-opus-4-5-20251101-v1:0",
73
73
  CLAUDE_4_5_SONNET = "anthropic.claude-sonnet-4-5-20250929-v1:0",
74
74
  CLAUDE_4_5_HAIKU = "anthropic.claude-haiku-4-5-20251001-v1:0",
75
75
  CLAUDE_4_1_OPUS = "anthropic.claude-opus-4-1-20250805-v1:0",
@@ -256,7 +256,7 @@ export declare enum AzureOpenAIModels {
256
256
  export declare enum VertexModels {
257
257
  CLAUDE_4_6_OPUS = "claude-opus-4-6",
258
258
  CLAUDE_4_6_SONNET = "claude-sonnet-4-6",
259
- CLAUDE_4_5_OPUS = "claude-opus-4-5@20251124",
259
+ CLAUDE_4_5_OPUS = "claude-opus-4-5@20251101",
260
260
  CLAUDE_4_5_SONNET = "claude-sonnet-4-5@20250929",
261
261
  CLAUDE_4_5_HAIKU = "claude-haiku-4-5@20251001",
262
262
  CLAUDE_4_0_SONNET = "claude-sonnet-4@20250514",
@@ -91,7 +91,7 @@ export var BedrockModels;
91
91
  BedrockModels["CLAUDE_4_6_OPUS"] = "anthropic.claude-opus-4-6-v1:0";
92
92
  BedrockModels["CLAUDE_4_6_SONNET"] = "anthropic.claude-sonnet-4-6";
93
93
  // Claude 4.5 Series (September-November 2025)
94
- BedrockModels["CLAUDE_4_5_OPUS"] = "anthropic.claude-opus-4-5-20251124-v1:0";
94
+ BedrockModels["CLAUDE_4_5_OPUS"] = "anthropic.claude-opus-4-5-20251101-v1:0";
95
95
  BedrockModels["CLAUDE_4_5_SONNET"] = "anthropic.claude-sonnet-4-5-20250929-v1:0";
96
96
  BedrockModels["CLAUDE_4_5_HAIKU"] = "anthropic.claude-haiku-4-5-20251001-v1:0";
97
97
  // Claude 4 Series (May-August 2025)
@@ -356,7 +356,7 @@ export var VertexModels;
356
356
  VertexModels["CLAUDE_4_6_OPUS"] = "claude-opus-4-6";
357
357
  VertexModels["CLAUDE_4_6_SONNET"] = "claude-sonnet-4-6";
358
358
  // Claude 4.5 Series (September-November 2025)
359
- VertexModels["CLAUDE_4_5_OPUS"] = "claude-opus-4-5@20251124";
359
+ VertexModels["CLAUDE_4_5_OPUS"] = "claude-opus-4-5@20251101";
360
360
  VertexModels["CLAUDE_4_5_SONNET"] = "claude-sonnet-4-5@20250929";
361
361
  VertexModels["CLAUDE_4_5_HAIKU"] = "claude-haiku-4-5@20251001";
362
362
  // Claude 4 Series (May 2025)
@@ -122,7 +122,7 @@ export declare const PROVIDER_TOKEN_LIMITS: {
122
122
  readonly "gemini-1.5-pro": 8192;
123
123
  readonly "gemini-1.5-flash": 8192;
124
124
  readonly "claude-sonnet-4-5@20250929": 8192;
125
- readonly "claude-opus-4-5@20251124": 8192;
125
+ readonly "claude-opus-4-5@20251101": 8192;
126
126
  readonly "claude-haiku-4-5@20251001": 8192;
127
127
  readonly "claude-sonnet-4@20250514": 4096;
128
128
  readonly "claude-opus-4@20250514": 4096;
@@ -136,7 +136,7 @@ export const PROVIDER_TOKEN_LIMITS = {
136
136
  "gemini-1.5-flash": 8192,
137
137
  // Claude 4.5 Series (September-November 2025)
138
138
  "claude-sonnet-4-5@20250929": 8192,
139
- "claude-opus-4-5@20251124": 8192,
139
+ "claude-opus-4-5@20251101": 8192,
140
140
  "claude-haiku-4-5@20251001": 8192,
141
141
  // Claude 4 Series (May 2025)
142
142
  "claude-sonnet-4@20250514": 4096,
@@ -5,7 +5,7 @@ export let cachedCredentialsPath = null;
5
5
  export const VERTEX_MODEL_ALIASES = {
6
6
  // Claude 4.x shorthand aliases → versioned names
7
7
  "claude-sonnet-4-5": "claude-sonnet-4-5@20250929",
8
- "claude-opus-4-5": "claude-opus-4-5@20251124",
8
+ "claude-opus-4-5": "claude-opus-4-5@20251101",
9
9
  "claude-haiku-4-5": "claude-haiku-4-5@20251001",
10
10
  "claude-sonnet-4": "claude-sonnet-4@20250514",
11
11
  "claude-opus-4": "claude-opus-4@20250514",
@@ -5,7 +5,7 @@ export let cachedCredentialsPath = null;
5
5
  export const VERTEX_MODEL_ALIASES = {
6
6
  // Claude 4.x shorthand aliases → versioned names
7
7
  "claude-sonnet-4-5": "claude-sonnet-4-5@20250929",
8
- "claude-opus-4-5": "claude-opus-4-5@20251124",
8
+ "claude-opus-4-5": "claude-opus-4-5@20251101",
9
9
  "claude-haiku-4-5": "claude-haiku-4-5@20251001",
10
10
  "claude-sonnet-4": "claude-sonnet-4@20250514",
11
11
  "claude-opus-4": "claude-opus-4@20250514",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/neurolink",
3
- "version": "11.3.0",
3
+ "version": "11.3.1",
4
4
  "packageManager": "pnpm@10.15.1",
5
5
  "description": "TypeScript AI SDK with 24+ LLM providers behind one consistent API. MCP-native (connect any MCP server), voice TTS/STT/realtime, RAG, agents, memory, context compaction. OpenAI · Anthropic · Gemini · Bedrock · Azure · Ollama · DeepSeek · NVIDIA NIM and more.",
6
6
  "author": {