hyperclaw 5.0.1 → 5.0.2

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 (137) hide show
  1. package/LICENSE +2 -1
  2. package/README.md +247 -32
  3. package/dist/a2ui-protocol-Gzm29Gaw.js +75 -0
  4. package/dist/agents-routing-Biy5ew4a.js +4 -0
  5. package/dist/agents-routing-CL3HQNoM.js +327 -0
  6. package/dist/api-keys-guide-ChbThbPj.js +149 -0
  7. package/dist/audit-NPIMmOSq.js +441 -0
  8. package/dist/bounty-tools-BUqUKjt0.js +211 -0
  9. package/dist/browser-tools-CxJY6pAn.js +5 -0
  10. package/dist/browser-tools-JZ9ji6AW.js +179 -0
  11. package/dist/chat-qVuqhlPu.js +258 -0
  12. package/dist/claw-tasks-B-8RRMdq.js +80 -0
  13. package/dist/connector-1x1rCBHz.js +162 -0
  14. package/dist/connector-B4jeCULG.js +305 -0
  15. package/dist/connector-B7qngfkT.js +286 -0
  16. package/dist/connector-B8BK0GBo.js +531 -0
  17. package/dist/connector-BE9eJs8-.js +182 -0
  18. package/dist/connector-BEe-DTGQ.js +189 -0
  19. package/dist/connector-BU7p5ZgB.js +167 -0
  20. package/dist/connector-BUzzq7Ij.js +568 -0
  21. package/dist/connector-BpDqLgnW.js +419 -0
  22. package/dist/connector-BpW88ut2.js +189 -0
  23. package/dist/connector-Bxv-gy8U.js +167 -0
  24. package/dist/connector-Bz14zcJv.js +213 -0
  25. package/dist/connector-C1zP5-5q.js +85 -0
  26. package/dist/connector-CAcpcovF.js +498 -0
  27. package/dist/connector-CJgVjS58.js +181 -0
  28. package/dist/connector-Cf53D6qV.js +425 -0
  29. package/dist/connector-CyHmlbNz.js +508 -0
  30. package/dist/connector-D22mJGVu.js +340 -0
  31. package/dist/connector-D6RtMmlL.js +225 -0
  32. package/dist/connector-D9EnT8A4.js +280 -0
  33. package/dist/connector-DNDwIh37.js +239 -0
  34. package/dist/connector-Di27MeO4.js +350 -0
  35. package/dist/connector-Do0BPiHt.js +194 -0
  36. package/dist/connector-DvLwOfJy.js +192 -0
  37. package/dist/connector-DvU83NSq.js +181 -0
  38. package/dist/connector-DxskpDc_.js +173 -0
  39. package/dist/connector-byy3eISx.js +552 -0
  40. package/dist/connector-vV89hsyd.js +218 -0
  41. package/dist/cost-tracker-fnaj_6M9.js +103 -0
  42. package/dist/credentials-store-BxijEirw.js +77 -0
  43. package/dist/credentials-store-CPkVO6-z.js +4 -0
  44. package/dist/cron-tasks-L0mz1yyU.js +82 -0
  45. package/dist/daemon-CNyunwkR.js +5 -0
  46. package/dist/daemon-CindY8OK.js +318 -0
  47. package/dist/delivery-DgiZcJBp.js +4 -0
  48. package/dist/delivery-otAU4alM.js +95 -0
  49. package/dist/destructive-gate-CA0DtA5K.js +101 -0
  50. package/dist/developer-keys-Cnd1kswV.js +127 -0
  51. package/dist/developer-keys-DENo3ZA6.js +8 -0
  52. package/dist/doctor-Dgjoc3DG.js +230 -0
  53. package/dist/doctor-RwsOhtAl.js +6 -0
  54. package/dist/engine-D_VeoZHw.js +305 -0
  55. package/dist/engine-JjRnhlsE.js +7 -0
  56. package/dist/env-resolve-BFJXWl94.js +115 -0
  57. package/dist/env-resolve-bDYssfih.js +10 -0
  58. package/dist/extraction-tools-DbxnxIco.js +5 -0
  59. package/dist/extraction-tools-Dg7AHS35.js +91 -0
  60. package/dist/form_data-CGAy4HE0.js +8657 -0
  61. package/dist/gmail-watch-setup-C3uSWznp.js +40 -0
  62. package/dist/health-DUjluWHQ.js +6 -0
  63. package/dist/health-DVfkpUQW.js +152 -0
  64. package/dist/heartbeat-engine-CrgL4mrP.js +83 -0
  65. package/dist/hub-BO6bj8Yj.js +515 -0
  66. package/dist/hub-Bu52YZqW.js +6 -0
  67. package/dist/hyperclawbot-BrcoYLOp.js +505 -0
  68. package/dist/inference-DHR82Gh7.js +6 -0
  69. package/dist/inference-DhA8jpfH.js +2692 -0
  70. package/dist/knowledge-graph-BrYpSgxW.js +131 -0
  71. package/dist/loader-9JqY6Nlq.js +4 -0
  72. package/dist/loader-Cjdd1kw4.js +400 -0
  73. package/dist/logger-DCT2l9GV.js +83 -0
  74. package/dist/manager-3cq3DydI.js +4 -0
  75. package/dist/manager-BUrFrPuq.js +117 -0
  76. package/dist/manager-Bi9UYyVR.js +105 -0
  77. package/dist/manager-Biz9ixWJ.js +40 -0
  78. package/dist/manager-CBUHJiY7.js +6 -0
  79. package/dist/manager-CVLLaKmq.js +218 -0
  80. package/dist/mcp-CUoTCMw-.js +139 -0
  81. package/dist/mcp-loader-BIz-450x.js +94 -0
  82. package/dist/memory-OL77OMOr.js +270 -0
  83. package/dist/memory-auto-D-L2q21G.js +306 -0
  84. package/dist/memory-auto-DTcy5VBy.js +5 -0
  85. package/dist/memory-gUi4VaIf.js +4 -0
  86. package/dist/memory-integration-B8RSN4pr.js +91 -0
  87. package/dist/moltbook-B-40gQOL.js +81 -0
  88. package/dist/node-TWxRm84k.js +222 -0
  89. package/dist/nodes-registry-DKRtsbNg.js +52 -0
  90. package/dist/oauth-flow-JCfporKq.js +150 -0
  91. package/dist/oauth-provider-4R0EJlsT.js +110 -0
  92. package/dist/observability-CDZmeHfa.js +89 -0
  93. package/dist/onboard-BVOtKQdh.js +3641 -0
  94. package/dist/onboard-CGNIw27w.js +11 -0
  95. package/dist/orchestrator-CcKx1Ovk.js +189 -0
  96. package/dist/orchestrator-DcFfDLTX.js +6 -0
  97. package/dist/osint-B6BZKQAD.js +277 -0
  98. package/dist/pairing-B6RArWhD.js +196 -0
  99. package/dist/pairing-BsQ08DLq.js +4 -0
  100. package/dist/pc-access-B0KocJNe.js +819 -0
  101. package/dist/pc-access-DkzmugZ7.js +8 -0
  102. package/dist/pending-approval-C_HkX1QL.js +22 -0
  103. package/dist/providers-DxiamZSL.js +5 -0
  104. package/dist/providers-Dy15rDb7.js +657 -0
  105. package/dist/reminders-store-CzUY0zYx.js +58 -0
  106. package/dist/renderer-ANNfXsHn.js +225 -0
  107. package/dist/rules-BSQwwAYC.js +103 -0
  108. package/dist/run-main.js +112 -117
  109. package/dist/runner-BHRSOPEU.js +1271 -0
  110. package/dist/security--oQObeJO.js +4 -0
  111. package/dist/security-wBOg0TA8.js +73 -0
  112. package/dist/server-CbTTpB5m.js +1255 -0
  113. package/dist/server-DP_bPzvI.js +4 -0
  114. package/dist/session-store-B09r5HgB.js +5 -0
  115. package/dist/session-store-DCTQIVur.js +113 -0
  116. package/dist/sessions-tools-BdlN6Pb6.js +95 -0
  117. package/dist/sessions-tools-JVLDKSJ_.js +5 -0
  118. package/dist/skill-loader-B5oeliGu.js +7 -0
  119. package/dist/skill-loader-Wf3brNOj.js +160 -0
  120. package/dist/skill-runtime-BGlvly2s.js +102 -0
  121. package/dist/skill-runtime-DhL2T76p.js +5 -0
  122. package/dist/src-BbPa6Q8p.js +63 -0
  123. package/dist/src-BeXtfkK2.js +458 -0
  124. package/dist/src-CGQjRI4N.js +20 -0
  125. package/dist/sub-agent-tools-CmE345s_.js +39 -0
  126. package/dist/theme-D0smfC_l.js +8 -0
  127. package/dist/theme-DajRRZbA.js +180 -0
  128. package/dist/tool-policy-DgNqFWYn.js +189 -0
  129. package/dist/tts-elevenlabs-JeFaGNJU.js +61 -0
  130. package/dist/update-check-BVEqHhFY.js +83 -0
  131. package/dist/vision-fky3elEo.js +121 -0
  132. package/dist/vision-tools-C8B3776g.js +5 -0
  133. package/dist/vision-tools-dwn9p4el.js +51 -0
  134. package/dist/voice-transcription-B6RtplmN.js +138 -0
  135. package/dist/website-watch-tools-B-jRAeTe.js +139 -0
  136. package/dist/website-watch-tools-BC9xAL67.js +5 -0
  137. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ const require_chunk = require('./chunk-jS-bbMI5.js');
