@hupan56/wlkj 3.4.8 → 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 +3 -8
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -27,16 +27,11 @@ const PROTECTED_FILES = new Set([
27
27
  ]);
28
28
 
29
29
  // 引擎产物目录:强制覆盖(不走三路快照保护)
30
- // 这些是引擎文件(类似 npm 包代码),用户不该改;三路快照误保护导致新版到不了用户
31
- // 只保护用户数据:config.yaml / settings.json / .developer / workspace/ / data/
30
+ // commands+skills 是纯引擎定义文件,用户不该改,强制覆盖安全
31
+ // scripts/rules/hooks/contracts/templates 走三路快照(可能被另一个会话/用户改过)
32
32
  const FORCE_OVERWRITE_DIRS = new Set([
33
- "commands", // /wl-*.md 命令定义
33
+ "commands", // /wl-*.md 命令定义(引擎产物,MCP铁律等)
34
34
  "skills", // SKILL.md 技能定义(AI读这个决定流程)
35
- "scripts", // .py 引擎脚本
36
- "rules", // 规则文件
37
- "hooks", // hook 脚本
38
- "contracts", // 模块契约
39
- "templates", // 原型/PRD模板
40
35
  ]);
41
36
 
42
37
  // 本地状态文件(升级时也绝不碰,但不算"受保护配置",不提示合并)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hupan56/wlkj",
3
- "version": "3.4.8",
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"