@juspay/neurolink 11.0.0 → 11.1.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.
Files changed (121) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/browser/neurolink.min.js +510 -510
  3. package/dist/cli/commands/setup.d.ts +8 -1
  4. package/dist/cli/commands/setup.js +62 -46
  5. package/dist/cli/factories/commandFactory.d.ts +1157 -1
  6. package/dist/cli/factories/commandFactory.js +20 -53
  7. package/dist/constants/networkErrorCodes.d.ts +14 -0
  8. package/dist/constants/networkErrorCodes.js +21 -0
  9. package/dist/factories/providerDescriptors.d.ts +18 -0
  10. package/dist/factories/providerDescriptors.js +546 -0
  11. package/dist/factories/providerFactory.d.ts +25 -14
  12. package/dist/factories/providerFactory.js +46 -23
  13. package/dist/factories/providerRegistry.js +31 -30
  14. package/dist/index.d.ts +10 -1
  15. package/dist/index.js +13 -3
  16. package/dist/lib/constants/networkErrorCodes.d.ts +14 -0
  17. package/dist/lib/constants/networkErrorCodes.js +22 -0
  18. package/dist/lib/factories/providerDescriptors.d.ts +18 -0
  19. package/dist/lib/factories/providerDescriptors.js +547 -0
  20. package/dist/lib/factories/providerFactory.d.ts +25 -14
  21. package/dist/lib/factories/providerFactory.js +46 -23
  22. package/dist/lib/factories/providerRegistry.js +31 -30
  23. package/dist/lib/index.d.ts +10 -1
  24. package/dist/lib/index.js +13 -3
  25. package/dist/lib/neurolink.js +25 -37
  26. package/dist/lib/processors/base/BaseFileProcessor.d.ts +17 -0
  27. package/dist/lib/processors/base/BaseFileProcessor.js +40 -0
  28. package/dist/lib/processors/document/OpenDocumentProcessor.js +12 -2
  29. package/dist/lib/providers/amazonBedrock/client.js +34 -16
  30. package/dist/lib/providers/anthropic/client.js +39 -34
  31. package/dist/lib/providers/azureOpenai.js +17 -15
  32. package/dist/lib/providers/cloudflare.js +12 -21
  33. package/dist/lib/providers/cohere.js +31 -25
  34. package/dist/lib/providers/deepseek.js +23 -26
  35. package/dist/lib/providers/fireworks.js +12 -21
  36. package/dist/lib/providers/googleAiStudio/client.d.ts +2 -0
  37. package/dist/lib/providers/googleAiStudio/client.js +39 -17
  38. package/dist/lib/providers/googleVertex/client.js +107 -99
  39. package/dist/lib/providers/groq.js +19 -22
  40. package/dist/lib/providers/huggingFace/client.js +26 -24
  41. package/dist/lib/providers/litellm/client.js +54 -39
  42. package/dist/lib/providers/llamaCpp.js +21 -18
  43. package/dist/lib/providers/lmStudio.js +22 -19
  44. package/dist/lib/providers/mistral.js +12 -24
  45. package/dist/lib/providers/nvidiaNim/client.js +37 -34
  46. package/dist/lib/providers/ollama/client.js +50 -35
  47. package/dist/lib/providers/openAI/client.js +37 -40
  48. package/dist/lib/providers/openRouter/client.js +53 -47
  49. package/dist/lib/providers/openaiChatCompletionsBase.js +40 -16
  50. package/dist/lib/providers/openaiCompatible/client.js +36 -32
  51. package/dist/lib/providers/perplexity.js +12 -21
  52. package/dist/lib/providers/togetherAi.js +12 -21
  53. package/dist/lib/providers/xai.js +17 -26
  54. package/dist/lib/proxy/proxyFetch.js +1 -9
  55. package/dist/lib/server/errors.d.ts +1 -1
  56. package/dist/lib/server/errors.js +2 -2
  57. package/dist/lib/server/index.d.ts +2 -2
  58. package/dist/lib/server/index.js +5 -3
  59. package/dist/lib/server/middleware/rateLimit.d.ts +0 -4
  60. package/dist/lib/server/middleware/rateLimit.js +0 -4
  61. package/dist/lib/types/cli.d.ts +2 -0
  62. package/dist/lib/types/errors.d.ts +35 -0
  63. package/dist/lib/types/providers.d.ts +79 -0
  64. package/dist/lib/utils/errorClassifier.d.ts +30 -0
  65. package/dist/lib/utils/errorClassifier.js +183 -0
  66. package/dist/lib/utils/fileDetector.js +6 -43
  67. package/dist/lib/utils/providerConfig.d.ts +16 -0
  68. package/dist/lib/utils/providerConfig.js +23 -0
  69. package/dist/lib/utils/providerHealth.d.ts +53 -12
  70. package/dist/lib/utils/providerHealth.js +125 -131
  71. package/dist/lib/utils/providerUtils.js +22 -64
  72. package/dist/neurolink.js +25 -37
  73. package/dist/processors/base/BaseFileProcessor.d.ts +17 -0
  74. package/dist/processors/base/BaseFileProcessor.js +40 -0
  75. package/dist/processors/document/OpenDocumentProcessor.js +12 -2
  76. package/dist/providers/amazonBedrock/client.js +34 -16
  77. package/dist/providers/amazonSagemaker.d.ts +1 -1
  78. package/dist/providers/anthropic/client.js +39 -34
  79. package/dist/providers/azureOpenai.js +17 -15
  80. package/dist/providers/cloudflare.js +12 -21
  81. package/dist/providers/cohere.js +31 -25
  82. package/dist/providers/deepseek.js +23 -26
  83. package/dist/providers/fireworks.js +12 -21
  84. package/dist/providers/googleAiStudio/client.d.ts +2 -0
  85. package/dist/providers/googleAiStudio/client.js +39 -17
  86. package/dist/providers/googleVertex/client.js +107 -99
  87. package/dist/providers/groq.js +19 -22
  88. package/dist/providers/huggingFace/client.js +26 -24
  89. package/dist/providers/litellm/client.js +54 -39
  90. package/dist/providers/llamaCpp.js +21 -18
  91. package/dist/providers/lmStudio.js +22 -19
  92. package/dist/providers/mistral.js +12 -24
  93. package/dist/providers/nvidiaNim/client.js +37 -34
  94. package/dist/providers/ollama/client.js +50 -35
  95. package/dist/providers/openAI/client.js +37 -40
  96. package/dist/providers/openRouter/client.js +53 -47
  97. package/dist/providers/openaiChatCompletionsBase.js +40 -16
  98. package/dist/providers/openaiCompatible/client.js +36 -32
  99. package/dist/providers/perplexity.js +12 -21
  100. package/dist/providers/sagemaker/language-model.d.ts +2 -2
  101. package/dist/providers/togetherAi.js +12 -21
  102. package/dist/providers/xai.js +17 -26
  103. package/dist/proxy/proxyFetch.js +1 -9
  104. package/dist/server/errors.d.ts +1 -1
  105. package/dist/server/errors.js +2 -2
  106. package/dist/server/index.d.ts +2 -2
  107. package/dist/server/index.js +5 -3
  108. package/dist/server/middleware/rateLimit.d.ts +0 -4
  109. package/dist/server/middleware/rateLimit.js +0 -4
  110. package/dist/types/cli.d.ts +2 -0
  111. package/dist/types/errors.d.ts +35 -0
  112. package/dist/types/providers.d.ts +79 -0
  113. package/dist/utils/errorClassifier.d.ts +30 -0
  114. package/dist/utils/errorClassifier.js +182 -0
  115. package/dist/utils/fileDetector.js +6 -43
  116. package/dist/utils/providerConfig.d.ts +16 -0
  117. package/dist/utils/providerConfig.js +23 -0
  118. package/dist/utils/providerHealth.d.ts +53 -12
  119. package/dist/utils/providerHealth.js +125 -131
  120. package/dist/utils/providerUtils.js +22 -64
  121. package/package.json +15 -70
