You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: harden installer and improve install reliability (#93)
* feat: add release workflow and enhance install script with checksum verification and local install options
* fix: update release workflow to commit checksums to main and adjust trigger conditions
* fix: update checksum generation to use find for better file selection
* Update checksums.txt
* feat: add per-project configuration support and update installation script
* Update checksums.txt
* fix: use CLAUDE_PEON_DIR for packs directory in tests
* Update checksums.txt
* feat: add support for CLAUDE_PEON_DIR override in config and state directory resolution
* Update checksums.txt
* feat: auto-detect repo URL and default to kenyiu/peon-ping fork
- Add detect_repo_info() and detect_clone_url() functions to install.sh
- Auto-detect current repo from git remote when running from local clone
- Support PEON_REPO_URL and PEON_CLONE_URL environment variables
- Default to kenyiu/peon-ping instead of tonyyont/peon-ping
- Update peon.sh version check URL to use kenyiu fork
- Update update message to reference correct install URL
* Update checksums.txt
* docs: update README to point to kenyiu fork
* feat: add local_only config option for local installation only
- Add local_only field to config.json (default: false)
- Update peon.sh to check global config for local_only setting
- When local_only is true and no local config exists, exit silently
- Document the option in README.md
This allows teams to enforce per-project configuration by setting
local_only: true in the global config. The hook will only run when
a local ./.claude/hooks/peon-ping/config.json exists.
* Update checksums.txt
* feat: support explicit global/local install modes
Make installer behavior deterministic by separating global and local modes, adding init-local-config, and prompting to resolve conflicting existing installs.
* Update checksums.txt
* docs: update contributor link for Orc Peon character in README
* Update checksums.txt
* feat: enhance security checks for pack installation and checksum generation
* Update checksums.txt
* docs: streamline README install and config sections
---------
Co-authored-by: ken <3939605+kenyiu@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Local installs don't add the `peon` CLI alias or shell completions — use `/peon-ping-toggle` inside Claude Code instead.
42
-
43
59
## What you'll hear
44
60
45
61
| Event | CESP Category | Examples |
@@ -84,7 +100,10 @@ Pausing mutes sounds and desktop notifications instantly. Persists across sessio
84
100
85
101
peon-ping installs a `/peon-ping-toggle` slash command in Claude Code. You can also just ask Claude to change settings for you — e.g. "enable round-robin pack rotation", "set volume to 0.3", or "add glados to my pack rotation". No need to edit config files manually.
86
102
87
-
The config lives at `$CLAUDE_CONFIG_DIR/hooks/peon-ping/config.json` (default: `~/.claude/hooks/peon-ping/config.json`):
103
+
Config location depends on install mode:
104
+
105
+
- Global install: `$CLAUDE_CONFIG_DIR/hooks/peon-ping/config.json` (default `~/.claude/hooks/peon-ping/config.json`)
106
+
- Local install: `./.claude/hooks/peon-ping/config.json`
0 commit comments