Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
docs(readme): 统一对外版本命名并按 v5 叙事更新首页 (#347)
Dash53bfd2900ea6
diff --git a/.github/assets/cindy-social-preview.png b/.github/assets/cindy-social-preview.pngnew file mode 100644index 0000000000..dc2d0a1f46Binary files /dev/null and b/.github/assets/cindy-social-preview.png differdiff --git a/.github/assets/cindy-wordmark-dark.svg b/.github/assets/cindy-wordmark-dark.svgnew file mode 100644index 0000000000..0dbd891cc6--- /dev/null+++ b/.github/assets/cindy-wordmark-dark.svg@@ -0,0 +1,18 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6828 2332" role="img" aria-label="CINDY">+ <!-- CINDY wordmark - dark-background variant, derived from the internal+ source-of-truth vector (whose letters inherit currentColor). This copy+ hard-codes the letter fill to #FFFFFF because <img> embeds cannot set+ currentColor from the host page; the light-background sibling hard-codes+ #040303 instead. Brand marks are logo-red #F70121+ (NOTE: logo red differs from brand UI red #F43D3F - intentional, measured).+ The trailing underscore carries id="cursor" for host blink animation. -->+ <g transform="translate(0.000000,2332.000000) scale(0.100000,-0.100000)">+ <g class="logo-letters" fill="#FFFFFF">+ <path d="M5095 23309 c-2101 -114 -3626 -1029 -4433 -2661 -354 -717 -554 -1511 -639 -2538 -17 -203 -18 -562 -18 -6425 0 -5009 3 -6246 13 -6395 99 -1397 444 -2463 1081 -3340 256 -353 620 -715 980 -974 686 -495 1556 -810 2556 -925 334 -39 480 -46 925 -45 454 0 640 11 985 55 1440 183 2560 768 3341 1744 652 817 1047 1902 1168 3215 39 424 41 508 41 2385 l0 1830 -2017 3 -2018 2 0 -1807 c0 -1106 -4 -1874 -10 -1978 -49 -814 -305 -1263 -815 -1430 -341 -111 -856 -109 -1196 5 -277 92 -472 266 -604 535 -91 186 -145 383 -182 655 -17 129 -18 413 -18 6440 0 6042 1 6311 18 6440 60 440 180 745 376 952 212 225 506 338 926 355 313 12 613 -40 818 -143 414 -208 631 -655 677 -1399 6 -94 10 -748 10 -1578 l0 -1417 2018 2 2017 3 3 1195 c3 1220 -6 1775 -33 2110 -121 1473 -557 2634 -1310 3490 -118 134 -363 374 -482 472 -866 717 -1932 1094 -3303 1168 -211 11 -654 11 -875 -1z"/><path d="M21330 11660 l0 -11410 1938 2 1937 3 5 6728 5 6728 1804 -6678 c993 -3673 1811 -6702 1819 -6730 l15 -53 2113 0 2114 0 0 11410 0 11410 -1922 -2 -1923 -3 -5 -5335 -5 -5336 -1440 5338 -1439 5338 -2508 0 -2508 0 0 -11410z"/><path d="M36265 23058 c-3 -7 -4 -5141 -3 -11408 l3 -11395 3145 0 c3459 0 3268 -3 3770 60 1248 158 2227 594 2969 1320 582 570 988 1280 1241 2170 142 501 217 966 272 1685 16 212 24 11501 8 12015 -10 349 -27 604 -56 850 -150 1294 -564 2325 -1241 3095 -775 880 -1863 1401 -3270 1565 -440 51 -283 49 -3676 52 -2560 3 -3158 1 -3162 -9z m5973 -3908 c155 -12 309 -40 413 -75 491 -167 734 -597 789 -1393 14 -213 14 -11814 0 -12037 -52 -802 -297 -1236 -788 -1398 -239 -79 -350 -86 -1349 -87 l-813 0 0 7500 0 7500 808 0 c450 0 866 -5 940 -10z"/><path d="M48870 23055 c0 -8 1013 -3423 2250 -7590 l2250 -7575 0 -3820 0 -3820 2115 0 2115 0 0 3823 0 3823 2245 7560 c1236 4157 2249 7571 2252 7587 l6 27 -2052 0 -2051 0 -9 -22 c-4 -13 -534 -2022 -1177 -4465 -643 -2443 -1172 -4436 -1175 -4430 -4 7 -527 1990 -1164 4407 -636 2417 -1164 4421 -1173 4453 l-15 57 -2209 0 c-1923 0 -2208 -2 -2208 -15z"/><path d="M16013 13432 l-2112 -1447 0 -5867 -1 -5868 2109 0 2109 0 6 1743 c4 958 6 4249 4 7314 l-3 5571 -2112 -1446z"/>+ </g>+ <g class="logo-marks" fill="#F70121">+ <g class="logo-prompt"><path d="M13122 21394 l3 -1627 1057 -731 c581 -402 1057 -733 1057 -736 0 -3 -476 -335 -1059 -738 l-1060 -733 0 -1630 0 -1630 133 91 c72 50 1427 978 3010 2063 l2877 1971 0 606 -1 605 -3000 2055 c-1650 1130 -3005 2057 -3010 2058 -5 2 -8 -635 -7 -1624z"/></g>+ <g id="cursor" class="logo-cursor"><path d="M61560 2360 l0 -2120 3360 0 3360 0 0 2120 0 2120 -3360 0 -3360 0 0 -2120z"/></g>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/.github/assets/cindy-wordmark-light.svg b/.github/assets/cindy-wordmark-light.svgnew file mode 100644index 0000000000..6a1c793df2--- /dev/null+++ b/.github/assets/cindy-wordmark-light.svg@@ -0,0 +1,18 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6828 2332" role="img" aria-label="CINDY">+ <!-- CINDY wordmark - light-background variant, derived from the internal+ source-of-truth vector (whose letters inherit currentColor). This copy+ hard-codes the letter fill to #040303 because <img> embeds cannot set+ currentColor from the host page; the dark-background sibling hard-codes+ #FFFFFF instead. Brand marks are logo-red #F70121+ (NOTE: logo red differs from brand UI red #F43D3F - intentional, measured).+ The trailing underscore carries id="cursor" for host blink animation. -->+ <g transform="translate(0.000000,2332.000000) scale(0.100000,-0.100000)">+ <g class="logo-letters" fill="#040303">+ <path d="M5095 23309 c-2101 -114 -3626 -1029 -4433 -2661 -354 -717 -554 -1511 -639 -2538 -17 -203 -18 -562 -18 -6425 0 -5009 3 -6246 13 -6395 99 -1397 444 -2463 1081 -3340 256 -353 620 -715 980 -974 686 -495 1556 -810 2556 -925 334 -39 480 -46 925 -45 454 0 640 11 985 55 1440 183 2560 768 3341 1744 652 817 1047 1902 1168 3215 39 424 41 508 41 2385 l0 1830 -2017 3 -2018 2 0 -1807 c0 -1106 -4 -1874 -10 -1978 -49 -814 -305 -1263 -815 -1430 -341 -111 -856 -109 -1196 5 -277 92 -472 266 -604 535 -91 186 -145 383 -182 655 -17 129 -18 413 -18 6440 0 6042 1 6311 18 6440 60 440 180 745 376 952 212 225 506 338 926 355 313 12 613 -40 818 -143 414 -208 631 -655 677 -1399 6 -94 10 -748 10 -1578 l0 -1417 2018 2 2017 3 3 1195 c3 1220 -6 1775 -33 2110 -121 1473 -557 2634 -1310 3490 -118 134 -363 374 -482 472 -866 717 -1932 1094 -3303 1168 -211 11 -654 11 -875 -1z"/><path d="M21330 11660 l0 -11410 1938 2 1937 3 5 6728 5 6728 1804 -6678 c993 -3673 1811 -6702 1819 -6730 l15 -53 2113 0 2114 0 0 11410 0 11410 -1922 -2 -1923 -3 -5 -5335 -5 -5336 -1440 5338 -1439 5338 -2508 0 -2508 0 0 -11410z"/><path d="M36265 23058 c-3 -7 -4 -5141 -3 -11408 l3 -11395 3145 0 c3459 0 3268 -3 3770 60 1248 158 2227 594 2969 1320 582 570 988 1280 1241 2170 142 501 217 966 272 1685 16 212 24 11501 8 12015 -10 349 -27 604 -56 850 -150 1294 -564 2325 -1241 3095 -775 880 -1863 1401 -3270 1565 -440 51 -283 49 -3676 52 -2560 3 -3158 1 -3162 -9z m5973 -3908 c155 -12 309 -40 413 -75 491 -167 734 -597 789 -1393 14 -213 14 -11814 0 -12037 -52 -802 -297 -1236 -788 -1398 -239 -79 -350 -86 -1349 -87 l-813 0 0 7500 0 7500 808 0 c450 0 866 -5 940 -10z"/><path d="M48870 23055 c0 -8 1013 -3423 2250 -7590 l2250 -7575 0 -3820 0 -3820 2115 0 2115 0 0 3823 0 3823 2245 7560 c1236 4157 2249 7571 2252 7587 l6 27 -2052 0 -2051 0 -9 -22 c-4 -13 -534 -2022 -1177 -4465 -643 -2443 -1172 -4436 -1175 -4430 -4 7 -527 1990 -1164 4407 -636 2417 -1164 4421 -1173 4453 l-15 57 -2209 0 c-1923 0 -2208 -2 -2208 -15z"/><path d="M16013 13432 l-2112 -1447 0 -5867 -1 -5868 2109 0 2109 0 6 1743 c4 958 6 4249 4 7314 l-3 5571 -2112 -1446z"/>+ </g>+ <g class="logo-marks" fill="#F70121">+ <g class="logo-prompt"><path d="M13122 21394 l3 -1627 1057 -731 c581 -402 1057 -733 1057 -736 0 -3 -476 -335 -1059 -738 l-1060 -733 0 -1630 0 -1630 133 91 c72 50 1427 978 3010 2063 l2877 1971 0 606 -1 605 -3000 2055 c-1650 1130 -3005 2057 -3010 2058 -5 2 -8 -635 -7 -1624z"/></g>+ <g id="cursor" class="logo-cursor"><path d="M61560 2360 l0 -2120 3360 0 3360 0 0 2120 0 2120 -3360 0 -3360 0 0 -2120z"/></g>+ </g>+ </g>+</svg>\ No newline at end of filediff --git a/.github/assets/hero-en.webp b/.github/assets/hero-en.webpnew file mode 100644index 0000000000..233bbdf431Binary files /dev/null and b/.github/assets/hero-en.webp differdiff --git a/.github/assets/hero-zh.webp b/.github/assets/hero-zh.webpnew file mode 100644index 0000000000..4f70fa0ca3Binary files /dev/null and b/.github/assets/hero-zh.webp differdiff --git a/CONTRIBUTING.en.md b/CONTRIBUTING.en.mdindex 3f4efed553..3ad69319dc 100644--- a/CONTRIBUTING.en.md+++ b/CONTRIBUTING.en.md@@ -13,7 +13,7 @@ is outside the scope of this repository.- Follow [`docs/dev-rules/environment-setup.md`](docs/dev-rules/environment-setup.md)for supported tool versions and installation steps.-- Read the installation section in [`README.en.md`](README.en.md) and the+- Read the installation section in [`README.md`](README.md) and theapplicable [engineering rules](AGENTS.md). `AGENTS.md` contains detailedengineering constraints; it is not a replacement for this contribution guide.- Follow [`CODE_OF_CONDUCT.en.md`](CODE_OF_CONDUCT.en.md) when participating indiff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex ed05da6654..b9152bf700 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -11,7 +11,7 @@ desktop、mobile 及共享 packages;服务端位于独立仓库,不在本仓- 开发环境版本和安装步骤以[`docs/dev-rules/environment-setup.md`](docs/dev-rules/environment-setup.md) 为准。-- 先阅读 [README.md](README.md) 的安装说明,以及适用的+- 先阅读 [README.zh-CN.md](README.zh-CN.md) 的安装说明,以及适用的[工程规则](AGENTS.md)。`AGENTS.md` 是详细工程约束,不是本指南的替代品。- 参与社区时请遵守 [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md);普通使用问题见[`SUPPORT.md`](SUPPORT.md)。diff --git a/README.en.md b/README.en.mddeleted file mode 100644index 6be0b50b77..0000000000--- a/README.en.md+++ /dev/null@@ -1,169 +0,0 @@-<p align="center">- <img src="apps/mobile/assets/splash/cindy-splash-illustration.webp" alt="Cindy" width="200" />-</p>--<p align="center">- <strong>CONSIDER IT DONE.</strong><br />- An all-in-one AI assistant that operates your computer to get real work done — not just answer questions.-</p>--<p align="center">- <a href="README.md">简体中文</a> · <strong>English</strong>-</p>--<p align="center">- <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue.svg" alt="License" /></a>- <a href="https://github.com/makecindy/cindy/actions/workflows/ci.yml"><img src="https://github.com/makecindy/cindy/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>- <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-22.x-brightgreen.svg" alt="Node.js 22.x" /></a>- <a href="https://pnpm.io"><img src="https://img.shields.io/badge/pnpm-10-orange.svg" alt="pnpm" /></a>-</p>--<p align="center">- 🌐 <a href="https://cindy.cn">国内版</a> | <a href="https://cindy.app">海外版</a>-</p>--<p align="center">- ⬇️ <a href="https://cindy.cn/#download">China download</a> | <a href="https://cindy.app/#download">Global download</a>-</p>---Cindy runs locally on your own machine, uses your files and logged-in apps, and-is powered by Claude Code and Codex as-its underlying agent engines. It can drive your browser, computer, and phone,-coordinate multiple agents as a team, and dispatch tasks from IM and schedules.--This repository is the open-source **client** for Cindy — the desktop and mobile-apps plus their shared packages, organized as a pnpm monorepo.--The client is free to use, and its source code is open under Apache-2.0. Charges-apply only when you use Cindy-provided tokens or APIs. You can also configure-your own API key. See the [China site](https://cindy.cn/#pricing) or the-[global site](https://cindy.app/#pricing) for service details, pricing, and-downloads.--## What's in this repo--| Path | Description |-| --- | --- |-| `apps/desktop` | Electron desktop client |-| `apps/mobile` | Expo / React Native mobile client |-| `packages/*` | Shared client capabilities (auth, device-link, agent orchestration, model providers, …) |-| `apps/*-bin` | Tool binaries shipped with the desktop app; only android-platform-tools is committed (via Git LFS) — claude-code, codex, and ripgrep are downloaded per platform by `pnpm install` and never checked in |-| `cindy-protocol/` | Wire protocol shared with the server (git submodule) |--**Not in this repo:** the backend service lives in a separate-repository and is not part of this monorepo.--| Mode | Account requirement | Availability |-| --- | --- | --- |-| Hosted service | Cindy cloud account | Use Cindy's full hosted service. See [China pricing](https://cindy.cn/#pricing) or [global pricing](https://cindy.app/#pricing). |-| Local mode | No Cindy sign-in required | Choose “Local mode” on the login screen to use local agents. Server-backed capabilities are unavailable in this mode. |--## Prerequisites--- **Node.js** 22.x-- **pnpm** 10.x (v11 is not yet supported)-- **Git LFS**--## Getting started--Contributor setup, public submodule initialization, Git LFS, dependency updates,-and access requirements are maintained in-[`CONTRIBUTING.en.md`](CONTRIBUTING.en.md).-The public checkout only needs the protocol submodule; plugins are installed through-SkillHub or manually.--Minimal entry point:--```bash-git clone https://github.com/makecindy/cindy.git-cd cindy-git submodule update --init --recursive cindy-protocol-git lfs pull-pnpm install-```--## Development entry points--```bash-# China-region Cindy account-pnpm restart:desktop:remote --region=cn--# Global-region Cindy account-pnpm restart:desktop:remote --region=global-```--Remote development uses your own Cindy cloud account and existing login state, so-you can continue existing sessions and work while developing the client. Use `cn`-for China accounts and `global` for overseas accounts; do not rely on the internal-default. Full desktop, mobile, data-isolation, and validation workflows are in-[`CONTRIBUTING.en.md`](CONTRIBUTING.en.md).--“Local mode” on the login screen is an unauthenticated local-agent mode, not a-connection to a local server. Server-backed capabilities are unavailable in this-mode.--**About the default servers:** the client connects to Cindy's official cloud-services by default (endpoint manifests in-[`config/endpoint.json`](config/endpoint.json) and-[`config/endpoint.global.json`](config/endpoint.global.json); desktop-auto-updates also come from the official CDN). This is intentional — external-developers don't need to self-host a server: sign in with your own Cindy-account in a dev build and develop / test directly against the official-servers.--## Architecture--- [`DESIGN.md`](DESIGN.md) — visual design system, color tokens, and UI conventions-- [`docs/README.md`](docs/README.md) — complete documentation and rules index-- [`CONTRIBUTING.en.md`](CONTRIBUTING.en.md) — contributor setup, validation, and submission workflow-- [`AGENTS.md`](AGENTS.md) — engineering rules, launch/runtime contracts, and module boundaries-- [`docs/dev-rules/`](docs/dev-rules/) — deep-dive architecture docs (e.g. Orca multi-agent orchestration)--## Contributing--Contributions go through pull requests into `main`. Read-[`CONTRIBUTING.en.md`](CONTRIBUTING.en.md) first, then use-[`.github/PULL_REQUEST_TEMPLATE.md`](.github/PULL_REQUEST_TEMPLATE.md).-Please also follow [`CODE_OF_CONDUCT.en.md`](CODE_OF_CONDUCT.en.md). For ordinary-usage questions, see [`SUPPORT.en.md`](SUPPORT.en.md); report security issues-privately through [`SECURITY.en.md`](SECURITY.en.md).--## Security--Never commit credentials or authorization files to the working tree. If you-discover a security issue, follow [`SECURITY.en.md`](SECURITY.en.md) to report it-privately rather than opening a public issue.--## Privacy & telemetry--**Official distribution builds** include [TapDB](https://www.taptap.io/tapdb)-usage analytics for product-level aggregate statistics (device / OS / app-version-metadata; associated with your account ID after sign-in). It does **not** collect-chat content, file content, or working-directory data. In addition, while signed-in to a cloud account the client sends an online heartbeat to Cindy services-(account ID, platform, and version only). Crash dumps stay on the local machine-and are never uploaded automatically.--**Building from source?** You are not required to keep analytics:--- Mobile is off by default — without TapDB credentials (`clientId` /- `clientToken`) injected at build time, `apps/mobile/src/analytics/mobileTapdb.ts`- is a no-op;-- Desktop can be fully stripped by removing the `initTapdb()` call in- `apps/desktop/src/renderer/index.tsx` (implementation lives in- `apps/desktop/src/renderer/analytics/`).--## License / 许可证--Except as otherwise noted, the source code in this repository is licensed under-the [Apache License, Version 2.0](LICENSE). Individual source files do not-carry per-file license headers; the repository-root `LICENSE` governs.--Model weights, datasets, prompts, trademarks, and other separately identified-materials may be subject to their own license terms and are not automatically-covered by the repository-level Apache-2.0 grant. Third-party open-source-components retain their own copyright and license. Their attribution notices and-SPDX SBOMs are managed under [`docs/legal/`](docs/legal/), with artifact-specific-outputs in [`docs/legal/notices/`](docs/legal/notices/). See [`NOTICE`](NOTICE)-for this project's copyright and attribution information.diff --git a/README.md b/README.mdindex 6f87f191ea..cc8a426a1a 100644--- a/README.md+++ b/README.md@@ -1,14 +1,9 @@<p align="center">- <img src="apps/mobile/assets/splash/cindy-splash-illustration.webp" alt="Cindy" width="200" />+ <a href="https://cindy.app"><img src=".github/assets/hero-en.webp" width="100%" alt="CINDY — Consider it done. The open-source AI agent that works out of the box, doing real work on your own computer."></a></p><p align="center">- <strong>想到,就能做到。</strong><br />- 你的全能 AI 助理 —— 她能操作你的电脑,代替你完成真实工作,而不只是给答案。-</p>--<p align="center">- <strong>简体中文</strong> · <a href="README.en.md">English</a>+ <strong>English</strong> · <a href="README.zh-CN.md">简体中文</a></p><p align="center">@@ -19,55 +14,62 @@</p><p align="center">- 🌐 <a href="https://cindy.cn">国内版</a> | <a href="https://cindy.app">海外版</a>+ 🌐 <a href="https://cindy.app">International</a> | <a href="https://cindy.cn">Mainland China</a></p><p align="center">- ⬇️ <a href="https://cindy.cn/#download">国内版下载</a> | <a href="https://cindy.app/#download">海外版下载</a>+ ⬇️ <a href="https://cindy.app/#download">International download</a> | <a href="https://cindy.cn/#download">Mainland China download</a></p>-Cindy 运行在你自己的电脑上,使用你本地的文件和已登录的应用,底层由-Claude Code 与 Codex 作为 agent 引擎驱动。-她能操作浏览器、电脑和手机,以「多 agent 团队」协同工作,并支持从 IM 和定时任务派活。+Cindy runs locally on your own machine, uses your files and logged-in apps, and+is powered by Claude Code and Codex as+its underlying agent engines. It can drive your browser, computer, and phone,+coordinate multiple agents as a team, and dispatch tasks from IM and schedules.-本仓库是 Cindy 的开源**客户端** —— 桌面端、手机端及其共享 packages,以 pnpm-monorepo 组织。+This repository is the open-source **client** for Cindy — the desktop and mobile+apps plus their shared packages, organized as a pnpm monorepo.-客户端本身免费使用,源码以 Apache-2.0 开源。只有使用 Cindy 提供的 Token / API-时才需要按官网规则付费;你也可以配置自己的 API Key。具体的服务说明、价格和下载-入口请按所在区域查看[国内官网](https://cindy.cn/#pricing)或[海外官网](https://cindy.app/#pricing)。+The client is free to use, and its source code is open under Apache-2.0. The+official model service is billed against your usage credit and deducted+transparently as you go. You can also use your own API keys. See the+[international site](https://cindy.app/#pricing) or the+[Mainland China site](https://cindy.cn/#pricing) for service details, pricing,+and downloads.-## 本仓包含什么+## What's in this repo-| 路径 | 说明 |+| Path | Description || --- | --- |-| `apps/desktop` | Electron 桌面客户端 |-| `apps/mobile` | Expo / React Native 手机客户端 |-| `packages/*` | 客户端共享能力(鉴权、device-link、agent 编排、模型供应商等) |-| `apps/*-bin` | 桌面端附带的工具二进制;仓库内只含 android-platform-tools(Git LFS),claude-code / codex / ripgrep 由 `pnpm install` 按平台自动下载、不入库 |-| `cindy-protocol/` | 与服务端共用的协议(git submodule) |+| `apps/desktop` | Electron desktop client |+| `apps/mobile` | Expo / React Native mobile client |+| `packages/*` | Shared client capabilities (auth, device-link, agent orchestration, model providers, …) |+| `apps/*-bin` | Tool binaries shipped with the desktop app; only android-platform-tools is committed (via Git LFS) — claude-code, codex, and ripgrep are downloaded per platform by `pnpm install` and never checked in |+| `cindy-protocol/` | Wire protocol shared with the server (git submodule) |-**服务端不在本仓库:** 服务端位于独立仓库,不属于本 monorepo。+**Not in this repo:** the backend service lives in a separate+repository and is not part of this monorepo.-| 使用方式 | 账号要求 | 可用范围 |+| Mode | Account requirement | Availability || --- | --- | --- |-| 远程托管 | Cindy 云端账号 | 使用 Cindy 的完整托管服务;[国内定价](https://cindy.cn/#pricing) · [海外定价](https://cindy.app/#pricing)。 |-| 本地模式 | 无需登录 Cindy 账号 | 在登录页选择「本地模式」即可使用本机 agent 功能。依赖服务端的能力在该模式下不可用。 |+| Hosted service | Cindy cloud account | Use Cindy's full hosted service. See [international pricing](https://cindy.app/#pricing) or [Mainland China pricing](https://cindy.cn/#pricing). |+| Local mode | No Cindy sign-in required | Choose “Local mode” on the login screen to use local agents. Server-backed capabilities are unavailable in this mode. |-## 前置要求+## Prerequisites- **Node.js** 22.x-- **pnpm** 10.x(暂不支持 v11)+- **pnpm** 10.x (v11 is not yet supported)- **Git LFS**-## 开始开发+## Getting started-开发者安装、公开 submodule 初始化、Git LFS、依赖更新和权限说明统一见-[`CONTRIBUTING.md`](CONTRIBUTING.md)。公开贡献者只需初始化公开的协议 submodule;-插件通过 SkillHub 或手动安装,不要使用未列出的递归初始化命令。+Contributor setup, public submodule initialization, Git LFS, dependency updates,+and access requirements are maintained in+[`CONTRIBUTING.en.md`](CONTRIBUTING.en.md).+The public checkout only needs the protocol submodule; plugins are installed through+SkillHub or manually.-最短入口:+Minimal entry point:```bashgit clone https://github.com/makecindy/cindy.git@@ -77,72 +79,87 @@ git lfs pullpnpm install```-## 开发入口+## Development entry points```bash-# 中国版 Cindy 账号+# Mainland China Cindy accountpnpm restart:desktop:remote --region=cn-# 海外版 Cindy 账号+# International Cindy accountpnpm restart:desktop:remote --region=global```-Remote 开发会使用你自己的 Cindy 云端账号和现有登录态,因此可以继续已有的会话与工作。-中国账号必须使用 `cn`,海外账号必须使用 `global`,不要依赖内部默认值。完整的桌面端、-手机端、数据隔离和验证流程见 [`CONTRIBUTING.md`](CONTRIBUTING.md)。--登录页的「本地模式」不是连接本地服务端,而是无需登录 Cindy 账号即可使用本机-agent 的模式。依赖服务端的能力在该模式下不可用。--**关于默认服务器:** 客户端默认连接 Cindy 官方云服务(端点清单见-[`config/endpoint.json`](config/endpoint.json) 与-[`config/endpoint.global.json`](config/endpoint.global.json),桌面端自动更新-同样来自官方 CDN)。这是有意的设计——外部开发者不需要自建服务端,用 dev-构建登录自己的 Cindy 账号即可直接对着官方服务器开发和测试。--## 架构--- [`DESIGN.md`](DESIGN.md) —— 视觉设计系统、颜色 token 与 UI 规范-- [`docs/README.md`](docs/README.md) —— 完整文档与规则索引-- [`CONTRIBUTING.md`](CONTRIBUTING.md) —— 面向社区贡献者的环境、验证与提交流程-- [`AGENTS.md`](AGENTS.md) —— 工程规范、启动 / 运行时契约、模块边界-- [`docs/dev-rules/`](docs/dev-rules/) —— 架构深度文档(如 Orca 多 agent 协同)--## 贡献--改动通过 pull request 合入 `main`。请先阅读-[`CONTRIBUTING.md`](CONTRIBUTING.md),再按-[`.github/PULL_REQUEST_TEMPLATE.md`](.github/PULL_REQUEST_TEMPLATE.md) 提交。-同时请遵守 [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md);普通使用问题见-[`SUPPORT.md`](SUPPORT.md),安全问题仍按 [`SECURITY.md`](SECURITY.md) 私下报告。--## 安全--任何凭证 / 授权文件都不得提交进工作区。发现安全问题请按照-[`SECURITY.md`](SECURITY.md) 的说明私下报告,不要开公开 issue。--## 隐私与遥测--**官方分发的安装包**包含 [TapDB](https://www.taptap.cn/tapdb) 使用统计,用于-产品层面的匿名量级分析(设备 / 系统 / 应用版本等元数据;登录后关联账号 ID)。-它**不采集**聊天内容、文件内容或工作目录数据。此外,登录云端账号时客户端会向-Cindy 服务发送在线心跳(仅账号 ID、平台与版本号)。崩溃转储只保留在本地,-不会自动上传。--**从源码自行构建**时不必保留统计:--- 移动端默认即关闭 —— 未在构建时注入 TapDB 凭据(`clientId` / `clientToken`)- 时,`apps/mobile/src/analytics/mobileTapdb.ts` 自动空转;-- 桌面端可移除 `apps/desktop/src/renderer/index.tsx` 中的 `initTapdb()` 调用- (实现见 `apps/desktop/src/renderer/analytics/`),即可完全剥离。--## 许可证 / License--除非另有说明,本仓库的源代码依据 [Apache License 2.0](LICENSE) 授权。-源文件不单独携带许可证头,统一以仓库根目录的 `LICENSE` 为准。--模型权重、数据集、提示词、商标,以及其他单独标识的材料,可能适用各自的许可条款,-不因根目录的 Apache-2.0 而被自动覆盖。第三方开源组件保留各自的版权与许可,其归属-声明与 SPDX SBOM 统一收口在 [`docs/legal/`](docs/legal/);各分发产物的精确清单-见 [`docs/legal/notices/`](docs/legal/notices/)。本项目的版权与归属信息见-[`NOTICE`](NOTICE)。+Remote development uses your own Cindy cloud account and existing login state, so+you can continue existing sessions and work while developing the client. Use `cn`+for Mainland China accounts and `global` for international accounts; do not rely+on the internal default. Full desktop, mobile, data-isolation, and validation+workflows are in [`CONTRIBUTING.en.md`](CONTRIBUTING.en.md).++“Local mode” on the login screen is an unauthenticated local-agent mode, not a+connection to a local server. Server-backed capabilities are unavailable in this+mode.++**About the default servers:** the client connects to Cindy's official cloud+services by default (endpoint manifests in+[`config/endpoint.json`](config/endpoint.json) and+[`config/endpoint.global.json`](config/endpoint.global.json); desktop+auto-updates also come from the official CDN). This is intentional — external+developers don't need to self-host a server: sign in with your own Cindy+account in a dev build and develop / test directly against the official+servers.++## Architecture++- [`DESIGN.md`](DESIGN.md) — visual design system, color tokens, and UI conventions+- [`docs/README.md`](docs/README.md) — complete documentation and rules index+- [`CONTRIBUTING.en.md`](CONTRIBUTING.en.md) — contributor setup, validation, and submission workflow+- [`AGENTS.md`](AGENTS.md) — engineering rules, launch/runtime contracts, and module boundaries+- [`docs/dev-rules/`](docs/dev-rules/) — deep-dive architecture docs (e.g. Orca multi-agent orchestration)++## Contributing++Contributions go through pull requests into `main`. Read+[`CONTRIBUTING.en.md`](CONTRIBUTING.en.md) first, then use+[`.github/PULL_REQUEST_TEMPLATE.md`](.github/PULL_REQUEST_TEMPLATE.md).+Please also follow [`CODE_OF_CONDUCT.en.md`](CODE_OF_CONDUCT.en.md). For ordinary+usage questions, see [`SUPPORT.en.md`](SUPPORT.en.md); report security issues+privately through [`SECURITY.en.md`](SECURITY.en.md).++## Security++Never commit credentials or authorization files to the working tree. If you+discover a security issue, follow [`SECURITY.en.md`](SECURITY.en.md) to report it+privately rather than opening a public issue.++## Privacy & telemetry++**Official distribution builds** include [TapDB](https://www.taptap.io/tapdb)+usage analytics for product-level aggregate statistics (device / OS / app-version+metadata; associated with your account ID after sign-in). It does **not** collect+chat content, file content, or working-directory data. In addition, while signed+in to a cloud account the client sends an online heartbeat to Cindy services+(account ID, platform, and version only). Crash dumps stay on the local machine+and are never uploaded automatically.++**Building from source?** You are not required to keep analytics:++- Mobile is off by default — without TapDB credentials (`clientId` /+ `clientToken`) injected at build time, `apps/mobile/src/analytics/mobileTapdb.ts`+ is a no-op;+- Desktop can be fully stripped by removing the `initTapdb()` call in+ `apps/desktop/src/renderer/index.tsx` (implementation lives in+ `apps/desktop/src/renderer/analytics/`).++## License / 许可证++Except as otherwise noted, the source code in this repository is licensed under+the [Apache License, Version 2.0](LICENSE). Individual source files do not+carry per-file license headers; the repository-root `LICENSE` governs.++Model weights, datasets, prompts, trademarks, and other separately identified+materials may be subject to their own license terms and are not automatically+covered by the repository-level Apache-2.0 grant. Third-party open-source+components retain their own copyright and license. Their attribution notices and+SPDX SBOMs are managed under [`docs/legal/`](docs/legal/), with artifact-specific+outputs in [`docs/legal/notices/`](docs/legal/notices/). See [`NOTICE`](NOTICE)+for this project's copyright and attribution information.diff --git a/README.zh-CN.md b/README.zh-CN.mdnew file mode 100644index 0000000000..a0e609f8c3--- /dev/null+++ b/README.zh-CN.md@@ -0,0 +1,143 @@+<p align="center">+ <a href="https://cindy.cn"><img src=".github/assets/hero-zh.webp" width="100%" alt="CINDY —— 想到,就能做到。开源、开箱即用的 AI Agent,在你自己的电脑上替你把真实工作做完。"></a>+</p>++<p align="center">+ <a href="README.md">English</a> · <strong>简体中文</strong>+</p>++<p align="center">+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue.svg" alt="License" /></a>+ <a href="https://github.com/makecindy/cindy/actions/workflows/ci.yml"><img src="https://github.com/makecindy/cindy/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>+ <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-22.x-brightgreen.svg" alt="Node.js 22.x" /></a>+ <a href="https://pnpm.io"><img src="https://img.shields.io/badge/pnpm-10-orange.svg" alt="pnpm" /></a>+</p>++<p align="center">+ 🌐 <a href="https://cindy.cn">中国大陆版</a> | <a href="https://cindy.app">国际版</a>+</p>++<p align="center">+ ⬇️ <a href="https://cindy.cn/#download">中国大陆版下载</a> | <a href="https://cindy.app/#download">国际版下载</a>+</p>+++Cindy 运行在你自己的电脑上,使用你本地的文件和已登录的应用,底层由+Claude Code 与 Codex 作为 agent 引擎驱动。+她能操作浏览器、电脑和手机,以「多 agent 团队」协同工作,并支持从 IM 和定时任务派活。++本仓库是 Cindy 的开源**客户端** —— 桌面端、手机端及其共享 packages,以 pnpm+monorepo 组织。++客户端本身免费使用,源码以 Apache-2.0 开源。使用官方模型服务时按用量额度计费、+花费透明可见;你也可以配置你自己的 API key。具体的服务说明、价格和下载入口请按+所在区域查看[中国大陆官网](https://cindy.cn/#pricing)或[国际版官网](https://cindy.app/#pricing)。++## 本仓包含什么++| 路径 | 说明 |+| --- | --- |+| `apps/desktop` | Electron 桌面客户端 |+| `apps/mobile` | Expo / React Native 手机客户端 |+| `packages/*` | 客户端共享能力(鉴权、device-link、agent 编排、模型供应商等) |+| `apps/*-bin` | 桌面端附带的工具二进制;仓库内只含 android-platform-tools(Git LFS),claude-code / codex / ripgrep 由 `pnpm install` 按平台自动下载、不入库 |+| `cindy-protocol/` | 与服务端共用的协议(git submodule) |++**服务端不在本仓库:** 服务端位于独立仓库,不属于本 monorepo。++| 使用方式 | 账号要求 | 可用范围 |+| --- | --- | --- |+| 远程托管 | Cindy 云端账号 | 使用 Cindy 的完整托管服务;[中国大陆定价](https://cindy.cn/#pricing) · [国际版定价](https://cindy.app/#pricing)。 |+| 本地模式 | 无需登录 Cindy 账号 | 在登录页选择「本地模式」即可使用本机 agent 功能。依赖服务端的能力在该模式下不可用。 |++## 前置要求++- **Node.js** 22.x+- **pnpm** 10.x(暂不支持 v11)+- **Git LFS**++## 开始开发++开发者安装、公开 submodule 初始化、Git LFS、依赖更新和权限说明统一见+[`CONTRIBUTING.md`](CONTRIBUTING.md)。公开贡献者只需初始化公开的协议 submodule;+插件通过 SkillHub 或手动安装,不要使用未列出的递归初始化命令。++最短入口:++```bash+git clone https://github.com/makecindy/cindy.git+cd cindy+git submodule update --init --recursive cindy-protocol+git lfs pull+pnpm install+```++## 开发入口++```bash+# 中国大陆版 Cindy 账号+pnpm restart:desktop:remote --region=cn++# 国际版 Cindy 账号+pnpm restart:desktop:remote --region=global+```++Remote 开发会使用你自己的 Cindy 云端账号和现有登录态,因此可以继续已有的会话与工作。+中国大陆账号必须使用 `cn`,国际版账号必须使用 `global`,不要依赖内部默认值。完整的+桌面端、手机端、数据隔离和验证流程见 [`CONTRIBUTING.md`](CONTRIBUTING.md)。++登录页的「本地模式」不是连接本地服务端,而是无需登录 Cindy 账号即可使用本机+agent 的模式。依赖服务端的能力在该模式下不可用。++**关于默认服务器:** 客户端默认连接 Cindy 官方云服务(端点清单见+[`config/endpoint.json`](config/endpoint.json) 与+[`config/endpoint.global.json`](config/endpoint.global.json),桌面端自动更新+同样来自官方 CDN)。这是有意的设计——外部开发者不需要自建服务端,用 dev+构建登录自己的 Cindy 账号即可直接对着官方服务器开发和测试。++## 架构++- [`DESIGN.md`](DESIGN.md) —— 视觉设计系统、颜色 token 与 UI 规范+- [`docs/README.md`](docs/README.md) —— 完整文档与规则索引+- [`CONTRIBUTING.md`](CONTRIBUTING.md) —— 面向社区贡献者的环境、验证与提交流程+- [`AGENTS.md`](AGENTS.md) —— 工程规范、启动 / 运行时契约、模块边界+- [`docs/dev-rules/`](docs/dev-rules/) —— 架构深度文档(如 Orca 多 agent 协同)++## 贡献++改动通过 pull request 合入 `main`。请先阅读+[`CONTRIBUTING.md`](CONTRIBUTING.md),再按+[`.github/PULL_REQUEST_TEMPLATE.md`](.github/PULL_REQUEST_TEMPLATE.md) 提交。+同时请遵守 [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md);普通使用问题见+[`SUPPORT.md`](SUPPORT.md),安全问题仍按 [`SECURITY.md`](SECURITY.md) 私下报告。++## 安全++任何凭证 / 授权文件都不得提交进工作区。发现安全问题请按照+[`SECURITY.md`](SECURITY.md) 的说明私下报告,不要开公开 issue。++## 隐私与遥测++**官方分发的安装包**包含 [TapDB](https://www.taptap.cn/tapdb) 使用统计,用于+产品层面的匿名量级分析(设备 / 系统 / 应用版本等元数据;登录后关联账号 ID)。+它**不采集**聊天内容、文件内容或工作目录数据。此外,登录云端账号时客户端会向+Cindy 服务发送在线心跳(仅账号 ID、平台与版本号)。崩溃转储只保留在本地,+不会自动上传。++**从源码自行构建**时不必保留统计:++- 移动端默认即关闭 —— 未在构建时注入 TapDB 凭据(`clientId` / `clientToken`)+ 时,`apps/mobile/src/analytics/mobileTapdb.ts` 自动空转;+- 桌面端可移除 `apps/desktop/src/renderer/index.tsx` 中的 `initTapdb()` 调用+ (实现见 `apps/desktop/src/renderer/analytics/`),即可完全剥离。++## 许可证 / License++除非另有说明,本仓库的源代码依据 [Apache License 2.0](LICENSE) 授权。+源文件不单独携带许可证头,统一以仓库根目录的 `LICENSE` 为准。++模型权重、数据集、提示词、商标,以及其他单独标识的材料,可能适用各自的许可条款,+不因根目录的 Apache-2.0 而被自动覆盖。第三方开源组件保留各自的版权与许可,其归属+声明与 SPDX SBOM 统一收口在 [`docs/legal/`](docs/legal/);各分发产物的精确清单+见 [`docs/legal/notices/`](docs/legal/notices/)。本项目的版权与归属信息见+[`NOTICE`](NOTICE)。diff --git a/SUPPORT.en.md b/SUPPORT.en.mdindex a13eaf589c..ec4b10634a 100644--- a/SUPPORT.en.md+++ b/SUPPORT.en.md@@ -11,7 +11,7 @@ custom environment or commercial support is not guaranteed.## Where to start- Installation, dependencies, and development setup: read- [README.en.md](README.en.md) and [CONTRIBUTING.en.md](CONTRIBUTING.en.md).+ [README.md](README.md) and [CONTRIBUTING.en.md](CONTRIBUTING.en.md).- Security vulnerabilities, credentials, or exploitable details: follow[SECURITY.en.md](SECURITY.en.md) and report privately.- Ordinary bugs: open a GitHub issue with the version, platform, reproductiondiff --git a/SUPPORT.md b/SUPPORT.mdindex 67736a68e3..ad3eb1883e 100644--- a/SUPPORT.md+++ b/SUPPORT.md@@ -9,7 +9,7 @@ Cindy 是开源客户端,社区可以帮助确认可复现的问题和改进## 先查什么-- 安装、依赖和开发环境:先看 [README.md](README.md) 和+- 安装、依赖和开发环境:先看 [README.zh-CN.md](README.zh-CN.md) 和[贡献指南](CONTRIBUTING.md);- 安全漏洞、凭证或可利用细节:按照 [SECURITY.md](SECURITY.md) 私下报告;- 普通 Bug:提交 GitHub issue,并提供版本、平台、复现步骤和脱敏日志;