cicy-desktop 2.1.88 → 2.1.89

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cicy-desktop",
3
- "version": "2.1.88",
3
+ "version": "2.1.89",
4
4
  "description": "CiCy - AI-powered operating system browser",
5
5
  "main": "src/main.js",
6
6
  "bin": {
@@ -244,7 +244,9 @@ module.exports = (registerTool) => {
244
244
  const data = {
245
245
  accountIdx: next, createdAt: now, updatedAt: now, windows: [],
246
246
  metadata: { description: `Account ${next}`, ...(name ? { name } : {}), tags: [] },
247
- proxy: { url: "", enabled: false }, logins: [],
247
+ // New electron profiles (next is always ≥1, so account-0 is never created
248
+ // here) default to the chrome-profile-1 mihomo listener.
249
+ proxy: { url: "socks5://127.0.0.1:20001", enabled: true }, logins: [],
248
250
  };
249
251
  fs.writeFileSync(file, JSON.stringify(data, null, 2));
250
252
  return toResult({ success: true, accountIdx: next, profile: profileStore.getProfile("electron", next) });
@@ -648,7 +648,8 @@ function registerChromeTools(registerTool) {
648
648
  orgPath: typeof orgPath === "string" && orgPath.length ? orgPath : DEFAULT_ADD_ORG_PATH,
649
649
  rpaDir: rpaDirTilde,
650
650
  port,
651
- proxy: "",
651
+ // New chrome profiles default to the chrome-profile-1 mihomo listener.
652
+ proxy: "socks5://127.0.0.1:20001",
652
653
  };
653
654
 
654
655
  writePrivateChromeConfig(data);