Repository navigation
fix(config): 识别已安装决策插件的桌面配置 - #269
Merged
Merged
Conversation
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.
当发行版预装
@eduwork/dsh-decision并在plugins.decision配置服务时,桌面宿主仍会报“该插件不属于此发行版”,导致首次启动失败。已安装的决策包也不会参与发行默认配置的填充。将
decision加入现有 npm bundle 配置映射,沿用邮件、记忆等插件的处理路径。只有实际装配该包的产品才接受该配置;保留用户显式关闭和自定义模型参数。此次不改变决策协议、npm 包或 DSH Runtime。验证:宿主配置与启动配置检查 29 项通过,1 项平台跳过;另用实际 rc.5 装配分别验证新安装、缺少决策设置的旧配置、显式关闭并自定义模型三种情况,均只产生一个决策实例,重复准备配置保持不变。这里验证的是启动配置生成,不替代正式桌面包及在线模型验收。