@wu529778790/open-im 1.7.1-beta.7 → 1.7.1-beta.9

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.
Files changed (2) hide show
  1. package/dist/config.js +4 -3
  2. package/package.json +1 -1
package/dist/config.js CHANGED
@@ -400,8 +400,9 @@ export function loadConfig() {
400
400
  '方式 2:运行配置向导',
401
401
  ' open-im init',
402
402
  '',
403
- '方式 3:编辑 ~/.open-im/config.json 的 env 字段',
404
- ' ~/.claude/settings.json(与 Claude Code 共用)',
403
+ '方式 3:编辑配置文件',
404
+ ' ~/.open-im/config.json: tools.claude.model = "..."',
405
+ ' ~/.claude/settings.json: env.ANTHROPIC_MODEL = "..."(与 Claude Code 共用)',
405
406
  '',
406
407
  ].join('\n');
407
408
  throw new Error(errorMsg);
@@ -608,7 +609,7 @@ export function loadConfig() {
608
609
  claudeTimeoutMs,
609
610
  codexTimeoutMs,
610
611
  codebuddyTimeoutMs,
611
- claudeModel: process.env.CLAUDE_MODEL ?? tc.model,
612
+ claudeModel: process.env.ANTHROPIC_MODEL ?? tc.model,
612
613
  logDir,
613
614
  logLevel,
614
615
  platforms,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wu529778790/open-im",
3
- "version": "1.7.1-beta.7",
3
+ "version": "1.7.1-beta.9",
4
4
  "description": "Multi-platform IM bridge for AI CLI tools (Claude, Codex, CodeBuddy)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",