2
+ require('./paths-AIyBxIzm.js');
3
+ require('./src-CGQjRI4N.js');
4
+ const require_pc_access = require('./pc-access-B0KocJNe.js');
5
+
6
+ require_pc_access.init_pc_access();
7
+ exports.getPCAccessTools = require_pc_access.getPCAccessTools;
8
+ exports.loadPCAccessConfig = require_pc_access.loadPCAccessConfig;
@@ -0,0 +1,22 @@
1
+ const require_chunk = require('./chunk-jS-bbMI5.js');
2
+
3
+ //#region src/infra/pending-approval.ts
4
+ function getPending(sessionId) {
5
+ return pending.get(sessionId);
6
+ }
7
+ function setPending(sessionId, action) {
8
+ pending.set(sessionId, action);
9
+ }
10
+ function clearPending(sessionId) {
11
+ return pending.delete(sessionId);
12
+ }
13
+ var pending;
14
+ var init_pending_approval = require_chunk.__esm({ "src/infra/pending-approval.ts"() {
15
+ pending = /* @__PURE__ */ new Map();
16
+ } });
17
+
18
+ //#endregion
19
+ init_pending_approval();
20
+ exports.clearPending = clearPending;
21
+ exports.getPending = getPending;
22
+ exports.setPending = setPending;
@@ -0,0 +1,5 @@
1
+ const require_chunk = require('./chunk-jS-bbMI5.js');
2
+ const require_providers = require('./providers-Dy15rDb7.js');
3
+
4
+ require_providers.init_providers();
5
+ exports.getProvider = require_providers.getProvider;
@@ -0,0 +1,657 @@
1
+ const require_chunk = require('./chunk-jS-bbMI5.js');
2
+ const chalk = require_chunk.__toESM(require("chalk"));
3
+
4
+ //#region src/cli/providers.ts
5
+ function getProvider(id) {
6
+ return PROVIDERS.find((p) => p.id === id);
7
+ }
8
+ /** Providers that support voice note transcription. Shown in wizard. */
9
+ function getTranscriptionProviders() {
10
+ return PROVIDERS.filter((p) => p.supportsTranscription);
11
+ }
12
+ function formatModel(m) {
13
+ const badges = [];
14
+ if (m.flagship) badges.push(chalk.default.yellow("★"));
15
+ if (m.reasoning) badges.push(chalk.default.magenta("reasoning"));
16
+ if (m.fast) badges.push(chalk.default.green("fast"));
17
+ if (m.vision) badges.push(chalk.default.cyan("vision"));
18
+ const ctx = m.contextK >= 1e3 ? `${m.contextK}K` : `${m.contextK}K`;
19
+ return `${badges.join(" ")} ${m.name} ${chalk.default.gray(`ctx ${ctx}`)}`.trim();
20
+ }
21
+ var PROVIDERS;
22
+ var init_providers = require_chunk.__esm({ "src/cli/providers.ts"() {
23
+ PROVIDERS = [
24
+ {
25
+ id: "anthropic",
26
+ displayName: "🎭 Anthropic (API Key)",
27
+ authType: "api_key",
28
+ authLabel: "Anthropic API Key",
29
+ authHint: "console.anthropic.com → API Keys",
30
+ models: [
31
+ {
32
+ id: "claude-opus-4-5",
33
+ name: "Claude Opus 4.5",
34
+ contextK: 200,
35
+ reasoning: true,
36
+ flagship: true
37
+ },
38
+ {
39
+ id: "claude-sonnet-4-5",
40
+ name: "Claude Sonnet 4.5",
41
+ contextK: 200,
42
+ reasoning: true
43
+ },
44
+ {
45
+ id: "claude-haiku-4-5",
46
+ name: "Claude Haiku 4.5",
47
+ contextK: 200,
48
+ fast: true
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ id: "anthropic-oauth",
54
+ displayName: "🎭 Anthropic (OAuth — Claude Code/Max)",
55
+ authType: "oauth",
56
+ authLabel: "Claude OAuth credentials",
57
+ authHint: "Reuses ~/.claude/.credentials.json (Claude Code CLI) or macOS Keychain \"Claude Code-credentials\"",
58
+ models: [{
59
+ id: "claude-opus-4-5",
60
+ name: "Claude Opus 4.5",
61
+ contextK: 200,
62
+ reasoning: true,
63
+ flagship: true
64
+ }, {
65
+ id: "claude-sonnet-4-5",
66
+ name: "Claude Sonnet 4.5",
67
+ contextK: 200,
68
+ reasoning: true
69
+ }]
70
+ },
71
+ {
72
+ id: "anthropic-setup-token",
73
+ displayName: "🎭 Anthropic (setup-token)",
74
+ authType: "api_key",
75
+ authLabel: "Anthropic setup-token",
76
+ authHint: "Run `claude setup-token` on any machine → paste the token here",
77
+ models: [{
78
+ id: "claude-opus-4-5",
79
+ name: "Claude Opus 4.5",
80
+ contextK: 200,
81
+ reasoning: true,
82
+ flagship: true
83
+ }, {
84
+ id: "claude-sonnet-4-5",
85
+ name: "Claude Sonnet 4.5",
86
+ contextK: 200,
87
+ reasoning: true
88
+ }]
89
+ },
90
+ {
91
+ id: "vercel-ai",
92
+ displayName: "▲ Vercel AI Gateway",
93
+ authType: "api_key",
94
+ authLabel: "Vercel AI Gateway API Key",
95
+ authHint: "vercel.com/docs/ai — multi-model proxy (AI_GATEWAY_API_KEY)",
96
+ baseUrl: "https://ai-gateway.vercel.sh/v1",
97
+ models: [
98
+ {
99
+ id: "openai/gpt-4o",
100
+ name: "GPT-4o (via Vercel)",
101
+ contextK: 128,
102
+ flagship: true
103
+ },
104
+ {
105
+ id: "anthropic/claude-sonnet-4-5",
106
+ name: "Claude Sonnet (via Vercel)",
107
+ contextK: 200
108
+ },
109
+ {
110
+ id: "google/gemini-2.0-flash",
111
+ name: "Gemini 2.0 Flash (via Vercel)",
112
+ contextK: 1e3,
113
+ fast: true
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ id: "opencode-zen",
119
+ displayName: "🧘 OpenCode Zen (multi-model proxy)",
120
+ authType: "api_key",
121
+ authLabel: "OpenCode Zen API Key",
122
+ authHint: "opencode.ai/auth — OPENCODE_API_KEY",
123
+ baseUrl: "https://api.opencode.ai/v1",
124
+ models: [{
125
+ id: "auto",
126
+ name: "Auto (best available)",
127
+ contextK: 200,
128
+ flagship: true
129
+ }]
130
+ },
131
+ {
132
+ id: "openrouter",
133
+ displayName: "🌐 OpenRouter",
134
+ authType: "api_key",
135
+ authLabel: "OpenRouter API Key",
136
+ authHint: "openrouter.ai/keys",
137
+ baseUrl: "https://openrouter.ai/api/v1",
138
+ supportsTranscription: true,
139
+ models: [
140
+ {
141
+ id: "openrouter/auto",
142
+ name: "Auto (best available)",
143
+ contextK: 200,
144
+ flagship: true
145
+ },
146
+ {
147
+ id: "anthropic/claude-opus-4.6",
148
+ name: "Claude Opus 4.6 (via OR)",
149
+ contextK: 200,
150
+ reasoning: true
151
+ },
152
+ {
153
+ id: "anthropic/claude-sonnet-4.5",
154
+ name: "Claude Sonnet 4.5 (via OR)",
155
+ contextK: 200
156
+ },
157
+ {
158
+ id: "openai/gpt-4o",
159
+ name: "GPT-4o",
160
+ contextK: 128,
161
+ vision: true
162
+ },
163
+ {
164
+ id: "openai/o3",
165
+ name: "o3 (reasoning)",
166
+ contextK: 200,
167
+ reasoning: true
168
+ },
169
+ {
170
+ id: "google/gemini-2.0-flash",
171
+ name: "Gemini 2.0 Flash",
172
+ contextK: 1e3,
173
+ fast: true
174
+ },
175
+ {
176
+ id: "google/gemini-2.5-pro",
177
+ name: "Gemini 2.5 Pro",
178
+ contextK: 1e3,
179
+ reasoning: true
180
+ },
181
+ {
182
+ id: "x-ai/grok-3",
183
+ name: "Grok 3",
184
+ contextK: 131,
185
+ reasoning: true
186
+ },
187
+ {
188
+ id: "deepseek/deepseek-r1",
189
+ name: "DeepSeek R1",
190
+ contextK: 64,
191
+ reasoning: true
192
+ },
193
+ {
194
+ id: "meta-llama/llama-3.3-70b-instruct",
195
+ name: "Llama 3.3 70B",
196
+ contextK: 128
197
+ },
198
+ {
199
+ id: "qwen/qwen-2.5-72b-instruct",
200
+ name: "Qwen 2.5 72B",
201
+ contextK: 128
202
+ },
203
+ {
204
+ id: "mistralai/mistral-large",
205
+ name: "Mistral Large",
206
+ contextK: 128
207
+ }
208
+ ]
209
+ },
210
+ {
211
+ id: "openai",
212
+ displayName: "🧠 OpenAI",
213
+ authType: "api_key",
214
+ authLabel: "OpenAI API Key",
215
+ authHint: "platform.openai.com/api-keys",
216
+ supportsTranscription: true,
217
+ models: [
218
+ {
219
+ id: "gpt-4o",
220
+ name: "GPT-4o",
221
+ contextK: 128,
222
+ vision: true,
223
+ flagship: true
224
+ },
225
+ {
226
+ id: "gpt-4o-mini",
227
+ name: "GPT-4o Mini",
228
+ contextK: 128,
229
+ fast: true
230
+ },
231
+ {
232
+ id: "o3",
233
+ name: "o3 (reasoning)",
234
+ contextK: 200,
235
+ reasoning: true
236
+ },
237
+ {
238
+ id: "o4-mini",
239
+ name: "o4-mini (reasoning)",
240
+ contextK: 200,
241
+ reasoning: true,
242
+ fast: true
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ id: "google",
248
+ displayName: "🔍 Google",
249
+ authType: "api_key",
250
+ authLabel: "Google AI API Key",
251
+ authHint: "aistudio.google.com/app/apikey",
252
+ supportsTranscription: true,
253
+ models: [
254
+ {
255
+ id: "gemini-2.5-pro",
256
+ name: "Gemini 2.5 Pro",
257
+ contextK: 1e3,
258
+ reasoning: true,
259
+ flagship: true
260
+ },
261
+ {
262
+ id: "gemini-2.0-flash",
263
+ name: "Gemini 2.0 Flash",
264
+ contextK: 1e3,
265
+ fast: true
266
+ },
267
+ {
268
+ id: "gemini-1.5-pro",
269
+ name: "Gemini 1.5 Pro",
270
+ contextK: 2e3
271
+ }
272
+ ]
273
+ },
274
+ {
275
+ id: "xai",
276
+ displayName: "⚡ xAI (Grok)",
277
+ authType: "api_key",
278
+ authLabel: "xAI API Key",
279
+ authHint: "console.x.ai",
280
+ models: [{
281
+ id: "grok-3",
282
+ name: "Grok 3",
283
+ contextK: 131,
284
+ reasoning: true,
285
+ flagship: true
286
+ }, {
287
+ id: "grok-3-mini",
288
+ name: "Grok 3 Mini",
289
+ contextK: 131,
290
+ fast: true
291
+ }]
292
+ },
293
+ {
294
+ id: "minimax",
295
+ displayName: "🎯 MiniMax",
296
+ authType: "api_key",
297
+ authLabel: "MiniMax API Key",
298
+ authHint: "platform.minimaxi.com",
299
+ models: [{
300
+ id: "MiniMax-Text-01",
301
+ name: "MiniMax Text-01",
302
+ contextK: 1e3,
303
+ flagship: true
304
+ }, {
305
+ id: "abab6.5s-chat",
306
+ name: "ABAB 6.5S",
307
+ contextK: 245
308
+ }]
309
+ },
310
+ {
311
+ id: "moonshot",
312
+ displayName: "🌙 Moonshot (Kimi)",
313
+ authType: "api_key",
314
+ authLabel: "Moonshot API Key",
315
+ authHint: "platform.moonshot.cn",
316
+ models: [{
317
+ id: "moonshot-v1-128k",
318
+ name: "Moonshot v1 128K",
319
+ contextK: 128,
320
+ flagship: true
321
+ }, {
322
+ id: "moonshot-v1-8k",
323
+ name: "Moonshot v1 8K",
324
+ contextK: 8,
325
+ fast: true
326
+ }]
327
+ },
328
+ {
329
+ id: "qwen",
330
+ displayName: "🐉 Qwen (Alibaba)",
331
+ authType: "api_key",
332
+ authLabel: "DashScope API Key",
333
+ authHint: "dashscope.aliyuncs.com",
334
+ models: [
335
+ {
336
+ id: "qwen-max",
337
+ name: "Qwen Max",
338
+ contextK: 32,
339
+ flagship: true
340
+ },
341
+ {
342
+ id: "qwen-plus",
343
+ name: "Qwen Plus",
344
+ contextK: 128
345
+ },
346
+ {
347
+ id: "qwen-turbo",
348
+ name: "Qwen Turbo",
349
+ contextK: 128,
350
+ fast: true
351
+ },
352
+ {
353
+ id: "qwen3-235b-a22b",
354
+ name: "Qwen3 235B",
355
+ contextK: 32,
356
+ reasoning: true
357
+ }
358
+ ]
359
+ },
360
+ {
361
+ id: "zai",
362
+ displayName: "🔧 Z.AI",
363
+ authType: "api_key",
364
+ authLabel: "Z.AI API Key",
365
+ authHint: "z.ai",
366
+ models: [{
367
+ id: "glm-4-plus",
368
+ name: "GLM-4 Plus",
369
+ contextK: 128,
370
+ flagship: true
371
+ }, {
372
+ id: "glm-4-flash",
373
+ name: "GLM-4 Flash",
374
+ contextK: 128,
375
+ fast: true
376
+ }]
377
+ },
378
+ {
379
+ id: "litellm",
380
+ displayName: "🔀 LiteLLM (proxy)",
381
+ authType: "api_key",
382
+ authLabel: "LiteLLM Master Key",
383
+ authHint: "Your self-hosted LiteLLM proxy key",
384
+ models: [{
385
+ id: "gpt-4o",
386
+ name: "GPT-4o (via proxy)",
387
+ contextK: 128,
388
+ flagship: true
389
+ }]
390
+ },
391
+ {
392
+ id: "cloudflare",
393
+ displayName: "☁️ Cloudflare AI Gateway",
394
+ authType: "api_key",
395
+ authLabel: "Cloudflare API Token",
396
+ authHint: "dash.cloudflare.com → AI → Gateway",
397
+ models: [{
398
+ id: "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
399
+ name: "Llama 3.3 70B (CF)",
400
+ contextK: 128,
401
+ flagship: true
402
+ }]
403
+ },
404
+ {
405
+ id: "copilot",
406
+ displayName: "🤖 GitHub Copilot",
407
+ authType: "oauth",
408
+ authLabel: "GitHub OAuth Token",
409
+ authHint: "github.com/settings/tokens",
410
+ models: [{
411
+ id: "gpt-4o",
412
+ name: "GPT-4o (Copilot)",
413
+ contextK: 128,
414
+ flagship: true
415
+ }, {
416
+ id: "claude-sonnet-4-5",
417
+ name: "Claude Sonnet (Copilot)",
418
+ contextK: 200
419
+ }]
420
+ },
421
+ {
422
+ id: "groq",
423
+ displayName: "⚡ Groq (Fast Inference)",
424
+ authType: "api_key",
425
+ authLabel: "Groq API Key",
426
+ authHint: "console.groq.com/keys",
427
+ baseUrl: "https://api.groq.com/openai/v1",
428
+ models: [
429
+ {
430
+ id: "llama-3.3-70b-versatile",
431
+ name: "Llama 3.3 70B Versatile",
432
+ contextK: 128,
433
+ flagship: true
434
+ },
435
+ {
436
+ id: "llama-3.1-8b-instant",
437
+ name: "Llama 3.1 8B Instant",
438
+ contextK: 128,
439
+ fast: true
440
+ },
441
+ {
442
+ id: "mixtral-8x7b-32768",
443
+ name: "Mixtral 8x7B",
444
+ contextK: 32
445
+ },
446
+ {
447
+ id: "gemma2-9b-it",
448
+ name: "Gemma 2 9B",
449
+ contextK: 8,
450
+ fast: true
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ id: "mistral",
456
+ displayName: "🌀 Mistral AI",
457
+ authType: "api_key",
458
+ authLabel: "Mistral API Key",
459
+ authHint: "console.mistral.ai/api-keys",
460
+ baseUrl: "https://api.mistral.ai/v1",
461
+ models: [
462
+ {
463
+ id: "mistral-large-latest",
464
+ name: "Mistral Large",
465
+ contextK: 128,
466
+ flagship: true
467
+ },
468
+ {
469
+ id: "mistral-medium-latest",
470
+ name: "Mistral Medium",
471
+ contextK: 128
472
+ },
473
+ {
474
+ id: "mistral-small-latest",
475
+ name: "Mistral Small",
476
+ contextK: 128,
477
+ fast: true
478
+ },
479
+ {
480
+ id: "codestral-latest",
481
+ name: "Codestral (code)",
482
+ contextK: 256
483
+ }
484
+ ]
485
+ },
486
+ {
487
+ id: "deepseek",
488
+ displayName: "🔬 DeepSeek",
489
+ authType: "api_key",
490
+ authLabel: "DeepSeek API Key",
491
+ authHint: "platform.deepseek.com/api_keys",
492
+ baseUrl: "https://api.deepseek.com/v1",
493
+ models: [{
494
+ id: "deepseek-chat",
495
+ name: "DeepSeek V3",
496
+ contextK: 64,
497
+ flagship: true
498
+ }, {
499
+ id: "deepseek-reasoner",
500
+ name: "DeepSeek R1 (reasoning)",
501
+ contextK: 64,
502
+ reasoning: true
503
+ }]
504
+ },
505
+ {
506
+ id: "perplexity",
507
+ displayName: "🔍 Perplexity (Search-augmented)",
508
+ authType: "api_key",
509
+ authLabel: "Perplexity API Key",
510
+ authHint: "perplexity.ai/settings/api",
511
+ baseUrl: "https://api.perplexity.ai",
512
+ models: [
513
+ {
514
+ id: "sonar-pro",
515
+ name: "Sonar Pro (search)",
516
+ contextK: 200,
517
+ flagship: true
518
+ },
519
+ {
520
+ id: "sonar",
521
+ name: "Sonar (search, fast)",
522
+ contextK: 128,
523
+ fast: true
524
+ },
525
+ {
526
+ id: "sonar-reasoning",
527
+ name: "Sonar Reasoning",
528
+ contextK: 128,
529
+ reasoning: true
530
+ }
531
+ ]
532
+ },
533
+ {
534
+ id: "huggingface",
535
+ displayName: "🤗 Hugging Face",
536
+ authType: "api_key",
537
+ authLabel: "HuggingFace API Token",
538
+ authHint: "huggingface.co/settings/tokens",
539
+ baseUrl: "https://api-inference.huggingface.co/v1",
540
+ models: [
541
+ {
542
+ id: "Qwen/Qwen2.5-72B-Instruct",
543
+ name: "Qwen 2.5 72B",
544
+ contextK: 128,
545
+ flagship: true
546
+ },
547
+ {
548
+ id: "meta-llama/Llama-3.3-70B-Instruct",
549
+ name: "Llama 3.3 70B",
550
+ contextK: 128
551
+ },
552
+ {
553
+ id: "mistralai/Mistral-7B-Instruct-v0.3",
554
+ name: "Mistral 7B",
555
+ contextK: 32,
556
+ fast: true
557
+ }
558
+ ]
559
+ },
560
+ {
561
+ id: "ollama",
562
+ displayName: "🦙 Ollama (Local)",
563
+ authType: "none",
564
+ authLabel: "No API key needed",
565
+ authHint: "ollama.ai — run `ollama serve` first",
566
+ baseUrl: "http://localhost:11434/v1",
567
+ models: [
568
+ {
569
+ id: "llama3.3",
570
+ name: "Llama 3.3 (local)",
571
+ contextK: 128,
572
+ flagship: true
573
+ },
574
+ {
575
+ id: "mistral",
576
+ name: "Mistral (local)",
577
+ contextK: 32
578
+ },
579
+ {
580
+ id: "codellama",
581
+ name: "CodeLlama (local)",
582
+ contextK: 16
583
+ },
584
+ {
585
+ id: "phi4",
586
+ name: "Phi-4 (local)",
587
+ contextK: 16,
588
+ fast: true
589
+ },
590
+ {
591
+ id: "__manual__",
592
+ name: "Enter model name manually",
593
+ contextK: 128
594
+ }
595
+ ]
596
+ },
597
+ {
598
+ id: "lmstudio",
599
+ displayName: "🖥️ LM Studio (Local)",
600
+ authType: "none",
601
+ authLabel: "No API key needed",
602
+ authHint: "lmstudio.ai — enable local server in app",
603
+ baseUrl: "http://localhost:1234/v1",
604
+ models: [{
605
+ id: "__manual__",
606
+ name: "Enter loaded model ID",
607
+ contextK: 128,
608
+ flagship: true
609
+ }]
610
+ },
611
+ {
612
+ id: "custom",
613
+ displayName: "🔌 Custom (OpenAI-compatible API)",
614
+ authType: "api_key",
615
+ authLabel: "API Key",
616
+ authHint: "Any OpenAI-compatible /chat/completions API (e.g. Ads Power, Proxies, new LLM APIs)",
617
+ models: [{
618
+ id: "__manual__",
619
+ name: "Enter model ID manually",
620
+ contextK: 128,
621
+ flagship: true
622
+ }]
623
+ }
624
+ ];
625
+ } });
626
+
627
+ //#endregion
628
+ Object.defineProperty(exports, 'PROVIDERS', {
629
+ enumerable: true,
630
+ get: function () {
631
+ return PROVIDERS;
632
+ }
633
+ });
634
+ Object.defineProperty(exports, 'formatModel', {
635
+ enumerable: true,
636
+ get: function () {
637
+ return formatModel;
638
+ }
639
+ });
640
+ Object.defineProperty(exports, 'getProvider', {
641
+ enumerable: true,
642
+ get: function () {
643
+ return getProvider;
644
+ }
645
+ });
646
+ Object.defineProperty(exports, 'getTranscriptionProviders', {
647
+ enumerable: true,
648
+ get: function () {
649
+ return getTranscriptionProviders;
650
+ }
651
+ });
652
+ Object.defineProperty(exports, 'init_providers', {
653
+ enumerable: true,
654
+ get: function () {
655
+ return init_providers;
656
+ }
657
+ });