anygate 0.5.7 → 0.5.9
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.
- package/README.md +2 -2
- package/dist/chunk-6AFYEDSU.js +6934 -0
- package/dist/chunk-6AFYEDSU.js.map +1 -0
- package/dist/chunk-72WNE2IK.js +43 -0
- package/dist/chunk-P36O5B7N.js +168 -0
- package/dist/chunk-P36O5B7N.js.map +1 -0
- package/dist/{chunk-BCPX3QLK.js → chunk-PJ3L2TW7.js} +6810 -6628
- package/dist/chunk-PJ3L2TW7.js.map +1 -0
- package/dist/cli.js +11456 -11079
- package/dist/cli.js.map +1 -1
- package/dist/{command-E7O6ZQWJ.js → command-5BWYQP5G.js} +333 -19
- package/dist/command-5BWYQP5G.js.map +1 -0
- package/dist/constants-5RN2WJSS.js +29 -0
- package/dist/constants-5RN2WJSS.js.map +1 -0
- package/dist/provider-templates-MNJZTG3Z.js +25 -0
- package/dist/provider-templates-MNJZTG3Z.js.map +1 -0
- package/dist/registry/data/providers/go.json +10 -0
- package/dist/registry/data/providers/zen.json +10 -0
- package/dist/registry/data/templates/anthropic.json +13 -0
- package/dist/registry/data/templates/antigravity.json +15 -0
- package/dist/registry/data/templates/azure.json +11 -0
- package/dist/registry/data/templates/bedrock.json +11 -0
- package/dist/registry/data/templates/cerebras.json +13 -0
- package/dist/registry/data/templates/claude-code.json +15 -0
- package/dist/registry/data/templates/cohere.json +10 -0
- package/dist/registry/data/templates/deepinfra.json +13 -0
- package/dist/registry/data/templates/deepseek.json +13 -0
- package/dist/registry/data/templates/fireworks.json +13 -0
- package/dist/registry/data/templates/github-copilot.json +16 -0
- package/dist/registry/data/templates/go.json +13 -0
- package/dist/registry/data/templates/groq.json +13 -0
- package/dist/registry/data/templates/kilo.json +15 -0
- package/dist/registry/data/templates/lmstudio.json +14 -0
- package/dist/registry/data/templates/mistral.json +13 -0
- package/dist/registry/data/templates/nvidia.json +13 -0
- package/dist/registry/data/templates/ollama.json +14 -0
- package/dist/registry/data/templates/openai-oauth.json +13 -0
- package/dist/registry/data/templates/opencode-cloud.json +13 -0
- package/dist/registry/data/templates/openrouter.json +13 -0
- package/dist/registry/data/templates/ovh.json +13 -0
- package/dist/registry/data/templates/perplexity.json +13 -0
- package/dist/registry/data/templates/sambanova.json +12 -0
- package/dist/registry/data/templates/scaleway.json +13 -0
- package/dist/registry/data/templates/togetherai.json +13 -0
- package/dist/registry/data/templates/venice.json +13 -0
- package/dist/registry/data/templates/vertex.json +11 -0
- package/dist/registry/data/templates/xai-oauth.json +13 -0
- package/dist/registry/data/templates/xai.json +13 -0
- package/dist/registry/data/templates/zen.json +13 -0
- package/dist/ui/dist/assets/index-DWAOH_B3.css +1 -0
- package/dist/ui/dist/assets/index-gjYfrAXg.js +6 -0
- package/dist/ui/dist/index.html +2 -2
- package/package.json +3 -3
- package/dist/chunk-BCPX3QLK.js.map +0 -1
- package/dist/chunk-VKROC37K.js +0 -390
- package/dist/chunk-VKROC37K.js.map +0 -1
- package/dist/command-E7O6ZQWJ.js.map +0 -1
- package/dist/provider-templates-TWR5XSYI.js +0 -18
- package/dist/ui/dist/assets/index-3sdSv_1I.js +0 -5
- package/dist/ui/dist/assets/index-C4xd3r4v.css +0 -1
- /package/dist/{provider-templates-TWR5XSYI.js.map → chunk-72WNE2IK.js.map} +0 -0
package/dist/chunk-VKROC37K.js
DELETED
|
@@ -1,390 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
// src/providers/provider-templates.ts
|
|
4
|
-
var PROVIDER_TEMPLATES = [
|
|
5
|
-
{
|
|
6
|
-
id: "groq",
|
|
7
|
-
name: "Groq",
|
|
8
|
-
authType: "api",
|
|
9
|
-
npm: "@ai-sdk/groq",
|
|
10
|
-
defaultBaseUrl: "https://api.groq.com/openai/v1",
|
|
11
|
-
signupUrl: "https://console.groq.com/keys",
|
|
12
|
-
modelSource: "api-list",
|
|
13
|
-
supported: true
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
id: "nvidia",
|
|
17
|
-
name: "Nvidia",
|
|
18
|
-
authType: "api",
|
|
19
|
-
npm: "@ai-sdk/openai-compatible",
|
|
20
|
-
defaultBaseUrl: "https://integrate.api.nvidia.com/v1",
|
|
21
|
-
signupUrl: "https://build.nvidia.com",
|
|
22
|
-
modelSource: "api-list",
|
|
23
|
-
supported: true
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
id: "mistral",
|
|
27
|
-
name: "Mistral",
|
|
28
|
-
authType: "api",
|
|
29
|
-
npm: "@ai-sdk/mistral",
|
|
30
|
-
defaultBaseUrl: "https://api.mistral.ai/v1",
|
|
31
|
-
signupUrl: "https://console.mistral.ai/api-keys",
|
|
32
|
-
modelSource: "api-list",
|
|
33
|
-
supported: true
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
id: "togetherai",
|
|
37
|
-
name: "Together AI",
|
|
38
|
-
authType: "api",
|
|
39
|
-
npm: "@ai-sdk/togetherai",
|
|
40
|
-
defaultBaseUrl: "https://api.together.xyz/v1",
|
|
41
|
-
signupUrl: "https://api.together.xyz/settings/api-keys",
|
|
42
|
-
modelSource: "api-list",
|
|
43
|
-
supported: true
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
id: "cerebras",
|
|
47
|
-
name: "Cerebras",
|
|
48
|
-
authType: "api",
|
|
49
|
-
npm: "@ai-sdk/cerebras",
|
|
50
|
-
defaultBaseUrl: "https://api.cerebras.ai/v1",
|
|
51
|
-
signupUrl: "https://cloud.cerebras.ai",
|
|
52
|
-
modelSource: "api-list",
|
|
53
|
-
supported: true
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
id: "deepinfra",
|
|
57
|
-
name: "DeepInfra",
|
|
58
|
-
authType: "api",
|
|
59
|
-
npm: "@ai-sdk/deepinfra",
|
|
60
|
-
defaultBaseUrl: "https://api.deepinfra.com/v1/openai",
|
|
61
|
-
signupUrl: "https://deepinfra.com/dash/api_keys",
|
|
62
|
-
modelSource: "api-list",
|
|
63
|
-
supported: true
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
id: "deepseek",
|
|
67
|
-
name: "DeepSeek",
|
|
68
|
-
authType: "api",
|
|
69
|
-
npm: "@ai-sdk/openai-compatible",
|
|
70
|
-
defaultBaseUrl: "https://api.deepseek.com/v1",
|
|
71
|
-
signupUrl: "https://platform.deepseek.com",
|
|
72
|
-
modelSource: "api-list",
|
|
73
|
-
supported: true
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
id: "zhipu",
|
|
77
|
-
name: "Zhipu AI (GLM)",
|
|
78
|
-
authType: "api",
|
|
79
|
-
npm: "@ai-sdk/openai-compatible",
|
|
80
|
-
defaultBaseUrl: "https://open.bigmodel.cn/api/paas/v4",
|
|
81
|
-
signupUrl: "https://open.bigmodel.cn",
|
|
82
|
-
modelSource: "api-list",
|
|
83
|
-
supported: true
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
id: "moonshot",
|
|
87
|
-
name: "Moonshot (Kimi)",
|
|
88
|
-
authType: "api",
|
|
89
|
-
npm: "@ai-sdk/openai-compatible",
|
|
90
|
-
defaultBaseUrl: "https://api.moonshot.cn/v1",
|
|
91
|
-
signupUrl: "https://platform.moonshot.cn",
|
|
92
|
-
modelSource: "api-list",
|
|
93
|
-
supported: true
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
id: "moonshot-global",
|
|
97
|
-
name: "Moonshot Global (kimi.ai)",
|
|
98
|
-
authType: "api",
|
|
99
|
-
npm: "@ai-sdk/openai-compatible",
|
|
100
|
-
defaultBaseUrl: "https://api.moonshot.ai/v1",
|
|
101
|
-
signupUrl: "https://platform.kimi.ai",
|
|
102
|
-
modelSource: "api-list",
|
|
103
|
-
supported: true
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
id: "kimi-code",
|
|
107
|
-
name: "Kimi Code (Subscription Required)",
|
|
108
|
-
authType: "api",
|
|
109
|
-
npm: "@ai-sdk/openai-compatible",
|
|
110
|
-
defaultBaseUrl: "https://api.kimi.com/coding/v1",
|
|
111
|
-
modelSource: "static-seed",
|
|
112
|
-
staticModels: [
|
|
113
|
-
{ id: "kimi-for-coding", name: "Kimi Code K2.7 (Unified)" }
|
|
114
|
-
],
|
|
115
|
-
supported: true
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
id: "xai",
|
|
119
|
-
name: "xAI",
|
|
120
|
-
authType: "api",
|
|
121
|
-
npm: "@ai-sdk/xai",
|
|
122
|
-
defaultBaseUrl: "https://api.x.ai/v1",
|
|
123
|
-
signupUrl: "https://console.x.ai",
|
|
124
|
-
modelSource: "api-list",
|
|
125
|
-
supported: true
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
id: "perplexity",
|
|
129
|
-
name: "Perplexity",
|
|
130
|
-
authType: "api",
|
|
131
|
-
npm: "@ai-sdk/perplexity",
|
|
132
|
-
defaultBaseUrl: "https://api.perplexity.ai",
|
|
133
|
-
signupUrl: "https://www.perplexity.ai/settings/api",
|
|
134
|
-
modelSource: "api-list",
|
|
135
|
-
supported: true
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
id: "cohere",
|
|
139
|
-
name: "Cohere",
|
|
140
|
-
authType: "api",
|
|
141
|
-
npm: "@ai-sdk/cohere",
|
|
142
|
-
defaultBaseUrl: "https://api.cohere.com/compatibility/v1",
|
|
143
|
-
signupUrl: "https://dashboard.cohere.com/api-keys",
|
|
144
|
-
modelSource: "api-list",
|
|
145
|
-
supported: true
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
id: "openai",
|
|
149
|
-
name: "OpenAI",
|
|
150
|
-
authType: "api",
|
|
151
|
-
npm: "@ai-sdk/openai",
|
|
152
|
-
defaultBaseUrl: "https://api.openai.com/v1",
|
|
153
|
-
signupUrl: "https://platform.openai.com/api-keys",
|
|
154
|
-
modelSource: "api-list",
|
|
155
|
-
supported: true
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
id: "google",
|
|
159
|
-
name: "Google Gemini",
|
|
160
|
-
authType: "api",
|
|
161
|
-
npm: "@ai-sdk/google",
|
|
162
|
-
defaultBaseUrl: "https://generativelanguage.googleapis.com/v1beta/openai",
|
|
163
|
-
signupUrl: "https://aistudio.google.com/apikey",
|
|
164
|
-
modelSource: "api-list",
|
|
165
|
-
supported: true
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
id: "alibaba",
|
|
169
|
-
name: "Alibaba DashScope",
|
|
170
|
-
authType: "api",
|
|
171
|
-
npm: "@ai-sdk/alibaba",
|
|
172
|
-
defaultBaseUrl: "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
173
|
-
signupUrl: "https://dashscope.console.aliyun.com/apiKey",
|
|
174
|
-
modelSource: "api-list",
|
|
175
|
-
supported: true
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
id: "openrouter",
|
|
179
|
-
name: "OpenRouter",
|
|
180
|
-
authType: "api",
|
|
181
|
-
npm: "@openrouter/ai-sdk-provider",
|
|
182
|
-
defaultBaseUrl: "https://openrouter.ai/api/v1",
|
|
183
|
-
signupUrl: "https://openrouter.ai/keys",
|
|
184
|
-
modelSource: "api-list",
|
|
185
|
-
supported: true
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
id: "kilo",
|
|
189
|
-
name: "Kilo Code",
|
|
190
|
-
authType: "api",
|
|
191
|
-
npm: "@ai-sdk/openai-compatible",
|
|
192
|
-
defaultBaseUrl: "https://api.kilo.ai/api/gateway",
|
|
193
|
-
modelsPath: "/models",
|
|
194
|
-
signupUrl: "https://app.kilo.ai",
|
|
195
|
-
apiKeyOptional: true,
|
|
196
|
-
anonymousFreeModels: true,
|
|
197
|
-
modelSource: "api-list",
|
|
198
|
-
supported: true
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
id: "ollama",
|
|
202
|
-
name: "Ollama",
|
|
203
|
-
authType: "api",
|
|
204
|
-
npm: "@ai-sdk/openai-compatible",
|
|
205
|
-
defaultBaseUrl: "http://127.0.0.1:11434/v1",
|
|
206
|
-
urlPrompt: "Ollama API Base URL:",
|
|
207
|
-
apiKeyOptional: true,
|
|
208
|
-
modelSource: "api-list",
|
|
209
|
-
supported: true
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
id: "lmstudio",
|
|
213
|
-
name: "LM Studio",
|
|
214
|
-
authType: "api",
|
|
215
|
-
npm: "@ai-sdk/openai-compatible",
|
|
216
|
-
defaultBaseUrl: "http://127.0.0.1:1234/v1",
|
|
217
|
-
urlPrompt: "LM Studio API Base URL:",
|
|
218
|
-
apiKeyOptional: true,
|
|
219
|
-
modelSource: "api-list",
|
|
220
|
-
supported: true
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
id: "venice",
|
|
224
|
-
name: "Venice AI",
|
|
225
|
-
authType: "api",
|
|
226
|
-
npm: "venice-ai-sdk-provider",
|
|
227
|
-
defaultBaseUrl: "https://api.venice.ai/api/v1",
|
|
228
|
-
signupUrl: "https://venice.ai/settings/api",
|
|
229
|
-
modelSource: "api-list",
|
|
230
|
-
supported: true
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
id: "anthropic",
|
|
234
|
-
name: "Anthropic",
|
|
235
|
-
authType: "api",
|
|
236
|
-
npm: "@ai-sdk/anthropic",
|
|
237
|
-
defaultBaseUrl: "https://api.anthropic.com",
|
|
238
|
-
signupUrl: "https://console.anthropic.com/settings/keys",
|
|
239
|
-
modelSource: "api-list",
|
|
240
|
-
supported: true
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
id: "bedrock",
|
|
244
|
-
name: "Amazon Bedrock",
|
|
245
|
-
authType: "api",
|
|
246
|
-
npm: "@ai-sdk/amazon-bedrock",
|
|
247
|
-
modelSource: "manual-only",
|
|
248
|
-
supported: false,
|
|
249
|
-
unsupportedReason: "Requires AWS credentials \u2014 use anygate providers import from OpenCode for now."
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
id: "azure",
|
|
253
|
-
name: "Azure OpenAI",
|
|
254
|
-
authType: "api",
|
|
255
|
-
npm: "@ai-sdk/azure",
|
|
256
|
-
modelSource: "manual-only",
|
|
257
|
-
supported: false,
|
|
258
|
-
unsupportedReason: "Requires Azure deployment URLs \u2014 use anygate providers import from OpenCode for now."
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
id: "vertex",
|
|
262
|
-
name: "Google Vertex AI",
|
|
263
|
-
authType: "none",
|
|
264
|
-
npm: "@ai-sdk/google-vertex",
|
|
265
|
-
modelSource: "manual-only",
|
|
266
|
-
supported: false,
|
|
267
|
-
unsupportedReason: "Uses gcloud Application Default Credentials \u2014 not supported via API key import."
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
id: "opencode-cloud",
|
|
271
|
-
name: "OpenCode Zen / Go",
|
|
272
|
-
authType: "api",
|
|
273
|
-
npm: "@ai-sdk/openai-compatible",
|
|
274
|
-
signupUrl: "https://opencode.ai/auth",
|
|
275
|
-
modelSource: "zen-go-api",
|
|
276
|
-
supported: true
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
id: "zen",
|
|
280
|
-
name: "OpenCode Zen",
|
|
281
|
-
authType: "api",
|
|
282
|
-
npm: "@ai-sdk/openai-compatible",
|
|
283
|
-
signupUrl: "https://opencode.ai/auth",
|
|
284
|
-
modelSource: "zen-go-api",
|
|
285
|
-
supported: true,
|
|
286
|
-
addable: false
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
id: "go",
|
|
290
|
-
name: "OpenCode Go",
|
|
291
|
-
authType: "api",
|
|
292
|
-
npm: "@ai-sdk/openai-compatible",
|
|
293
|
-
signupUrl: "https://opencode.ai/auth",
|
|
294
|
-
modelSource: "zen-go-api",
|
|
295
|
-
supported: true,
|
|
296
|
-
addable: false
|
|
297
|
-
},
|
|
298
|
-
// Subscription OAuth providers — Authorization Code + PKCE (browser redirect)
|
|
299
|
-
// ⚠️ These extract tokens from paid subscriptions. Account risk — see plan docs.
|
|
300
|
-
{
|
|
301
|
-
id: "claude-code",
|
|
302
|
-
name: "Claude Code (Anthropic subscription)",
|
|
303
|
-
authType: "oauth",
|
|
304
|
-
npm: "@ai-sdk/anthropic",
|
|
305
|
-
defaultBaseUrl: "https://api.anthropic.com",
|
|
306
|
-
signupUrl: "https://claude.ai",
|
|
307
|
-
modelSource: "api-list",
|
|
308
|
-
supported: true,
|
|
309
|
-
hidden: true,
|
|
310
|
-
subscriptionRisk: true
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
id: "antigravity",
|
|
314
|
-
name: "Antigravity (Google Cloud Code Assist)",
|
|
315
|
-
authType: "oauth",
|
|
316
|
-
npm: "@ai-sdk/openai-compatible",
|
|
317
|
-
signupUrl: "https://antigravity.google",
|
|
318
|
-
modelSource: "api-list",
|
|
319
|
-
supported: true,
|
|
320
|
-
hidden: true,
|
|
321
|
-
subscriptionRisk: true
|
|
322
|
-
},
|
|
323
|
-
// OAuth-gated subscription providers — device code or broker sign-in
|
|
324
|
-
{
|
|
325
|
-
id: "xai-oauth",
|
|
326
|
-
name: "xAI Grok (SuperGrok)",
|
|
327
|
-
authType: "oauth",
|
|
328
|
-
npm: "@ai-sdk/xai",
|
|
329
|
-
signupUrl: "https://x.ai",
|
|
330
|
-
modelSource: "api-list",
|
|
331
|
-
supported: true
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
id: "openai-oauth",
|
|
335
|
-
name: "OpenAI (ChatGPT)",
|
|
336
|
-
authType: "oauth",
|
|
337
|
-
npm: "@ai-sdk/openai",
|
|
338
|
-
signupUrl: "https://chatgpt.com",
|
|
339
|
-
modelSource: "api-list",
|
|
340
|
-
supported: true
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
id: "github-copilot",
|
|
344
|
-
name: "GitHub Copilot",
|
|
345
|
-
authType: "oauth",
|
|
346
|
-
npm: "@ai-sdk/openai-compatible",
|
|
347
|
-
defaultBaseUrl: "https://api.githubcopilot.com",
|
|
348
|
-
modelsPath: "/models",
|
|
349
|
-
signupUrl: "https://github.com/features/copilot",
|
|
350
|
-
modelSource: "api-list",
|
|
351
|
-
headers: { "Editor-Version": "vscode/1.85.1" },
|
|
352
|
-
supported: true
|
|
353
|
-
}
|
|
354
|
-
];
|
|
355
|
-
function listSupportedTemplates() {
|
|
356
|
-
return PROVIDER_TEMPLATES.filter((t) => t.supported && t.authType === "api" && t.addable !== false && !t.hidden).sort((a, b) => a.name.localeCompare(b.name));
|
|
357
|
-
}
|
|
358
|
-
function listAddableTemplates(configuredIds = []) {
|
|
359
|
-
const configured = new Set(configuredIds);
|
|
360
|
-
return listSupportedTemplates().filter((t) => {
|
|
361
|
-
if (t.id === "opencode-cloud") {
|
|
362
|
-
return !configured.has("zen") && !configured.has("go");
|
|
363
|
-
}
|
|
364
|
-
return !configured.has(t.id);
|
|
365
|
-
});
|
|
366
|
-
}
|
|
367
|
-
function listVisibleOAuthTemplates(configuredIds = []) {
|
|
368
|
-
const configured = new Set(configuredIds);
|
|
369
|
-
return PROVIDER_TEMPLATES.filter((t) => t.authType === "oauth" && t.supported && t.addable !== false && !t.hidden && !configured.has(t.id)).sort((a, b) => a.name.localeCompare(b.name));
|
|
370
|
-
}
|
|
371
|
-
function getTemplateById(id) {
|
|
372
|
-
return PROVIDER_TEMPLATES.find((t) => t.id === id);
|
|
373
|
-
}
|
|
374
|
-
function filterTemplates(templates, query) {
|
|
375
|
-
const q = query.trim().toLowerCase();
|
|
376
|
-
if (!q) return templates;
|
|
377
|
-
return templates.filter(
|
|
378
|
-
(t) => t.id.toLowerCase().includes(q) || t.name.toLowerCase().includes(q) || t.npm.toLowerCase().includes(q)
|
|
379
|
-
);
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
export {
|
|
383
|
-
PROVIDER_TEMPLATES,
|
|
384
|
-
listSupportedTemplates,
|
|
385
|
-
listAddableTemplates,
|
|
386
|
-
listVisibleOAuthTemplates,
|
|
387
|
-
getTemplateById,
|
|
388
|
-
filterTemplates
|
|
389
|
-
};
|
|
390
|
-
//# sourceMappingURL=chunk-VKROC37K.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/providers/provider-templates.ts"],"sourcesContent":["// src/provider-templates.ts — builtin provider templates for anygate providers add\n\nexport type ProviderAuthType = 'api' | 'oauth' | 'none';\nexport type ProviderModelSource = 'api-list' | 'static-seed' | 'manual-only' | 'zen-go-api';\n\nexport interface ProviderTemplate {\n id: string;\n name: string;\n authType: ProviderAuthType;\n npm: string;\n defaultBaseUrl?: string;\n modelsPath?: string;\n signupUrl?: string;\n urlPlaceholder?: string;\n urlPrompt?: string;\n apiKeyOptional?: boolean;\n anonymousFreeModels?: boolean;\n /** Static headers this provider requires on every request (model listing and runtime). */\n headers?: Record<string, string>;\n modelSource: ProviderModelSource;\n staticModels?: Array<{ id: string; name: string }>;\n supported: boolean;\n addable?: boolean;\n hidden?: boolean;\n unsupportedReason?: string;\n /** True for providers that extract subscription tokens — carries account risk. */\n subscriptionRisk?: boolean;\n}\n\n/** Templates aligned with SDK packages shipped in package.json (API-key providers first). */\nexport const PROVIDER_TEMPLATES: ProviderTemplate[] = [\n {\n id: 'groq',\n name: 'Groq',\n authType: 'api',\n npm: '@ai-sdk/groq',\n defaultBaseUrl: 'https://api.groq.com/openai/v1',\n signupUrl: 'https://console.groq.com/keys',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'nvidia',\n name: 'Nvidia',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n defaultBaseUrl: 'https://integrate.api.nvidia.com/v1',\n signupUrl: 'https://build.nvidia.com',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'mistral',\n name: 'Mistral',\n authType: 'api',\n npm: '@ai-sdk/mistral',\n defaultBaseUrl: 'https://api.mistral.ai/v1',\n signupUrl: 'https://console.mistral.ai/api-keys',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'togetherai',\n name: 'Together AI',\n authType: 'api',\n npm: '@ai-sdk/togetherai',\n defaultBaseUrl: 'https://api.together.xyz/v1',\n signupUrl: 'https://api.together.xyz/settings/api-keys',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'cerebras',\n name: 'Cerebras',\n authType: 'api',\n npm: '@ai-sdk/cerebras',\n defaultBaseUrl: 'https://api.cerebras.ai/v1',\n signupUrl: 'https://cloud.cerebras.ai',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'deepinfra',\n name: 'DeepInfra',\n authType: 'api',\n npm: '@ai-sdk/deepinfra',\n defaultBaseUrl: 'https://api.deepinfra.com/v1/openai',\n signupUrl: 'https://deepinfra.com/dash/api_keys',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'deepseek',\n name: 'DeepSeek',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n defaultBaseUrl: 'https://api.deepseek.com/v1',\n signupUrl: 'https://platform.deepseek.com',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'zhipu',\n name: 'Zhipu AI (GLM)',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n defaultBaseUrl: 'https://open.bigmodel.cn/api/paas/v4',\n signupUrl: 'https://open.bigmodel.cn',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'moonshot',\n name: 'Moonshot (Kimi)',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n defaultBaseUrl: 'https://api.moonshot.cn/v1',\n signupUrl: 'https://platform.moonshot.cn',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'moonshot-global',\n name: 'Moonshot Global (kimi.ai)',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n defaultBaseUrl: 'https://api.moonshot.ai/v1',\n signupUrl: 'https://platform.kimi.ai',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'kimi-code',\n name: 'Kimi Code (Subscription Required)',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n defaultBaseUrl: 'https://api.kimi.com/coding/v1',\n modelSource: 'static-seed',\n staticModels: [\n { id: 'kimi-for-coding', name: 'Kimi Code K2.7 (Unified)' }\n ],\n supported: true,\n },\n {\n id: 'xai',\n name: 'xAI',\n authType: 'api',\n npm: '@ai-sdk/xai',\n defaultBaseUrl: 'https://api.x.ai/v1',\n signupUrl: 'https://console.x.ai',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'perplexity',\n name: 'Perplexity',\n authType: 'api',\n npm: '@ai-sdk/perplexity',\n defaultBaseUrl: 'https://api.perplexity.ai',\n signupUrl: 'https://www.perplexity.ai/settings/api',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'cohere',\n name: 'Cohere',\n authType: 'api',\n npm: '@ai-sdk/cohere',\n defaultBaseUrl: 'https://api.cohere.com/compatibility/v1',\n signupUrl: 'https://dashboard.cohere.com/api-keys',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'openai',\n name: 'OpenAI',\n authType: 'api',\n npm: '@ai-sdk/openai',\n defaultBaseUrl: 'https://api.openai.com/v1',\n signupUrl: 'https://platform.openai.com/api-keys',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'google',\n name: 'Google Gemini',\n authType: 'api',\n npm: '@ai-sdk/google',\n defaultBaseUrl: 'https://generativelanguage.googleapis.com/v1beta/openai',\n signupUrl: 'https://aistudio.google.com/apikey',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'alibaba',\n name: 'Alibaba DashScope',\n authType: 'api',\n npm: '@ai-sdk/alibaba',\n defaultBaseUrl: 'https://dashscope.aliyuncs.com/compatible-mode/v1',\n signupUrl: 'https://dashscope.console.aliyun.com/apiKey',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'openrouter',\n name: 'OpenRouter',\n authType: 'api',\n npm: '@openrouter/ai-sdk-provider',\n defaultBaseUrl: 'https://openrouter.ai/api/v1',\n signupUrl: 'https://openrouter.ai/keys',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'kilo',\n name: 'Kilo Code',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n defaultBaseUrl: 'https://api.kilo.ai/api/gateway',\n modelsPath: '/models',\n signupUrl: 'https://app.kilo.ai',\n apiKeyOptional: true,\n anonymousFreeModels: true,\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'ollama',\n name: 'Ollama',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n defaultBaseUrl: 'http://127.0.0.1:11434/v1',\n urlPrompt: 'Ollama API Base URL:',\n apiKeyOptional: true,\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'lmstudio',\n name: 'LM Studio',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n defaultBaseUrl: 'http://127.0.0.1:1234/v1',\n urlPrompt: 'LM Studio API Base URL:',\n apiKeyOptional: true,\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'venice',\n name: 'Venice AI',\n authType: 'api',\n npm: 'venice-ai-sdk-provider',\n defaultBaseUrl: 'https://api.venice.ai/api/v1',\n signupUrl: 'https://venice.ai/settings/api',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'anthropic',\n name: 'Anthropic',\n authType: 'api',\n npm: '@ai-sdk/anthropic',\n defaultBaseUrl: 'https://api.anthropic.com',\n signupUrl: 'https://console.anthropic.com/settings/keys',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'bedrock',\n name: 'Amazon Bedrock',\n authType: 'api',\n npm: '@ai-sdk/amazon-bedrock',\n modelSource: 'manual-only',\n supported: false,\n unsupportedReason: 'Requires AWS credentials — use anygate providers import from OpenCode for now.',\n },\n {\n id: 'azure',\n name: 'Azure OpenAI',\n authType: 'api',\n npm: '@ai-sdk/azure',\n modelSource: 'manual-only',\n supported: false,\n unsupportedReason: 'Requires Azure deployment URLs — use anygate providers import from OpenCode for now.',\n },\n {\n id: 'vertex',\n name: 'Google Vertex AI',\n authType: 'none',\n npm: '@ai-sdk/google-vertex',\n modelSource: 'manual-only',\n supported: false,\n unsupportedReason: 'Uses gcloud Application Default Credentials — not supported via API key import.',\n },\n {\n id: 'opencode-cloud',\n name: 'OpenCode Zen / Go',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n signupUrl: 'https://opencode.ai/auth',\n modelSource: 'zen-go-api',\n supported: true,\n },\n {\n id: 'zen',\n name: 'OpenCode Zen',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n signupUrl: 'https://opencode.ai/auth',\n modelSource: 'zen-go-api',\n supported: true,\n addable: false,\n },\n {\n id: 'go',\n name: 'OpenCode Go',\n authType: 'api',\n npm: '@ai-sdk/openai-compatible',\n signupUrl: 'https://opencode.ai/auth',\n modelSource: 'zen-go-api',\n supported: true,\n addable: false,\n },\n // Subscription OAuth providers — Authorization Code + PKCE (browser redirect)\n // ⚠️ These extract tokens from paid subscriptions. Account risk — see plan docs.\n {\n id: 'claude-code',\n name: 'Claude Code (Anthropic subscription)',\n authType: 'oauth',\n npm: '@ai-sdk/anthropic',\n defaultBaseUrl: 'https://api.anthropic.com',\n signupUrl: 'https://claude.ai',\n modelSource: 'api-list',\n supported: true,\n hidden: true,\n subscriptionRisk: true,\n },\n {\n id: 'antigravity',\n name: 'Antigravity (Google Cloud Code Assist)',\n authType: 'oauth',\n npm: '@ai-sdk/openai-compatible',\n signupUrl: 'https://antigravity.google',\n modelSource: 'api-list',\n supported: true,\n hidden: true,\n subscriptionRisk: true,\n },\n // OAuth-gated subscription providers — device code or broker sign-in\n {\n id: 'xai-oauth',\n name: 'xAI Grok (SuperGrok)',\n authType: 'oauth',\n npm: '@ai-sdk/xai',\n signupUrl: 'https://x.ai',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'openai-oauth',\n name: 'OpenAI (ChatGPT)',\n authType: 'oauth',\n npm: '@ai-sdk/openai',\n signupUrl: 'https://chatgpt.com',\n modelSource: 'api-list',\n supported: true,\n },\n {\n id: 'github-copilot',\n name: 'GitHub Copilot',\n authType: 'oauth',\n npm: '@ai-sdk/openai-compatible',\n defaultBaseUrl: 'https://api.githubcopilot.com',\n modelsPath: '/models',\n signupUrl: 'https://github.com/features/copilot',\n modelSource: 'api-list',\n headers: { 'Editor-Version': 'vscode/1.85.1' },\n supported: true,\n },\n];\n\nexport function listSupportedTemplates(): ProviderTemplate[] {\n return PROVIDER_TEMPLATES\n .filter(t => t.supported && t.authType === 'api' && t.addable !== false && !t.hidden)\n .sort((a, b) => a.name.localeCompare(b.name));\n}\n\n/** Supported templates not yet present in the user's registry. */\nexport function listAddableTemplates(configuredIds: Iterable<string> = []): ProviderTemplate[] {\n const configured = new Set(configuredIds);\n return listSupportedTemplates().filter(t => {\n if (t.id === 'opencode-cloud') {\n return !configured.has('zen') && !configured.has('go');\n }\n return !configured.has(t.id);\n });\n}\n\nexport function listVisibleOAuthTemplates(configuredIds: Iterable<string> = []): ProviderTemplate[] {\n const configured = new Set(configuredIds);\n return PROVIDER_TEMPLATES\n .filter(t => t.authType === 'oauth' && t.supported && t.addable !== false && !t.hidden && !configured.has(t.id))\n .sort((a, b) => a.name.localeCompare(b.name));\n}\n\nexport function getTemplateById(id: string): ProviderTemplate | undefined {\n return PROVIDER_TEMPLATES.find(t => t.id === id);\n}\n\nexport function filterTemplates(templates: ProviderTemplate[], query: string): ProviderTemplate[] {\n const q = query.trim().toLowerCase();\n if (!q) return templates;\n return templates.filter(\n t =>\n t.id.toLowerCase().includes(q) ||\n t.name.toLowerCase().includes(q) ||\n t.npm.toLowerCase().includes(q),\n );\n}\n"],"mappings":";;;AA8BO,IAAM,qBAAyC;AAAA,EACpD;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IACV,KAAK;AAAA,IACL,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,aAAa;AAAA,IACb,WAAW;AAAA,EACb;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IACV,KAAK;AAAA,IACL,gBAAgB;AAAA,IAChB,WAAW;AAAA,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