claudish 6.0.0 → 6.0.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 +3 -2
- package/package.json +1 -1
- package/recommended-models.json +1 -1
package/dist/index.js
CHANGED
|
@@ -35404,7 +35404,7 @@ async function parseArgs(args) {
|
|
|
35404
35404
|
config3.stdin = true;
|
|
35405
35405
|
} else if (arg === "--free") {
|
|
35406
35406
|
config3.freeOnly = true;
|
|
35407
|
-
} else if (arg === "--profile"
|
|
35407
|
+
} else if (arg === "--profile") {
|
|
35408
35408
|
const profileArg = args[++i];
|
|
35409
35409
|
if (!profileArg) {
|
|
35410
35410
|
console.error("--profile requires a profile name");
|
|
@@ -36891,7 +36891,7 @@ async function fetchGLMCodingModels() {
|
|
|
36891
36891
|
return [];
|
|
36892
36892
|
}
|
|
36893
36893
|
}
|
|
36894
|
-
var __filename4, __dirname4, VERSION = "6.0.
|
|
36894
|
+
var __filename4, __dirname4, VERSION = "6.0.1", CACHE_MAX_AGE_DAYS2 = 2, CLAUDISH_CACHE_DIR2, BUNDLED_MODELS_PATH, CACHED_MODELS_PATH, ALL_MODELS_JSON_PATH;
|
|
36895
36895
|
var init_cli = __esm(() => {
|
|
36896
36896
|
init_config();
|
|
36897
36897
|
init_model_loader();
|
|
@@ -104458,6 +104458,7 @@ function createAnthropicPassthroughStream(c, response, opts) {
|
|
|
104458
104458
|
outputTokens = data.message.usage.output_tokens || outputTokens;
|
|
104459
104459
|
}
|
|
104460
104460
|
if (data.usage) {
|
|
104461
|
+
inputTokens = data.usage.input_tokens || inputTokens;
|
|
104461
104462
|
outputTokens = data.usage.output_tokens || outputTokens;
|
|
104462
104463
|
}
|
|
104463
104464
|
if (data.type === "content_block_delta" && data.delta?.type === "text_delta") {
|
package/package.json
CHANGED