Skip to content

refactor(v2): unify bundled Skill sources - #538

Open
y4ho0 wants to merge 1 commit into
zszz3:mainfrom
y4ho0:refactor/bundled-skill-source
Open

refactor(v2): unify bundled Skill sources#538
y4ho0 wants to merge 1 commit into
zszz3:mainfrom
y4ho0:refactor/bundled-skill-source

Conversation

@y4ho0

@y4ho0 y4ho0 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

变更内容

  • apps/main-2.0/assets/bundled-skills/ 设为 V2 内置 Skill 的唯一内容来源
  • 让 Automation 模板加载器直接从该目录嵌入模板和嵌套资源,同时保持原有 12 个模板的范围与顺序
  • 移除 src/automation/engine/shared/bundled-skills/ 下的重复副本和开发态回退路径
  • 扩展测试与 package smoke,覆盖模板发现、真实 sourcePath 以及 66 份图示资源

验证

  • 相关 Vitest:54 passed
  • npm --prefix apps/main-2.0 run typecheck:通过
  • npm --prefix apps/main-2.0 run build:通过
  • npm run package:smoke:v2:在 macOS 上通过
  • npm run release-note:check:通过

全量测试说明

npm run test:v2 的结果为 2439 passed / 8 failed / 4 skipped。7 个失败来自本机 Node 25 的 localStorage 测试环境,并已在未修改主干上复现;另 1 个 PostgreSQL 测试在全量并发运行时超过 5 秒,单独重跑通过。与本次 Skill 资源调整相关的测试全部通过。

Closes #534

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(v2): 收敛内置 Skill 的双份资源目录

1 participant