cicy-desktop 2.1.93 → 2.1.95

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.93",
3
+ "version": "2.1.95",
4
4
  "description": "CiCy - AI-powered operating system browser",
5
5
  "main": "src/main.js",
6
6
  "bin": {
@@ -133,11 +133,11 @@
133
133
  "//optionalDependencies": "Runtime Bundle v1 (主人指令): platform binaries delivered by `npm i -g cicy-desktop` itself — npm installs only the current-platform subpackage (os/cpu pinned in each), so first start seeds the runtime store with ZERO network, ZERO npx. Windows packages are named *-windows-* (npm spam filter 403s new names containing win32). cicy-msys2 added once published.",
134
134
  "optionalDependencies": {
135
135
  "electron": "41.0.3",
136
- "cicy-code-darwin-x64": "2.3.12",
137
- "cicy-code-darwin-arm64": "2.3.12",
138
- "cicy-code-linux-x64": "2.3.12",
139
- "cicy-code-linux-arm64": "2.3.12",
140
- "cicy-code-windows-x64": "2.3.12",
136
+ "cicy-code-darwin-x64": "2.3.13",
137
+ "cicy-code-darwin-arm64": "2.3.13",
138
+ "cicy-code-linux-x64": "2.3.13",
139
+ "cicy-code-linux-arm64": "2.3.13",
140
+ "cicy-code-windows-x64": "2.3.13",
141
141
  "cicy-mihomo-darwin-x64": "1.10.4",
142
142
  "cicy-mihomo-darwin-arm64": "1.10.4",
143
143
  "cicy-mihomo-linux-x64": "1.10.4",
@@ -155,6 +155,18 @@ contextBridge.exposeInMainWorld("cicy", {
155
155
  ipcRenderer.on("docker:bootstrap-progress", handler);
156
156
  return () => ipcRenderer.removeListener("docker:bootstrap-progress", handler);
157
157
  },
158
+ // Docker-版 cicy-code on :8009 (the homepage "Docker cicy-code" card).
159
+ // appStatus → { installed, running, port, platform }; appBootstrap installs
160
+ // Docker (if missing, installer → Desktop) + starts the :8009 container,
161
+ // streaming phase/progress on 'docker:app-progress'.
162
+ appStatus: () => logInvoke("docker:app-status"),
163
+ appBootstrap: () => logInvoke("docker:app-bootstrap"),
164
+ appStop: () => logInvoke("docker:app-stop"),
165
+ onAppProgress: (cb) => {
166
+ const handler = (_e, ev) => { try { cb(ev); } catch {} };
167
+ ipcRenderer.on("docker:app-progress", handler);
168
+ return () => ipcRenderer.removeListener("docker:app-progress", handler);
169
+ },
158
170
  },
159
171
  windows: {
160
172
  list: () => logInvoke("windows:list"),