Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6c1d23c81 | ||
|
|
1edbfb9007 |
2 changed files with 11 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "buddymon",
|
||||
"description": "Collectible creatures discovered through coding \u2014 commit streaks, bug fights, and session challenges",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.3",
|
||||
"author": {
|
||||
"name": "CircuitForge LLC",
|
||||
"email": "hello@circuitforge.tech"
|
||||
|
|
|
|||
10
install.sh
10
install.sh
|
|
@ -290,6 +290,16 @@ PYEOF
|
|||
cp "${REPO_DIR}/lib/catalog.json" "${BUDDYMON_DIR}/catalog.json"
|
||||
ok "Installed catalog.json → ${BUDDYMON_DIR}/catalog.json"
|
||||
|
||||
# Sync hooks-handlers and hooks.json into the live cache so edits take effect
|
||||
# without waiting for a CC plugin-cache refresh. CC re-reads hook scripts on
|
||||
# every invocation but only reads hooks.json at session start.
|
||||
if [[ -d "${CACHE_DIR}/hooks-handlers" ]]; then
|
||||
cp "${REPO_DIR}/hooks-handlers/"*.py "${CACHE_DIR}/hooks-handlers/"
|
||||
cp "${REPO_DIR}/hooks-handlers/"*.sh "${CACHE_DIR}/hooks-handlers/" 2>/dev/null || true
|
||||
cp "${REPO_DIR}/hooks/hooks.json" "${CACHE_DIR}/hooks/hooks.json"
|
||||
ok "Synced hooks-handlers + hooks.json → ${CACHE_DIR}/"
|
||||
fi
|
||||
|
||||
# Install statusline into settings.json if not already configured
|
||||
python3 << PYEOF
|
||||
import json
|
||||
|
|
|
|||
Loading…
Reference in a new issue