@pensar/apex 1.8.0 → 1.8.2-canary.fb75c486

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 (70) hide show
  1. package/README.md +11 -0
  2. package/build/agent-6dj1qm50.js +221 -0
  3. package/build/agent-6xr8vpgm.js +28 -0
  4. package/build/agent-x1htbpe3.js +22 -0
  5. package/build/apps-t0gmwc7z.js +446 -0
  6. package/build/{auth-dxjgy41e.js → auth-p4r1m7xq.js} +50 -13
  7. package/build/authentication-je2b0c3w.js +22 -0
  8. package/build/blackboxAgent-a4jnt0y5.js +22 -0
  9. package/build/{blackboxPentest-8ps4yvbk.js → blackboxPentest-b5741n3h.js} +19 -17
  10. package/build/{cli-y61d9433.js → cli-0tnv1vkp.js} +138 -38
  11. package/build/{cli-jg7r7y5n.js → cli-4xb21y6g.js} +30 -2
  12. package/build/{cli-k0tckznm.js → cli-6p7d2k55.js} +39701 -31695
  13. package/build/cli-87zakjb2.js +17 -0
  14. package/build/{authentication-e30mfzbe.js → cli-8frjr68r.js} +11 -18
  15. package/build/cli-8xknm7d9.js +204 -0
  16. package/build/cli-9egg9azd.js +22 -0
  17. package/build/cli-9fsre5pt.js +0 -0
  18. package/build/cli-abbka8n3.js +501 -0
  19. package/build/{cli-3y0dgy56.js → cli-c8131c4q.js} +2 -2
  20. package/build/cli-e08r86zk.js +24 -0
  21. package/build/{cli-0ghkg3w6.js → cli-e6rgwtpb.js} +19950 -18556
  22. package/build/cli-g5h24ny8.js +197 -0
  23. package/build/{cli-nr1cjfr9.js → cli-gtcd5c3f.js} +26 -7
  24. package/build/cli-k0730f59.js +52 -0
  25. package/build/{cli-tp1tqn3k.js → cli-mswm4k81.js} +1 -1
  26. package/build/{cli-m788e4f3.js → cli-q8dfq25x.js} +584 -33
  27. package/build/cli-rhry8mat.js +7213 -0
  28. package/build/{cli-g8t710ew.js → cli-ryy39d77.js} +253 -250
  29. package/build/cli-s1nckt4k.js +20 -0
  30. package/build/{cli-k4hrygff.js → cli-v9ds4jb8.js} +9 -5
  31. package/build/{cli-dqt80sw3.js → cli-w5990vr6.js} +199 -68
  32. package/build/{cli-3w2syxpv.js → cli-wfmdch3r.js} +102695 -104816
  33. package/build/cli.js +351 -280
  34. package/build/config-3bvtf3j8.js +188 -0
  35. package/build/{doctor-8tva8j99.js → doctor-2bkpddws.js} +1 -1
  36. package/build/{fixes-q5bhgxhc.js → fixes-60k3ts71.js} +23 -4
  37. package/build/{index-pfee23kv.js → index-0gp3x2r8.js} +19306 -18954
  38. package/build/index-861hkebg.js +12 -0
  39. package/build/{index-y5xpp21a.js → index-acc00eq4.js} +77 -108
  40. package/build/index-acdgrqa0.js +36 -0
  41. package/build/{index-e898mdyh.js → index-cfberehw.js} +4 -2
  42. package/build/{index-wfeb2gcc.js → index-hxn4rk8f.js} +9 -11
  43. package/build/{index-dw1xbhfn.js → index-vc29b21w.js} +161 -26
  44. package/build/index-vwt27stc.js +184 -0
  45. package/build/{issues-qbmdneej.js → issues-1bynat5q.js} +33 -9
  46. package/build/{logs-xm5vbymy.js → logs-e78vx2dy.js} +23 -4
  47. package/build/{main-3d7dfdvs.js → main-3zneyg7p.js} +93 -17
  48. package/build/{offesecAgent-re6kt2ff.js → offesecAgent-w9m0svwk.js} +14 -11
  49. package/build/parse-15kqmy2v.js +207 -0
  50. package/build/pentest-gpvqpvmd.js +31 -0
  51. package/build/{pentests-e3rj5845.js → pentests-nq7wa8yb.js} +36 -17
  52. package/build/{targetedPentest-fs0v570s.js → targetedPentest-fjxqn089.js} +15 -12
  53. package/build/threatModel-9yqx7d7x.js +29 -0
  54. package/build/{uninstall-qb2xbh2t.js → uninstall-9zbf4cwc.js} +6 -4
  55. package/build/{utils-jf52rmrb.js → utils-dh1t2r1e.js} +13 -10
  56. package/package.json +86 -88
  57. package/build/agent-4d8j2jsw.js +0 -278
  58. package/build/agent-z2s6h7n2.js +0 -19
  59. package/build/blackboxAgent-j9pczwym.js +0 -19
  60. package/build/cli-03z6pswp.js +0 -1423
  61. package/build/cli-0fy9j5dw.js +0 -61
  62. package/build/cli-asyas1xb.js +0 -110
  63. package/build/cli-dj1dgw2n.js +0 -190
  64. package/build/cli-q7r2sth7.js +0 -103
  65. package/build/cli-vkwch0bc.js +0 -1207
  66. package/build/cli-wr7g9qcr.js +0 -645
  67. package/build/index-bz6f8jry.js +0 -32
  68. package/build/pentest-mfm4hake.js +0 -29
  69. package/build/projects-qk22qcbt.js +0 -35
  70. package/build/threatModel-xfvc6cch.js +0 -67
