@projectservan8n/cnapse 0.5.2 → 0.5.3
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/dist/{ConfigUI-4436NFLC.js → ConfigUI-I2CJVODT.js} +5 -6
- package/dist/{Setup-HAPL64ZK.js → Setup-KGYXCA7Y.js} +6 -6
- package/dist/index.js +5 -5
- package/package.json +1 -1
- package/src/components/ConfigUI.tsx +5 -6
- package/src/components/ProviderSelector.tsx +3 -3
- package/src/components/Setup.tsx +3 -3
|
@@ -36,12 +36,11 @@ var PROVIDERS = [
|
|
|
36
36
|
description: "Many models, pay-per-use, great value",
|
|
37
37
|
needsApiKey: true,
|
|
38
38
|
models: [
|
|
39
|
-
{ id: "
|
|
40
|
-
{ id: "
|
|
41
|
-
{ id: "
|
|
42
|
-
{ id: "
|
|
43
|
-
{ id: "
|
|
44
|
-
{ id: "deepseek/deepseek-chat", name: "DeepSeek V3", description: "Cheap, $0.14/1M tokens" }
|
|
39
|
+
{ id: "openai/gpt-5-nano", name: "GPT-5 Nano", description: "Best budget vision! $0.05/1M in", recommended: true },
|
|
40
|
+
{ id: "google/gemini-2.5-flash-lite", name: "Gemini 2.5 Flash Lite", description: "Fast reasoning, $0.10/1M in" },
|
|
41
|
+
{ id: "qwen/qwen-2.5-coder-32b-instruct", name: "Qwen 2.5 Coder 32B", description: "Best for coding, $0.07/1M" },
|
|
42
|
+
{ id: "meta-llama/llama-3.3-70b-instruct", name: "Llama 3.3 70B", description: "Powerful, $0.10/1M" },
|
|
43
|
+
{ id: "deepseek/deepseek-chat", name: "DeepSeek V3", description: "Cheap, $0.14/1M" }
|
|
45
44
|
]
|
|
46
45
|
},
|
|
47
46
|
{
|
|
@@ -18,14 +18,14 @@ var PROVIDERS = [
|
|
|
18
18
|
var DEFAULT_MODELS = {
|
|
19
19
|
ollama: ["qwen2.5:0.5b", "qwen2.5:7b", "llama3.2:3b", "codellama:7b"],
|
|
20
20
|
openrouter: [
|
|
21
|
+
"openai/gpt-5-nano",
|
|
22
|
+
// $0.05/1M - Best budget + vision!
|
|
23
|
+
"google/gemini-2.5-flash-lite",
|
|
24
|
+
// $0.10/1M - Fast reasoning
|
|
21
25
|
"qwen/qwen-2.5-coder-32b-instruct",
|
|
22
|
-
// $0.07/1M - Best
|
|
23
|
-
"
|
|
24
|
-
// FREE - Vision model
|
|
25
|
-
"meta-llama/llama-3.3-70b-instruct",
|
|
26
|
+
// $0.07/1M - Best for coding
|
|
27
|
+
"meta-llama/llama-3.3-70b-instruct"
|
|
26
28
|
// $0.10/1M
|
|
27
|
-
"google/gemini-2.0-flash-001"
|
|
28
|
-
// Free tier
|
|
29
29
|
],
|
|
30
30
|
anthropic: [
|
|
31
31
|
"claude-3-5-sonnet-20241022",
|
package/dist/index.js
CHANGED
|
@@ -278,10 +278,10 @@ var PROVIDERS = [
|
|
|
278
278
|
description: "Many models, budget-friendly",
|
|
279
279
|
needsApiKey: true,
|
|
280
280
|
models: [
|
|
281
|
-
{ id: "
|
|
282
|
-
{ id: "
|
|
281
|
+
{ id: "openai/gpt-5-nano", name: "GPT-5 Nano ($0.05/1M) + Vision", recommended: true },
|
|
282
|
+
{ id: "google/gemini-2.5-flash-lite", name: "Gemini 2.5 Flash Lite ($0.10/1M)" },
|
|
283
|
+
{ id: "qwen/qwen-2.5-coder-32b-instruct", name: "Qwen Coder 32B ($0.07/1M)" },
|
|
283
284
|
{ id: "meta-llama/llama-3.3-70b-instruct", name: "Llama 3.3 70B ($0.10/1M)" },
|
|
284
|
-
{ id: "google/gemini-2.0-flash-001", name: "Gemini 2.0 Flash (free tier)" },
|
|
285
285
|
{ id: "deepseek/deepseek-chat", name: "DeepSeek V3 ($0.14/1M)" }
|
|
286
286
|
]
|
|
287
287
|
},
|
|
@@ -2165,7 +2165,7 @@ async function main() {
|
|
|
2165
2165
|
case "config": {
|
|
2166
2166
|
const subcommand = args[1];
|
|
2167
2167
|
if (!subcommand) {
|
|
2168
|
-
const { ConfigUI } = await import("./ConfigUI-
|
|
2168
|
+
const { ConfigUI } = await import("./ConfigUI-I2CJVODT.js");
|
|
2169
2169
|
render(/* @__PURE__ */ jsx8(ConfigUI, {}));
|
|
2170
2170
|
return;
|
|
2171
2171
|
}
|
|
@@ -2242,7 +2242,7 @@ Manual Setup:
|
|
|
2242
2242
|
process.exit(0);
|
|
2243
2243
|
}
|
|
2244
2244
|
case "init": {
|
|
2245
|
-
const { Setup } = await import("./Setup-
|
|
2245
|
+
const { Setup } = await import("./Setup-KGYXCA7Y.js");
|
|
2246
2246
|
render(/* @__PURE__ */ jsx8(Setup, {}));
|
|
2247
2247
|
return;
|
|
2248
2248
|
}
|
package/package.json
CHANGED
|
@@ -53,12 +53,11 @@ const PROVIDERS: ProviderConfig[] = [
|
|
|
53
53
|
description: 'Many models, pay-per-use, great value',
|
|
54
54
|
needsApiKey: true,
|
|
55
55
|
models: [
|
|
56
|
-
{ id: '
|
|
57
|
-
{ id: '
|
|
58
|
-
{ id: '
|
|
59
|
-
{ id: '
|
|
60
|
-
{ id: '
|
|
61
|
-
{ id: 'deepseek/deepseek-chat', name: 'DeepSeek V3', description: 'Cheap, $0.14/1M tokens' },
|
|
56
|
+
{ id: 'openai/gpt-5-nano', name: 'GPT-5 Nano', description: 'Best budget vision! $0.05/1M in', recommended: true },
|
|
57
|
+
{ id: 'google/gemini-2.5-flash-lite', name: 'Gemini 2.5 Flash Lite', description: 'Fast reasoning, $0.10/1M in' },
|
|
58
|
+
{ id: 'qwen/qwen-2.5-coder-32b-instruct', name: 'Qwen 2.5 Coder 32B', description: 'Best for coding, $0.07/1M' },
|
|
59
|
+
{ id: 'meta-llama/llama-3.3-70b-instruct', name: 'Llama 3.3 70B', description: 'Powerful, $0.10/1M' },
|
|
60
|
+
{ id: 'deepseek/deepseek-chat', name: 'DeepSeek V3', description: 'Cheap, $0.14/1M' },
|
|
62
61
|
],
|
|
63
62
|
},
|
|
64
63
|
{
|
|
@@ -54,10 +54,10 @@ const PROVIDERS: ProviderConfig[] = [
|
|
|
54
54
|
description: 'Many models, budget-friendly',
|
|
55
55
|
needsApiKey: true,
|
|
56
56
|
models: [
|
|
57
|
-
{ id: '
|
|
58
|
-
{ id: '
|
|
57
|
+
{ id: 'openai/gpt-5-nano', name: 'GPT-5 Nano ($0.05/1M) + Vision', recommended: true },
|
|
58
|
+
{ id: 'google/gemini-2.5-flash-lite', name: 'Gemini 2.5 Flash Lite ($0.10/1M)' },
|
|
59
|
+
{ id: 'qwen/qwen-2.5-coder-32b-instruct', name: 'Qwen Coder 32B ($0.07/1M)' },
|
|
59
60
|
{ id: 'meta-llama/llama-3.3-70b-instruct', name: 'Llama 3.3 70B ($0.10/1M)' },
|
|
60
|
-
{ id: 'google/gemini-2.0-flash-001', name: 'Gemini 2.0 Flash (free tier)' },
|
|
61
61
|
{ id: 'deepseek/deepseek-chat', name: 'DeepSeek V3 ($0.14/1M)' },
|
|
62
62
|
],
|
|
63
63
|
},
|
package/src/components/Setup.tsx
CHANGED
|
@@ -15,10 +15,10 @@ const PROVIDERS = [
|
|
|
15
15
|
const DEFAULT_MODELS: Record<string, string[]> = {
|
|
16
16
|
ollama: ['qwen2.5:0.5b', 'qwen2.5:7b', 'llama3.2:3b', 'codellama:7b'],
|
|
17
17
|
openrouter: [
|
|
18
|
-
'
|
|
19
|
-
'
|
|
18
|
+
'openai/gpt-5-nano', // $0.05/1M - Best budget + vision!
|
|
19
|
+
'google/gemini-2.5-flash-lite', // $0.10/1M - Fast reasoning
|
|
20
|
+
'qwen/qwen-2.5-coder-32b-instruct', // $0.07/1M - Best for coding
|
|
20
21
|
'meta-llama/llama-3.3-70b-instruct', // $0.10/1M
|
|
21
|
-
'google/gemini-2.0-flash-001', // Free tier
|
|
22
22
|
],
|
|
23
23
|
anthropic: [
|
|
24
24
|
'claude-3-5-sonnet-20241022',
|