cicy-desktop 2.1.94 → 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.94",
3
+ "version": "2.1.95",
4
4
  "description": "CiCy - AI-powered operating system browser",
5
5
  "main": "src/main.js",
6
6
  "bin": {
@@ -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"),