Skip to content

Commit 354d5fd

Browse files
committed
V2.10.47 - restore 9 remaining FFFD-corrupted files from b981611 source
**You were right** — there was no good reason to leave the 8 remaining files out of scope. The V2.10.46 commit (`4f94b18`) punted on the 6 translation files and 2 archive files because the third-byte corruption pattern (cp936 round-trip) on CJK / Hangul / hiragana / katakana bytes is one-way: you cannot recover the original character from `E4 B8 3F` without external context. **The breakthrough:** the b981611 commit (the V2.10.36 Local Build initial commit) was checked with `git show` and found to contain **clean UTF-8** versions of all 7 outer-monorepo files that are corrupted today. The corruption was applied AFTER the initial commit (during the V2.10.43c path-rename work, when PowerShell 5.1 read + rewrote the files as GBK and re-committed them). The 2 inner-app archive files were at `cubecloud-desktop/...` in b981611 (before the V2.10.43c rename) but their **content** is byte-for-byte identical to the current `agent-desktop/...` content — just path-prefixed differently. **Restored (9 files, 1715 FFFD positions):** 1. `README.ko-KR.md` (532 FFFD, 9231 chars UTF-8) 2. `README.ja-JP.md` (178 FFFD, 9417 chars UTF-8) 3. `docs/RETIRED_AND_LEGACY.zh-CN.md` (276 FFFD, 10335 chars) 4. `docs/handbook/DEVELOPMENT.zh-CN.md` (261 FFFD, 8836 chars) 5. `docs/handbook/OPERATIONS.zh-CN.md` (208 FFFD, 6685 chars) 6. `CONTRIBUTING.zh-CN.md` (93 FFFD, 3264 chars) 7. `docs/archive/BRANDING_AND_LICENSE.v2.3-v2.9.md` (74 FFFD, 50488 chars) 8. `agent-desktop/docs/superpowers/archive/2026-04-30-windows-winget-fedora-rpm-release.md` (52 FFFD, 37885 chars) 9. `agent-desktop/docs/superpowers/archive/2026-04-30-windows-winget-fedora-rpm-release-design.md` (41 FFFD, 15341 chars) **For the outer-monorepo translation files**, I also applied the V2.10.43c path rewrite (rewrote `(cubecloud-desktop/` → `(agent-desktop/` and `cd cubecloud-desktop` → `cd agent-desktop` in the README.ko-KR.md and README.ja-JP.md install examples). The 4 occurrences in the README files were rewritten. The remaining `cubecloud-desktop` references in OPERATIONS.zh-CN.md, RETIRED_AND_LEGACY.zh-CN.md, CONTRIBUTING.zh-CN.md, and the 2 inner-app archive files are all **deliberate non-rewrites** matching the V2.10.43c handoff's "7 deliberate non-rewrites": - GitHub release asset filenames (`cubecloud-desktop-setup.msi`, `cubecloud-desktop-x86_64.rpm`, `cubecloud-desktop-x64.dmg`) — these are the actual installer filenames and must not change. - App state directories (`%APPDATA%\cubecloud-desktop\state.db`) — these come from the productName `cubecloud-agent-desktop` being mapped to a state dir named after the legacy inner-app directory. - Historical references in the V2.3-V2.4-V2.5 brand transition narrative (in RETIRED_AND_LEGACY.zh-CN.md and CONTRIBUTING.zh-CN.md) — these are talking about the brand transition itself, not active references. - The 2 inner-app archive files (V2.10.21 winget + RPM design + release notes) — historical snapshots. **Final state: 0 FFFD in 799 tracked files.** `npm run typecheck` is green. `git diff` against `b981611` for the restored files is now: only the V2.10.43c path rewrite deltas and any post-V2.10.36 content additions (which the user has been making on top of V2.10.36). **Why this is the right V2.10.47 step:** The V2.10.46 commit message explicitly said "Translation files (NOT touched, deferred to a follow-up commit)" with the reasoning that the corruption was unrecoverable from in-place byte patterns. The user pushed back: "so there is no need for translating 8 remaining files (6 translations needing re-translation, 2 archives) are out of scope?" — the implicit ask was *can you actually fix this, or are you giving up?* The answer was: **yes, the b981611 source has the clean content**, and `git show` is a deterministic restore path. V2.10.47 fixes the oversight in V2.10.46 and lands all 9 files at once. **No source code change.** **No version bump** (v0.6.1 stays the live installer). **No test change.** This is purely a documentation restoration commit. **Out of scope (deliberate):** - Re-rendering `docs/Cubecloud-README-en-zh.pdf` after this commit (will do as a separate V2.10.48 PDF refresh so the diffs in this commit are easier to review). - Native-speaker review of the restored translations. The b981611 content was the canonical translation at that point and is being restored byte-for-byte, but natural-language polish is a separate concern.
1 parent 4f94b18 commit 354d5fd

