@wu529778790/open-im 1.10.9-beta.7 → 1.10.9-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.
@@ -381,7 +381,7 @@ async function getOrCreateSession(sessionId, workDir, model, permissionMode, onS
381
381
  if (!sessionId) {
382
382
  const latest = findLatestClaudeSession(workDir);
383
383
  if (latest) {
384
- // 安全检查:如果 CLI 正在使用该 session,不能接管
384
+ // 安全检查:如果 CLI 正在使用该 session(文件 30 秒内有写入),不能接管
385
385
  if (isCliSessionActive(latest.sessionId, latest.filePath)) {
386
386
  log.info(`CLI is actively using session ${latest.sessionId}, skipping auto-resume`);
387
387
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wu529778790/open-im",
3
- "version": "1.10.9-beta.7",
3
+ "version": "1.10.9-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",