@@ -1,4 +1,6 @@
1
1
  import type { CommandModule } from "yargs";
2
+ /** Space-separated form for the bash-completion script, kept in sync with DERIVED_PROVIDER_CHOICES by construction. */
3
+ export declare const BASH_COMPLETION_PROVIDERS: string;
2
4
  /**
3
5
  * CLI Command Factory for generate commands
4
6
  */
@@ -17,7 +19,583 @@ export declare class CLICommandFactory {
17
19
  * generate / batch / stream paths.
18
20
  */
19
21
  private static normalizeLoopSessionVariables;
20
- private static readonly commonOptions;
22
+ static readonly commonOptions: {
23
+ provider: {
24
+ choices: string[];
25
+ default: string;
26
+ description: string;
27
+ alias: string;
28
+ };
29
+ authMethod: {
30
+ type: "string";
31
+ choices: string[];
32
+ default: string;
33
+ description: string;
34
+ };
35
+ subscriptionTier: {
36
+ type: "string";
37
+ choices: string[];
38
+ description: string;
39
+ };
40
+ enableBeta: {
41
+ type: "boolean";
42
+ default: boolean;
43
+ description: string;
44
+ alias: string;
45
+ };
46
+ image: {
47
+ type: "string";
48
+ description: string;
49
+ alias: string;
50
+ };
51
+ csv: {
52
+ type: "string";
53
+ description: string;
54
+ alias: string;
55
+ };
56
+ pdf: {
57
+ type: "string";
58
+ description: string;
59
+ };
60
+ "pdf-password": {
61
+ type: "string";
62
+ description: string;
63
+ };
64
+ video: {
65
+ type: "string";
66
+ description: string;
67
+ };
68
+ "video-frames": {
69
+ type: "number";
70
+ description: string;
71
+ };
72
+ "video-quality": {
73
+ type: "number";
74
+ description: string;
75
+ };
76
+ "video-format": {
77
+ type: "string";
78
+ choices: string[];
79
+ default: string;
80
+ description: string;
81
+ };
82
+ "transcribe-audio": {
83
+ type: "boolean";
84
+ default: boolean;
85
+ description: string;
86
+ };
87
+ file: {
88
+ type: "string";
89
+ description: string;
90
+ };
91
+ csvMaxRows: {
92
+ type: "number";
93
+ default: number;
94
+ description: string;
95
+ };
96
+ csvFormat: {
97
+ type: "string";
98
+ choices: string[];
99
+ default: string;
100
+ description: string;
101
+ };
102
+ "csv-encoding": {
103
+ type: "string";
104
+ description: string;
105
+ };
106
+ "csv-sanitize-names": {
107
+ type: "boolean";
108
+ default: boolean;
109
+ description: string;
110
+ };
111
+ "csv-name-case": {
112
+ type: "string";
113
+ choices: string[];
114
+ default: string;
115
+ description: string;
116
+ };
117
+ "csv-parse-timeout-ms": {
118
+ type: "number";
119
+ description: string;
120
+ };
121
+ "csv-skip-empty-lines": {
122
+ type: "boolean";
123
+ default: boolean;
124
+ description: string;
125
+ };
126
+ model: {
127
+ type: "string";
128
+ description: string;
129
+ alias: string;
130
+ };
131
+ temperature: {
132
+ type: "number";
133
+ default: number;
134
+ description: string;
135
+ alias: string;
136
+ };
137
+ maxTokens: {
138
+ type: "number";
139
+ default: number;
140
+ description: string;
141
+ alias: string;
142
+ };
143
+ system: {
144
+ type: "string";
145
+ description: string;
146
+ alias: string;
147
+ };
148
+ format: {
149
+ choices: string[];
150
+ default: string;
151
+ alias: string[];
152
+ description: string;
153
+ };
154
+ output: {
155
+ type: "string";
156
+ description: string;
157
+ alias: string;
158
+ };
159
+ imageOutput: {
160
+ type: "string";
161
+ description: string;
162
+ alias: string;
163
+ };
164
+ timeout: {
165
+ type: "number";
166
+ default: number;
167
+ description: string;
168
+ };
169
+ delay: {
170
+ type: "number";
171
+ description: string;
172
+ };
173
+ disableTools: {
174
+ type: "boolean";
175
+ default: boolean;
176
+ description: string;
177
+ };
178
+ enableAnalytics: {
179
+ type: "boolean";
180
+ default: boolean;
181
+ description: string;
182
+ };
183
+ enableEvaluation: {
184
+ type: "boolean";
185
+ default: boolean;
186
+ description: string;
187
+ };
188
+ domain: {
189
+ type: "string";
190
+ choices: string[];
191
+ description: string;
192
+ alias: string;
193
+ };
194
+ evaluationDomain: {
195
+ type: "string";
196
+ description: string;
197
+ };
198
+ toolUsageContext: {
199
+ type: "string";
200
+ description: string;
201
+ };
202
+ domainAware: {
203
+ type: "boolean";
204
+ default: boolean;
205
+ description: string;
206
+ };
207
+ context: {
208
+ type: "string";
209
+ description: string;
210
+ };
211
+ debug: {
212
+ type: "boolean";
213
+ alias: string[];
214
+ default: boolean;
215
+ description: string;
216
+ };
217
+ quiet: {
218
+ type: "boolean";
219
+ alias: string;
220
+ default: boolean;
221
+ description: string;
222
+ };
223
+ noColor: {
224
+ type: "boolean";
225
+ default: boolean;
226
+ description: string;
227
+ };
228
+ configFile: {
229
+ type: "string";
230
+ description: string;
231
+ };
232
+ dryRun: {
233
+ type: "boolean";
234
+ default: boolean;
235
+ description: string;
236
+ };
237
+ tts: {
238
+ type: "boolean";
239
+ default: boolean;
240
+ description: string;
241
+ };
242
+ ttsVoice: {
243
+ type: "string";
244
+ description: string;
245
+ };
246
+ ttsProvider: {
247
+ type: "string";
248
+ choices: string[];
249
+ description: string;
250
+ };
251
+ ttsFormat: {
252
+ type: "string";
253
+ choices: string[];
254
+ default: string;
255
+ description: string;
256
+ };
257
+ ttsSpeed: {
258
+ type: "number";
259
+ default: number;
260
+ description: string;
261
+ };
262
+ ttsQuality: {
263
+ type: "string";
264
+ choices: string[];
265
+ default: string;
266
+ description: string;
267
+ };
268
+ ttsOutput: {
269
+ type: "string";
270
+ description: string;
271
+ };
272
+ ttsPlay: {
273
+ type: "boolean";
274
+ default: boolean;
275
+ description: string;
276
+ };
277
+ stt: {
278
+ type: "boolean";
279
+ default: boolean;
280
+ description: string;
281
+ };
282
+ sttProvider: {
283
+ type: "string";
284
+ choices: string[];
285
+ description: string;
286
+ };
287
+ sttLanguage: {
288
+ type: "string";
289
+ description: string;
290
+ };
291
+ inputAudio: {
292
+ type: "string";
293
+ description: string;
294
+ };
295
+ outputMode: {
296
+ type: "string";
297
+ choices: string[];
298
+ default: string;
299
+ description: string;
300
+ };
301
+ videoProvider: {
302
+ type: "string";
303
+ description: string;
304
+ };
305
+ videoOutput: {
306
+ type: "string";
307
+ alias: string;
308
+ description: string;
309
+ };
310
+ videoResolution: {
311
+ type: "string";
312
+ choices: string[];
313
+ description: string;
314
+ };
315
+ videoLength: {
316
+ type: "number";
317
+ choices: number[];
318
+ description: string;
319
+ };
320
+ videoAspectRatio: {
321
+ type: "string";
322
+ choices: string[];
323
+ description: string;
324
+ };
325
+ videoAudio: {
326
+ type: "boolean";
327
+ description: string;
328
+ };
329
+ avatarProvider: {
330
+ type: "string";
331
+ description: string;
332
+ };
333
+ avatarImage: {
334
+ type: "string";
335
+ description: string;
336
+ };
337
+ avatarAudio: {
338
+ type: "string";
339
+ description: string;
340
+ };
341
+ avatarText: {
342
+ type: "string";
343
+ description: string;
344
+ };
345
+ avatarVoice: {
346
+ type: "string";
347
+ description: string;
348
+ };
349
+ avatarQuality: {
350
+ type: "string";
351
+ choices: string[];
352
+ description: string;
353
+ };
354
+ avatarFormat: {
355
+ type: "string";
356
+ choices: string[];
357
+ description: string;
358
+ };
359
+ avatarOutput: {
360
+ type: "string";
361
+ description: string;
362
+ };
363
+ musicProvider: {
364
+ type: "string";
365
+ description: string;
366
+ };
367
+ musicDuration: {
368
+ type: "number";
369
+ description: string;
370
+ };
371
+ musicFormat: {
372
+ type: "string";
373
+ choices: string[];
374
+ description: string;
375
+ };
376
+ musicGenre: {
377
+ type: "string";
378
+ description: string;
379
+ };
380
+ musicMood: {
381
+ type: "string";
382
+ description: string;
383
+ };
384
+ musicTempo: {
385
+ type: "number";
386
+ description: string;
387
+ };
388
+ musicOutput: {
389
+ type: "string";
390
+ description: string;
391
+ };
392
+ pptPages: {
393
+ type: "number";
394
+ alias: string;
395
+ description: string;
396
+ };
397
+ pptTheme: {
398
+ type: "string";
399
+ choices: string[];
400
+ description: string;
401
+ };
402
+ pptAudience: {
403
+ type: "string";
404
+ choices: string[];
405
+ description: string;
406
+ };
407
+ pptTone: {
408
+ type: "string";
409
+ choices: string[];
410
+ description: string;
411
+ };
412
+ pptOutput: {
413
+ type: "string";
414
+ alias: string;
415
+ description: string;
416
+ };
417
+ pptAspectRatio: {
418
+ type: "string";
419
+ choices: string[];
420
+ description: string;
421
+ };
422
+ pptNoImages: {
423
+ type: "boolean";
424
+ default: boolean;
425
+ description: string;
426
+ };
427
+ thinking: {
428
+ alias: string;
429
+ type: "boolean";
430
+ description: string;
431
+ default: boolean;
432
+ };
433
+ thinkingBudget: {
434
+ type: "number";
435
+ description: string;
436
+ default: number;
437
+ };
438
+ thinkingLevel: {
439
+ type: "string";
440
+ description: string;
441
+ choices: readonly ["minimal", "low", "medium", "high"];
442
+ };
443
+ toolRouting: {
444
+ type: "boolean";
445
+ description: string;
446
+ };
447
+ toolRoutingTimeout: {
448
+ type: "number";
449
+ description: string;
450
+ alias: string;
451
+ };
452
+ toolRoutingRouterProvider: {
453
+ type: "string";
454
+ description: string;
455
+ alias: string;
456
+ };
457
+ toolRoutingRouterModel: {
458
+ type: "string";
459
+ description: string;
460
+ alias: string;
461
+ };
462
+ toolRoutingRouterRegion: {
463
+ type: "string";
464
+ description: string;
465
+ alias: string;
466
+ };
467
+ toolRoutingAlwaysInclude: {
468
+ type: "array";
469
+ description: string;
470
+ alias: string;
471
+ string: boolean;
472
+ };
473
+ toolRoutingServers: {
474
+ type: "string";
475
+ description: string;
476
+ alias: string;
477
+ };
478
+ classifierRouter: {
479
+ type: "boolean";
480
+ description: string;
481
+ alias: string;
482
+ };
483
+ classifierStrategy: {
484
+ type: "string";
485
+ description: string;
486
+ choices: readonly ["heuristic", "llm"];
487
+ alias: string;
488
+ };
489
+ classifierModelProvider: {
490
+ type: "string";
491
+ description: string;
492
+ alias: string;
493
+ };
494
+ classifierModelName: {
495
+ type: "string";
496
+ description: string;
497
+ alias: string;
498
+ };
499
+ classifierModelRegion: {
500
+ type: "string";
501
+ description: string;
502
+ alias: string;
503
+ };
504
+ classifierPool: {
505
+ type: "string";
506
+ description: string;
507
+ alias: string;
508
+ };
509
+ classifierTimeout: {
510
+ type: "number";
511
+ description: string;
512
+ alias: string;
513
+ };
514
+ region: {
515
+ type: "string";
516
+ description: string;
517
+ alias: string;
518
+ };
519
+ ragFiles: {
520
+ type: "array";
521
+ description: string;
522
+ alias: string;
523
+ string: boolean;
524
+ };
525
+ ragStrategy: {
526
+ type: "string";
527
+ description: string;
528
+ alias: string;
529
+ choices: readonly ["character", "recursive", "sentence", "token", "markdown", "html", "json", "latex", "semantic", "semantic-markdown"];
530
+ };
531
+ ragChunkSize: {
532
+ type: "number";
533
+ description: string;
534
+ alias: string;
535
+ default: number;
536
+ };
537
+ ragChunkOverlap: {
538
+ type: "number";
539
+ description: string;
540
+ alias: string;
541
+ default: number;
542
+ };
543
+ ragTopK: {
544
+ type: "number";
545
+ description: string;
546
+ alias: string;
547
+ default: number;
548
+ };
549
+ piiRedact: {
550
+ type: "boolean";
551
+ description: string;
552
+ alias: string;
553
+ default: boolean;
554
+ };
555
+ piiTypes: {
556
+ type: "string";
557
+ description: string;
558
+ alias: string;
559
+ };
560
+ piiAction: {
561
+ type: "string";
562
+ description: string;
563
+ alias: string;
564
+ default: string;
565
+ };
566
+ inputMaxLength: {
567
+ type: "number";
568
+ description: string;
569
+ alias: string;
570
+ };
571
+ trimWhitespace: {
572
+ type: "boolean";
573
+ description: string;
574
+ alias: string;
575
+ default: boolean;
576
+ };
577
+ requireContent: {
578
+ type: "boolean";
579
+ description: string;
580
+ alias: string;
581
+ default: boolean;
582
+ };
583
+ outputMaxLength: {
584
+ type: "number";
585
+ description: string;
586
+ alias: string;
587
+ };
588
+ outputMinLength: {
589
+ type: "number";
590
+ description: string;
591
+ alias: string;
592
+ };
593
+ skillsDir: {
594
+ type: "string";
595
+ description: string;
596
+ alias: string;
597
+ };
598
+ };
21
599
  private static buildOptions;
22
600
  private static processCliImages;
23
601
  private static processCliCSVFiles;
@@ -330,3 +908,581 @@ export declare class CLICommandFactory {
330
908
  */
331
909
  private static flushLangfuseTraces;
332
910
  }
911
+ /** Re-export of CLICommandFactory's static option definitions for direct import by tests/tooling. */
912
+ export declare const commonOptions: {
913
+ provider: {
914
+ choices: string[];
915
+ default: string;
916
+ description: string;
917
+ alias: string;
918
+ };
919
+ authMethod: {
920
+ type: "string";
921
+ choices: string[];
922
+ default: string;
923
+ description: string;
924
+ };
925
+ subscriptionTier: {
926
+ type: "string";
927
+ choices: string[];
928
+ description: string;
929
+ };
930
+ enableBeta: {
931
+ type: "boolean";
932
+ default: boolean;
933
+ description: string;
934
+ alias: string;
935
+ };
936
+ image: {
937
+ type: "string";
938
+ description: string;
939
+ alias: string;
940
+ };
941
+ csv: {
942
+ type: "string";
943
+ description: string;
944
+ alias: string;
945
+ };
946
+ pdf: {
947
+ type: "string";
948
+ description: string;
949
+ };
950
+ "pdf-password": {
951
+ type: "string";
952
+ description: string;
953
+ };
954
+ video: {
955
+ type: "string";
956
+ description: string;
957
+ };
958
+ "video-frames": {
959
+ type: "number";
960
+ description: string;
961
+ };
962
+ "video-quality": {
963
+ type: "number";
964
+ description: string;
965
+ };
966
+ "video-format": {
967
+ type: "string";
968
+ choices: string[];
969
+ default: string;
970
+ description: string;
971
+ };
972
+ "transcribe-audio": {
973
+ type: "boolean";
974
+ default: boolean;
975
+ description: string;
976
+ };
977
+ file: {
978
+ type: "string";
979
+ description: string;
980
+ };
981
+ csvMaxRows: {
982
+ type: "number";
983
+ default: number;
984
+ description: string;
985
+ };
986
+ csvFormat: {
987
+ type: "string";
988
+ choices: string[];
989
+ default: string;
990
+ description: string;
991
+ };
992
+ "csv-encoding": {
993
+ type: "string";
994
+ description: string;
995
+ };
996
+ "csv-sanitize-names": {
997
+ type: "boolean";
998
+ default: boolean;
999
+ description: string;
1000
+ };
1001
+ "csv-name-case": {
1002
+ type: "string";
1003
+ choices: string[];
1004
+ default: string;
1005
+ description: string;
1006
+ };
1007
+ "csv-parse-timeout-ms": {
1008
+ type: "number";
1009
+ description: string;
1010
+ };
1011
+ "csv-skip-empty-lines": {
1012
+ type: "boolean";
1013
+ default: boolean;
1014
+ description: string;
1015
+ };
1016
+ model: {
1017
+ type: "string";
1018
+ description: string;
1019
+ alias: string;
1020
+ };
1021
+ temperature: {
1022
+ type: "number";
1023
+ default: number;
1024
+ description: string;
1025
+ alias: string;
1026
+ };
1027
+ maxTokens: {
1028
+ type: "number";
1029
+ default: number;
1030
+ description: string;
1031
+ alias: string;
1032
+ };
1033
+ system: {
1034
+ type: "string";
1035
+ description: string;
1036
+ alias: string;
1037
+ };
1038
+ format: {
1039
+ choices: string[];
1040
+ default: string;
1041
+ alias: string[];
1042
+ description: string;
1043
+ };
1044
+ output: {
1045
+ type: "string";
1046
+ description: string;
1047
+ alias: string;
1048
+ };
1049
+ imageOutput: {
1050
+ type: "string";
1051
+ description: string;
1052
+ alias: string;
1053
+ };
1054
+ timeout: {
1055
+ type: "number";
1056
+ default: number;
1057
+ description: string;
1058
+ };
1059
+ delay: {
1060
+ type: "number";
1061
+ description: string;
1062
+ };
1063
+ disableTools: {
1064
+ type: "boolean";
1065
+ default: boolean;
1066
+ description: string;
1067
+ };
1068
+ enableAnalytics: {
1069
+ type: "boolean";
1070
+ default: boolean;
1071
+ description: string;
1072
+ };
1073
+ enableEvaluation: {
1074
+ type: "boolean";
1075
+ default: boolean;
1076
+ description: string;
1077
+ };
1078
+ domain: {
1079
+ type: "string";
1080
+ choices: string[];
1081
+ description: string;
1082
+ alias: string;
1083
+ };
1084
+ evaluationDomain: {
1085
+ type: "string";
1086
+ description: string;
1087
+ };
1088
+ toolUsageContext: {
1089
+ type: "string";
1090
+ description: string;
1091
+ };
1092
+ domainAware: {
1093
+ type: "boolean";
1094
+ default: boolean;
1095
+ description: string;
1096
+ };
1097
+ context: {
1098
+ type: "string";
1099
+ description: string;
1100
+ };
1101
+ debug: {
1102
+ type: "boolean";
1103
+ alias: string[];
1104
+ default: boolean;
1105
+ description: string;
1106
+ };
1107
+ quiet: {
1108
+ type: "boolean";
1109
+ alias: string;
1110
+ default: boolean;
1111
+ description: string;
1112
+ };
1113
+ noColor: {
1114
+ type: "boolean";
1115
+ default: boolean;
1116
+ description: string;
1117
+ };
1118
+ configFile: {
1119
+ type: "string";
1120
+ description: string;
1121
+ };
1122
+ dryRun: {
1123
+ type: "boolean";
1124
+ default: boolean;
1125
+ description: string;
1126
+ };
1127
+ tts: {
1128
+ type: "boolean";
1129
+ default: boolean;
1130
+ description: string;
1131
+ };
1132
+ ttsVoice: {
1133
+ type: "string";
1134
+ description: string;
1135
+ };
1136
+ ttsProvider: {
1137
+ type: "string";
1138
+ choices: string[];
1139
+ description: string;
1140
+ };
1141
+ ttsFormat: {
1142
+ type: "string";
1143
+ choices: string[];
1144
+ default: string;
1145
+ description: string;
1146
+ };
1147
+ ttsSpeed: {
1148
+ type: "number";
1149
+ default: number;
1150
+ description: string;
1151
+ };
1152
+ ttsQuality: {
1153
+ type: "string";
1154
+ choices: string[];
1155
+ default: string;
1156
+ description: string;
1157
+ };
1158
+ ttsOutput: {
1159
+ type: "string";
1160
+ description: string;
1161
+ };
1162
+ ttsPlay: {
1163
+ type: "boolean";
1164
+ default: boolean;
1165
+ description: string;
1166
+ };
1167
+ stt: {
1168
+ type: "boolean";
1169
+ default: boolean;
1170
+ description: string;
1171
+ };
1172
+ sttProvider: {
1173
+ type: "string";
1174
+ choices: string[];
1175
+ description: string;
1176
+ };
1177
+ sttLanguage: {
1178
+ type: "string";
1179
+ description: string;
1180
+ };
1181
+ inputAudio: {
1182
+ type: "string";
1183
+ description: string;
1184
+ };
1185
+ outputMode: {
1186
+ type: "string";
1187
+ choices: string[];
1188
+ default: string;
1189
+ description: string;
1190
+ };
1191
+ videoProvider: {
1192
+ type: "string";
1193
+ description: string;
1194
+ };
1195
+ videoOutput: {
1196
+ type: "string";
1197
+ alias: string;
1198
+ description: string;
1199
+ };
1200
+ videoResolution: {
1201
+ type: "string";
1202
+ choices: string[];
1203
+ description: string;
1204
+ };
1205
+ videoLength: {
1206
+ type: "number";
1207
+ choices: number[];
1208
+ description: string;
1209
+ };
1210
+ videoAspectRatio: {
1211
+ type: "string";
1212
+ choices: string[];
1213
+ description: string;
1214
+ };
1215
+ videoAudio: {
1216
+ type: "boolean";
1217
+ description: string;
1218
+ };
1219
+ avatarProvider: {
1220
+ type: "string";
1221
+ description: string;
1222
+ };
1223
+ avatarImage: {
1224
+ type: "string";
1225
+ description: string;
1226
+ };
1227
+ avatarAudio: {
1228
+ type: "string";
1229
+ description: string;
1230
+ };
1231
+ avatarText: {
1232
+ type: "string";
1233
+ description: string;
1234
+ };
1235
+ avatarVoice: {
1236
+ type: "string";
1237
+ description: string;
1238
+ };
1239
+ avatarQuality: {
1240
+ type: "string";
1241
+ choices: string[];
1242
+ description: string;
1243
+ };
1244
+ avatarFormat: {
1245
+ type: "string";
1246
+ choices: string[];
1247
+ description: string;
1248
+ };
1249
+ avatarOutput: {
1250
+ type: "string";
1251
+ description: string;
1252
+ };
1253
+ musicProvider: {
1254
+ type: "string";
1255
+ description: string;
1256
+ };
1257
+ musicDuration: {
1258
+ type: "number";
1259
+ description: string;
1260
+ };
1261
+ musicFormat: {
1262
+ type: "string";
1263
+ choices: string[];
1264
+ description: string;
1265
+ };
1266
+ musicGenre: {
1267
+ type: "string";
1268
+ description: string;
1269
+ };
1270
+ musicMood: {
1271
+ type: "string";
1272
+ description: string;
1273
+ };
1274
+ musicTempo: {
1275
+ type: "number";
1276
+ description: string;
1277
+ };
1278
+ musicOutput: {
1279
+ type: "string";
1280
+ description: string;
1281
+ };
1282
+ pptPages: {
1283
+ type: "number";
1284
+ alias: string;
1285
+ description: string;
1286
+ };
1287
+ pptTheme: {
1288
+ type: "string";
1289
+ choices: string[];
1290
+ description: string;
1291
+ };
1292
+ pptAudience: {
1293
+ type: "string";
1294
+ choices: string[];
1295
+ description: string;
1296
+ };
1297
+ pptTone: {
1298
+ type: "string";
1299
+ choices: string[];
1300
+ description: string;
1301
+ };
1302
+ pptOutput: {
1303
+ type: "string";
1304
+ alias: string;
1305
+ description: string;
1306
+ };
1307
+ pptAspectRatio: {
1308
+ type: "string";
1309
+ choices: string[];
1310
+ description: string;
1311
+ };
1312
+ pptNoImages: {
1313
+ type: "boolean";
1314
+ default: boolean;
1315
+ description: string;
1316
+ };
1317
+ thinking: {
1318
+ alias: string;
1319
+ type: "boolean";
1320
+ description: string;
1321
+ default: boolean;
1322
+ };
1323
+ thinkingBudget: {
1324
+ type: "number";
1325
+ description: string;
1326
+ default: number;
1327
+ };
1328
+ thinkingLevel: {
1329
+ type: "string";
1330
+ description: string;
1331
+ choices: readonly ["minimal", "low", "medium", "high"];
1332
+ };
1333
+ toolRouting: {
1334
+ type: "boolean";
1335
+ description: string;
1336
+ };
1337
+ toolRoutingTimeout: {
1338
+ type: "number";
1339
+ description: string;
1340
+ alias: string;
1341
+ };
1342
+ toolRoutingRouterProvider: {
1343
+ type: "string";
1344
+ description: string;
1345
+ alias: string;
1346
+ };
1347
+ toolRoutingRouterModel: {
1348
+ type: "string";
1349
+ description: string;
1350
+ alias: string;
1351
+ };
1352
+ toolRoutingRouterRegion: {
1353
+ type: "string";
1354
+ description: string;
1355
+ alias: string;
1356
+ };
1357
+ toolRoutingAlwaysInclude: {
1358
+ type: "array";
1359
+ description: string;
1360
+ alias: string;
1361
+ string: boolean;
1362
+ };
1363
+ toolRoutingServers: {
1364
+ type: "string";
1365
+ description: string;
1366
+ alias: string;
1367
+ };
1368
+ classifierRouter: {
1369
+ type: "boolean";
1370
+ description: string;
1371
+ alias: string;
1372
+ };
1373
+ classifierStrategy: {
1374
+ type: "string";
1375
+ description: string;
1376
+ choices: readonly ["heuristic", "llm"];
1377
+ alias: string;
1378
+ };
1379
+ classifierModelProvider: {
1380
+ type: "string";
1381
+ description: string;
1382
+ alias: string;
1383
+ };
1384
+ classifierModelName: {
1385
+ type: "string";
1386
+ description: string;
1387
+ alias: string;
1388
+ };
1389
+ classifierModelRegion: {
1390
+ type: "string";
1391
+ description: string;
1392
+ alias: string;
1393
+ };
1394
+ classifierPool: {
1395
+ type: "string";
1396
+ description: string;
1397
+ alias: string;
1398
+ };
1399
+ classifierTimeout: {
1400
+ type: "number";
1401
+ description: string;
1402
+ alias: string;
1403
+ };
1404
+ region: {
1405
+ type: "string";
1406
+ description: string;
1407
+ alias: string;
1408
+ };
1409
+ ragFiles: {
1410
+ type: "array";
1411
+ description: string;
1412
+ alias: string;
1413
+ string: boolean;
1414
+ };
1415
+ ragStrategy: {
1416
+ type: "string";
1417
+ description: string;
1418
+ alias: string;
1419
+ choices: readonly ["character", "recursive", "sentence", "token", "markdown", "html", "json", "latex", "semantic", "semantic-markdown"];
1420
+ };
1421
+ ragChunkSize: {
1422
+ type: "number";
1423
+ description: string;
1424
+ alias: string;
1425
+ default: number;
1426
+ };
1427
+ ragChunkOverlap: {
1428
+ type: "number";
1429
+ description: string;
1430
+ alias: string;
1431
+ default: number;
1432
+ };
1433
+ ragTopK: {
1434
+ type: "number";
1435
+ description: string;
1436
+ alias: string;
1437
+ default: number;
1438
+ };
1439
+ piiRedact: {
1440
+ type: "boolean";
1441
+ description: string;
1442
+ alias: string;
1443
+ default: boolean;
1444
+ };
1445
+ piiTypes: {
1446
+ type: "string";
1447
+ description: string;
1448
+ alias: string;
1449
+ };
1450
+ piiAction: {
1451
+ type: "string";
1452
+ description: string;
1453
+ alias: string;
1454
+ default: string;
1455
+ };
1456
+ inputMaxLength: {
1457
+ type: "number";
1458
+ description: string;
1459
+ alias: string;
1460
+ };
1461
+ trimWhitespace: {
1462
+ type: "boolean";
1463
+ description: string;
1464
+ alias: string;
1465
+ default: boolean;
1466
+ };
1467
+ requireContent: {
1468
+ type: "boolean";
1469
+ description: string;
1470
+ alias: string;
1471
+ default: boolean;
1472
+ };
1473
+ outputMaxLength: {
1474
+ type: "number";
1475
+ description: string;
1476
+ alias: string;
1477
+ };
1478
+ outputMinLength: {
1479
+ type: "number";
1480
+ description: string;
1481
+ alias: string;
1482
+ };
1483
+ skillsDir: {
1484
+ type: "string";
1485
+ description: string;
1486
+ alias: string;
1487
+ };
1488
+ };