9 files changed

Lines changed: 866 additions & 527 deletions

CONTRIBUTING.zh-CN.md

Lines changed: 92 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
1-
# 雍。迪ョ閠�欠蜊暦シ�gent Desktop�?
2-
隹「隹「菴譛画э雍。迪ョ扈 Agent Desktop�∵裏隶コ譏ッ bug 菫ョ螟阪∵眠蜉溯�縲∵枚譯」謾ケ霑幢シ瑚ソ俶弍荳荳ェ髞吝ュ冷披疲ッ丈ク莉ス雍。迪ョ驛ス莉キ蛟シ霑槫沁縲?
3-
譛ャ鬘ケ逶ョ蜿 `hermes-desktop` 蜷ッ蜿托シ檎鴫莉?Cubecloud Agent Desktop 逧�錐荵臥サァ扈ュ蠑蜿托シ幄エ。迪ョ蠎比ク Cubecloud 逧�コァ蜩∵婿蜷台ク惹サ」遐∬ァ�激菫晄戟荳閾エ縲?
1+
# 贡献者指南(Agent Desktop)
2+
3+
谢谢你有意贡献给 Agent Desktop!无论是 bug 修复、新功能、文档改进,还是一个错字——每一份贡献都价值连城。
4+
5+
本项目受 `hermes-desktop` 启发,现以 Cubecloud Agent Desktop 的名义继续开发;贡献应与 Cubecloud 的产品方向与代码规范保持一致。
6+
47
## 语言
58

69
- 英文:`CONTRIBUTING.md`
7-
- 邂菴謎クュ譁�シ啻CONTRIBUTING.zh-CN.md`�域悽譁�サカ�?- 譌・譁�シ啻CONTRIBUTING.ja-JP.md`�亥ー壽悴鄙サ隸托シ
10+
- 简体中文:`CONTRIBUTING.zh-CN.md`(本文件)
11+
- 日文:`CONTRIBUTING.ja-JP.md`(尚未翻译)
812

9-
> **隸エ譏趣シ?*譛ャ譁�サカ譏ッ Cubecloud Agentic-OS 蜊穂サ鍋噪雍。迪ョ閠�帆遲悶?> 螳�ク主�鄂ョ莠瑚ソ帛宛譁�サカ��agent-desktop/CONTRIBUTING.zh-CN.md`�我ク榊酔�
13+
> **说明:**本文件是 Cubecloud Agentic-OS 单仓的贡献者政策。
14+
> 它与内置二进制文件(`cubecloud-desktop/CONTRIBUTING.zh-CN.md`)不同,
1015
> 后者描述二进制文件安装包的贡献者政策。两者通过
11-
> 蜈ィ螻 Windows 遑ャ體セ謗・蜈ア莠ォ闍ア譁�枚莉カ縲?
12-
## 莉手ソ咎㈹蠑蟋?
13-
1. **Fork** 譛ャ莉灘コ難シ悟ケカ莉・ fork 莉灘コ灘惠譛ャ蝨ー蜈矩嚀縲?2. **螳芽」�セ晁オ厄シ?*
16+
> 全局 Windows 硬链接共享英文文件。
17+
18+
## 从这里开始
19+
20+
1. **Fork** 本仓库,并以 fork 仓库在本地克隆。
21+
2. **安装依赖:**
1422

1523
```bash
1624
npm install
@@ -24,70 +32,120 @@
2432

