@wu529778790/open-im 0.3.10 → 0.3.11

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/cli.js +3 -5
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -151,11 +151,9 @@ async function startService() {
151
151
  console.log('\n请运行以下命令重新配置:\n npx @wu529778790/open-im\n');
152
152
  process.exit(1);
153
153
  }
154
- // 获取当前工作目录
155
- const currentDir = process.cwd();
156
- // 更新配置中的工作目录
157
- await updateWorkDir(currentDir);
158
- console.log(`工作目录已设置为: ${currentDir}`);
154
+ // 显示配置的工作目录(不自动更新,避免在不同目录重启时导致配置混乱)
155
+ const config = loadConfig();
156
+ console.log(`使用配置的工作目录: ${config.claudeWorkDir}`);
159
157
  // 后台启动 - 跨平台方案
160
158
  const distPath = join(__dirname, '..', 'dist', 'index.js');
161
159
  // 使用 detached 模式创建独立进程
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wu529778790/open-im",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "description": "Multi-platform IM bridge for AI CLI tools (Claude, Codex, Cursor)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",