luciazero 2.0.3 → 2.2.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.
@@ -14,6 +14,10 @@ END='<!-- luciazero:end -->'
14
14
  MANAGED_DIR="${CODEX_DIR}/.luciazero-managed"
15
15
 
16
16
  catalog() { sed '/^[[:space:]]*#/d; /^[[:space:]]*$/d' "$1"; }
17
+ skill_inventory() {
18
+ catalog "${SRC}/skills/catalog.txt"
19
+ catalog "${SRC}/skills/aliases.txt"
20
+ }
17
21
 
18
22
  # collision-proof backup path for $1 (two runs in the same second must not overwrite)
19
23
  bakpath() {
@@ -48,7 +52,7 @@ rm -f "${CODEX_DIR}/.luciazero-version"
48
52
  while IFS= read -r SKILL; do
49
53
  remove_managed_tree "${CODEX_DIR}/skills/${SKILL}" \
50
54
  "${MANAGED_DIR}/skills/${SKILL}" "${SRC}/skills/${SKILL}" "skills/${SKILL}"
51
- done < <(catalog "${SRC}/skills/catalog.txt")
55
+ done < <(skill_inventory)
52
56
 
53
57
  AGENT_STAGE_ROOT="$(mktemp -d)"
54
58
  trap 'rm -rf "${AGENT_STAGE_ROOT}"' EXIT
package/uninstall.sh CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # Remove the Luciazero doctrine + bootstrap skill from ~/.claude/
2
+ # Remove the Luciazero doctrine + skills from ~/.claude/
3
3
  set -euo pipefail
4
4
 
5
5
  for ARG in "$@"; do
@@ -14,6 +14,10 @@ GLOBAL_MD="${CLAUDE_DIR}/CLAUDE.md"
14
14
  MANAGED_DIR="${CLAUDE_DIR}/.luciazero-managed"
15
15
 
16
16
  catalog() { sed '/^[[:space:]]*#/d; /^[[:space:]]*$/d' "$1"; }
17
+ skill_inventory() {
18
+ catalog "${SRC}/skills/catalog.txt"
19
+ catalog "${SRC}/skills/aliases.txt"
20
+ }
17
21
 
18
22
  # collision-proof backup path for $1 (two runs in the same second must not overwrite)
19
23
  bakpath() {
@@ -66,7 +70,7 @@ rm -f "${CLAUDE_DIR}/.luciazero-version"
66
70
  while IFS= read -r SKILL; do
67
71
  remove_managed_tree "${CLAUDE_DIR}/skills/${SKILL}" \
68
72
  "${MANAGED_DIR}/skills/${SKILL}" "${SRC}/skills/${SKILL}" "skills/${SKILL}"
69
- done < <(catalog "${SRC}/skills/catalog.txt")
73
+ done < <(skill_inventory)
70
74
 
71
75
  while IFS= read -r AGENT_NAME; do
72
76
  remove_managed_file "${CLAUDE_DIR}/agents/${AGENT_NAME}.md" \