@@ -1,1423 +0,0 @@
1
- import {
2
- __esm
3
- } from "./cli-8rxa073f.js";
4
-
5
- // src/core/ai/models/anthropic.ts
6
- var ANTHROPIC_MODELS;
7
- var init_anthropic = __esm(() => {
8
- ANTHROPIC_MODELS = [
9
- {
10
- id: "claude-3-5-haiku-20241022",
11
- name: "Claude 3.5 Haiku (2024-10-22)",
12
- provider: "anthropic",
13
- contextLength: 200000
14
- },
15
- {
16
- id: "claude-3-5-haiku-latest",
17
- name: "Claude 3.5 Haiku (Latest)",
18
- provider: "anthropic",
19
- contextLength: 200000
20
- },
21
- {
22
- id: "claude-3-7-sonnet-20250219",
23
- name: "Claude 3.7 Sonnet (2025-02-19)",
24
- provider: "anthropic",
25
- contextLength: 200000
26
- },
27
- {
28
- id: "claude-3-7-sonnet-latest",
29
- name: "Claude 3.7 Sonnet (Latest)",
30
- provider: "anthropic",
31
- contextLength: 200000
32
- },
33
- {
34
- id: "claude-3-haiku-20240307",
35
- name: "Claude 3 Haiku (2024-03-07)",
36
- provider: "anthropic",
37
- contextLength: 200000
38
- },
39
- {
40
- id: "claude-haiku-4-5-20251001",
41
- name: "Claude Haiku 4.5 (2025-10-01)",
42
- provider: "anthropic",
43
- contextLength: 200000
44
- },
45
- {
46
- id: "claude-haiku-4-5",
47
- name: "Claude Haiku 4.5",
48
- provider: "anthropic",
49
- contextLength: 200000
50
- },
51
- {
52
- id: "claude-opus-4-0",
53
- name: "Claude Opus 4.0",
54
- provider: "anthropic",
55
- contextLength: 200000
56
- },
57
- {
58
- id: "claude-opus-4-1-20250805",
59
- name: "Claude Opus 4.1 (2025-08-05)",
60
- provider: "anthropic",
61
- contextLength: 200000
62
- },
63
- {
64
- id: "claude-opus-4-1",
65
- name: "Claude Opus 4.1",
66
- provider: "anthropic",
67
- contextLength: 200000
68
- },
69
- {
70
- id: "claude-opus-4-20250514",
71
- name: "Claude Opus 4 (2025-05-14)",
72
- provider: "anthropic",
73
- contextLength: 200000
74
- },
75
- {
76
- id: "claude-opus-4-5",
77
- name: "Claude Opus 4.5",
78
- provider: "anthropic",
79
- contextLength: 200000
80
- },
81
- {
82
- id: "claude-opus-4-5-20251101",
83
- name: "Claude Opus 4.5 (2025-11-01)",
84
- provider: "anthropic",
85
- contextLength: 200000
86
- },
87
- {
88
- id: "claude-sonnet-4-0",
89
- name: "Claude Sonnet 4.0",
90
- provider: "anthropic",
91
- contextLength: 200000
92
- },
93
- {
94
- id: "claude-sonnet-4-20250514",
95
- name: "Claude Sonnet 4 (2025-05-14)",
96
- provider: "anthropic",
97
- contextLength: 200000
98
- },
99
- {
100
- id: "claude-sonnet-4-5-20250929",
101
- name: "Claude Sonnet 4.5 (2025-09-29)",
102
- provider: "anthropic",
103
- contextLength: 200000
104
- },
105
- {
106
- id: "claude-sonnet-4-5",
107
- name: "Claude Sonnet 4.5",
108
- provider: "anthropic",
109
- contextLength: 200000
110
- },
111
- {
112
- id: "claude-sonnet-4-6",
113
- name: "Claude Sonnet 4.6",
114
- provider: "anthropic",
115
- contextLength: 200000
116
- },
117
- {
118
- id: "claude-opus-4-6",
119
- name: "Claude Opus 4.6",
120
- provider: "anthropic",
121
- contextLength: 200000
122
- },
123
- {
124
- id: "claude-opus-4-7",
125
- name: "Claude Opus 4.7",
126
- provider: "anthropic",
127
- contextLength: 1e6
128
- }
129
- ];
130
- });
131
-
132
- // src/core/ai/models/openai.ts
133
- var OPENAI_MODELS;
134
- var init_openai = __esm(() => {
135
- OPENAI_MODELS = [
136
- {
137
- id: "o1",
138
- name: "O1",
139
- provider: "openai",
140
- contextLength: 200000
141
- },
142
- {
143
- id: "o1-2024-12-17",
144
- name: "O1-2024-12-17",
145
- provider: "openai",
146
- contextLength: 200000
147
- },
148
- {
149
- id: "o3-mini",
150
- name: "O3 Mini",
151
- provider: "openai",
152
- contextLength: 128000
153
- },
154
- {
155
- id: "o3-mini-2025-01-31",
156
- name: "O3 Mini-2025-01-31",
157
- provider: "openai",
158
- contextLength: 128000
159
- },
160
- {
161
- id: "o3",
162
- name: "O3",
163
- provider: "openai",
164
- contextLength: 200000
165
- },
166
- {
167
- id: "o3-2025-04-16",
168
- name: "O3-2025-04-16",
169
- provider: "openai",
170
- contextLength: 200000
171
- },
172
- {
173
- id: "o4-mini",
174
- name: "O4 Mini",
175
- provider: "openai",
176
- contextLength: 200000
177
- },
178
- {
179
- id: "o4-mini-2025-04-16",
180
- name: "O4 Mini-2025-04-16",
181
- provider: "openai",
182
- contextLength: 200000
183
- },
184
- {
185
- id: "gpt-4.1",
186
- name: "GPT-4.1",
187
- provider: "openai",
188
- contextLength: 128000
189
- },
190
- {
191
- id: "gpt-4.1-2025-04-14",
192
- name: "GPT-4.1-2025-04-14",
193
- provider: "openai",
194
- contextLength: 128000
195
- },
196
- {
197
- id: "gpt-4.1-mini",
198
- name: "GPT-4.1-mini",
199
- provider: "openai",
200
- contextLength: 128000
201
- },
202
- {
203
- id: "gpt-4.1-mini-2025-04-14",
204
- name: "GPT-4.1-mini-2025-04-14",
205
- provider: "openai",
206
- contextLength: 128000
207
- },
208
- {
209
- id: "gpt-4.1-nano",
210
- name: "GPT-4.1-nano",
211
- provider: "openai",
212
- contextLength: 128000
213
- },
214
- {
215
- id: "gpt-4.1-nano-2025-04-14",
216
- name: "GPT-4.1-nano-2025-04-14",
217
- provider: "openai",
218
- contextLength: 128000
219
- },
220
- {
221
- id: "gpt-4o",
222
- name: "GPT-4o",
223
- provider: "openai",
224
- contextLength: 128000
225
- },
226
- {
227
- id: "gpt-4o-2024-05-13",
228
- name: "GPT-4o-2024-05-13",
229
- provider: "openai",
230
- contextLength: 128000
231
- },
232
- {
233
- id: "gpt-4o-2024-08-06",
234
- name: "GPT-4o-2024-08-06",
235
- provider: "openai",
236
- contextLength: 128000
237
- },
238
- {
239
- id: "gpt-4o-2024-11-20",
240
- name: "GPT-4o-2024-11-20",
241
- provider: "openai",
242
- contextLength: 128000
243
- },
244
- {
245
- id: "gpt-4o-mini",
246
- name: "GPT-4o-mini",
247
- provider: "openai",
248
- contextLength: 128000
249
- },
250
- {
251
- id: "gpt-4o-mini-2024-07-18",
252
- name: "GPT-4o-mini-2024-07-18",
253
- provider: "openai",
254
- contextLength: 128000
255
- },
256
- {
257
- id: "gpt-3.5-turbo-0125",
258
- name: "GPT-3.5-turbo-0125",
259
- provider: "openai",
260
- contextLength: 16385
261
- },
262
- {
263
- id: "gpt-3.5-turbo",
264
- name: "GPT-3.5-turbo",
265
- provider: "openai",
266
- contextLength: 16385
267
- },
268
- {
269
- id: "gpt-3.5-turbo-1106",
270
- name: "GPT-3.5-turbo-1106",
271
- provider: "openai",
272
- contextLength: 16385
273
- },
274
- {
275
- id: "gpt-3.5-turbo-16k",
276
- name: "GPT-3.5-turbo-16k",
277
- provider: "openai",
278
- contextLength: 16385
279
- },
280
- {
281
- id: "gpt-5",
282
- name: "GPT-5",
283
- provider: "openai",
284
- contextLength: 200000
285
- },
286
- {
287
- id: "gpt-5-2025-08-07",
288
- name: "GPT-5-2025-08-07",
289
- provider: "openai",
290
- contextLength: 200000
291
- },
292
- {
293
- id: "gpt-5-mini",
294
- name: "GPT-5-mini",
295
- provider: "openai",
296
- contextLength: 200000
297
- },
298
- {
299
- id: "gpt-5-mini-2025-08-07",
300
- name: "GPT-5-mini-2025-08-07",
301
- provider: "openai",
302
- contextLength: 200000
303
- },
304
- {
305
- id: "gpt-5-nano",
306
- name: "GPT-5-nano",
307
- provider: "openai",
308
- contextLength: 200000
309
- },
310
- {
311
- id: "gpt-5-nano-2025-08-07",
312
- name: "GPT-5-nano-2025-08-07",
313
- provider: "openai",
314
- contextLength: 200000
315
- },
316
- {
317
- id: "gpt-5-chat-latest",
318
- name: "GPT-5-chat (Latest)",
319
- provider: "openai",
320
- contextLength: 200000
321
- },
322
- {
323
- id: "gpt-5.1",
324
- name: "GPT-5.1",
325
- provider: "openai",
326
- contextLength: 200000
327
- },
328
- {
329
- id: "gpt-5.1-2025-11-13",
330
- name: "GPT-5.1-2025-11-13",
331
- provider: "openai",
332
- contextLength: 200000
333
- },
334
- {
335
- id: "gpt-5.1-chat-latest",
336
- name: "GPT-5.1-chat (Latest)",
337
- provider: "openai",
338
- contextLength: 200000
339
- },
340
- {
341
- id: "gpt-5.2",
342
- name: "GPT-5.2",
343
- provider: "openai",
344
- contextLength: 200000
345
- },
346
- {
347
- id: "gpt-5.2-2025-12-11",
348
- name: "GPT-5.2-2025-12-11",
349
- provider: "openai",
350
- contextLength: 200000
351
- },
352
- {
353
- id: "gpt-5.2-chat-latest",
354
- name: "GPT-5.2-chat (Latest)",
355
- provider: "openai",
356
- contextLength: 200000
357
- },
358
- {
359
- id: "gpt-5.2-pro",
360
- name: "GPT-5.2-pro",
361
- provider: "openai",
362
- contextLength: 200000
363
- },
364
- {
365
- id: "gpt-5.2-pro-2025-12-11",
366
- name: "GPT-5.2-pro-2025-12-11",
367
- provider: "openai",
368
- contextLength: 200000
369
- },
370
- {
371
- id: "gpt-5.3-chat-latest",
372
- name: "GPT-5.3-chat (Latest)",
373
- provider: "openai",
374
- contextLength: 200000
375
- },
376
- {
377
- id: "gpt-5.4",
378
- name: "GPT-5.4",
379
- provider: "openai",
380
- contextLength: 200000
381
- },
382
- {
383
- id: "gpt-5.4-2026-03-05",
384
- name: "GPT-5.4-2026-03-05",
385
- provider: "openai",
386
- contextLength: 200000
387
- },
388
- {
389
- id: "gpt-5.4-pro",
390
- name: "GPT-5.4-pro",
391
- provider: "openai",
392
- contextLength: 200000
393
- },
394
- {
395
- id: "gpt-5.4-pro-2026-03-05",
396
- name: "GPT-5.4-pro-2026-03-05",
397
- provider: "openai",
398
- contextLength: 200000
399
- }
400
- ];
401
- });
402
-
403
- // src/core/ai/models/google.ts
404
- var GOOGLE_MODELS;
405
- var init_google = __esm(() => {
406
- GOOGLE_MODELS = [
407
- {
408
- id: "gemini-2.0-flash",
409
- name: "Gemini 2.0 Flash",
410
- provider: "google",
411
- contextLength: 1e6
412
- },
413
- {
414
- id: "gemini-2.0-flash-001",
415
- name: "Gemini 2.0 Flash 001",
416
- provider: "google",
417
- contextLength: 1e6
418
- },
419
- {
420
- id: "gemini-2.0-flash-lite",
421
- name: "Gemini 2.0 Flash Lite",
422
- provider: "google",
423
- contextLength: 1e6
424
- },
425
- {
426
- id: "gemini-2.0-flash-lite-001",
427
- name: "Gemini 2.0 Flash Lite 001",
428
- provider: "google",
429
- contextLength: 1e6
430
- },
431
- {
432
- id: "gemini-2.5-pro",
433
- name: "Gemini 2.5 Pro",
434
- provider: "google",
435
- contextLength: 1e6
436
- },
437
- {
438
- id: "gemini-2.5-flash",
439
- name: "Gemini 2.5 Flash",
440
- provider: "google",
441
- contextLength: 1e6
442
- },
443
- {
444
- id: "gemini-2.5-flash-lite",
445
- name: "Gemini 2.5 Flash Lite",
446
- provider: "google",
447
- contextLength: 1e6
448
- },
449
- {
450
- id: "gemini-2.5-flash-lite-preview-09-2025",
451
- name: "Gemini 2.5 Flash Lite Preview 09 2025",
452
- provider: "google",
453
- contextLength: 1e6
454
- },
455
- {
456
- id: "gemini-2.5-computer-use-preview-10-2025",
457
- name: "Gemini 2.5 Computer Use Preview 10 2025",
458
- provider: "google",
459
- contextLength: 1e6
460
- },
461
- {
462
- id: "gemini-3-pro-preview",
463
- name: "Gemini 3 Pro Preview",
464
- provider: "google",
465
- contextLength: 1e6
466
- },
467
- {
468
- id: "gemini-3-flash-preview",
469
- name: "Gemini 3 Flash Preview",
470
- provider: "google",
471
- contextLength: 1e6
472
- },
473
- {
474
- id: "gemini-3.1-pro-preview",
475
- name: "Gemini 3.1 Pro Preview",
476
- provider: "google",
477
- contextLength: 1e6
478
- },
479
- {
480
- id: "gemini-3.1-pro-preview-customtools",
481
- name: "Gemini 3.1 Pro Preview Custom Tools",
482
- provider: "google",
483
- contextLength: 1e6
484
- },
485
- {
486
- id: "gemini-3.1-flash-lite-preview",
487
- name: "Gemini 3.1 Flash Lite Preview",
488
- provider: "google",
489
- contextLength: 1e6
490
- },
491
- {
492
- id: "gemini-pro-latest",
493
- name: "Gemini pro (Latest)",
494
- provider: "google",
495
- contextLength: 1e6
496
- },
497
- {
498
- id: "gemini-flash-latest",
499
- name: "Gemini flash (Latest)",
500
- provider: "google",
501
- contextLength: 1e6
502
- },
503
- {
504
- id: "gemini-flash-lite-latest",
505
- name: "Gemini flash Lite (Latest)",
506
- provider: "google",
507
- contextLength: 1e6
508
- },
509
- {
510
- id: "nano-banana-pro-preview",
511
- name: "nano-banana-pro Preview",
512
- provider: "google"
513
- },
514
- {
515
- id: "aqa",
516
- name: "aqa",
517
- provider: "google"
518
- },
519
- {
520
- id: "gemini-robotics-er-1.5-preview",
521
- name: "Gemini robotics Er 1.5 Preview",
522
- provider: "google"
523
- },
524
- {
525
- id: "gemma-3-1b-it",
526
- name: "Gemma 3 1B Instruct",
527
- provider: "google",
528
- contextLength: 8192
529
- },
530
- {
531
- id: "gemma-3-4b-it",
532
- name: "Gemma 3 4B Instruct",
533
- provider: "google",
534
- contextLength: 8192
535
- },
536
- {
537
- id: "gemma-3n-e4b-it",
538
- name: "Gemma 3n e4b Instruct",
539
- provider: "google",
540
- contextLength: 8192
541
- },
542
- {
543
- id: "gemma-3n-e2b-it",
544
- name: "Gemma 3n e2b Instruct",
545
- provider: "google",
546
- contextLength: 8192
547
- },
548
- {
549
- id: "gemma-3-12b-it",
550
- name: "Gemma 3 12B Instruct",
551
- provider: "google",
552
- contextLength: 8192
553
- },
554
- {
555
- id: "gemma-3-27b-it",
556
- name: "Gemma 3 27B Instruct",
557
- provider: "google",
558
- contextLength: 8192
559
- }
560
- ];
561
- });
562
-
563
- // src/core/ai/models/bedrock.ts
564
- var BEDROCK_MODELS;
565
- var init_bedrock = __esm(() => {
566
- BEDROCK_MODELS = [
567
- {
568
- id: "amazon.titan-tg1-large",
569
- name: "Amazon Titan TG1 Large (Bedrock)",
570
- provider: "bedrock",
571
- contextLength: 8000
572
- },
573
- {
574
- id: "amazon.titan-text-express-v1",
575
- name: "Amazon Titan Text Express v1 (Bedrock)",
576
- provider: "bedrock",
577
- contextLength: 8000
578
- },
579
- {
580
- id: "anthropic.claude-v2",
581
- name: "Claude v2 (Bedrock)",
582
- provider: "bedrock",
583
- contextLength: 1e5
584
- },
585
- {
586
- id: "anthropic.claude-v2:1",
587
- name: "Claude v2:1 (Bedrock)",
588
- provider: "bedrock",
589
- contextLength: 1e5
590
- },
591
- {
592
- id: "anthropic.claude-instant-v1",
593
- name: "Claude Instant v1 (Bedrock)",
594
- provider: "bedrock",
595
- contextLength: 1e5
596
- },
597
- {
598
- id: "anthropic.claude-opus-4-6-v1",
599
- name: "Claude Opus 4.6 (Bedrock)",
600
- provider: "bedrock",
601
- contextLength: 200000
602
- },
603
- {
604
- id: "anthropic.claude-sonnet-4-6-v1",
605
- name: "Claude Sonnet 4.6 (Bedrock)",
606
- provider: "bedrock",
607
- contextLength: 200000
608
- },
609
- {
610
- id: "anthropic.claude-opus-4-5-20251101-v1:0",
611
- name: "Claude Opus 4.5 (2025-11-01) (Bedrock)",
612
- provider: "bedrock",
613
- contextLength: 200000
614
- },
615
- {
616
- id: "anthropic.claude-haiku-4-5-20251001-v1:0",
617
- name: "Claude Haiku 4.5 (2025-10-01) (Bedrock)",
618
- provider: "bedrock",
619
- contextLength: 200000
620
- },
621
- {
622
- id: "anthropic.claude-sonnet-4-5-20250929-v1:0",
623
- name: "Claude Sonnet 4.5 (2025-09-29) (Bedrock)",
624
- provider: "bedrock",
625
- contextLength: 200000
626
- },
627
- {
628
- id: "anthropic.claude-sonnet-4-20250514-v1:0",
629
- name: "Claude Sonnet 4 (2025-05-14) (Bedrock)",
630
- provider: "bedrock",
631
- contextLength: 200000
632
- },
633
- {
634
- id: "anthropic.claude-opus-4-20250514-v1:0",
635
- name: "Claude Opus 4 (2025-05-14) (Bedrock)",
636
- provider: "bedrock",
637
- contextLength: 200000
638
- },
639
- {
640
- id: "anthropic.claude-opus-4-1-20250805-v1:0",
641
- name: "Claude Opus 4.1 (2025-08-05) (Bedrock)",
642
- provider: "bedrock",
643
- contextLength: 200000
644
- },
645
- {
646
- id: "anthropic.claude-3-7-sonnet-20250219-v1:0",
647
- name: "Claude 3.7 Sonnet (2025-02-19) (Bedrock)",
648
- provider: "bedrock",
649
- contextLength: 200000
650
- },
651
- {
652
- id: "anthropic.claude-3-5-sonnet-20240620-v1:0",
653
- name: "Claude 3.5 Sonnet (2024-06-20) (Bedrock)",
654
- provider: "bedrock",
655
- contextLength: 200000
656
- },
657
- {
658
- id: "anthropic.claude-3-5-sonnet-20241022-v2:0",
659
- name: "Claude 3.5 Sonnet (2024-10-22) (Bedrock)",
660
- provider: "bedrock",
661
- contextLength: 200000
662
- },
663
- {
664
- id: "anthropic.claude-3-5-haiku-20241022-v1:0",
665
- name: "Claude 3.5 Haiku (2024-10-22) (Bedrock)",
666
- provider: "bedrock",
667
- contextLength: 200000
668
- },
669
- {
670
- id: "anthropic.claude-3-sonnet-20240229-v1:0",
671
- name: "Claude 3 Sonnet (2024-02-29) (Bedrock)",
672
- provider: "bedrock",
673
- contextLength: 200000
674
- },
675
- {
676
- id: "anthropic.claude-3-haiku-20240307-v1:0",
677
- name: "Claude 3 Haiku (2024-03-07) (Bedrock)",
678
- provider: "bedrock",
679
- contextLength: 200000
680
- },
681
- {
682
- id: "anthropic.claude-3-opus-20240229-v1:0",
683
- name: "Claude 3 Opus (2024-02-29) (Bedrock)",
684
- provider: "bedrock",
685
- contextLength: 200000
686
- },
687
- {
688
- id: "cohere.command-text-v14",
689
- name: "Cohere Command Text V14 (Bedrock)",
690
- provider: "bedrock",
691
- contextLength: 4000
692
- },
693
- {
694
- id: "cohere.command-light-text-v14",
695
- name: "Cohere Command Light Text V14 (Bedrock)",
696
- provider: "bedrock",
697
- contextLength: 4000
698
- },
699
- {
700
- id: "cohere.command-r-v1:0",
701
- name: "Cohere Command R (Bedrock)",
702
- provider: "bedrock",
703
- contextLength: 128000
704
- },
705
- {
706
- id: "cohere.command-r-plus-v1:0",
707
- name: "Cohere Command R Plus (Bedrock)",
708
- provider: "bedrock",
709
- contextLength: 128000
710
- },
711
- {
712
- id: "meta.llama3-70b-instruct-v1:0",
713
- name: "Llama 3 70B Instruct (Bedrock)",
714
- provider: "bedrock",
715
- contextLength: 8000
716
- },
717
- {
718
- id: "meta.llama3-8b-instruct-v1:0",
719
- name: "Llama 3 8B Instruct (Bedrock)",
720
- provider: "bedrock",
721
- contextLength: 8000
722
- },
723
- {
724
- id: "meta.llama3-1-405b-instruct-v1:0",
725
- name: "Llama 3.1 405B Instruct (Bedrock)",
726
- provider: "bedrock",
727
- contextLength: 128000
728
- },
729
- {
730
- id: "meta.llama3-1-70b-instruct-v1:0",
731
- name: "Llama 3.1 70B Instruct (Bedrock)",
732
- provider: "bedrock",
733
- contextLength: 128000
734
- },
735
- {
736
- id: "meta.llama3-1-8b-instruct-v1:0",
737
- name: "Llama 3.1 8B Instruct (Bedrock)",
738
- provider: "bedrock",
739
- contextLength: 128000
740
- },
741
- {
742
- id: "meta.llama3-2-11b-instruct-v1:0",
743
- name: "Llama 3.2 11B Instruct (Bedrock)",
744
- provider: "bedrock",
745
- contextLength: 128000
746
- },
747
- {
748
- id: "meta.llama3-2-1b-instruct-v1:0",
749
- name: "Llama 3.2 1B Instruct (Bedrock)",
750
- provider: "bedrock",
751
- contextLength: 128000
752
- },
753
- {
754
- id: "meta.llama3-2-3b-instruct-v1:0",
755
- name: "Llama 3.2 3B Instruct (Bedrock)",
756
- provider: "bedrock",
757
- contextLength: 128000
758
- },
759
- {
760
- id: "meta.llama3-2-90b-instruct-v1:0",
761
- name: "Llama 3.2 90B Instruct (Bedrock)",
762
- provider: "bedrock",
763
- contextLength: 128000
764
- },
765
- {
766
- id: "mistral.mistral-7b-instruct-v0:2",
767
- name: "Mistral 7B Instruct (Bedrock)",
768
- provider: "bedrock",
769
- contextLength: 32000
770
- },
771
- {
772
- id: "mistral.mixtral-8x7b-instruct-v0:1",
773
- name: "Mixtral 8x7B Instruct (Bedrock)",
774
- provider: "bedrock",
775
- contextLength: 32000
776
- },
777
- {
778
- id: "mistral.mistral-large-2402-v1:0",
779
- name: "Mistral Large-2402 (Bedrock)",
780
- provider: "bedrock",
781
- contextLength: 128000
782
- },
783
- {
784
- id: "mistral.mistral-small-2402-v1:0",
785
- name: "Mistral Small-2402 (Bedrock)",
786
- provider: "bedrock",
787
- contextLength: 32000
788
- },
789
- {
790
- id: "openai.gpt-oss-120b-1:0",
791
- name: "GPT-oss-120b-1:0 (Bedrock)",
792
- provider: "bedrock",
793
- contextLength: 8000
794
- },
795
- {
796
- id: "openai.gpt-oss-20b-1:0",
797
- name: "GPT-oss-20b-1:0 (Bedrock)",
798
- provider: "bedrock",
799
- contextLength: 8000
800
- },
801
- {
802
- id: "amazon.titan-text-lite-v1",
803
- name: "Amazon Titan Text Lite v1 (Bedrock)",
804
- provider: "bedrock",
805
- contextLength: 4000
806
- },
807
- {
808
- id: "us.amazon.nova-premier-v1:0",
809
- name: "Amazon Nova Premier (US)",
810
- provider: "bedrock",
811
- contextLength: 300000
812
- },
813
- {
814
- id: "us.amazon.nova-pro-v1:0",
815
- name: "Amazon Nova Pro (US)",
816
- provider: "bedrock",
817
- contextLength: 300000
818
- },
819
- {
820
- id: "us.amazon.nova-micro-v1:0",
821
- name: "Amazon Nova Micro (US)",
822
- provider: "bedrock",
823
- contextLength: 128000
824
- },
825
- {
826
- id: "us.amazon.nova-lite-v1:0",
827
- name: "Amazon Nova Lite (US)",
828
- provider: "bedrock",
829
- contextLength: 300000
830
- },
831
- {
832
- id: "us.anthropic.claude-3-sonnet-20240229-v1:0",
833
- name: "Claude 3 Sonnet (2024-02-29) (US)",
834
- provider: "bedrock",
835
- contextLength: 200000
836
- },
837
- {
838
- id: "us.anthropic.claude-3-opus-20240229-v1:0",
839
- name: "Claude 3 Opus (2024-02-29) (US)",
840
- provider: "bedrock",
841
- contextLength: 200000
842
- },
843
- {
844
- id: "us.anthropic.claude-3-haiku-20240307-v1:0",
845
- name: "Claude 3 Haiku (2024-03-07) (US)",
846
- provider: "bedrock",
847
- contextLength: 200000
848
- },
849
- {
850
- id: "us.anthropic.claude-3-5-sonnet-20240620-v1:0",
851
- name: "Claude 3.5 Sonnet (2024-06-20) (US)",
852
- provider: "bedrock",
853
- contextLength: 200000
854
- },
855
- {
856
- id: "us.anthropic.claude-3-5-haiku-20241022-v1:0",
857
- name: "Claude 3.5 Haiku (2024-10-22) (US)",
858
- provider: "bedrock",
859
- contextLength: 200000
860
- },
861
- {
862
- id: "us.anthropic.claude-3-5-sonnet-20241022-v2:0",
863
- name: "Claude 3.5 Sonnet (2024-10-22) (US)",
864
- provider: "bedrock",
865
- contextLength: 200000
866
- },
867
- {
868
- id: "us.anthropic.claude-3-7-sonnet-20250219-v1:0",
869
- name: "Claude 3.7 Sonnet (2025-02-19) (US)",
870
- provider: "bedrock",
871
- contextLength: 200000
872
- },
873
- {
874
- id: "us.anthropic.claude-opus-4-6-v1",
875
- name: "Claude Opus 4.6 (US)",
876
- provider: "bedrock",
877
- contextLength: 200000
878
- },
879
- {
880
- id: "us.anthropic.claude-sonnet-4-6-v1",
881
- name: "Claude Sonnet 4.6 (US)",
882
- provider: "bedrock",
883
- contextLength: 200000
884
- },
885
- {
886
- id: "us.anthropic.claude-opus-4-5-20251101-v1:0",
887
- name: "Claude Opus 4.5 (2025-11-01) (US)",
888
- provider: "bedrock",
889
- contextLength: 200000
890
- },
891
- {
892
- id: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
893
- name: "Claude Sonnet 4.5 (2025-09-29) (US)",
894
- provider: "bedrock",
895
- contextLength: 200000
896
- },
897
- {
898
- id: "us.anthropic.claude-sonnet-4-20250514-v1:0",
899
- name: "Claude Sonnet 4 (2025-05-14) (US)",
900
- provider: "bedrock",
901
- contextLength: 200000
902
- },
903
- {
904
- id: "us.anthropic.claude-opus-4-20250514-v1:0",
905
- name: "Claude Opus 4 (2025-05-14) (US)",
906
- provider: "bedrock",
907
- contextLength: 200000
908
- },
909
- {
910
- id: "us.anthropic.claude-opus-4-1-20250805-v1:0",
911
- name: "Claude Opus 4.1 (2025-08-05) (US)",
912
- provider: "bedrock",
913
- contextLength: 200000
914
- },
915
- {
916
- id: "us.anthropic.claude-haiku-4-5-20251001-v1:0",
917
- name: "Claude Haiku 4.5 (2025-10-01) (US)",
918
- provider: "bedrock",
919
- contextLength: 200000
920
- },
921
- {
922
- id: "us.meta.llama3-2-11b-instruct-v1:0",
923
- name: "Llama 3.2 11B Instruct (US)",
924
- provider: "bedrock",
925
- contextLength: 128000
926
- },
927
- {
928
- id: "us.meta.llama3-2-3b-instruct-v1:0",
929
- name: "Llama 3.2 3B Instruct (US)",
930
- provider: "bedrock",
931
- contextLength: 128000
932
- },
933
- {
934
- id: "us.meta.llama3-2-90b-instruct-v1:0",
935
- name: "Llama 3.2 90B Instruct (US)",
936
- provider: "bedrock",
937
- contextLength: 128000
938
- },
939
- {
940
- id: "us.meta.llama3-2-1b-instruct-v1:0",
941
- name: "Llama 3.2 1B Instruct (US)",
942
- provider: "bedrock",
943
- contextLength: 128000
944
- },
945
- {
946
- id: "us.meta.llama3-1-8b-instruct-v1:0",
947
- name: "Llama 3.1 8B Instruct (US)",
948
- provider: "bedrock",
949
- contextLength: 128000
950
- },
951
- {
952
- id: "us.meta.llama3-1-70b-instruct-v1:0",
953
- name: "Llama 3.1 70B Instruct (US)",
954
- provider: "bedrock",
955
- contextLength: 128000
956
- },
957
- {
958
- id: "us.meta.llama3-3-70b-instruct-v1:0",
959
- name: "Llama 3.3 70B Instruct (US)",
960
- provider: "bedrock",
961
- contextLength: 128000
962
- },
963
- {
964
- id: "us.deepseek.r1-v1:0",
965
- name: "DeepSeek R1 (US)",
966
- provider: "bedrock",
967
- contextLength: 64000
968
- },
969
- {
970
- id: "us.mistral.pixtral-large-2502-v1:0",
971
- name: "Pixtral Large-2502 (US)",
972
- provider: "bedrock",
973
- contextLength: 128000
974
- },
975
- {
976
- id: "us.meta.llama4-scout-17b-instruct-v1:0",
977
- name: "Llama 4 Scout 17B Instruct (US)",
978
- provider: "bedrock",
979
- contextLength: 128000
980
- },
981
- {
982
- id: "us.meta.llama4-maverick-17b-instruct-v1:0",
983
- name: "Llama 4 Maverick 17B Instruct (US)",
984
- provider: "bedrock",
985
- contextLength: 128000
986
- },
987
- {
988
- id: "moonshotai.kimi-k2.5",
989
- name: "Moonshot AI Kimi K2.5 (Bedrock)",
990
- provider: "bedrock",
991
- contextLength: 262000
992
- },
993
- {
994
- id: "anthropic.claude-opus-4-7",
995
- name: "Claude Opus 4.7 (Bedrock)",
996
- provider: "bedrock",
997
- contextLength: 1e6
998
- },
999
- {
1000
- id: "global.anthropic.claude-v2",
1001
- name: "Claude v2 (Global)",
1002
- provider: "bedrock",
1003
- contextLength: 1e5
1004
- },
1005
- {
1006
- id: "global.anthropic.claude-v2:1",
1007
- name: "Claude v2:1 (Global)",
1008
- provider: "bedrock",
1009
- contextLength: 1e5
1010
- },
1011
- {
1012
- id: "global.anthropic.claude-instant-v1",
1013
- name: "Claude Instant v1 (Global)",
1014
- provider: "bedrock",
1015
- contextLength: 1e5
1016
- },
1017
- {
1018
- id: "global.anthropic.claude-opus-4-6-v1",
1019
- name: "Claude Opus 4.6 (Global)",
1020
- provider: "bedrock",
1021
- contextLength: 200000
1022
- },
1023
- {
1024
- id: "global.anthropic.claude-sonnet-4-6-v1",
1025
- name: "Claude Sonnet 4.6 (Global)",
1026
- provider: "bedrock",
1027
- contextLength: 200000
1028
- },
1029
- {
1030
- id: "global.anthropic.claude-opus-4-5-20251101-v1:0",
1031
- name: "Claude Opus 4.5 (2025-11-01) (Global)",
1032
- provider: "bedrock",
1033
- contextLength: 200000
1034
- },
1035
- {
1036
- id: "global.anthropic.claude-haiku-4-5-20251001-v1:0",
1037
- name: "Claude Haiku 4.5 (2025-10-01) (Global)",
1038
- provider: "bedrock",
1039
- contextLength: 200000
1040
- },
1041
- {
1042
- id: "global.anthropic.claude-sonnet-4-5-20250929-v1:0",
1043
- name: "Claude Sonnet 4.5 (2025-09-29) (Global)",
1044
- provider: "bedrock",
1045
- contextLength: 200000
1046
- },
1047
- {
1048
- id: "global.anthropic.claude-sonnet-4-20250514-v1:0",
1049
- name: "Claude Sonnet 4 (2025-05-14) (Global)",
1050
- provider: "bedrock",
1051
- contextLength: 200000
1052
- },
1053
- {
1054
- id: "global.anthropic.claude-opus-4-20250514-v1:0",
1055
- name: "Claude Opus 4 (2025-05-14) (Global)",
1056
- provider: "bedrock",
1057
- contextLength: 200000
1058
- },
1059
- {
1060
- id: "global.anthropic.claude-opus-4-1-20250805-v1:0",
1061
- name: "Claude Opus 4.1 (2025-08-05) (Global)",
1062
- provider: "bedrock",
1063
- contextLength: 200000
1064
- },
1065
- {
1066
- id: "global.anthropic.claude-3-7-sonnet-20250219-v1:0",
1067
- name: "Claude 3.7 Sonnet (2025-02-19) (Global)",
1068
- provider: "bedrock",
1069
- contextLength: 200000
1070
- },
1071
- {
1072
- id: "global.anthropic.claude-3-5-sonnet-20240620-v1:0",
1073
- name: "Claude 3.5 Sonnet (2024-06-20) (Global)",
1074
- provider: "bedrock",
1075
- contextLength: 200000
1076
- },
1077
- {
1078
- id: "global.anthropic.claude-3-5-sonnet-20241022-v2:0",
1079
- name: "Claude 3.5 Sonnet (2024-10-22) (Global)",
1080
- provider: "bedrock",
1081
- contextLength: 200000
1082
- },
1083
- {
1084
- id: "global.anthropic.claude-3-5-haiku-20241022-v1:0",
1085
- name: "Claude 3.5 Haiku (2024-10-22) (Global)",
1086
- provider: "bedrock",
1087
- contextLength: 200000
1088
- },
1089
- {
1090
- id: "global.anthropic.claude-3-sonnet-20240229-v1:0",
1091
- name: "Claude 3 Sonnet (2024-02-29) (Global)",
1092
- provider: "bedrock",
1093
- contextLength: 200000
1094
- },
1095
- {
1096
- id: "global.anthropic.claude-3-haiku-20240307-v1:0",
1097
- name: "Claude 3 Haiku (2024-03-07) (Global)",
1098
- provider: "bedrock",
1099
- contextLength: 200000
1100
- },
1101
- {
1102
- id: "global.anthropic.claude-3-opus-20240229-v1:0",
1103
- name: "Claude 3 Opus (2024-02-29) (Global)",
1104
- provider: "bedrock",
1105
- contextLength: 200000
1106
- },
1107
- {
1108
- id: "global.anthropic.claude-opus-4-7",
1109
- name: "Claude Opus 4.7 (Global)",
1110
- provider: "bedrock",
1111
- contextLength: 1e6
1112
- }
1113
- ];
1114
- });
1115
-
1116
- // src/core/ai/models/openrouter.ts
1117
- var OPENROUTER_MODELS;
1118
- var init_openrouter = __esm(() => {
1119
- OPENROUTER_MODELS = [
1120
- {
1121
- id: "anthropic/claude-haiku-4.5",
1122
- name: "Claude Haiku 4.5",
1123
- provider: "openrouter",
1124
- contextLength: 200000
1125
- },
1126
- {
1127
- id: "anthropic/claude-sonnet-4.5",
1128
- name: "Claude Sonnet 4.5",
1129
- provider: "openrouter",
1130
- contextLength: 200000
1131
- },
1132
- {
1133
- id: "anthropic/claude-sonnet-4",
1134
- name: "Claude Sonnet 4",
1135
- provider: "openrouter",
1136
- contextLength: 200000
1137
- },
1138
- {
1139
- id: "anthropic/claude-opus-4",
1140
- name: "Claude Opus 4",
1141
- provider: "openrouter",
1142
- contextLength: 200000
1143
- },
1144
- {
1145
- id: "anthropic/claude-opus-4.6",
1146
- name: "Claude Opus 4.6",
1147
- provider: "openrouter",
1148
- contextLength: 200000
1149
- },
1150
- {
1151
- id: "anthropic/claude-opus-4.5",
1152
- name: "Claude Opus 4.5",
1153
- provider: "openrouter",
1154
- contextLength: 200000
1155
- },
1156
- {
1157
- id: "anthropic/claude-3.5-sonnet",
1158
- name: "Claude 3.5 Sonnet",
1159
- provider: "openrouter",
1160
- contextLength: 200000
1161
- },
1162
- {
1163
- id: "openai/gpt-4o",
1164
- name: "GPT-4o",
1165
- provider: "openrouter",
1166
- contextLength: 128000
1167
- },
1168
- {
1169
- id: "openai/gpt-4o-mini",
1170
- name: "GPT-4o Mini",
1171
- provider: "openrouter",
1172
- contextLength: 128000
1173
- },
1174
- {
1175
- id: "openai/o1",
1176
- name: "O1",
1177
- provider: "openrouter",
1178
- contextLength: 200000
1179
- },
1180
- {
1181
- id: "google/gemini-2.0-flash-exp:free",
1182
- name: "Gemini 2.0 Flash Exp (Free)",
1183
- provider: "openrouter",
1184
- contextLength: 1e6
1185
- },
1186
- {
1187
- id: "google/gemini-2.0-flash-thinking-exp:free",
1188
- name: "Gemini 2.0 Flash Thinking (Free)",
1189
- provider: "openrouter",
1190
- contextLength: 32768
1191
- },
1192
- {
1193
- id: "google/gemini-pro-1.5",
1194
- name: "Gemini Pro 1.5",
1195
- provider: "openrouter",
1196
- contextLength: 2000000
1197
- },
1198
- {
1199
- id: "google/gemini-3-pro-preview",
1200
- name: "Gemini 3 Pro Preview",
1201
- provider: "openrouter",
1202
- contextLength: 1e6
1203
- },
1204
- {
1205
- id: "meta-llama/llama-3.3-70b-instruct",
1206
- name: "Llama 3.3 70B Instruct",
1207
- provider: "openrouter",
1208
- contextLength: 128000
1209
- },
1210
- {
1211
- id: "meta-llama/llama-3.1-405b-instruct",
1212
- name: "Llama 3.1 405B Instruct",
1213
- provider: "openrouter",
1214
- contextLength: 128000
1215
- },
1216
- {
1217
- id: "deepseek/deepseek-chat",
1218
- name: "DeepSeek Chat",
1219
- provider: "openrouter",
1220
- contextLength: 64000
1221
- },
1222
- {
1223
- id: "deepseek/deepseek-r1",
1224
- name: "DeepSeek R1",
1225
- provider: "openrouter",
1226
- contextLength: 64000
1227
- },
1228
- {
1229
- id: "mistralai/mistral-large-2512",
1230
- name: "Mistral Large 3 2512",
1231
- provider: "openrouter",
1232
- contextLength: 262144
1233
- },
1234
- {
1235
- id: "moonshotai/kimi-k2-thinking",
1236
- name: "Kimi K2 Thinking",
1237
- provider: "openrouter",
1238
- contextLength: 262144
1239
- },
1240
- {
1241
- id: "moonshot/kimi-k2-turbo",
1242
- name: "Kimi K2 Turbo",
1243
- provider: "openrouter",
1244
- contextLength: 128000
1245
- },
1246
- {
1247
- id: "moonshot/kimi-k2-chat",
1248
- name: "Kimi K2 Chat",
1249
- provider: "openrouter",
1250
- contextLength: 128000
1251
- },
1252
- {
1253
- id: "minimax/minimax-m2",
1254
- name: "MiniMax M2",
1255
- provider: "openrouter",
1256
- contextLength: 204800
1257
- },
1258
- {
1259
- id: "qwen/qwen3-8b",
1260
- name: "Qwen 3 8B Thinking",
1261
- provider: "openrouter",
1262
- contextLength: 256000
1263
- },
1264
- {
1265
- id: "qwen/qwen3-14b",
1266
- name: "Qwen 3 14B Instruct",
1267
- provider: "openrouter",
1268
- contextLength: 256000
1269
- },
1270
- {
1271
- id: "qwen/qwen3-32b",
1272
- name: "Qwen 3 32B Instruct",
1273
- provider: "openrouter",
1274
- contextLength: 256000
1275
- },
1276
- {
1277
- id: "qwen/qwen3-30b-a3b-thinking-2507",
1278
- name: "Qwen 3 30B A3B Thinking",
1279
- provider: "openrouter",
1280
- contextLength: 32768
1281
- },
1282
- {
1283
- id: "nvidia/nemotron-3-nano-30b-a3b:free",
1284
- name: "Nemotron 3 Nano 30B A3B (Free)",
1285
- provider: "openrouter",
1286
- contextLength: 256000
1287
- },
1288
- {
1289
- id: "nvidia/nemotron-3-nano-30b-a3b",
1290
- name: "Nemotron 3 Nano 30B A3B",
1291
- provider: "openrouter",
1292
- contextLength: 262144
1293
- },
1294
- {
1295
- id: "arcee-ai/trinity-mini:free",
1296
- name: "Arcee Trinity Mini (Free)",
1297
- provider: "openrouter",
1298
- contextLength: 131072
1299
- },
1300
- {
1301
- id: "arcee-ai/trinity-mini",
1302
- name: "Arcee Trinity Mini",
1303
- provider: "openrouter",
1304
- contextLength: 131072
1305
- },
1306
- {
1307
- id: "x-ai/grok-4.1-fast:free",
1308
- name: "Grok 4.1 Fast (Free)",
1309
- provider: "openrouter",
1310
- contextLength: 2000000
1311
- },
1312
- {
1313
- id: "x-ai/grok-code-fast-1",
1314
- name: "Grok Code Fast 1",
1315
- provider: "openrouter",
1316
- contextLength: 256000
1317
- },
1318
- {
1319
- id: "z-ai/glm-4.7-flash",
1320
- name: "GLM 4.7 Flash",
1321
- provider: "openrouter",
1322
- contextLength: 200000
1323
- }
1324
- ];
1325
- });
1326
-
1327
- // src/core/ai/models/pensar.ts
1328
- var PENSAR_MODELS;
1329
- var init_pensar = __esm(() => {
1330
- PENSAR_MODELS = [
1331
- {
1332
- id: "pensar:anthropic.claude-opus-4-7",
1333
- name: "Claude Opus 4.7",
1334
- provider: "pensar",
1335
- contextLength: 1e6
1336
- },
1337
- {
1338
- id: "pensar:anthropic.claude-opus-4-6-v1",
1339
- name: "Claude Opus 4.6",
1340
- provider: "pensar",
1341
- contextLength: 1e6
1342
- },
1343
- {
1344
- id: "pensar:anthropic.claude-sonnet-4-5-20250929-v1:0",
1345
- name: "Claude Sonnet 4.5",
1346
- provider: "pensar",
1347
- contextLength: 200000
1348
- },
1349
- {
1350
- id: "pensar:anthropic.claude-haiku-4-5-20251001-v1:0",
1351
- name: "Claude Haiku 4.5",
1352
- provider: "pensar",
1353
- contextLength: 200000
1354
- },
1355
- {
1356
- id: "pensar:anthropic.claude-sonnet-4-20250514-v1:0",
1357
- name: "Claude Sonnet 4",
1358
- provider: "pensar",
1359
- contextLength: 200000
1360
- },
1361
- {
1362
- id: "pensar:anthropic.claude-opus-4-20250514-v1:0",
1363
- name: "Claude Opus 4",
1364
- provider: "pensar",
1365
- contextLength: 200000
1366
- },
1367
- {
1368
- id: "pensar:anthropic.claude-3-7-sonnet-20250219-v1:0",
1369
- name: "Claude 3.7 Sonnet",
1370
- provider: "pensar",
1371
- contextLength: 200000
1372
- },
1373
- {
1374
- id: "pensar:anthropic.claude-3-5-haiku-20241022-v1:0",
1375
- name: "Claude 3.5 Haiku",
1376
- provider: "pensar",
1377
- contextLength: 200000
1378
- }
1379
- ];
1380
- });
1381
-
1382
- // src/core/ai/models/inception.ts
1383
- var INCEPTION_MODELS;
1384
- var init_inception = __esm(() => {
1385
- INCEPTION_MODELS = [
1386
- {
1387
- id: "mercury-2",
1388
- name: "Mercury 2",
1389
- provider: "inception",
1390
- contextLength: 128000
1391
- }
1392
- ];
1393
- });
1394
-
1395
- // src/core/ai/models/index.ts
1396
- function getModelInfo(model) {
1397
- return AVAILABLE_MODELS.find((m) => m.id === model) ?? {
1398
- id: model,
1399
- name: model,
1400
- provider: "local"
1401
- };
1402
- }
1403
- var AVAILABLE_MODELS;
1404
- var init_models = __esm(() => {
1405
- init_anthropic();
1406
- init_openai();
1407
- init_google();
1408
- init_bedrock();
1409
- init_openrouter();
1410
- init_pensar();
1411
- init_inception();
1412
- AVAILABLE_MODELS = [
1413
- ...ANTHROPIC_MODELS,
1414
- ...OPENAI_MODELS,
1415
- ...GOOGLE_MODELS,
1416
- ...BEDROCK_MODELS,
1417
- ...OPENROUTER_MODELS,
1418
- ...PENSAR_MODELS,
1419
- ...INCEPTION_MODELS
1420
- ];
1421
- });
1422
-
1423
- export { AVAILABLE_MODELS, getModelInfo, init_models };