@hupan56/wlkj 3.4.7 → 3.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.js +7 -3
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -26,9 +26,13 @@ const PROTECTED_FILES = new Set([
26
26
  "settings.json", // 本地权限/hook 配置
27
27
  ]);
28
28
 
29
- // commands/ 目录下的文件强制覆盖(不走三路快照保护)
30
- // 原因:commands 是引擎产物(类似 .py 脚本),用户不该改;三路快照误保护导致新版 commands 到不了用户
31
- const FORCE_OVERWRITE_DIRS = new Set(["commands"]);
29
+ // 引擎产物目录:强制覆盖(不走三路快照保护)
30
+ // commands+skills 是纯引擎定义文件,用户不该改,强制覆盖安全
31
+ // scripts/rules/hooks/contracts/templates 走三路快照(可能被另一个会话/用户改过)
32
+ const FORCE_OVERWRITE_DIRS = new Set([
33
+ "commands", // /wl-*.md 命令定义(引擎产物,MCP铁律等)
34
+ "skills", // SKILL.md 技能定义(AI读这个决定流程)
35
+ ]);
32
36
 
33
37
  // 本地状态文件(升级时也绝不碰,但不算"受保护配置",不提示合并)
34
38
  const LOCAL_STATE_FILES = new Set([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hupan56/wlkj",
3
- "version": "3.4.7",
3
+ "version": "3.4.9",
4
4
  "description": "AI Product R&D Workflow - PRD/Prototype/Search/Task/Report",
5
5
  "bin": {
6
6
  "wlkj": "bin/cli.js"