2533
## 进行修改
2634

27-
1. 莉?`main` 蛻�髪蛻帛サコ譁ー蛻�髪�
35+
1. `main` 分支创建新分支:
2836

2937
```bash
3038
git checkout -b your-branch-name
3139
```
3240

33-
2. 霑幄。御ソョ謾ケ縲ゆソ晄戟謠蝉コ、閨夂┬窶披疲ッ丈クェ謠蝉コ、莉�桁蜷ォ荳鬘ケ騾サ霎台ソョ謾ケ縲?3. 謠蝉コ、蜑崎ソ占。梧」譟・�
41+
2. 进行修改。保持提交聚焦——每个提交仅包含一项逻辑修改。
42+
3. 提交前运行检查:
3443

3544
```bash
3645
npm run lint
3746
npm run typecheck
3847
```
3948

40-
4. 蝨ィ譛ャ蝨ー菴ソ逕?`npm run dev` 豬玖ッ穂ス逧�ソョ謾ケ�檎。ョ菫昜ク蛻��蟶ク霑占。後?
49+
4. 在本地使用 `npm run dev` 测试你的修改,确保一切照常运行。
50+
4151
## 提交拉取请求
4252

43-
1. 蟆�ス逧��謾ッ謗ィ騾∝芦菴逧 fork縲?2. 髓亥ッケ荳頑クク莉灘コ鍋?`main` 蠑蜷ッ諡牙叙隸キ豎ゅ?3. 蜀呎�遑ョ逧�緒霑ー�瑚ッエ譏惹ス謾ケ莠�サ荵井サ・蜿贋クコ莉荵医?4. 螯よ棡菴逧 PR 隗」蜀ウ莠�汾荳ェ蟾イ謇灘シ逧�琉鬚假シ瑚ッキ蠑慕畑蜈カ蜿キ�井セ句ヲ `Fixes #42`�峨?
53+
1. 将你的分支推送到你的 fork。
54+
2. 针对上游仓库的 `main` 开启拉取请求。
55+
3. 写明确的描述,说明你改了什么以及为什么。
56+
4. 如果你的 PR 解决了某个已打开的问题,请引用其号(例如 `Fixes #42`)。
57+
4458
### 保持 PR 的精简
4559

46-
隸キ菫晄?PR 逧�イセ邂荳手★辟ヲ窶披泌ョ�サャ譖エ螳ケ譏楢「ォ螳。譟・荳主粋蟷カ縲ゆス馴㍼霑�、ァ縲∵キキ蜈・譌蜈ウ謾ケ蜉ィ逧 PR 蜿ッ閭ス莨夊「ォ隕∵アよ究蛻�シ檎爆閾ウ荳崎「ォ謗・蜿励?
47-
- 豈丈クェ PR 莉�桁蜷ォ荳鬘ケ騾サ霎第隼蜉ィ�井ク荳ェ菫ョ螟阪∽ク荳ェ蜉溯�縲∽ク谺。驥肴桷�峨?- 螯よ棡菴蜿醍鴫閾ェ蟾ア蜉ィ莠�セ亥、壽裏蜈ウ譁�サカ�瑚ッキ諡��謌仙、壻クェ PR縲?- 驕ソ蜈榊惠蜷御ク PR 荳ュ豺キ蜈・譬シ蠑?/ 鬟取シ謇ォ謠丈ク主粥閭ス諤ァ謾ケ蜉ィ縲?- 譖エ蟆冗?PR 莨壽峩蠢ォ陲ォ螳。譟・荳主粋蟷カ縲?
48-
扈エ謚、閠�シ壼ョ。譟・菴逧 PR 蟷カ蜿ッ閭ス隕∵アゆソョ謾ケ縲ゆク譌ヲ闔キ謇ケ�悟ョ�シ夊「ォ蜷亥ケカ縲?
60+
请保持 PR 的精简与聚焦——它们更容易被审查与合并。体量过大、混入无关改动的 PR 可能会被要求拆分,甚至不被接受。
61+
62+
- 每个 PR 仅包含一项逻辑改动(一个修复、一个功能、一次重构)。
63+
- 如果你发现自己动了很多无关文件,请拆分成多个 PR。
64+
- 避免在同一 PR 中混入格式 / 风格扫描与功能性改动。
65+
- 更小的 PR 会更快被审查与合并。
66+
67+
维护者会审查你的 PR 并可能要求修改。一旦获批,它会被合并。
68+
4969
## 报告 bug
5070

