@01b/team-kb 0.2.5 → 0.2.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@01b/team-kb",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Team Knowledge Base harness CLI - scaffold, wire, and manage KB for LLM-assisted development",
5
5
  "type": "module",
6
6
  "bin": {
@@ -37,6 +37,7 @@ if [ $ERRORS -gt 0 ]; then exit 1; fi
37
37
  STAGED_MD=$(git diff --cached --name-only --diff-filter=ACDMR -- '*.md')
38
38
  if [ -n "$STAGED_MD" ]; then
39
39
  "$KB_ROOT/.kb/scripts/rebuild-index.sh" > /dev/null
40
- git add "$KB_ROOT/kb-index.json" "$KB_ROOT/.kb-index.local.json" 2>/dev/null
40
+ cp "$KB_ROOT/.kb-index.local.json" "$KB_ROOT/kb-index.json"
41
+ git add "$KB_ROOT/kb-index.json" 2>/dev/null
41
42
  echo "kb-index 자동 갱신 완료"
42
43
  fi