@juspay/neurolink 11.4.0 → 11.5.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.
@@ -1046,8 +1046,11 @@ export const MODEL_REGISTRY = {
1046
1046
  jsonMode: false,
1047
1047
  },
1048
1048
  pricing: {
1049
- inputCostPer1K: 0.015,
1050
- outputCostPer1K: 0.075,
1049
+ // $5 / $25 per MTok. Was 0.015/0.075 — Claude 3 Opus's rate, left
1050
+ // behind when the entry was updated to 4.5, so every cost estimate
1051
+ // for this model came out 3x high.
1052
+ inputCostPer1K: 0.005,
1053
+ outputCostPer1K: 0.025,
1051
1054
  currency: "USD",
1052
1055
  },
1053
1056
  performance: {
@@ -1071,7 +1074,9 @@ export const MODEL_REGISTRY = {
1071
1074
  },
1072
1075
  aliases: [
1073
1076
  "claude-4.5-opus",
1074
- "claude-opus-latest",
1077
+ // "claude-opus-latest" now belongs to CLAUDE_OPUS_5. An alias declared
1078
+ // on two entries silently resolves to whichever appears later in this
1079
+ // object, so a "latest" pointer must live on exactly one model.
1075
1080
  "opus-4.5",
1076
1081
  "anthropic-flagship",
1077
1082
  ],
@@ -1080,6 +1085,210 @@ export const MODEL_REGISTRY = {
1080
1085
  releaseDate: "2025-11-24",
1081
1086
  category: "reasoning",
1082
1087
  },
1088
+ // Claude 5 and 4.7/4.8. Limits and pricing from Anthropic's models
1089
+ // overview comparison tables. All current Claude models take image input;
1090
+ // these use adaptive thinking rather than the older `thinking.type`
1091
+ // extended-thinking switch, which the overview marks "No" for each.
1092
+ [AnthropicModels.CLAUDE_OPUS_5]: {
1093
+ id: AnthropicModels.CLAUDE_OPUS_5,
1094
+ name: "Claude Opus 5",
1095
+ provider: AIProviderName.ANTHROPIC,
1096
+ description: "For complex agentic coding and enterprise work",
1097
+ capabilities: {
1098
+ vision: true,
1099
+ functionCalling: true,
1100
+ codeGeneration: true,
1101
+ reasoning: true,
1102
+ multimodal: true,
1103
+ streaming: true,
1104
+ jsonMode: false,
1105
+ },
1106
+ pricing: {
1107
+ inputCostPer1K: 0.005,
1108
+ outputCostPer1K: 0.025,
1109
+ currency: "USD",
1110
+ },
1111
+ performance: { speed: "medium", quality: "high", accuracy: "high" },
1112
+ limits: {
1113
+ maxContextTokens: 1000000,
1114
+ maxOutputTokens: 128000,
1115
+ maxRequestsPerMinute: 50,
1116
+ },
1117
+ useCases: {
1118
+ coding: 10,
1119
+ creative: 10,
1120
+ analysis: 10,
1121
+ conversation: 9,
1122
+ reasoning: 10,
1123
+ translation: 9,
1124
+ summarization: 9,
1125
+ },
1126
+ aliases: ["opus-5", "claude-opus-latest"],
1127
+ deprecated: false,
1128
+ isLocal: false,
1129
+ releaseDate: "2026-07-24",
1130
+ category: "reasoning",
1131
+ },
1132
+ [AnthropicModels.CLAUDE_SONNET_5]: {
1133
+ id: AnthropicModels.CLAUDE_SONNET_5,
1134
+ name: "Claude Sonnet 5",
1135
+ provider: AIProviderName.ANTHROPIC,
1136
+ description: "The best combination of speed and intelligence",
1137
+ capabilities: {
1138
+ vision: true,
1139
+ functionCalling: true,
1140
+ codeGeneration: true,
1141
+ reasoning: true,
1142
+ multimodal: true,
1143
+ streaming: true,
1144
+ jsonMode: false,
1145
+ },
1146
+ pricing: {
1147
+ inputCostPer1K: 0.002,
1148
+ outputCostPer1K: 0.01,
1149
+ currency: "USD",
1150
+ },
1151
+ performance: { speed: "fast", quality: "high", accuracy: "high" },
1152
+ limits: {
1153
+ maxContextTokens: 1000000,
1154
+ maxOutputTokens: 128000,
1155
+ maxRequestsPerMinute: 50,
1156
+ },
1157
+ useCases: {
1158
+ coding: 9,
1159
+ creative: 9,
1160
+ analysis: 9,
1161
+ conversation: 9,
1162
+ reasoning: 9,
1163
+ translation: 9,
1164
+ summarization: 9,
1165
+ },
1166
+ aliases: ["sonnet-5", "claude-sonnet-latest"],
1167
+ deprecated: false,
1168
+ isLocal: false,
1169
+ releaseDate: "2026-06-30",
1170
+ category: "general",
1171
+ },
1172
+ [AnthropicModels.CLAUDE_FABLE_5]: {
1173
+ id: AnthropicModels.CLAUDE_FABLE_5,
1174
+ name: "Claude Fable 5",
1175
+ provider: AIProviderName.ANTHROPIC,
1176
+ description: "Next-generation intelligence for long-running agents",
1177
+ capabilities: {
1178
+ vision: true,
1179
+ functionCalling: true,
1180
+ codeGeneration: true,
1181
+ reasoning: true,
1182
+ multimodal: true,
1183
+ streaming: true,
1184
+ jsonMode: false,
1185
+ },
1186
+ pricing: {
1187
+ inputCostPer1K: 0.01,
1188
+ outputCostPer1K: 0.05,
1189
+ currency: "USD",
1190
+ },
1191
+ performance: { speed: "slow", quality: "high", accuracy: "high" },
1192
+ limits: {
1193
+ maxContextTokens: 1000000,
1194
+ maxOutputTokens: 128000,
1195
+ maxRequestsPerMinute: 50,
1196
+ },
1197
+ useCases: {
1198
+ coding: 10,
1199
+ creative: 10,
1200
+ analysis: 10,
1201
+ conversation: 9,
1202
+ reasoning: 10,
1203
+ translation: 9,
1204
+ summarization: 9,
1205
+ },
1206
+ aliases: ["fable-5"],
1207
+ deprecated: false,
1208
+ isLocal: false,
1209
+ releaseDate: "2026-06-09",
1210
+ category: "reasoning",
1211
+ },
1212
+ [AnthropicModels.CLAUDE_OPUS_4_8]: {
1213
+ id: AnthropicModels.CLAUDE_OPUS_4_8,
1214
+ name: "Claude Opus 4.8",
1215
+ provider: AIProviderName.ANTHROPIC,
1216
+ description: "Anthropic Opus 4.8, superseded by Claude Opus 5",
1217
+ capabilities: {
1218
+ vision: true,
1219
+ functionCalling: true,
1220
+ codeGeneration: true,
1221
+ reasoning: true,
1222
+ multimodal: true,
1223
+ streaming: true,
1224
+ jsonMode: false,
1225
+ },
1226
+ pricing: {
1227
+ inputCostPer1K: 0.005,
1228
+ outputCostPer1K: 0.025,
1229
+ currency: "USD",
1230
+ },
1231
+ performance: { speed: "medium", quality: "high", accuracy: "high" },
1232
+ limits: {
1233
+ maxContextTokens: 1000000,
1234
+ maxOutputTokens: 128000,
1235
+ maxRequestsPerMinute: 50,
1236
+ },
1237
+ useCases: {
1238
+ coding: 10,
1239
+ creative: 9,
1240
+ analysis: 10,
1241
+ conversation: 9,
1242
+ reasoning: 10,
1243
+ translation: 9,
1244
+ summarization: 9,
1245
+ },
1246
+ aliases: ["opus-4.8"],
1247
+ deprecated: false,
1248
+ isLocal: false,
1249
+ releaseDate: "2026-05-28",
1250
+ category: "reasoning",
1251
+ },
1252
+ [AnthropicModels.CLAUDE_OPUS_4_7]: {
1253
+ id: AnthropicModels.CLAUDE_OPUS_4_7,
1254
+ name: "Claude Opus 4.7",
1255
+ provider: AIProviderName.ANTHROPIC,
1256
+ description: "Anthropic Opus 4.7, superseded by Claude Opus 4.8",
1257
+ capabilities: {
1258
+ vision: true,
1259
+ functionCalling: true,
1260
+ codeGeneration: true,
1261
+ reasoning: true,
1262
+ multimodal: true,
1263
+ streaming: true,
1264
+ jsonMode: false,
1265
+ },
1266
+ pricing: {
1267
+ inputCostPer1K: 0.005,
1268
+ outputCostPer1K: 0.025,
1269
+ currency: "USD",
1270
+ },
1271
+ performance: { speed: "medium", quality: "high", accuracy: "high" },
1272
+ limits: {
1273
+ maxContextTokens: 1000000,
1274
+ maxOutputTokens: 128000,
1275
+ maxRequestsPerMinute: 50,
1276
+ },
1277
+ useCases: {
1278
+ coding: 10,
1279
+ creative: 9,
1280
+ analysis: 10,
1281
+ conversation: 9,
1282
+ reasoning: 10,
1283
+ translation: 9,
1284
+ summarization: 9,
1285
+ },
1286
+ aliases: ["opus-4.7"],
1287
+ deprecated: false,
1288
+ isLocal: false,
1289
+ releaseDate: "2026-04-16",
1290
+ category: "reasoning",
1291
+ },
1083
1292
  [AnthropicModels.CLAUDE_SONNET_4_5]: {
1084
1293
  id: AnthropicModels.CLAUDE_SONNET_4_5,
1085
1294
  name: "Claude Sonnet 4.5",
@@ -1118,7 +1327,9 @@ export const MODEL_REGISTRY = {
1118
1327
  translation: 8,
1119
1328
  summarization: 8,
1120
1329
  },
1121
- aliases: ["claude-4.5-sonnet", "claude-sonnet-latest", "sonnet-4.5"],
1330
+ // "claude-sonnet-latest" now belongs to CLAUDE_SONNET_5 — see the note
1331
+ // on CLAUDE_OPUS_4_5's aliases.
1332
+ aliases: ["claude-4.5-sonnet", "sonnet-4.5"],
1122
1333
  deprecated: false,
1123
1334
  isLocal: false,
1124
1335
  releaseDate: "2025-09-29",
@@ -1433,7 +1644,10 @@ export const MODEL_REGISTRY = {
1433
1644
  summarization: 8,
1434
1645
  },
1435
1646
  aliases: ["pixtral", "mistral-vision"],
1436
- deprecated: false,
1647
+ // Retired by Mistral on 2026-05-31. Kept so exact-id and alias lookups
1648
+ // still resolve for existing callers; `deprecated` removes it from
1649
+ // `models list` and the recommendation paths.
1650
+ deprecated: true,
1437
1651
  isLocal: false,
1438
1652
  releaseDate: "2024-09-01",
1439
1653
  category: "vision",
@@ -2227,7 +2441,9 @@ export const MODEL_REGISTRY = {
2227
2441
  summarization: 9,
2228
2442
  },
2229
2443
  aliases: ["azure-gpt-5-turbo", "gpt5-turbo-azure"],
2230
- deprecated: false,
2444
+ // Azure OpenAI has never published a "gpt-5-turbo"; the id cannot be
2445
+ // deployed. Flagged so it stops being offered as a live choice.
2446
+ deprecated: true,
2231
2447
  isLocal: false,
2232
2448
  releaseDate: "2025-08-07",
2233
2449
  category: "general",
@@ -2327,7 +2543,9 @@ export const USE_CASE_RECOMMENDATIONS = {
2327
2543
  OpenAIModels.GPT_5_2_PRO,
2328
2544
  AnthropicModels.CLAUDE_OPUS_4_5,
2329
2545
  GoogleAIModels.GEMINI_2_5_PRO,
2330
- MistralModels.PIXTRAL_LARGE,
2546
+ // Mistral's Pixtral Large sat here until it was retired on 2026-05-31.
2547
+ // Left without a substitute rather than guessing at a replacement's
2548
+ // vision support.
2331
2549
  BedrockModels.NOVA_PREMIER,
2332
2550
  ],
2333
2551
  };
@@ -138,7 +138,6 @@ const TOP_MODELS_CONFIG = {
138
138
  model: MistralModels.CODESTRAL_LATEST,
139
139
  description: "Specialized for code",
140
140
  },
141
- { model: MistralModels.PIXTRAL_LARGE, description: "Multimodal vision" },
142
141
  {
143
142
  model: MistralModels.MAGISTRAL_MEDIUM_LATEST,
144
143
  description: "Reasoning model",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/neurolink",
3
- "version": "11.4.0",
3
+ "version": "11.5.0",
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": {
@@ -97,6 +97,8 @@
97
97
  "test:mcp:spans": "npx tsx test/continuous-test-suite-mcp-spans.ts",
98
98
  "test:mcp:infra": "npx tsx test/continuous-test-suite-mcp-infra.ts",
99
99
  "test:providers-mocked": "npx tsx test/continuous-test-suite-providers-mocked.ts",
100
+ "scaffold:provider": "npx tsx tools/scaffold-provider.ts",
101
+ "verify:provider-onboarding": "npx tsx tools/verify-provider-onboarding.ts",
100
102
  "test:openai-compat-catalog": "npx tsx test/continuous-test-suite-openai-compat-catalog.ts",
101
103
  "test:provider-descriptors": "npx tsx test/continuous-test-suite-provider-descriptors.ts",
102
104
  "test:provider-structure": "npx tsx test/continuous-test-suite-provider-structure.ts",