claudish 1.6.0 → 1.7.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.
- package/dist/index.js +21 -49
- package/package.json +1 -1
- package/scripts/extract-models.ts +5 -3
package/dist/index.js
CHANGED
|
@@ -54,59 +54,35 @@ var init_config = __esm(() => {
|
|
|
54
54
|
priority: 2,
|
|
55
55
|
provider: "MiniMax"
|
|
56
56
|
},
|
|
57
|
-
"
|
|
58
|
-
name: "
|
|
59
|
-
description: "
|
|
60
|
-
priority:
|
|
61
|
-
provider: "
|
|
57
|
+
"google/gemini-2.5-flash": {
|
|
58
|
+
name: "Advanced reasoning + vision",
|
|
59
|
+
description: "Advanced reasoning + vision",
|
|
60
|
+
priority: 6,
|
|
61
|
+
provider: "Google"
|
|
62
62
|
},
|
|
63
|
-
"openai/gpt-5
|
|
64
|
-
name: "
|
|
65
|
-
description: "
|
|
63
|
+
"openai/gpt-5": {
|
|
64
|
+
name: "Most advanced reasoning",
|
|
65
|
+
description: "Most advanced reasoning",
|
|
66
66
|
priority: 4,
|
|
67
67
|
provider: "OpenAI"
|
|
68
68
|
},
|
|
69
|
-
"
|
|
70
|
-
name: "
|
|
71
|
-
description: "
|
|
69
|
+
"openai/gpt-5.1-codex": {
|
|
70
|
+
name: "Specialized for software engineering",
|
|
71
|
+
description: "Specialized for software engineering",
|
|
72
72
|
priority: 5,
|
|
73
|
-
provider: "
|
|
74
|
-
},
|
|
75
|
-
"google/gemini-2.5-pro": {
|
|
76
|
-
name: "State-of-the-art reasoning",
|
|
77
|
-
description: "State-of-the-art reasoning",
|
|
78
|
-
priority: 6,
|
|
79
|
-
provider: "Google"
|
|
73
|
+
provider: "OpenAI"
|
|
80
74
|
},
|
|
81
75
|
"qwen/qwen3-vl-235b-a22b-instruct": {
|
|
82
|
-
name: "Multimodal
|
|
83
|
-
description: "Multimodal
|
|
76
|
+
name: "Multimodal with OCR",
|
|
77
|
+
description: "Multimodal with OCR",
|
|
84
78
|
priority: 7,
|
|
85
79
|
provider: "Alibaba"
|
|
86
80
|
},
|
|
87
|
-
"
|
|
88
|
-
name: "
|
|
89
|
-
description: "
|
|
81
|
+
"openrouter/polaris-alpha": {
|
|
82
|
+
name: "FREE experimental (logs usage)",
|
|
83
|
+
description: "FREE experimental (logs usage)",
|
|
90
84
|
priority: 8,
|
|
91
|
-
provider: "
|
|
92
|
-
},
|
|
93
|
-
"google/gemini-2.5-flash-lite": {
|
|
94
|
-
name: "Ultra-low latency",
|
|
95
|
-
description: "Ultra-low latency",
|
|
96
|
-
priority: 9,
|
|
97
|
-
provider: "Google"
|
|
98
|
-
},
|
|
99
|
-
"deepseek/deepseek-chat-v3-0324": {
|
|
100
|
-
name: "685B parameter MoE",
|
|
101
|
-
description: "685B parameter MoE",
|
|
102
|
-
priority: 10,
|
|
103
|
-
provider: "DeepSeek"
|
|
104
|
-
},
|
|
105
|
-
"openai/gpt-4o-mini": {
|
|
106
|
-
name: "Compact multimodal",
|
|
107
|
-
description: "Compact multimodal",
|
|
108
|
-
priority: 11,
|
|
109
|
-
provider: "OpenAI"
|
|
85
|
+
provider: "OpenRouter"
|
|
110
86
|
},
|
|
111
87
|
custom: {
|
|
112
88
|
name: "Custom Model",
|
|
@@ -139,15 +115,11 @@ var init_types = __esm(() => {
|
|
|
139
115
|
OPENROUTER_MODELS = [
|
|
140
116
|
"x-ai/grok-code-fast-1",
|
|
141
117
|
"minimax/minimax-m2",
|
|
142
|
-
"z-ai/glm-4.6",
|
|
143
|
-
"openai/gpt-5.1-codex",
|
|
144
118
|
"google/gemini-2.5-flash",
|
|
145
|
-
"
|
|
119
|
+
"openai/gpt-5",
|
|
120
|
+
"openai/gpt-5.1-codex",
|
|
146
121
|
"qwen/qwen3-vl-235b-a22b-instruct",
|
|
147
|
-
"
|
|
148
|
-
"google/gemini-2.5-flash-lite",
|
|
149
|
-
"deepseek/deepseek-chat-v3-0324",
|
|
150
|
-
"openai/gpt-4o-mini",
|
|
122
|
+
"openrouter/polaris-alpha",
|
|
151
123
|
"custom"
|
|
152
124
|
];
|
|
153
125
|
});
|
package/package.json
CHANGED
|
@@ -35,10 +35,10 @@ function extractModels(markdownContent: string): ExtractedModels {
|
|
|
35
35
|
const lines = quickRef.split("\n");
|
|
36
36
|
|
|
37
37
|
for (const line of lines) {
|
|
38
|
-
// Match pattern: - `model-id` - Description (may contain commas), $price/1M, contextK/M [⭐]
|
|
39
|
-
// Use non-greedy match and look for $ to find the price section
|
|
38
|
+
// Match pattern: - `model-id` - Description (may contain commas), $price/1M or FREE, contextK/M [⭐]
|
|
39
|
+
// Use non-greedy match and look for $ or FREE to find the price section
|
|
40
40
|
const match = line.match(
|
|
41
|
-
/^- `([^`]+)` - (.+?), (
|
|
41
|
+
/^- `([^`]+)` - (.+?), (?:\$[\d.]+\/1M|FREE), ([\dKM]+)(?: ⭐)?$/,
|
|
42
42
|
);
|
|
43
43
|
if (match) {
|
|
44
44
|
const [, modelId, description] = match;
|
|
@@ -52,6 +52,8 @@ function extractModels(markdownContent: string): ExtractedModels {
|
|
|
52
52
|
else if (modelId.startsWith("google/")) provider = "Google";
|
|
53
53
|
else if (modelId.startsWith("qwen/")) provider = "Alibaba";
|
|
54
54
|
else if (modelId.startsWith("deepseek/")) provider = "DeepSeek";
|
|
55
|
+
else if (modelId.startsWith("tngtech/")) provider = "TNG Tech";
|
|
56
|
+
else if (modelId.startsWith("openrouter/")) provider = "OpenRouter";
|
|
55
57
|
else if (modelId.startsWith("anthropic/")) provider = "Anthropic";
|
|
56
58
|
|
|
57
59
|
// Extract short name from description
|