feat(desktop): introduce React Desktop 2.0 - #776
Draft
abraxas914 wants to merge 7 commits into
Draft
Conversation
Contributor
|
没有移动数据目录的功能。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This Draft PR introduces React Desktop 2.0 on top of the latest upstream
mainwhile preserving the existing static desktop as an independent v1 implementation.The final candidate is based on upstream commit
30b24ad31d679cde47a75f47fb6880df1dd96891. That commit only changesfrontends/stapp.py; the candidate keeps it byte-for-byte unchanged and adds the fork-validated desktop tree through seven reviewable commits.Candidate commit:
d2869df72a64edb3bee73fc8871516811bdd0e6fCommit structure
feat(desktop): introduce React Desktop 2.0 and runtime integrationtest(desktop): add unit, bridge, browser and native E2E coverageci(desktop): add path-scoped quality gatesdocs(desktop): document v1/v2 boundaries and validationfix(packaging): restore curated macOS DMG layoutfeat(desktop): unify startup recovery with Semi Designbuild(desktop): reduce macOS package footprintThe first four commits are the conflict-resolved upstream integration. The final three are the independently reviewed and fork-accepted packaging, recovery-UI, and footprint hardening changes.
Architecture and scope
frontends/desktop/src/**,public/**, Vite inputs, and the packageddistentry point.frontends/desktop/static/**remains byte-for-byte identical to upstream and is not used as a React source tree.desktop_bridge.py; external repositories are attached only through a compatibility-probedGA_ROOT.move_ga_runtimeremains registered and authorized with asynchronous copy, switch, rollback, and conditional-delete semantics; React v2 does not expose a migration UI in this PR.0.2.0..appimmutable at runtime, restores the curated two-item DMG layout, and excludes installed build tools and Python bytecode caches while retaining offline recovery wheels.Upstream sync and boundaries
30b24ad(fix(stapp): own stream bubble inside fragment for cross-version rerun safety) is preserved exactly.frontends/stapp.py,frontends/desktop/static/**, andmemory/**have zero diff from upstream..agents/**,.codex/**,.trellis/**, old QR images, fork-only nightly workflow, unresolved path, or conflict marker is present..github/workflows/desktop-ci.ymlis added; the existing release workflow is modified only for the validated desktop packaging contract.Validation completed locally on the exact candidate
npm ci.git diff --checkand all static, memory, workflow, version, and local-only path invariants passed.The candidate's complete desktop subtree is identical to fork
mainat848547af90416f68aebbb998aeaa98680f61e67b. That fork SHA passed the complete Desktop Quality Gates and generated successful Windows, Linux, and macOS packages. The owner also completed an initial macOS package smoke without finding a functional regression.Exact-candidate GitHub CI and same-SHA package artifacts will be generated after this branch is pushed and the Draft PR is opened. The PR should remain Draft until those checks are attached.
Known non-blocking observations
npm cireports 20 inherited dependency findings (2 moderate, 18 high). No lockfile-mutating forced audit fix is included.中文摘要
本 Draft PR 基于最新 upstream
30b24ad引入 React Desktop 2.0,并严格保留原有 static v1。upstream 新增的 Streamlit 修复在候选中逐字节保持不变;static/**、memory/**以及本地 Trellis/Codex/agent 资料均不进入差异。最终候选
d2869df由七个可审阅提交组成:原四个生产、测试、CI、文档提交,加上已在 fork 验收的 DMG 布局修复、Semi 启动恢复界面和 macOS 缩包。准确候选已通过本地 351 项前端测试、124 项 Python 测试、Rust 11+11、24 项打包契约和 7 条浏览器旅程。推送后将补齐该 SHA 的 GitHub 门禁和三平台产物,在证据挂载前保持 Draft。