fix(desktop): 装机种子+看门狗补 plugins.enabled(4 插件) - #45
Closed
karlligamesvc-spec wants to merge 1 commit into
Closed
karlligamesvc-spec wants to merge 1 commit into
karlligamesvc-spec wants to merge 1 commit into
Conversation
纯新装机路径 seedDefaultModelConfig 先于 install.sh example-copy 写
~/.apexnodes/config.yaml,种子缺 plugins 块 → runtime 标准插件(opt-in
加载)全不启用,包括 apex-overlay 与 plugins-gateway-p1 的三个工具插件。
老装机(先跑过 example-copy)不受影响,此为纯新装机路径修复。
- apex-managed.cjs:MANAGED_PLUGIN_NAMES 常量统一四插件清单(apex-overlay
+ apexnodes-douyin/social/video-tools);seedPluginsBlockYaml() 渲染种子
块(对齐 cli-config.yaml.example 写法);ensurePluginsEnabledYaml() 纯行
手术并集修补——只增不删、保留用户自加项与顺序、幂等;容忍 example 注释/
引号、PyYAML 重排(2 空格列表、flow list、{}、null),结构不认识时不动文件
- main.cjs:managed/BYOK 两条种子路径尾部追加 pluginsBlock;
guardConfigYamlProductBlocks 看门狗接入 ensurePluginsEnabledYaml。
老装机升级路径:每次启动 startHermes→ensureRuntime→guard('boot') 在
gateway 拉起前必经,首次跑新版桌面即补齐存量 config
- 测试:apex-managed.test.cjs +11(种子含四插件/缺块补齐/用户项保留/幂等/
空块三形态/PyYAML 形态/注释引号/异形不碰),套件 306→317 全过;
typecheck 零错;唯一失败 windows-child-process 为基分支遗留
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Jul 5, 2026
Owner
Author
|
由 0.16.1 重建批次 PR #48 取代(stacked close 连锁,内容已收敛) |
3 tasks
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.
全新装机 seed 不含 plugins 块→standalone 插件(含 apex-overlay 与工具网关三插件)全不启用。seed 两路径补块;看门狗只增不删并集修补(用户自加项保留);老用户每次启动 guardConfigYamlProductBlocks 自动补齐(依据:ensureRuntime 全启动路径必经)。+11 测试。stacked on #44;也是能力一致 P1 桌面生效前提。
🤖 Generated with Claude Code