tarsk 0.2.5 → 0.3.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.
Files changed (119) hide show
  1. package/README.md +1 -7
  2. package/dist/index.d.ts +3 -0
  3. package/dist/index.js +92 -32
  4. package/dist/lib/response-builder.d.ts +50 -0
  5. package/dist/lib/response-builder.js +56 -0
  6. package/dist/lib/stream-helper.d.ts +39 -0
  7. package/dist/lib/stream-helper.js +43 -0
  8. package/dist/managers/ConversationManager.d.ts +83 -0
  9. package/dist/managers/ConversationManager.js +129 -0
  10. package/dist/managers/GitManager.d.ts +133 -0
  11. package/dist/managers/GitManager.js +330 -0
  12. package/dist/managers/MetadataManager.d.ts +139 -0
  13. package/dist/managers/MetadataManager.js +309 -0
  14. package/dist/managers/ModelManager.d.ts +57 -0
  15. package/dist/managers/ModelManager.js +129 -0
  16. package/dist/managers/NeovateExecutor.d.ts +40 -0
  17. package/dist/managers/NeovateExecutor.js +138 -0
  18. package/dist/managers/ProjectManager.d.ts +162 -0
  19. package/dist/managers/ProjectManager.js +353 -0
  20. package/dist/managers/ThreadManager.d.ts +181 -0
  21. package/dist/managers/ThreadManager.js +325 -0
  22. package/dist/managers/conversation-manager.d.ts +83 -0
  23. package/dist/managers/conversation-manager.js +129 -0
  24. package/dist/managers/git-manager.d.ts +133 -0
  25. package/dist/managers/git-manager.js +330 -0
  26. package/dist/managers/metadata-manager.d.ts +139 -0
  27. package/dist/managers/metadata-manager.js +305 -0
  28. package/dist/managers/model-manager.d.ts +59 -0
  29. package/dist/managers/model-manager.js +144 -0
  30. package/dist/managers/neovate-executor.d.ts +43 -0
  31. package/dist/managers/neovate-executor.js +205 -0
  32. package/dist/managers/processing-state-manager.d.ts +40 -0
  33. package/dist/managers/processing-state-manager.js +27 -0
  34. package/dist/managers/project-manager.d.ts +199 -0
  35. package/dist/managers/project-manager.js +465 -0
  36. package/dist/managers/thread-manager.d.ts +193 -0
  37. package/dist/managers/thread-manager.js +368 -0
  38. package/dist/model-info-aihubmix.d.ts +25 -0
  39. package/dist/model-info-aihubmix.js +117 -0
  40. package/dist/model-info-openai.d.ts +17 -0
  41. package/dist/model-info-openai.js +59 -0
  42. package/dist/model-info-openrouter.d.ts +25 -0
  43. package/dist/model-info-openrouter.js +101 -0
  44. package/dist/model-info.d.ts +37 -0
  45. package/dist/model-info.js +39 -0
  46. package/dist/provider-data.d.ts +101 -0
  47. package/dist/provider-data.js +471 -0
  48. package/dist/provider.d.ts +10 -0
  49. package/dist/provider.js +192 -0
  50. package/dist/public/android-chrome-192x192.png +0 -0
  51. package/dist/public/android-chrome-512x512.png +0 -0
  52. package/dist/public/apple-touch-icon.png +0 -0
  53. package/dist/public/assets/index-B443aj9k.js +8506 -0
  54. package/dist/public/assets/index-CjXGVbI7.css +1 -0
  55. package/dist/public/assets/index-DJC-p914.js +8506 -0
  56. package/dist/public/favicon-16x16.png +0 -0
  57. package/dist/public/favicon-32x32.png +0 -0
  58. package/dist/public/favicon.ico +0 -0
  59. package/dist/public/index.html +28 -0
  60. package/dist/public/manifest.json +82 -0
  61. package/dist/public/placeholder-logo.svg +1 -0
  62. package/dist/public/placeholder.svg +1 -0
  63. package/dist/public/snpro.woff2 +0 -0
  64. package/dist/public/tarsk-color.svg +12 -0
  65. package/dist/public/tarsk.png +0 -0
  66. package/dist/public/tarsk.svg +12 -0
  67. package/dist/public/zalando-sans.woff2 +0 -0
  68. package/dist/routes/chat-old.d.ts +21 -0
  69. package/dist/routes/chat-old.js +251 -0
  70. package/dist/routes/chat.d.ts +21 -0
  71. package/dist/routes/chat.js +217 -0
  72. package/dist/routes/git.d.ts +4 -0
  73. package/dist/routes/git.js +668 -0
  74. package/dist/routes/models.d.ts +18 -0
  75. package/dist/routes/models.js +128 -0
  76. package/dist/routes/projects-old.d.ts +20 -0
  77. package/dist/routes/projects-old.js +297 -0
  78. package/dist/routes/projects.d.ts +20 -0
  79. package/dist/routes/projects.js +365 -0
  80. package/dist/routes/providers.d.ts +15 -0
  81. package/dist/routes/providers.js +130 -0
  82. package/dist/routes/threads-old.d.ts +14 -0
  83. package/dist/routes/threads-old.js +393 -0
  84. package/dist/routes/threads.d.ts +14 -0
  85. package/dist/routes/threads.js +352 -0
  86. package/dist/types/models.d.ts +315 -0
  87. package/dist/types/models.js +11 -0
  88. package/dist/utils/env-manager.d.ts +3 -0
  89. package/dist/utils/env-manager.js +60 -0
  90. package/dist/utils/open-router-models.d.ts +45 -0
  91. package/dist/utils/open-router-models.js +103 -0
  92. package/dist/utils/openai-models.d.ts +63 -0
  93. package/dist/utils/openai-models.js +152 -0
  94. package/dist/utils/openai-pricing-scraper.d.ts +17 -0
  95. package/dist/utils/openai-pricing-scraper.js +185 -0
  96. package/dist/utils/validation.d.ts +10 -0
  97. package/dist/utils/validation.js +20 -0
  98. package/dist/utils.d.ts +10 -0
  99. package/dist/utils.js +12 -0
  100. package/package.json +36 -22
  101. package/LICENSE.md +0 -7
  102. package/dist/agent/agent.js +0 -131
  103. package/dist/agent/interfaces.js +0 -1
  104. package/dist/api/encryption.js +0 -41
  105. package/dist/api/models.js +0 -169
  106. package/dist/api/prompt.js +0 -12
  107. package/dist/api/settings.js +0 -43
  108. package/dist/api/test.js +0 -29
  109. package/dist/api/tools.js +0 -287
  110. package/dist/api/utils.js +0 -18
  111. package/dist/interfaces/meta.js +0 -1
  112. package/dist/interfaces/model.js +0 -1
  113. package/dist/interfaces/settings.js +0 -1
  114. package/dist/log/log.js +0 -33
  115. package/dist/prompt.js +0 -49
  116. package/dist/tools.js +0 -84
  117. package/dist/utils/files.js +0 -14
  118. package/dist/utils/json-file.js +0 -28
  119. package/dist/utils/strip-markdown.js +0 -5
