cicy-desktop 2.1.65 → 2.1.67
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 +15 -1
- package/src/backends/homepage-preload.js +17 -0
- package/src/backends/homepage-react/assets/index-B8gGhz8B.js +365 -0
- package/src/backends/homepage-react/assets/{index-BV0z4aaf.css → index-BniEbx_j.css} +1 -1
- package/src/backends/homepage-react/index.html +2 -2
- package/src/backends/sidecar-ipc.js +27 -4
- package/src/i18n/locales/en.json +36 -1
- package/src/i18n/locales/fr.json +38 -1
- package/src/i18n/locales/ja.json +38 -1
- package/src/i18n/locales/zh-CN.json +36 -1
- package/src/main.js +27 -0
- package/src/sidecar/cicy-code.js +87 -4
- package/src/sidecar/native.js +26 -5
- package/src/sidecar/runtime.js +256 -0
- package/workers/render/src/App.css +81 -0
- package/workers/render/src/App.jsx +227 -4
- package/workers/render/src/termsText.js +9 -0
- package/src/backends/homepage-react/assets/index-C0vFqx44.js +0 -49
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cicy-desktop",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.67",
|
|
4
4
|
"description": "CiCy - AI-powered operating system browser",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"bin": {
|
|
@@ -131,6 +131,20 @@
|
|
|
131
131
|
"electron-updater": "6.6.2",
|
|
132
132
|
"electron": "41.0.3"
|
|
133
133
|
},
|
|
134
|
+
"//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.",
|
|
135
|
+
"optionalDependencies": {
|
|
136
|
+
"cicy-code-darwin-x64": "2.1.60",
|
|
137
|
+
"cicy-code-darwin-arm64": "2.1.60",
|
|
138
|
+
"cicy-code-linux-x64": "2.1.60",
|
|
139
|
+
"cicy-code-linux-arm64": "2.1.60",
|
|
140
|
+
"cicy-code-windows-x64": "2.1.60",
|
|
141
|
+
"cicy-mihomo-darwin-x64": "1.10.4",
|
|
142
|
+
"cicy-mihomo-darwin-arm64": "1.10.4",
|
|
143
|
+
"cicy-mihomo-linux-x64": "1.10.4",
|
|
144
|
+
"cicy-mihomo-linux-arm64": "1.10.4",
|
|
145
|
+
"cicy-mihomo-windows-x64": "1.10.4",
|
|
146
|
+
"cicy-mihomo-windows-arm64": "1.10.4"
|
|
147
|
+
},
|
|
134
148
|
"devDependencies": {
|
|
135
149
|
"@babel/core": "^7.29.0",
|
|
136
150
|
"@babel/preset-env": "^7.29.0",
|
|
@@ -109,6 +109,23 @@ contextBridge.exposeInMainWorld("cicy", {
|
|
|
109
109
|
stop: () => logInvoke("sidecar:stop"),
|
|
110
110
|
restart: () => logInvoke("sidecar:restart"),
|
|
111
111
|
update: () => logInvoke("sidecar:update"),
|
|
112
|
+
// live {op, phase, status, message, progress?} events during update —
|
|
113
|
+
// returns an unsubscribe fn.
|
|
114
|
+
onOpProgress: (cb) => {
|
|
115
|
+
const handler = (_e, ev) => { try { cb(ev); } catch {} };
|
|
116
|
+
ipcRenderer.on("sidecar:op-progress", handler);
|
|
117
|
+
return () => ipcRenderer.removeListener("sidecar:op-progress", handler);
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
// MITM CA elevation fallback (exec self-elevating install-ca/uninstall-ca).
|
|
121
|
+
mitm: {
|
|
122
|
+
caExec: (action) => logInvoke("mitm:ca-exec", action), // "install" | "uninstall"
|
|
123
|
+
},
|
|
124
|
+
// First-run terms gate (合规第一道整体同意).
|
|
125
|
+
terms: {
|
|
126
|
+
status: (version) => logInvoke("terms:status", version),
|
|
127
|
+
agree: (version) => logInvoke("terms:agree", version),
|
|
128
|
+
decline: () => logInvoke("terms:decline"),
|
|
112
129
|
},
|
|
113
130
|
// Windows Docker bootstrap (install Docker → load image → start container).
|
|
114
131
|
docker: {
|