yingclaw 2.5.27 → 2.5.31

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/lib/config.js CHANGED
@@ -184,7 +184,7 @@ const PROVIDERS = {
184
184
  };
185
185
 
186
186
  const PREFERRED_MODEL_IDS = {
187
- qwen: ['qwen3-max', 'qwen3-plus', 'qwen3.5-plus'],
187
+ qwen: ['qwen3-max', 'qwen3-plus', 'qwen3.5-plus'],
188
188
  minimax: ['MiniMax-M2.7', 'MiniMax-M2.7-Turbo', 'MiniMax-M2.5'],
189
189
  glm: ['GLM-4.7', 'GLM-5.1', 'GLM-5-Turbo', 'GLM-4.5-Air'],
190
190
  mimo: ['mimo-v2.5-pro', 'mimo-v2.5', 'mimo-v2-flash'],
@@ -250,7 +250,7 @@ function parseModelIdsResponse(providerKey, data) {
250
250
  if (providerKey === 'bai') {
251
251
  return normalizeModelIds(providerKey, ids.filter(id => !id.includes('/')));
252
252
  }
253
- return normalizeModelIds(providerKey, ids);
253
+ return normalizeModelIds(providerKey, ids);
254
254
  }
255
255
 
256
256
  function normalizeAnthropicBaseUrl(baseUrl) {
package/lib/install.js CHANGED
@@ -30,6 +30,7 @@ function buildWindowsYingclawUpgradeScript(network, options = {}) {
30
30
  return [
31
31
  '@echo off',
32
32
  'chcp 65001 >nul',
33
+ 'cd /d "%USERPROFILE%"',
33
34
  'echo yingclaw Windows updater',
34
35
  'echo.',
35
36
  'echo 当前 claw 进程退出后开始升级,避免 Windows 文件锁 EBUSY...',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yingclaw",
3
- "version": "2.5.27",
3
+ "version": "2.5.31",
4
4
  "description": "Claude Code × 国产大模型一键接入:DeepSeek、Kimi、火山方舟、Qwen、MiniMax、GLM、MiMo、自定义接口",
5
5
  "main": "index.js",
6
6
  "bin": {