cicy-desktop 2.1.193 → 2.1.194

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": "cicy-desktop",
3
- "version": "2.1.193",
3
+ "version": "2.1.194",
4
4
  "description": "CiCy - AI-powered operating system browser",
5
5
  "main": "src/main.js",
6
6
  "bin": {
@@ -140,11 +140,11 @@
140
140
  "//optionalDependencies": "主人(2026-06 回调): mac/linux 改回 native cicy-code(:8008,colima 在 16G mac 上压垮内存)→ 重新内置 cicy-code-<plat> / cicy-mihomo-<plat>,localbin.fromBundle 零网络 seed(npm 仅作更新通道,带 npmmirror→npmjs 回退)。这些由 scripts/sync-runtime-deps.cjs 在 tag-push 时同步到最新版。npm 的 os/cpu 字段保证每个平台只装自己那份。Windows 仍走 docker(WSL :8009),它那份 cicy-code-windows 用不到但 bundle 着无害。",
141
141
  "optionalDependencies": {
142
142
  "electron": "41.0.3",
143
- "cicy-code-darwin-x64": "2.3.24",
143
+ "cicy-code-darwin-x64": "2.3.25",
144
144
  "cicy-code-darwin-arm64": "2.3.25",
145
- "cicy-code-linux-x64": "2.3.24",
145
+ "cicy-code-linux-x64": "2.3.25",
146
146
  "cicy-code-linux-arm64": "2.3.25",
147
- "cicy-code-windows-x64": "2.3.24",
147
+ "cicy-code-windows-x64": "2.3.25",
148
148
  "cicy-mihomo-darwin-x64": "1.10.4",
149
149
  "cicy-mihomo-darwin-arm64": "1.10.4",
150
150
  "cicy-mihomo-linux-x64": "1.10.4",
@@ -496,7 +496,9 @@ async function update({ logPath, port = DEFAULT_PORT, emit } = {}) {
496
496
 
497
497
  // 3) 起:钉死 cicy-code@<latest>,绕开 npx 对裸 `cicy-code` 的缓存,确保拉到新版
498
498
  e({ phase: "swap", status: "running", message: `启动 cicy-code@${latest}…` });
499
- const c = await start({ logPath, port, force: true, version: latest });
499
+ // emit: start→ensureEnv 的「检查网络是否为 CN registry(CN=npmmirror)」+ npx
500
+ // 下载进度都显示在更新抽屉里(主人: 更新没探测 CN 网络 → 其实探了,但没 emit 出来,看不见)。
501
+ const c = await start({ logPath, port, force: true, version: latest, emit: e });
500
502
 
501
503
  // 4) 探活:等 TCP 监听起来。注意:cicy-code 启动会先恢复团队的 agent 面板
502
504
  // (w-1xx,可能十几个),:8008 在这些 REPL 拉起之后才 bind —— 繁忙团队这一步