cicy-desktop 2.1.164 → 2.1.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/.github/workflows/build-wsl-package.yml +11 -0
- package/package.json +1 -1
- package/src/backends/homepage-preload.js +3 -3
- package/src/backends/homepage-react/assets/{index-DpB75035.js → index-C8HjxypR.js} +14 -14
- package/src/backends/homepage-react/assets/{index-BwoV_5tD.css → index-CGcN1St7.css} +1 -1
- package/src/backends/homepage-react/index.html +2 -2
- package/src/backends/local-teams.js +8 -8
- package/src/backends/sidecar-ipc.js +72 -69
- package/src/i18n/locales/en.json +2 -4
- package/src/i18n/locales/fr.json +2 -4
- package/src/i18n/locales/ja.json +2 -4
- package/src/i18n/locales/zh-CN.json +2 -4
- package/src/main.js +3 -33
- package/src/sidecar/cicy-code.js +2 -2
- package/src/sidecar/colima-docker.js +14 -21
- package/src/sidecar/docker.js +1 -1
- package/src/sidecar/wsl-docker.js +19 -28
- package/workers/render/src/App.css +2 -8
- package/workers/render/src/App.jsx +28 -61
|
@@ -86,6 +86,17 @@ jobs:
|
|
|
86
86
|
./ossutil cp cicy-wsl.tar.gz "oss://cicy-1372193042-cn/${{ inputs.oss_key }}" -f --acl public-read
|
|
87
87
|
echo "Uploaded: https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com/${{ inputs.oss_key }}"
|
|
88
88
|
|
|
89
|
+
# macOS (colima) loads the cicy-code image tarball directly, NOT a WSL rootfs. So the
|
|
90
|
+
# SAME run also republishes images/cicy-code-latest.tar.gz from the image already saved
|
|
91
|
+
# at /tmp/cicy-image.tar — one workflow keeps BOTH platforms' docker images current
|
|
92
|
+
# (this OSS key had no producer, which is why macOS was stuck on a stale image).
|
|
93
|
+
- name: Publish cicy-code image tarball to OSS (macOS / colima)
|
|
94
|
+
run: |
|
|
95
|
+
gzip -c /tmp/cicy-image.tar > cicy-code-latest.tar.gz
|
|
96
|
+
ls -lh cicy-code-latest.tar.gz
|
|
97
|
+
./ossutil cp cicy-code-latest.tar.gz "oss://cicy-1372193042-cn/images/cicy-code-latest.tar.gz" -f --acl public-read
|
|
98
|
+
echo "Uploaded mac image: https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com/images/cicy-code-latest.tar.gz"
|
|
99
|
+
|
|
89
100
|
- name: Upload artifact (backup)
|
|
90
101
|
uses: actions/upload-artifact@v4
|
|
91
102
|
with:
|
package/package.json
CHANGED
|
@@ -155,9 +155,9 @@ 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 :
|
|
158
|
+
// Docker-版 cicy-code on :8009 (the homepage "Docker cicy-code" card).
|
|
159
159
|
// appStatus → { installed, running, port, platform }; appBootstrap installs
|
|
160
|
-
// Docker (if missing, installer → Desktop) + starts the :
|
|
160
|
+
// Docker (if missing, installer → Desktop) + starts the :8009 container,
|
|
161
161
|
// streaming phase/progress on 'docker:app-progress'.
|
|
162
162
|
appStatus: () => logInvoke("docker:app-status"),
|
|
163
163
|
appRedetect: () => logInvoke("docker:app-redetect"), // 「重试检测」: FORCE a fresh probe (appStatus only reads cache)
|
|
@@ -168,7 +168,7 @@ contextBridge.exposeInMainWorld("cicy", {
|
|
|
168
168
|
appUpdate: () => logInvoke("docker:app-update"),
|
|
169
169
|
appStop: () => logInvoke("docker:app-stop"),
|
|
170
170
|
appUpgrade: () => logInvoke("docker:app-upgrade"),
|
|
171
|
-
// Open :
|
|
171
|
+
// Open :8009 with the live container token (refuses if it can't read it).
|
|
172
172
|
appOpen: () => logInvoke("docker:app-open"),
|
|
173
173
|
onAppProgress: (cb) => {
|
|
174
174
|
const handler = (_e, ev) => { try { cb(ev); } catch {} };
|