cicy-desktop 2.1.181 → 2.1.183
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/linux-app-release.yml +4 -31
- package/.github/workflows/mac-app-release.yml +11 -47
- package/package.json +7 -7
- package/src/backends/homepage-react/assets/{index-DhqT69Bv.js → index-DMu8vPBF.js} +17 -17
- package/src/backends/homepage-react/index.html +1 -1
- package/src/backends/ipc.js +8 -6
- package/src/backends/sidecar-ipc.js +7 -3
- package/src/i18n/locales/en.json +163 -6
- package/src/i18n/locales/fr.json +169 -11
- package/src/i18n/locales/ja.json +169 -11
- package/src/i18n/locales/zh-CN.json +163 -6
- package/src/main.js +45 -41
- package/src/sidecar/cicy-code.js +12 -5
- package/src/sidecar/localbin.js +45 -4
- package/workers/render/src/App.jsx +48 -42
- package/.cicy-code-ref +0 -1
- package/scripts/prepare-cicy-code-sidecar.js +0 -116
|
@@ -23,36 +23,10 @@ jobs:
|
|
|
23
23
|
node-version: "20"
|
|
24
24
|
cache: "npm"
|
|
25
25
|
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- name: Read cicy-code ref pin
|
|
32
|
-
id: cicy_code_ref
|
|
33
|
-
shell: bash
|
|
34
|
-
run: |
|
|
35
|
-
ref="$(cat .cicy-code-ref | tr -d '[:space:]')"
|
|
36
|
-
echo "ref=${ref}" >> "$GITHUB_OUTPUT"
|
|
37
|
-
if ! [[ "$ref" =~ ^v[0-9]+\.[0-9]+\.[0-9]+ ]]; then
|
|
38
|
-
echo "::error::.cicy-code-ref must be a release tag (vX.Y.Z), got: $ref"
|
|
39
|
-
exit 1
|
|
40
|
-
fi
|
|
41
|
-
|
|
42
|
-
- name: Checkout cicy-code as sibling
|
|
43
|
-
uses: actions/checkout@v4
|
|
44
|
-
with:
|
|
45
|
-
repository: cicy-ai/cicy-code
|
|
46
|
-
ref: ${{ steps.cicy_code_ref.outputs.ref }}
|
|
47
|
-
path: cicy-code
|
|
48
|
-
|
|
49
|
-
- name: Build cicy-code sidecar binaries (linux amd64 + arm64)
|
|
50
|
-
shell: bash
|
|
51
|
-
working-directory: cicy-code
|
|
52
|
-
run: |
|
|
53
|
-
SKIP_TTYD_ASSET=1 SKIP_SKILLS_EMBED=1 bash build.sh all
|
|
54
|
-
ls -lh dist/
|
|
55
|
-
|
|
26
|
+
# cicy-code is NOT built-from-source here anymore (主人 2026-06): bundled
|
|
27
|
+
# sidecar = the per-platform optionalDependency, seeded by localbin at runtime.
|
|
28
|
+
# The .cicy-code-ref source-build → vendor/cicy-code path was stale + never
|
|
29
|
+
# packaged, so it's removed. Sync just pins optionalDeps to latest.
|
|
56
30
|
- name: Sync runtime deps to latest (cicy-code + cicy-mihomo; drop msys2)
|
|
57
31
|
run: node scripts/sync-runtime-deps.cjs
|
|
58
32
|
|
|
@@ -69,7 +43,6 @@ jobs:
|
|
|
69
43
|
- name: Build Linux app (deb + AppImage)
|
|
70
44
|
shell: bash
|
|
71
45
|
env:
|
|
72
|
-
CICY_CODE_DIST_DIR: ${{ github.workspace }}/cicy-code/dist
|
|
73
46
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
74
47
|
run: |
|
|
75
48
|
set -euo pipefail
|
|
@@ -23,44 +23,12 @@ jobs:
|
|
|
23
23
|
node-version: "20"
|
|
24
24
|
cache: "npm"
|
|
25
25
|
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
id: cicy_code_ref
|
|
33
|
-
shell: bash
|
|
34
|
-
run: |
|
|
35
|
-
ref="$(cat .cicy-code-ref | tr -d '[:space:]')"
|
|
36
|
-
echo "ref=${ref}" >> "$GITHUB_OUTPUT"
|
|
37
|
-
# Enforce: ref must be a tagged release (vX.Y.Z), not a branch.
|
|
38
|
-
# This guarantees a deterministic build and lets the homepage
|
|
39
|
-
# display the same version it shipped with.
|
|
40
|
-
if ! [[ "$ref" =~ ^v[0-9]+\.[0-9]+\.[0-9]+ ]]; then
|
|
41
|
-
echo "::error::.cicy-code-ref must be a release tag (vX.Y.Z), got: $ref"
|
|
42
|
-
exit 1
|
|
43
|
-
fi
|
|
44
|
-
|
|
45
|
-
- name: Checkout cicy-code as sibling
|
|
46
|
-
uses: actions/checkout@v4
|
|
47
|
-
with:
|
|
48
|
-
repository: cicy-ai/cicy-code
|
|
49
|
-
ref: ${{ steps.cicy_code_ref.outputs.ref }}
|
|
50
|
-
path: cicy-code
|
|
51
|
-
|
|
52
|
-
- name: Build cicy-code sidecar binaries (darwin amd64 + arm64)
|
|
53
|
-
# `bash build.sh all` runs prepare_embed (cicy-skills tarball, frontend,
|
|
54
|
-
# ttyd assets) and cross-compiles all four darwin/linux targets.
|
|
55
|
-
# We only need the two darwin slots for the Mac .app, but building
|
|
56
|
-
# the linux ones here is cheap (~20s) and keeps the prepare:sidecar
|
|
57
|
-
# script's "all targets at once" mode happy.
|
|
58
|
-
shell: bash
|
|
59
|
-
working-directory: cicy-code
|
|
60
|
-
run: |
|
|
61
|
-
bash build.sh all
|
|
62
|
-
ls -lh dist/
|
|
63
|
-
|
|
26
|
+
# cicy-code is NOT built-from-source here anymore. 主人(2026-06): the bundled
|
|
27
|
+
# sidecar = the per-platform optionalDependency (cicy-code-<plat>, prebuilt +
|
|
28
|
+
# arm64 linker-adhoc-signed), seeded at runtime by localbin.fromBundle. The old
|
|
29
|
+
# .cicy-code-ref source-build → vendor/cicy-code path was stale + never packaged
|
|
30
|
+
# (vendor/ not in package.json files), so it's removed. Sync just pins the
|
|
31
|
+
# optionalDeps to the latest published cicy-code/cicy-mihomo.
|
|
64
32
|
- name: Sync runtime deps to latest (cicy-code + cicy-mihomo; drop msys2)
|
|
65
33
|
run: node scripts/sync-runtime-deps.cjs
|
|
66
34
|
|
|
@@ -100,16 +68,13 @@ jobs:
|
|
|
100
68
|
iconutil -c icns build/icon.iconset -o build/logo.icns || { echo "::warning::iconutil failed"; exit 0; }
|
|
101
69
|
|
|
102
70
|
- name: Build macOS app (dmg + zip, unsigned)
|
|
103
|
-
#
|
|
104
|
-
#
|
|
105
|
-
#
|
|
106
|
-
#
|
|
107
|
-
#
|
|
108
|
-
# unsigned build (with the cicy-code sidecar ad-hoc signed by
|
|
109
|
-
# prepare-cicy-code-sidecar.js so Apple Silicon will exec it).
|
|
71
|
+
# CSC_IDENTITY_AUTO_DISCOVERY=false stops electron-builder from probing the
|
|
72
|
+
# runner keychain for a cert it does not have; combined with
|
|
73
|
+
# build.mac.identity=null in package.json this produces a clean unsigned
|
|
74
|
+
# build. The cicy-code sidecar arrives via the optionalDependency
|
|
75
|
+
# (arm64 is linker-adhoc-signed already), seeded by localbin at runtime.
|
|
110
76
|
shell: bash
|
|
111
77
|
env:
|
|
112
|
-
CICY_CODE_DIST_DIR: ${{ github.workspace }}/cicy-code/dist
|
|
113
78
|
CSC_IDENTITY_AUTO_DISCOVERY: "false"
|
|
114
79
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
115
80
|
run: |
|
|
@@ -161,7 +126,6 @@ jobs:
|
|
|
161
126
|
shell: bash
|
|
162
127
|
env:
|
|
163
128
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
164
|
-
CICY_CODE_DIST_DIR: ${{ github.workspace }}/cicy-code/dist
|
|
165
129
|
CSC_IDENTITY_AUTO_DISCOVERY: "false"
|
|
166
130
|
run: |
|
|
167
131
|
gh release upload "${{ steps.meta.outputs.tag }}" dist/*.dmg dist/*.zip \
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cicy-desktop",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.183",
|
|
4
4
|
"description": "CiCy - AI-powered operating system browser",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"bin": {
|
|
@@ -137,14 +137,14 @@
|
|
|
137
137
|
"zod": "3.25",
|
|
138
138
|
"electron-updater": "6.6.2"
|
|
139
139
|
},
|
|
140
|
-
"//optionalDependencies": "
|
|
140
|
+
"//optionalDependencies": "主人(2026-06 回调): mac/linux 改回 native cicy-code(:8008,colima 在 16G mac 上压垮内存)→ 重新内置 cicy-code-<plat> / cicy-mihomo-<plat>,localbin.fromBundle 零网络 seed(npm 仅作更新通道,带 npmmirror→npmjs 回退)。这些由 scripts/sync-runtime-deps.cjs 在 tag-push 时同步到最新版。npm 的 os/cpu 字段保证每个平台只装自己那份。Windows 仍走 docker(WSL :8009),它那份 cicy-code-windows 用不到但 bundle 着无害。",
|
|
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.23",
|
|
144
|
+
"cicy-code-darwin-arm64": "2.3.23",
|
|
145
|
+
"cicy-code-linux-x64": "2.3.23",
|
|
146
|
+
"cicy-code-linux-arm64": "2.3.23",
|
|
147
|
+
"cicy-code-windows-x64": "2.3.23",
|
|
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",
|