Repository navigation
docs: Desktop 架构继续改造计划(0.1.7 底座之后) - #589
Closed
yaojin3616 wants to merge 3 commits into
Closed
yaojin3616 wants to merge 3 commits into
yaojin3616 wants to merge 3 commits into
Conversation
Record what remains after #570 for the Windows runtime, packaging, plugin loading and recovery, in dependency order with acceptance criteria: land RunAsNode (#583) and drop the bundled Node, move the Harness runtime into asar, retire the host module fallback and legacy links, add Profile checkpoints, and shrink patches and the main entry. Stable/beta channels are out of scope. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Startup failures stay with the existing Recovery page, Safe Mode and repair Agent. The leftover in-Profile pnpm store item moves to the plugin size stage. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The official Plugins page, dshmarket, Safe Mode/Recovery and built-in host plugins each read and write enablement differently; for example, disabling on the Plugins page removes the name from dsh.profile.bundles and healProfileBundles() adds it back on the next launch. Keep the review from the RunAsNode assessment worktree as the detailed design for roadmap stage 3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
概要
新增
docs/desktop-architecture-roadmap.md,记录 #570(Harness 0.1.7-rc.2 底座)合入之后,Windows 运行时、打包、插件加载和恢复几条线还剩的改造、执行顺序和每一步的验收标准。docs/architecture.md开头加了一行链接。另新增docs/plugin-management-unification-plan.md,作为阶段 3「统一插件状态与管理入口」的详细设计(来自 RunAsNode 评估时的源码审查,基线为v0.10.0,文首注明了工作台市场部分只在v0.10.0适用)。按要求,stable / beta 双通道和 Profile checkpoint / last-known-good 自动回退都不在本计划范围内,启动失败继续由现有 Recovery 页、Safe Mode 和修复 Agent 处理。计划内容
v0.10.0)带进 main;Electron 与node-addon-require-builtin的版本约束做成打包门禁;核对ELECTRON_RUN_AS_NODE向子进程的传播;macOS 也去掉随包 Node@deepseek-ai/*宿主回退钩子;清理旧版共享 junction;收敛 generation 每插件 junction;明确“版本不兼容只告警”的策略;门禁禁止可升级 bundle 进安装包;统一插件状态与管理入口src/main/index.ts文档开头的现状表列出了 main 上已完成的项(安装器去掉 Defender/HKLM、按内容签名且失败阻断、签名包 smoke、更新验签、目录安装事务、plugin-manager 走 generation 后端)及其依据。
验证
纯文档改动:已检查
git diff --check,并确认文档中引用的仓库内路径都存在。没有运行测试或打包,本 PR 也不改变任何运行时行为。说明
计划基于 main
eec5d57e65和v0.10.0上的 #583 的源码阅读,并对照官方 dsh-v0.1.7-rc.2 与 anywhere-labs/dsh-desktop。其中的数字(解包文件数、补丁行数、Profile 内遗留 store 的体积)来自 PR 描述或开发机观察,实施各阶段时需要重新测量。🤖 Generated with Claude Code