claudish 5.5.1 → 5.5.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 (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -27585,7 +27585,9 @@ function getLogLevel() {
27585
27585
  return logLevel;
27586
27586
  }
27587
27587
  function truncateContent(content, maxLength = 200) {
27588
- const str = typeof content === "string" ? content : JSON.stringify(content);
27588
+ if (content === undefined || content === null)
27589
+ return "[empty]";
27590
+ const str = typeof content === "string" ? content : JSON.stringify(content) ?? "[empty]";
27589
27591
  if (str.length <= maxLength) {
27590
27592
  return str;
27591
27593
  }
@@ -31623,7 +31625,7 @@ async function fetchGLMCodingModels() {
31623
31625
  return [];
31624
31626
  }
31625
31627
  }
31626
- var __filename4, __dirname4, VERSION = "5.5.1", CACHE_MAX_AGE_DAYS2 = 2, MODELS_JSON_PATH, CLAUDISH_CACHE_DIR2, ALL_MODELS_JSON_PATH;
31628
+ var __filename4, __dirname4, VERSION = "5.5.2", CACHE_MAX_AGE_DAYS2 = 2, MODELS_JSON_PATH, CLAUDISH_CACHE_DIR2, ALL_MODELS_JSON_PATH;
31627
31629
  var init_cli = __esm(() => {
31628
31630
  init_config();
31629
31631
  init_model_loader();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "5.5.1",
3
+ "version": "5.5.2",
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",