cicy-desktop 2.1.171 → 2.1.173
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 +9 -7
- package/package.json +6 -6
- package/src/backends/homepage-react/assets/{index-FJWXPnJp.js → index-Cirmfhyz.js} +6 -6
- package/src/backends/homepage-react/index.html +1 -1
- package/src/sidecar/colima-docker.js +5 -1
- package/src/sidecar/wsl-docker.js +4 -1
- package/workers/render/src/App.jsx +9 -1
|
@@ -53,18 +53,20 @@ jobs:
|
|
|
53
53
|
EOF
|
|
54
54
|
docker build -t cicy-wsl-base ctx
|
|
55
55
|
|
|
56
|
-
- name:
|
|
56
|
+
- name: Build WSL rootfs (Ubuntu + Docker, image NOT baked)
|
|
57
57
|
run: |
|
|
58
|
+
# 主人: image NO LONGER baked into the rootfs. wsl-docker.bootstrap downloads +
|
|
59
|
+
# docker-loads cicy-code-latest.tar.gz at setup (像 mac/colima 那样) → WSL 也拿最新
|
|
60
|
+
# 烤制镜像,且镜像更新不必重下整个 rootfs(rootfs=Ubuntu+Docker 很少变,瘦了 ~169MB)。
|
|
58
61
|
docker pull "${{ inputs.image }}"
|
|
62
|
+
# Still save the image so the SAME run republishes the macOS tarball (next step).
|
|
59
63
|
docker save "${{ inputs.image }}" -o /tmp/cicy-image.tar
|
|
60
|
-
# Run the base privileged, start an inner dockerd
|
|
61
|
-
#
|
|
62
|
-
cid=$(docker run -d --privileged
|
|
64
|
+
# Run the base privileged, start an inner dockerd ONCE then stop — purely to clear
|
|
65
|
+
# stale daemon runtime files so the FIRST dockerd in WSL2 starts clean. No image load.
|
|
66
|
+
cid=$(docker run -d --privileged cicy-wsl-base \
|
|
63
67
|
bash -c '
|
|
64
68
|
nohup dockerd >/var/log/dind.log 2>&1 &
|
|
65
69
|
for i in $(seq 1 60); do docker info >/dev/null 2>&1 && break; sleep 1; done
|
|
66
|
-
docker load -i /img.tar
|
|
67
|
-
docker images
|
|
68
70
|
pkill dockerd || true
|
|
69
71
|
sleep 4
|
|
70
72
|
# Drop stale daemon runtime files so the FIRST dockerd in WSL2 does
|
|
@@ -73,7 +75,7 @@ jobs:
|
|
|
73
75
|
')
|
|
74
76
|
docker logs -f "$cid" || true
|
|
75
77
|
rc=$(docker wait "$cid"); echo "inner exit=$rc"
|
|
76
|
-
# Export the
|
|
78
|
+
# Export the container filesystem = the WSL rootfs (Ubuntu + Docker, no image).
|
|
77
79
|
docker export "$cid" | gzip > cicy-wsl.tar.gz
|
|
78
80
|
ls -lh cicy-wsl.tar.gz
|
|
79
81
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cicy-desktop",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.173",
|
|
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": "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.",
|
|
141
141
|
"optionalDependencies": {
|
|
142
142
|
"electron": "41.0.3",
|
|
143
|
-
"cicy-code-darwin-x64": "2.3.
|
|
144
|
-
"cicy-code-darwin-arm64": "2.3.
|
|
145
|
-
"cicy-code-linux-x64": "2.3.
|
|
146
|
-
"cicy-code-linux-arm64": "2.3.
|
|
147
|
-
"cicy-code-windows-x64": "2.3.
|
|
143
|
+
"cicy-code-darwin-x64": "2.3.21",
|
|
144
|
+
"cicy-code-darwin-arm64": "2.3.21",
|
|
145
|
+
"cicy-code-linux-x64": "2.3.21",
|
|
146
|
+
"cicy-code-linux-arm64": "2.3.21",
|
|
147
|
+
"cicy-code-windows-x64": "2.3.21",
|
|
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",
|