dev-playbooks-cn 2.5.3 → 2.5.4

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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.5.4] - 2026-01-23
9
+
10
+ ### Fixed
11
+
12
+ - **修正 ignore 规则**:
13
+ - 移除 `.ckb/` - 这是外部工具 CKB 的缓存,不属于 DevBooks
14
+ - 将 `dev-playbooks/changes/*/evidence/` 改为 `dev-playbooks/` - 整个工作目录都应该被 ignore
15
+
16
+ ### Changed
17
+
18
+ - **更准确的 ignore 范围**:
19
+ - `dev-playbooks/` - DevBooks 工作目录(包含所有运行时产生的内容)
20
+ - `.devbooks/` - DevBooks 本地配置
21
+ - `evidence/` - 测试证据目录
22
+ - `*.tmp`, `*.bak` - 临时文件
23
+
24
+ ---
25
+
8
26
  ## [2.5.3] - 2026-01-23
9
27
 
10
28
  ### Added
package/bin/devbooks.js CHANGED
@@ -652,14 +652,13 @@ function getGitIgnoreEntries(toolIds) {
652
652
  '# DevBooks 本地配置(包含用户偏好,不应提交)',
653
653
  '.devbooks/',
654
654
  '',
655
+ '# DevBooks 工作目录(运行时产生的内容)',
656
+ 'dev-playbooks/',
657
+ '',
655
658
  '# DevBooks 工作流产生的临时文件',
656
659
  'evidence/',
657
- 'dev-playbooks/changes/*/evidence/',
658
660
  '*.tmp',
659
- '*.bak',
660
- '',
661
- '# CKB 代码知识库缓存',
662
- '.ckb/'
661
+ '*.bak'
663
662
  ];
664
663
 
665
664
  // 根据选择的工具添加对应的 AI 工具目录
@@ -738,10 +737,7 @@ function getNpmIgnoreEntries() {
738
737
  '# DevBooks 工作流临时文件',
739
738
  'evidence/',
740
739
  '*.tmp',
741
- '*.bak',
742
- '',
743
- '# CKB 缓存',
744
- '.ckb/'
740
+ '*.bak'
745
741
  ];
746
742
  }
747
743
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dev-playbooks-cn",
3
- "version": "2.5.3",
3
+ "version": "2.5.4",
4
4
  "description": "AI-driven spec-based development workflow",
5
5
  "keywords": [
6
6
  "devbooks",