claudish 5.4.0 → 5.4.1
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -35824,7 +35824,7 @@ async function fetchGLMCodingModels2() {
|
|
|
35824
35824
|
return [];
|
|
35825
35825
|
}
|
|
35826
35826
|
}
|
|
35827
|
-
var __filename5, __dirname5, VERSION = "5.4.
|
|
35827
|
+
var __filename5, __dirname5, VERSION = "5.4.1", CACHE_MAX_AGE_DAYS3 = 2, MODELS_JSON_PATH, CLAUDISH_CACHE_DIR3, ALL_MODELS_JSON_PATH2;
|
|
35828
35828
|
var init_cli = __esm(() => {
|
|
35829
35829
|
init_config();
|
|
35830
35830
|
init_model_loader();
|
|
@@ -35999,7 +35999,7 @@ function mergeUserSettingsIfPresent(config3, tempSettingsPath, statusLine) {
|
|
|
35999
35999
|
}
|
|
36000
36000
|
async function runClaudeWithProxy(config3, proxyUrl) {
|
|
36001
36001
|
const hasProfileMappings = config3.modelOpus || config3.modelSonnet || config3.modelHaiku || config3.modelSubagent;
|
|
36002
|
-
const modelId = config3.model || (hasProfileMappings ? undefined : "unknown");
|
|
36002
|
+
const modelId = config3.model || (hasProfileMappings || config3.monitor ? undefined : "unknown");
|
|
36003
36003
|
const portMatch = proxyUrl.match(/:(\d+)/);
|
|
36004
36004
|
const port = portMatch ? portMatch[1] : "unknown";
|
|
36005
36005
|
const { path: tempSettingsPath, statusLine } = createTempSettingsFile(modelId, port);
|