@@ -0,0 +1,471 @@
1
+ // Auto-generated file - do not edit manually
2
+ // Generated by scripts/copy-providers.ts
3
+ export const PROVIDER_DATA = [
4
+ {
5
+ "id": "aihubmix",
6
+ "models": [
7
+ "DeepSeek-R1",
8
+ "DeepSeek-V3",
9
+ "claude-3-5-sonnet-20241022",
10
+ "claude-3-7-sonnet-20250219",
11
+ "claude-opus-4-1",
12
+ "claude-opus-4-20250514",
13
+ "claude-sonnet-4-20250514",
14
+ "claude-sonnet-4-5",
15
+ "gemini-2.5-flash",
16
+ "gemini-2.5-flash-lite",
17
+ "gemini-2.5-pro",
18
+ "glm-4.6",
19
+ "gpt-4",
20
+ "gpt-4.1",
21
+ "gpt-4o",
22
+ "gpt-5",
23
+ "gpt-5-mini",
24
+ "kimi-k2-thinking",
25
+ "kimi-k2-turbo-preview",
26
+ "o3-mini",
27
+ "o4-mini"
28
+ ]
29
+ },
30
+ {
31
+ "id": "anthropic",
32
+ "models": [
33
+ "claude-3-5-sonnet-20241022",
34
+ "claude-3-7-sonnet-20250219",
35
+ "claude-3-7-sonnet-20250219-thinking",
36
+ "claude-haiku-4-5",
37
+ "claude-opus-4-1-20250805",
38
+ "claude-opus-4-20250514",
39
+ "claude-opus-4-5",
40
+ "claude-opus-4-6",
41
+ "claude-sonnet-4-20250514",
42
+ "claude-sonnet-4-5-20250929"
43
+ ]
44
+ },
45
+ {
46
+ "id": "canopywave",
47
+ "models": [
48
+ "deepseek/deepseek-chat-v3.2",
49
+ "minimax/minimax-m2.1",
50
+ "moonshotai/kimi-k2-thinking",
51
+ "moonshotai/kimi-k2.5",
52
+ "openai/gpt-oss-120b",
53
+ "xiaomimimo/mimo-v2-flash",
54
+ "zai/glm-4.7"
55
+ ]
56
+ },
57
+ {
58
+ "id": "cerebras",
59
+ "models": [
60
+ "gpt-oss-120b",
61
+ "zai-glm-4.7"
62
+ ]
63
+ },
64
+ {
65
+ "id": "codex",
66
+ "models": [
67
+ "gpt-5.1-codex",
68
+ "gpt-5.1-codex-max",
69
+ "gpt-5.1-codex-mini",
70
+ "gpt-5.2",
71
+ "gpt-5.2-codex",
72
+ "gpt-5.3-codex"
73
+ ]
74
+ },
75
+ {
76
+ "id": "deepseek",
77
+ "models": [
78
+ "deepseek-chat",
79
+ "deepseek-reasoner"
80
+ ]
81
+ },
82
+ {
83
+ "id": "github-copilot",
84
+ "models": [
85
+ "claude-3.5-sonnet",
86
+ "claude-3.7-sonnet",
87
+ "claude-3.7-sonnet-thought",
88
+ "claude-opus-4",
89
+ "claude-opus-4-5",
90
+ "claude-opus-41",
91
+ "claude-sonnet-4",
92
+ "claude-sonnet-4.5",
93
+ "gemini-2.5-pro",
94
+ "gemini-3-pro-preview",
95
+ "gpt-4.1",
96
+ "gpt-4o",
97
+ "gpt-5",
98
+ "gpt-5-codex",
99
+ "gpt-5-mini",
100
+ "gpt-5.1",
101
+ "gpt-5.1-codex",
102
+ "gpt-5.1-codex-mini",
103
+ "gpt-5.2",
104
+ "grok-code-fast-1",
105
+ "o3-mini",
106
+ "o4-mini"
107
+ ]
108
+ },
109
+ {
110
+ "id": "google",
111
+ "models": [
112
+ "gemini-2.5-flash",
113
+ "gemini-2.5-flash-lite",
114
+ "gemini-2.5-flash-preview-09-2025",
115
+ "gemini-2.5-pro",
116
+ "gemini-3-flash-preview",
117
+ "gemini-3-pro-preview"
118
+ ]
119
+ },
120
+ {
121
+ "id": "groq",
122
+ "models": [
123
+ "moonshotai/kimi-k2-instruct-0905",
124
+ "openai/gpt-oss-120b"
125
+ ]
126
+ },
127
+ {
128
+ "id": "huggingface",
129
+ "models": [
130
+ "Qwen/Qwen3-Coder-480B-A35B-Instruct",
131
+ "XiaomiMiMo/MiMo-V2-Flash",
132
+ "moonshotai/Kimi-K2.5",
133
+ "zai-org/GLM-4.7"
134
+ ]
135
+ },
136
+ {
137
+ "id": "iflow",
138
+ "models": [
139
+ "deepseek-r1",
140
+ "deepseek-v3",
141
+ "deepseek-v3.2",
142
+ "glm-4.6",
143
+ "glm-4.7",
144
+ "kimi-k2",
145
+ "kimi-k2-0905",
146
+ "kimi-k2.5",
147
+ "minimax-m2.1",
148
+ "qwen3-coder-plus",
149
+ "qwen3-max"
150
+ ]
151
+ },
152
+ {
153
+ "id": "kimi-coding-plan",
154
+ "models": [
155
+ "kimi-for-coding"
156
+ ]
157
+ },
158
+ {
159
+ "id": "minimax",
160
+ "models": [
161
+ "minimax-m2",
162
+ "minimax-m2.1"
163
+ ]
164
+ },
165
+ {
166
+ "id": "minimax-cn",
167
+ "models": [
168
+ "minimax-m2",
169
+ "minimax-m2.1"
170
+ ]
171
+ },
172
+ {
173
+ "id": "modelscope",
174
+ "models": [
175
+ "Qwen/Qwen3-235B-A22B-Instruct-2507",
176
+ "Qwen/Qwen3-Coder-480B-A35B-Instruct",
177
+ "ZhipuAI/GLM-4.5",
178
+ "ZhipuAI/GLM-4.5V",
179
+ "ZhipuAI/GLM-4.6",
180
+ "deepseek-ai/DeepSeek-V3.2",
181
+ "deepseek-ai/DeepSeek-V3.2-Speciale"
182
+ ]
183
+ },
184
+ {
185
+ "id": "modelwatch",
186
+ "models": [
187
+ "claude-4-5-sonnet",
188
+ "claude-haiku-4-5",
189
+ "claude-opus-4-5",
190
+ "gemini-2.5-flash",
191
+ "gemini-3-flash",
192
+ "gemini-3-pro-preview",
193
+ "glm-4.7",
194
+ "gpt-5.1",
195
+ "gpt-5.1-codex",
196
+ "gpt-5.1-codex-max",
197
+ "gpt-5.1-codex-mini",
198
+ "gpt-5.2",
199
+ "gpt-5.2-codex",
200
+ "qwen3-coder-plus"
201
+ ]
202
+ },
203
+ {
204
+ "id": "moonshotai",
205
+ "models": [
206
+ "kimi-k2-0905-preview",
207
+ "kimi-k2-thinking",
208
+ "kimi-k2-thinking-turbo",
209
+ "kimi-k2-turbo-preview",
210
+ "kimi-k2.5"
211
+ ]
212
+ },
213
+ {
214
+ "id": "moonshotai-cn",
215
+ "models": [
216
+ "kimi-k2-0905-preview",
217
+ "kimi-k2-thinking",
218
+ "kimi-k2-thinking-turbo",
219
+ "kimi-k2-turbo-preview",
220
+ "kimi-k2.5"
221
+ ]
222
+ },
223
+ {
224
+ "id": "nvidia",
225
+ "models": [
226
+ "minimaxai/minimax-m2.1",
227
+ "moonshotai/kimi-k2-thinking",
228
+ "moonshotai/kimi-k2.5",
229
+ "openai/gpt-oss-120b",
230
+ "qwen/qwen3-coder-480b-a35b-instruct",
231
+ "z-ai/glm4.7"
232
+ ]
233
+ },
234
+ {
235
+ "id": "openai",
236
+ "models": [
237
+ "gpt-4",
238
+ "gpt-4.1",
239
+ "gpt-4o",
240
+ "gpt-5",
241
+ "gpt-5-codex",
242
+ "gpt-5-mini",
243
+ "gpt-5.1",
244
+ "gpt-5.1-codex",
245
+ "gpt-5.1-codex-max",
246
+ "gpt-5.1-codex-mini",
247
+ "gpt-5.2",
248
+ "gpt-5.2-codex",
249
+ "gpt-5.2-pro",
250
+ "gpt-5.3-codex",
251
+ "o3-mini",
252
+ "o4-mini"
253
+ ]
254
+ },
255
+ {
256
+ "id": "opencode",
257
+ "models": [
258
+ "claude-4-5-sonnet",
259
+ "claude-4-sonnet",
260
+ "claude-4.1-opus",
261
+ "claude-haiku-4-5",
262
+ "claude-opus-4-5",
263
+ "gemini-3-flash",
264
+ "gemini-3-pro",
265
+ "glm-4.6",
266
+ "glm-4.7",
267
+ "glm-4.7-free",
268
+ "gpt-5",
269
+ "gpt-5-codex",
270
+ "gpt-5.1",
271
+ "gpt-5.1-codex",
272
+ "gpt-5.1-codex-max",
273
+ "gpt-5.1-codex-mini",
274
+ "gpt-5.2",
275
+ "gpt-5.2-codex",
276
+ "kimi-k2",
277
+ "kimi-k2-thinking",
278
+ "kimi-k2.5",
279
+ "kimi-k2.5-free",
280
+ "minimax-m2.1",
281
+ "minimax-m2.1-free",
282
+ "qwen3-coder"
283
+ ]
284
+ },
285
+ {
286
+ "id": "openrouter",
287
+ "models": [
288
+ "anthropic/claude-3.5-sonnet",
289
+ "anthropic/claude-3.7-sonnet",
290
+ "anthropic/claude-haiku-4.5",
291
+ "anthropic/claude-opus-4",
292
+ "anthropic/claude-opus-4.1",
293
+ "anthropic/claude-opus-4.5",
294
+ "anthropic/claude-opus-4.6",
295
+ "anthropic/claude-sonnet-4",
296
+ "anthropic/claude-sonnet-4.5",
297
+ "deepseek/deepseek-chat-v3-0324",
298
+ "deepseek/deepseek-chat-v3.1",
299
+ "deepseek/deepseek-r1-0528",
300
+ "deepseek/deepseek-v3.1-terminus",
301
+ "deepseek/deepseek-v3.2",
302
+ "deepseek/deepseek-v3.2-exp",
303
+ "deepseek/deepseek-v3.2-speciale",
304
+ "google/gemini-3-flash-preview",
305
+ "google/gemini-3-pro-preview",
306
+ "minimax/minimax-m2",
307
+ "moonshotai/kimi-k2",
308
+ "moonshotai/kimi-k2-0905",
309
+ "moonshotai/kimi-k2-thinking",
310
+ "moonshotai/kimi-k2.5",
311
+ "openai/gpt-4",
312
+ "openai/gpt-4.1",
313
+ "openai/gpt-4o",
314
+ "openai/gpt-5",
315
+ "openai/gpt-5-codex",
316
+ "openai/gpt-5-mini",
317
+ "openai/gpt-5.1",
318
+ "openai/gpt-5.1-codex",
319
+ "openai/gpt-5.1-codex-max",
320
+ "openai/gpt-5.1-codex-mini",
321
+ "openai/gpt-5.2",
322
+ "openai/gpt-5.2-codex",
323
+ "openai/gpt-5.2-pro",
324
+ "openai/gpt-oss-120b",
325
+ "openai/o3",
326
+ "openai/o3-mini",
327
+ "openai/o3-pro",
328
+ "openai/o4-mini",
329
+ "qwen/qwen3-coder",
330
+ "qwen/qwen3-max",
331
+ "x-ai/grok-4",
332
+ "x-ai/grok-4-fast",
333
+ "x-ai/grok-4.1-fast",
334
+ "x-ai/grok-code-fast-1",
335
+ "z-ai/glm-4.5",
336
+ "z-ai/glm-4.5v",
337
+ "z-ai/glm-4.6",
338
+ "z-ai/glm-4.6v",
339
+ "z-ai/glm-4.7"
340
+ ]
341
+ },
342
+ {
343
+ "id": "poe",
344
+ "models": [
345
+ "Claude-Opus-4.5",
346
+ "Claude-Opus-4.6",
347
+ "Claude-Sonnet-4.5",
348
+ "GPT-5.1",
349
+ "GPT-5.1-Codex",
350
+ "Gemini-2.5-Flash",
351
+ "Gemini-2.5-Pro",
352
+ "Gemini-3-Pro",
353
+ "Grok-4.1-Fast"
354
+ ]
355
+ },
356
+ {
357
+ "id": "qwen",
358
+ "models": [
359
+ "coder-model"
360
+ ]
361
+ },
362
+ {
363
+ "id": "siliconflow",
364
+ "models": [
365
+ "Qwen/Qwen3-235B-A22B-Instruct-2507",
366
+ "Qwen/Qwen3-Coder-480B-A35B-Instruct",
367
+ "deepseek-ai/DeepSeek-R1",
368
+ "deepseek-ai/DeepSeek-V3",
369
+ "deepseek-ai/DeepSeek-V3.1",
370
+ "moonshotai/Kimi-K2-Instruct",
371
+ "moonshotai/Kimi-K2-Instruct-0905",
372
+ "zai-org/GLM-4.5"
373
+ ]
374
+ },
375
+ {
376
+ "id": "siliconflow-cn",
377
+ "models": [
378
+ "Qwen/Qwen3-235B-A22B-Instruct-2507",
379
+ "Qwen/Qwen3-Coder-480B-A35B-Instruct",
380
+ "deepseek-ai/DeepSeek-R1",
381
+ "deepseek-ai/DeepSeek-V3",
382
+ "deepseek-ai/DeepSeek-V3.1",
383
+ "moonshotai/Kimi-K2-Instruct",
384
+ "moonshotai/Kimi-K2-Instruct-0905",
385
+ "zai-org/GLM-4.5"
386
+ ]
387
+ },
388
+ {
389
+ "id": "volcengine",
390
+ "models": [
391
+ "deepseek-v3-1-250821",
392
+ "deepseek-v3-1-terminus",
393
+ "doubao-seed-1-6-250615",
394
+ "kimi-k2-250905"
395
+ ]
396
+ },
397
+ {
398
+ "id": "xai",
399
+ "models": [
400
+ "grok-4",
401
+ "grok-4-1-fast",
402
+ "grok-4-1-fast-non-reasoning",
403
+ "grok-4-fast",
404
+ "grok-code-fast-1"
405
+ ]
406
+ },
407
+ {
408
+ "id": "xiaomi",
409
+ "models": [
410
+ "mimo-v2-flash"
411
+ ]
412
+ },
413
+ {
414
+ "id": "zai-coding-plan",
415
+ "models": [
416
+ "glm-4.5",
417
+ "glm-4.5-air",
418
+ "glm-4.5-flash",
419
+ "glm-4.5v",
420
+ "glm-4.6",
421
+ "glm-4.6v",
422
+ "glm-4.7"
423
+ ]
424
+ },
425
+ {
426
+ "id": "zenmux",
427
+ "models": [
428
+ "anthropic/claude-opus-4.5",
429
+ "anthropic/claude-opus-4.6",
430
+ "anthropic/claude-sonnet-4.5",
431
+ "deepseek/deepseek-chat",
432
+ "deepseek/deepseek-reasoner",
433
+ "google/gemini-3-flash-preview",
434
+ "google/gemini-3-pro-preview",
435
+ "moonshotai/kimi-k2.5",
436
+ "openai/gpt-5.1",
437
+ "openai/gpt-5.1-codex",
438
+ "openai/gpt-5.1-codex-mini",
439
+ "openai/gpt-5.2",
440
+ "openai/gpt-5.2-pro",
441
+ "z-ai/glm-4.6",
442
+ "z-ai/glm-4.6v",
443
+ "z-ai/glm-4.7"
444
+ ]
445
+ },
446
+ {
447
+ "id": "zhipuai",
448
+ "models": [
449
+ "glm-4.5",
450
+ "glm-4.5-air",
451
+ "glm-4.5-flash",
452
+ "glm-4.5v",
453
+ "glm-4.6",
454
+ "glm-4.6v",
455
+ "glm-4.7"
456
+ ]
457
+ },
458
+ {
459
+ "id": "zhipuai-coding-plan",
460
+ "models": [
461
+ "glm-4.5",
462
+ "glm-4.5-air",
463
+ "glm-4.5-flash",
464
+ "glm-4.5v",
465
+ "glm-4.6",
466
+ "glm-4.6v",
467
+ "glm-4.7"
468
+ ]
469
+ }
470
+ ];
471
+ //# sourceMappingURL=provider-data.js.map
@@ -0,0 +1,10 @@
1
+ export type AuthType = 'OAuth' | 'APIKey';
2
+ export interface Provider {
3
+ name: string;
4
+ url: string;
5
+ keyName: string;
6
+ authType: AuthType;
7
+ api: string | undefined;
8
+ }
9
+ export declare const PROVIDERS: Provider[];
10
+ //# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1,192 @@
1
+ export const PROVIDERS = [
2
+ {
3
+ name: "AIHubMix",
4
+ url: "https://aihubmix.com/",
5
+ keyName: "AIHUBMIX_API_KEY",
6
+ authType: "APIKey",
7
+ api: "https://aihubmix.com/v1",
8
+ },
9
+ {
10
+ name: "Anthropic",
11
+ url: "https://console.anthropic.com/settings/keys",
12
+ keyName: "ANTHROPIC_API_KEY",
13
+ authType: "APIKey",
14
+ api: "https://api.anthropic.com/v1",
15
+ },
16
+ {
17
+ name: "CanopyWave",
18
+ url: "https://cloud.canopywave.io/",
19
+ keyName: "CANOPYWAVE_API_KEY",
20
+ authType: "APIKey",
21
+ api: "https://inference.canopywave.io/v1",
22
+ },
23
+ {
24
+ name: "Codex",
25
+ url: "",
26
+ keyName: "",
27
+ authType: "OAuth",
28
+ api: undefined,
29
+ },
30
+ {
31
+ name: "Cerebras",
32
+ url: "https://cerebras.ai/",
33
+ keyName: "CEREBRAS_API_KEY",
34
+ authType: "APIKey",
35
+ api: "https://api.cerebras.ai/v1",
36
+ },
37
+ {
38
+ name: "DeepSeek",
39
+ url: "https://platform.deepseek.com/",
40
+ keyName: "DEEPSEEK_API_KEY",
41
+ authType: "APIKey",
42
+ api: "https://api.deepseek.com",
43
+ },
44
+ {
45
+ name: "GitHub Copilot",
46
+ url: "",
47
+ keyName: "",
48
+ authType: "OAuth",
49
+ api: "https://api.githubcopilot.com",
50
+ },
51
+ {
52
+ name: "Google",
53
+ url: "https://aistudio.google.com/apikey",
54
+ keyName: "GOOGLE_API_KEY",
55
+ authType: "APIKey",
56
+ api: undefined, // GOOGLE_GENERATIVE_AI_API_BASE
57
+ },
58
+ {
59
+ name: "Groq",
60
+ url: "https://console.groq.com/",
61
+ keyName: "GROQ_API_KEY",
62
+ authType: "APIKey",
63
+ api: "https://api.groq.com/openai/v1",
64
+ },
65
+ {
66
+ name: "Hugging Face",
67
+ url: "https://huggingface.co/settings/tokens",
68
+ keyName: "HUGGINGFACE_API_KEY",
69
+ authType: "APIKey",
70
+ api: "https://router.huggingface.co/v1",
71
+ },
72
+ {
73
+ name: "iFlow",
74
+ url: "https://iflow.cn/",
75
+ keyName: "IFLOW_API_KEY",
76
+ authType: "APIKey",
77
+ api: "https://apis.iflow.cn/v1/",
78
+ },
79
+ {
80
+ name: "Minimax",
81
+ url: "https://platform.minimaxi.com/",
82
+ keyName: "MINIMAX_API_KEY",
83
+ authType: "APIKey",
84
+ api: "https://api.minimaxi.io/anthropic/v1",
85
+ },
86
+ {
87
+ name: "Kimi Coding Plan",
88
+ url: "https://www.kimi.com/code/docs/more/third-party-agents.html",
89
+ keyName: "KIMI_CODING_API_KEY",
90
+ authType: "APIKey",
91
+ api: "https://api.kimi.com/coding/v1",
92
+ },
93
+ {
94
+ name: "ModelScope",
95
+ url: "https://console.modelscope.cn/",
96
+ keyName: "MODELSCOPE_API_KEY",
97
+ authType: "APIKey",
98
+ api: "https://api-inference.modelscope.cn/v1",
99
+ },
100
+ {
101
+ name: "ModelWatch",
102
+ url: "https://api.modelwatch.dev/",
103
+ keyName: "MODELWATCH_API_KEY",
104
+ authType: "APIKey",
105
+ api: "https://hub.modelwatch.dev/v1",
106
+ },
107
+ {
108
+ name: "Moonshot AI",
109
+ url: "https://platform.moonshot.ai/console",
110
+ keyName: "MOONSHOT_API_KEY",
111
+ authType: "APIKey",
112
+ api: "https://api.moonshot.ai/anthropic/v1",
113
+ },
114
+ {
115
+ name: "NVIDIA",
116
+ url: "https://build.nvidia.com/models",
117
+ keyName: "NVIDIA_API_KEY",
118
+ authType: "APIKey",
119
+ api: "https://integrate.api.nvidia.com/v1",
120
+ },
121
+ {
122
+ name: "OpenAI",
123
+ url: "https://platform.openai.com/api-keys",
124
+ keyName: "OPENAI_API_KEY",
125
+ authType: "APIKey",
126
+ api: "https://api.openai.com/v1",
127
+ },
128
+ {
129
+ name: "OpenRouter",
130
+ url: "https://openrouter.ai/settings/keys",
131
+ keyName: "OPENROUTER_API_KEY",
132
+ authType: "APIKey",
133
+ api: "https://openrouter.ai/api/v1",
134
+ },
135
+ {
136
+ name: "Poe",
137
+ url: "https://poe.com/",
138
+ keyName: "POE_API_KEY",
139
+ authType: "APIKey",
140
+ api: "https://api.poe.com/v1",
141
+ },
142
+ // {
143
+ // name: "Qwen",
144
+ // url: "",
145
+ // keyName: "",
146
+ // authType: "OAuth",
147
+ // api: undefined,
148
+ // },
149
+ {
150
+ name: "SiliconFlow",
151
+ url: "https://siliconflow.com/",
152
+ keyName: "SILICONFLOW_API_KEY",
153
+ authType: "APIKey",
154
+ api: "https://api.siliconflow.com/v1",
155
+ },
156
+ {
157
+ name: "VolcEngine",
158
+ url: "https://www.volcengine.com/",
159
+ keyName: "VOLCENGINE_API_KEY",
160
+ authType: "APIKey",
161
+ api: "https://ark.cn-beijing.volces.com/api/v3",
162
+ },
163
+ {
164
+ name: "xAI",
165
+ url: "https://console.x.ai/",
166
+ keyName: "XAI_API_KEY",
167
+ authType: "APIKey",
168
+ api: "https://api.x.ai/v1",
169
+ },
170
+ {
171
+ name: "Xiaomi",
172
+ url: "https://platform.xiaomimimo.com/",
173
+ keyName: "MIMO_API_KEY",
174
+ authType: "APIKey",
175
+ api: "https://api.xiaomimimo.com/anthropic/v1", // TODO: set apiFormat ApiFormat.Anthropic
176
+ },
177
+ {
178
+ name: "ZenMux",
179
+ url: "https://zenmux.ai/",
180
+ keyName: "ZENMUX_API_KEY",
181
+ authType: "APIKey",
182
+ api: "https://zenmux.ai/api/anthropic/v1",
183
+ },
184
+ {
185
+ name: "Zhipu AI",
186
+ url: "https://open.bigmodel.cn/",
187
+ keyName: "ZHIPU_API_KEY",
188
+ authType: "APIKey",
189
+ api: "https://open.bigmodel.cn/api/paas/v4",
190
+ },
191
+ ];
192
+ //# sourceMappingURL=provider.js.map
Binary file