@kaitranntt/ccs 7.72.1-dev.8 → 7.73.0

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": "@kaitranntt/ccs",
3
- "version": "7.72.1-dev.8",
3
+ "version": "7.73.0",
4
4
  "description": "Claude Code Switch - Instant profile switching between Claude, GLM, Kimi, and more",
5
5
  "keywords": [
6
6
  "cli",
@@ -15,6 +15,17 @@ if [[ ! -f AGENTS.md ]]; then
15
15
  exit 1
16
16
  fi
17
17
 
18
+ TRACKED_PLANS="$(git ls-files -- plans)"
19
+ if [[ -n "$TRACKED_PLANS" ]]; then
20
+ echo "[X] Tracked files found under plans/."
21
+ echo " plans/ is workspace-only and must stay ignored."
22
+ while IFS= read -r tracked_path; do
23
+ echo " $tracked_path"
24
+ done <<< "$TRACKED_PLANS"
25
+ echo " Remove them from the index with: git rm -r --cached plans"
26
+ exit 1
27
+ fi
28
+
18
29
  CURRENT_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
19
30
  if [[ -z "$CURRENT_BRANCH" || "$CURRENT_BRANCH" == "HEAD" ]]; then
20
31
  echo "[i] Detached HEAD detected. Skipping pre-push CI parity gate."