claudish 6.7.0 → 6.8.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
|
@@ -23256,16 +23256,19 @@ var init_provider_definitions = __esm(() => {
|
|
|
23256
23256
|
name: "deepseek",
|
|
23257
23257
|
displayName: "DeepSeek",
|
|
23258
23258
|
transport: "openai",
|
|
23259
|
-
|
|
23260
|
-
|
|
23261
|
-
|
|
23262
|
-
|
|
23263
|
-
|
|
23259
|
+
tokenStrategy: "delta-aware",
|
|
23260
|
+
baseUrl: "https://api.deepseek.com",
|
|
23261
|
+
baseUrlEnvVars: ["DEEPSEEK_BASE_URL"],
|
|
23262
|
+
apiPath: "/v1/chat/completions",
|
|
23263
|
+
apiKeyEnvVar: "DEEPSEEK_API_KEY",
|
|
23264
|
+
apiKeyDescription: "DeepSeek API Key",
|
|
23265
|
+
apiKeyUrl: "https://platform.deepseek.com/api_keys",
|
|
23264
23266
|
shortcuts: ["ds"],
|
|
23265
23267
|
shortestPrefix: "ds",
|
|
23266
|
-
legacyPrefixes: [],
|
|
23268
|
+
legacyPrefixes: [{ prefix: "ds/", stripPrefix: true }],
|
|
23267
23269
|
nativeModelPatterns: [{ pattern: /^deepseek\//i }, { pattern: /^deepseek-/i }],
|
|
23268
|
-
|
|
23270
|
+
isDirectApi: true,
|
|
23271
|
+
description: "DeepSeek API (ds@)"
|
|
23269
23272
|
},
|
|
23270
23273
|
{
|
|
23271
23274
|
name: "qwen",
|
|
@@ -25306,7 +25309,7 @@ function getFallbackChain(modelName, nativeProvider) {
|
|
|
25306
25309
|
displayName: sub.displayName
|
|
25307
25310
|
});
|
|
25308
25311
|
}
|
|
25309
|
-
if (nativeProvider !== "unknown" && nativeProvider !== "qwen" && nativeProvider !== "
|
|
25312
|
+
if (nativeProvider !== "unknown" && nativeProvider !== "qwen" && nativeProvider !== "native-anthropic") {
|
|
25310
25313
|
if (hasProviderCredentials(nativeProvider)) {
|
|
25311
25314
|
const prefix = PROVIDER_TO_PREFIX[nativeProvider] || nativeProvider;
|
|
25312
25315
|
routes.push({
|
|
@@ -25343,6 +25346,7 @@ var init_auto_route = __esm(() => {
|
|
|
25343
25346
|
"minimax-coding": { apiKeyEnvVar: "MINIMAX_CODING_API_KEY" },
|
|
25344
25347
|
glm: { apiKeyEnvVar: "ZHIPU_API_KEY" },
|
|
25345
25348
|
"glm-coding": { apiKeyEnvVar: "GLM_CODING_API_KEY" },
|
|
25349
|
+
deepseek: { apiKeyEnvVar: "DEEPSEEK_API_KEY" },
|
|
25346
25350
|
ollamacloud: { apiKeyEnvVar: "OLLAMA_API_KEY" }
|
|
25347
25351
|
};
|
|
25348
25352
|
PROVIDER_TO_PREFIX = (() => {
|
|
@@ -28949,6 +28953,7 @@ var init_provider_profiles = __esm(() => {
|
|
|
28949
28953
|
"glm-coding": glmProfile,
|
|
28950
28954
|
"opencode-zen": openCodeZenProfile,
|
|
28951
28955
|
"opencode-zen-go": openCodeZenProfile,
|
|
28956
|
+
deepseek: openaiProfile,
|
|
28952
28957
|
ollamacloud: ollamaCloudProfile,
|
|
28953
28958
|
litellm: litellmProfile,
|
|
28954
28959
|
vertex: vertexProfile
|
|
@@ -34469,7 +34474,7 @@ async function fetchGLMCodingModels() {
|
|
|
34469
34474
|
return [];
|
|
34470
34475
|
}
|
|
34471
34476
|
}
|
|
34472
|
-
var __filename4, __dirname4, VERSION = "6.
|
|
34477
|
+
var __filename4, __dirname4, VERSION = "6.8.0", CACHE_MAX_AGE_DAYS2 = 2, CLAUDISH_CACHE_DIR2, BUNDLED_MODELS_PATH, CACHED_MODELS_PATH, ALL_MODELS_JSON_PATH;
|
|
34473
34478
|
var init_cli = __esm(() => {
|
|
34474
34479
|
init_config();
|
|
34475
34480
|
init_model_loader();
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|