Repository navigation
refactor(pet): 将桌宠拆分为独立 npm 插件 - #160
Merged
Merged
Conversation
This was referenced Oct 16, 2026
Merged
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.
桌宠此前只能由产品构建脚本生成,不能独立打包维护。将其迁至
packages/dsh-desktop-pet,提供独立的构建、依赖锁、npm 发布入口和中英文使用说明;继续由 EduWork Electron 壳提供悬浮窗口,并复用现有通知事项。保留原插件 ID、设置和形象。停止插件时等待已排队的设置请求与关闭操作完成,避免旧实例在替换后误关新桌宠。包检查同时验证设置页、窗口页面、四款形象及其引用素材,防止发布不完整的 tarball。
验证:独立包 16 项测试、窗口/通知/包维护 25 项测试通过;源码审计无错误,中英文文档链接检查通过。独立审查与实际 tarball 加载验收继续补充。
本 PR 保留可验证的源码装配入口;包发布后另行提交 registry 版本与完整性锁,并切换桌面装配到 npm 产物。0.4.4 须在该切换及新包升级验收完成后发布。