claudish 5.16.2 → 5.18.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
@@ -29769,17 +29769,19 @@ async function setupGeminiUser(accessToken) {
29769
29769
  return { projectId: projectId2 };
29770
29770
  }
29771
29771
  }
29772
- const tierId = "free-tier";
29772
+ const tierId = loadRes.allowedTiers?.[0]?.id || "free-tier";
29773
+ const isFree = tierId === "free-tier";
29774
+ const onboardProject = isFree ? undefined : envProject;
29773
29775
  const MAX_POLL_ATTEMPTS = 30;
29774
- log("[GeminiOAuth] Onboarding user to free-tier...");
29775
- let lro = await callOnboardUser(accessToken, tierId, envProject);
29776
+ log(`[GeminiOAuth] Onboarding user to ${tierId}...`);
29777
+ let lro = await callOnboardUser(accessToken, tierId, onboardProject);
29776
29778
  log(`[GeminiOAuth] Initial onboardUser response: done=${lro.done}`);
29777
29779
  let attempts = 0;
29778
29780
  while (!lro.done && attempts < MAX_POLL_ATTEMPTS) {
29779
29781
  attempts++;
29780
29782
  log(`[GeminiOAuth] Polling onboardUser (attempt ${attempts}/${MAX_POLL_ATTEMPTS})...`);
29781
29783
  await new Promise((r) => setTimeout(r, 2000));
29782
- lro = await callOnboardUser(accessToken, tierId, envProject);
29784
+ lro = await callOnboardUser(accessToken, tierId, onboardProject);
29783
29785
  }
29784
29786
  if (!lro.done) {
29785
29787
  throw new Error(`Gemini onboarding timed out after ${MAX_POLL_ATTEMPTS * 2} seconds`);
@@ -36589,7 +36591,7 @@ async function fetchGLMCodingModels() {
36589
36591
  return [];
36590
36592
  }
36591
36593
  }
36592
- var __filename4, __dirname4, VERSION = "5.16.2", CACHE_MAX_AGE_DAYS2 = 2, CLAUDISH_CACHE_DIR2, BUNDLED_MODELS_PATH, CACHED_MODELS_PATH, ALL_MODELS_JSON_PATH;
36594
+ var __filename4, __dirname4, VERSION = "5.18.0", CACHE_MAX_AGE_DAYS2 = 2, CLAUDISH_CACHE_DIR2, BUNDLED_MODELS_PATH, CACHED_MODELS_PATH, ALL_MODELS_JSON_PATH;
36593
36595
  var init_cli = __esm(() => {
36594
36596
  init_config();
36595
36597
  init_model_loader();
@@ -106795,7 +106797,7 @@ if (isMcpMode) {
106795
106797
  await oauth.login();
106796
106798
  console.log(`
106797
106799
  \u2705 Gemini OAuth login successful!`);
106798
- console.log("You can now use Gemini Code Assist with: claudish --model go@gemini-2.5-flash");
106800
+ console.log("You can now use Gemini Code Assist with: claudish --model go@gemini-3-pro-preview");
106799
106801
  process.exit(0);
106800
106802
  } catch (error46) {
106801
106803
  console.error(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "5.16.2",
3
+ "version": "5.18.0",
4
4
  "description": "Run Claude Code with any model - OpenRouter, Ollama, LM Studio & local models",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.2.0",
3
- "lastUpdated": "2026-03-20",
3
+ "lastUpdated": "2026-03-21",
4
4
  "source": "https://openrouter.ai/models?categories=programming&fmt=cards&order=top-weekly",
5
5
  "models": [
6
6
  {
@@ -13,11 +13,11 @@
13
13
  "priority": 1,
14
14
  "pricing": {
15
15
  "input": "$0.20/1M",
16
- "output": "$1.20/1M",
17
- "average": "$0.70/1M"
16
+ "output": "$1.17/1M",
17
+ "average": "$0.69/1M"
18
18
  },
19
19
  "context": "196K",
20
- "maxOutputTokens": 196608,
20
+ "maxOutputTokens": 65536,
21
21
  "modality": "text->text",
22
22
  "supportsTools": true,
23
23
  "supportsReasoning": true,