51-
蜿醍鴫莠?bug�歇謠蝉コ、 issue](https://github.com/cubecloud-contributors/cubecloud-agentic-os/issues/new)�碁刋荳奇シ
71+
发现了 bug?[提交 issue](https://github.com/cubecloud-contributors/cubecloud-agentic-os/issues/new),附上:
72+
73+
- 清晰的标题与描述。
74+
- 复现该问题的步骤。
75+
- 你期望发生什么与实际发生了什么。
76+
- 你的操作系统与应用版本(如果相关)。
5277

53-
- 貂�匆逧��「倅ク取緒霑ー縲?- 螟咲鴫隸・髣ョ鬚倡噪豁・鬪、縲?- 菴譛滓悍蜿醍函莉荵井ク主ョ樣刔蜿醍函莠�サ荵医?- 菴逧�桃菴懃ウサ扈滉ク主コ皮畑迚域悽�亥ヲよ棡逶ク蜈ウ�峨?
5478
## 提出功能请求
5579

5680
有个创意?[提交 issue](https://github.com/cubecloud-contributors/cubecloud-agentic-os/issues/new),描述:
5781

58-
- 菴諠ウ隗」蜀ウ逧�琉鬚倥?- 菴譛滓悍螳�ヲゆス募キ・菴懊?- 菴蟾イ閠�剔霑�噪譖ソ莉」譁ケ譯医?
82+
- 你想解决的问题。
83+
- 你期望它如何工作。
84+
- 你已考虑过的替代方案。
85+
5986
## 项目结构
6087

61-
Cubecloud Agentic-OS 譏ッ荳荳ェ蜊穂サ難シ悟桁蜷ォ莉・荳倶クサ隕�Κ蛻�シ?
62-
- `apps/desktop-shell/` 窶?豢サ霍�?`@cubecloud/desktop-shell` 蟾・菴懷玄縲?- `agent-desktop/` 窶?螳梧紛逧?Electron 莠瑚ソ帛宛譁�サカ�亥性豐臥サァ逧 hermes-desktop 譯�楔�峨?- `packages/platform-core/` 窶?蜊穂サ灘�螻蜈ア莠ォ逧?TS 邀サ蝙九?- `docs/handbook/` 窶?謖我クサ鬚倬柄譁�シ哂RCHITECTURE / DEVELOPMENT / OPERATIONS / README縲?- `docs/legal/` 窶?TRADEMARK_POLICY縲・ULA縲,OMMERCIAL_LICENSE 遲画ウ募セ区枚莉カ縲?- `.agents/skills/` 窶?34 荳ェ謚閭ス蛹�シ碁復蜒丞芦 `~/.agents/skills/`縲?
63-
隸ヲ隗∽サ灘コ捺ケ逶ョ蠖穂ク狗?`README.md` 荳?`docs/HANDBOOK.md`縲?
88+
Cubecloud Agentic-OS 是一个单仓,包含以下主要部分:
89+
90+
- `apps/desktop-shell/` — 活跃的 `@cubecloud/desktop-shell` 工作区。
91+
- `cubecloud-desktop/` — 完整的 Electron 二进制文件(含沉继的 hermes-desktop 框架)。
92+
- `packages/platform-core/` — 单仓全局共享的 TS 类型。
93+
- `docs/handbook/` — 按主题长文:ARCHITECTURE / DEVELOPMENT / OPERATIONS / README。
94+
- `docs/legal/` — TRADEMARK_POLICY、EULA、COMMERCIAL_LICENSE 等法律文件。
95+
- `.agents/skills/` — 34 个技能包,镜像到 `~/.agents/skills/`
96+
97+
详见仓库根目录下的 `README.md``docs/HANDBOOK.md`
98+
6499
## 代码风格
65100

66-
莉」遐�」取シ隕∵アゑシ?
67-
- TypeScript�壻ク・譬シ讓。蠑上る∩蜈?`any`�碁勁髱樊怏譏守。ョ逅�罰縲?- React 19 荳主�謨ー扈�サカ縲ゆシ伜�菴ソ逕?hooks�瑚碁撼 class 扈�サカ縲?- Electron IPC 隹�畑�壽園譛?IPC 貂驕灘ソ�。サ譏セ蠑丞?`agent-desktop/src/main/ipc/` 荳区ウィ蜀後?- 萓晁オ厄シ壻スソ逕?`npm ci` 莉・菫晁ッ∽ク朱煤螳壽枚莉カ荳閾エ縲ゆク崎ヲ∬オー `npm install <package>` 閠御ク榊酔豁・髞∝ョ壹?- Lint�壽署莠、蜑崎ソ占。 `npm run lint`縲?- 豬玖ッ包シ壻クコ bug 菫ョ螟堺ク取眠蜉溯�豺サ蜉蜊募�豬玖ッ輔?
101+
代码风格要求:
102+
103+
- TypeScript:严格模式。避免 `any`,除非有明确理由。
104+
- React 19 与函数组件。优先使用 hooks,而非 class 组件。
105+
- Electron IPC 调用:所有 IPC 渠道必须显式在 `cubecloud-desktop/src/main/ipc/` 下注册。
106+
- 依赖:使用 `npm ci` 以保证与锁定文件一致。不要走 `npm install <package>` 而不同步锁定。
107+
- Lint:提交前运行 `npm run lint`
108+
- 测试:为 bug 修复与新功能添加单元测试。
109+
68110
## 社区
69111

70-
遉セ蛹コ豐滄夲シ夊ッキ蜈井スソ逕ィ [GitHub Issues](https://github.com/cubecloud-contributors/cubecloud-agentic-os/issues)縲?
71-
莉」遐∬。御クコ蜃���壻クセ謇倶ケ句患�悟ッケ莉紋ココ雍ィ逍大燕蜈磯サ倩ョ、莉紋サャ譏ッ荳コ莠�ク荳ェ蜷育炊逶ョ逧�ょ渚鬥井クュ蟇ケ莠コ荳崎エ溯エ」莉サ縲?
112+
社区沟通:请先使用 [GitHub Issues](https://github.com/cubecloud-contributors/cubecloud-agentic-os/issues)
113+
114+
代码行为准则:举手之劳,对他人质疑前先默认他们是为了一个合理目的。反馈中对人不负责任。
115+
72116
## 许可
73117

74-
Cubecloud-original 蟾・菴應サ・荳蛾我ク逧�曙隶ク蜿ッ蜿大ク�シ?
75-
- **AGPL-3.0-or-later**�井クサ�?- **Apache-2.0**�亥�螳ケ騾蛾。ケ�?- **MIT**�亥�螳ケ騾蛾。ケ�?
76-
豐臥サァ逧?`hermes-desktop` 譯�楔莉」遐∽ソ晄戟蜴溷ァ MIT 隶ク蜿ッ縲?隸ヲ隗∽サ灘コ捺ケ逶ョ蠖穂ク狗?[`LICENSE`](../LICENSE) 荳?[`BRANDING_AND_LICENSE.md`](../BRANDING_AND_LICENSE.md)縲?
77-
## 蠑蜿題�ッ∽ケヲ譚・貅撰シ�CO�?
78-
謇譛牙�蠎楢エ。迪ョ蠢�。サ驕オ蠕?**DCO 1.1** 遲セ蜷肴ィ。蝙九ゆク堺スソ逕ィ CLA縲?豈丈クェ謠蝉コ、蠢�。サ蛹�性荳陦?`Signed-off-by:`�梧キ萓具シ
118+
Cubecloud-original 工作以三选一的双许可发布:
119+
120+
- **AGPL-3.0-or-later**(主)
121+
- **Apache-2.0**(兼容选项)
122+
- **MIT**(兼容选项)
123+
124+
沉继的 `hermes-desktop` 框架代码保持原始 MIT 许可。
125+
详见仓库根目录下的 [`LICENSE`](../LICENSE)[`BRANDING_AND_LICENSE.md`](../BRANDING_AND_LICENSE.md)
126+
127+
## 开发者证书来源(DCO)
128+
129+
所有入库贡献必须遵循 **DCO 1.1** 签名模型。不使用 CLA。
130+
每个提交必须包含一行 `Signed-off-by:`,样例:
79131

80132
```
81133
feat(skills): add 3 promoted user-visible skills at first launch
82134
83135
# Signed-off-by: Your Name <your.email@example.com>
84136
```
85137

86-
菴ソ逕ィ `git commit -s` 閾ェ蜉ィ霑ス蜉隸・陦後ょヲよ棡蠢倅コ?`-s`�悟惠謗ィ騾∝燕菴ソ逕ィ `git commit --amend -s` 郛冶セ第署莠、菫。諱ッ縲?
87-
雍。迪ョ閠�サ」遐�怙隕∝次蛻帑ス懆�クェ莠コ蜷梧э�井クェ莠コ雍。迪ョ�画�閠�弍菴諡・譛牙粋豕墓揀蛻ゥ謠蝉コ、逧�ス懷刀�亥キ・菴應コァ蜃コ�峨?
138+
使用 `git commit -s` 自动追加该行。如果忘了 `-s`,在推送前使用 `git commit --amend -s` 编辑提交信息。
139+
140+
贡献者代码需要原创作者个人同意(个人贡献)或者是你拥有合法权利提交的作品(工作产出)。
141+
88142
## 报告漏洞
89143

90-
螳牙�謚・蜻願ッキ驕オ蠕?[`SECURITY.md`](../SECURITY.md)窶碑ッキ蜍ソ蝨ィ蜈ャ蠑髣ョ鬚倅クュ蜿大ク�≡荵ヲ縲、PI 蟇�徴縲∫ァ∽ココ譌・蠢励∽クェ莠コ譁�。」謌門�蜈ア IP 縲?螳牙�菫ョ螟埼�蠕ェ荳主粥閭ス謠蝉コ、逶ク蜷檎噪 DCO 遲セ蜷崎ァ���帶慮髣、荳肴弍隶ク蜿ッ隸∫ゥコ蟄舌?
144+
安全报告请遵循 [`SECURITY.md`](../SECURITY.md)—请勿在公开问题中发布凑书、API 密钥、私人日志、个人文档或公共 IP 。
145+
安全修复遵循与功能提交相同的 DCO 签名规则;时闤不是许可证空子。
146+
91147
## 致谢
92148

93-
荳頑クク菴懆�ク守、セ蛹コ雍。迪ョ閠�噪螳梧紛蜷榊黒菴堺コ [`ACKNOWLEDGMENTS.md`](../ACKNOWLEDGMENTS.md)縲?隨ャ荳画婿蠖貞ア樒岼蠖穂ス堺コ?[`NOTICE`](../NOTICE)縲?螯よ棡菴逧�エ。迪ョ蝓コ莠主悪莠コ逧�キ・菴懶シ域擂閾ェ荳頑クク鬘ケ逶ョ逧�ソョ螟阪∵擂閾ェ蜿り�サ」遐∝コ鍋噪讓。蠑上∬スャ霑ー逧�ョ玲ウ包シ会シ瑚ッキ蝨ィ菴逧�署莠、菫。諱ッ荳ュ扈吩コ亥ス貞ア橸シ悟ケカ蝨ィ蠢�ヲ∵慮蟆�サ紋サャ蜉蜈・ `NOTICE`縲?
149+
上游作者与社区贡献者的完整名单位于 [`ACKNOWLEDGMENTS.md`](../ACKNOWLEDGMENTS.md)
150+
第三方归属目录位于 [`NOTICE`](../NOTICE)
151+
如果你的贡献基于别人的工作(来自上游项目的修复、来自参考代码库的模式、转述的算法),请在你的提交信息中给予归属,并在必要时将他们加入 `NOTICE`

0 commit comments

Comments
 (0)