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.
- package/CHANGELOG.md +28 -0
- package/README.md +26 -11
- package/README.th.md +25 -11
- package/bin/discipline-report.js +35 -0
- package/claude/hooks/hooks.json +36 -0
- package/claude/hooks/luciazero-statusline.sh +17 -2
- package/claude/hooks/luciazero-verify.sh +157 -18
- package/claude/luciazero.md +2 -2
- package/install-codex.sh +6 -2
- package/install.sh +17 -7
- package/package.json +2 -2
- package/skills/aliases.txt +2 -0
- package/skills/catalog.txt +3 -1
- package/skills/debug/SKILL.md +1 -1
- package/skills/discipline-report/SKILL.md +3 -1
- package/skills/done/SKILL.md +1 -1
- package/skills/done/scripts/revert-probe.sh +1 -1
- package/skills/imouto-mode/SKILL.md +43 -0
- package/skills/imouto-mode/agents/openai.yaml +6 -0
- package/skills/luciazero-bootstrap/SKILL.md +5 -104
- package/skills/plan/SKILL.md +1 -1
- package/skills/ready/SKILL.md +109 -0
- package/skills/{luciazero-bootstrap → ready}/scripts/detect.sh +1 -1
- package/skills/show/SKILL.md +133 -0
- package/skills/show/agents/openai.yaml +4 -0
- package/uninstall-codex.sh +5 -1
- package/uninstall.sh +6 -2
- /package/skills/{luciazero-bootstrap → ready}/references/smart-verification.md +0 -0
package/uninstall-codex.sh
CHANGED
|
@@ -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 < <(
|
|
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 +
|
|
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 < <(
|
|
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" \
|
|
File without changes
|