@aiyiran/myclaw 1.1.120 → 1.1.122

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/index.js CHANGED
@@ -2743,6 +2743,14 @@ if (!command) {
2743
2743
  console.log('[2/4] mc patch — 注入 UI + 技能');
2744
2744
  runPatch();
2745
2745
  console.log('');
2746
+ console.log('[2.5/4] inject-minimax --default — 注入 MiniMax 模型并设为默认');
2747
+ try {
2748
+ const minimax = require('./injects/inject-minimax');
2749
+ minimax.run(['--default']);
2750
+ } catch (err) {
2751
+ console.log('[mc init] ⚠ inject-minimax 失败: ' + err.message);
2752
+ }
2753
+ console.log('');
2746
2754
  console.log('[3/4] mc server — 启动同步服务');
2747
2755
  runServer(args[1]);
2748
2756
  console.log('');
@@ -17,7 +17,7 @@ const path = require('path');
17
17
  const os = require('os');
18
18
  const { readConfig, writeConfig } = require('../find-config');
19
19
 
20
- const DEFAULT_MINIMAX_KEY = "sk-cp-DC5lWd2Stt9CBFzLIT2awP4K-ZEn5AkYwjl3Cdj-mIBmgjxod518F2LaVF2L9c35Wv5-Eox0F1ctJD5vXtB9p3OmxoWLd9ge9zIUIMrCVuqBYdL_s6kb8Qs";
20
+ const DEFAULT_MINIMAX_KEY = "sk-cp-dZnzWB-ScLfjo8bO7DKTqSutkBXQsLWUmjhNDBRkgJd5e42qcE7z8J9i5m27V28eX-dYfo5Q7JNVG4XVsDi1zRxkIFZ4fT0DPGPJY7cHbqY5aBzJO1c6QVA";
21
21
 
22
22
  const PROVIDER_ID = "minimax";
23
23
  const DEFAULT_MODEL = "minimax/MiniMax-M3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiyiran/myclaw",
3
- "version": "1.1.120",
3
+ "version": "1.1.122",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -70,11 +70,7 @@
70
70
  "strategy": "auto",
71
71
  "description": "搜索配置注入 (Tavily)"
72
72
  },
73
- {
74
- "module": "./injects/inject-minimax",
75
- "strategy": "auto",
76
- "description": "MiniMax 模型注入"
77
- },
73
+
78
74
  {
79
75
  "module": "./injects/inject-image",
80
76
  "strategy": "auto",