chatccc 0.2.164 → 0.2.166

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chatccc",
3
- "version": "0.2.164",
3
+ "version": "0.2.166",
4
4
  "description": "Feishu bot bridge for Claude Code",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -177,7 +177,7 @@ function updLog(msg: string): void {
177
177
  try { appendFileSync(UPDATEG_LOG, `${ts} [UPG-SYNC] ${msg}\n`, "utf-8"); } catch {}
178
178
  }
179
179
 
180
- /** 同步更新 npm 全局包并重启(父进程存活等待,避免 systemd KillMode=control-group watcher) */
180
+ /** 同步更新 npm 全局包并 spawn 新进程重启。不依赖 systemd 或任何服务管理器。 */
181
181
  function syncUpdateAndRestart(): void {
182
182
  updLog(`sync update start, pid=${process.pid}`);
183
183
  appendStartupTrace("updateg: sync update start", { pid: process.pid });
@@ -236,7 +236,7 @@ function syncUpdateAndRestart(): void {
236
236
  }
237
237
 
238
238
  updLog("sync update done, parent exiting in 2s");
239
- appendStartupTrace("updateg: sync update done, exiting in 2s", { pid: process.pid });
239
+ appendStartupTrace("updateg: sync update done, exiting", { pid: process.pid });
240
240
  }
241
241
 
242
242
  // ---------------------------------------------------------------------------