Files
claude-code-glm-suite/interactive-install-claude.sh
uroma 641ca1588d Add real-time GitHub sync to installers and sync script
Interactive installer (interactive-install-claude.sh):
- Add fetch_latest_agents() function to check GitHub for updates
- Clone latest agents from contains-studio/agents before installing
- Update local agents directory with upstream changes
- Gracefully fallback to local agents if GitHub fetch fails
- Call fetch_latest_agents() before install_agents() in main flow

Sync script (sync-agents.sh):
- Add REPO_AGENTS_DIR environment variable support
- Automatically update repository agents directory when syncing
- Keep installer agents in sync with Claude Code agents

This ensures users always get the latest agents from upstream GitHub
while maintaining customizations in the local repository.
2026-01-16 09:13:08 +00:00

41 KiB
Executable File