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 +1 -1
- package/src/backends/homepage-preload.js +12 -0
- package/src/backends/homepage-react/assets/index-C7gQsfPP.js +365 -0
- package/src/backends/homepage-react/index.html +1 -1
- package/src/backends/sidecar-ipc.js +60 -0
- package/src/sidecar/docker.js +33 -21
- package/workers/render/src/App.jsx +222 -1
- package/src/backends/homepage-react/assets/index-5vDVCGqD.js +0 -365
package/package.json
CHANGED
|
@@ -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"),
|