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 CHANGED
@@ -54,59 +54,35 @@ var init_config = __esm(() => {
54
54
  priority: 2,
55
55
  provider: "MiniMax"
56
56
  },
57
- "z-ai/glm-4.6": {
58
- name: "Enhanced coding capabilities",
59
- description: "Enhanced coding capabilities",
60
- priority: 3,
61
- provider: "Zhipu AI"
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.1-codex": {
64
- name: "Specialized software engineering",
65
- description: "Specialized software engineering",
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
- "google/gemini-2.5-flash": {
70
- name: "Advanced reasoning with built-in thinking",
71
- description: "Advanced reasoning with built-in thinking",
69
+ "openai/gpt-5.1-codex": {
70
+ name: "Specialized for software engineering",
71
+ description: "Specialized for software engineering",
72
72
  priority: 5,
73
- provider: "Google"
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 vision-language",
83
- description: "Multimodal vision-language",
76
+ name: "Multimodal with OCR",
77
+ description: "Multimodal with OCR",
84
78
  priority: 7,
85
79
  provider: "Alibaba"
86
80
  },
87
- "google/gemini-2.0-flash-001": {
88
- name: "Faster TTFT, multimodal",
89
- description: "Faster TTFT, multimodal",
81
+ "openrouter/polaris-alpha": {
82
+ name: "FREE experimental (logs usage)",
83
+ description: "FREE experimental (logs usage)",
90
84
  priority: 8,
91
- provider: "Google"
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
- "google/gemini-2.5-pro",
119
+ "openai/gpt-5",
120
+ "openai/gpt-5.1-codex",
146
121
  "qwen/qwen3-vl-235b-a22b-instruct",
147
- "google/gemini-2.0-flash-001",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "CLI tool to run Claude Code with any OpenRouter model (Grok, GPT-5, MiniMax, etc.) via local Anthropic API-compatible proxy",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -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
- /^- `([^`]+)` - (.+?), (\$[\d.]+\/1M), ([\dKM]+)(?: ⭐)?$/,
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