Add ui-ux-pro-max installation to automation script
- Added ui-ux-pro-max agent installation to design section - Includes fallback download from repository - Completes synchronization across all installation methods Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -637,6 +637,23 @@ install_agents() {
|
|||||||
cp -r "$source_agents/design/"*.md "$CLAUDE_DIR/agents/design/" 2>/dev/null || true
|
cp -r "$source_agents/design/"*.md "$CLAUDE_DIR/agents/design/" 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Install ui-ux-pro-max agent (additional design agent)
|
||||||
|
if [ "$INSTALL_DESIGN" = true ]; then
|
||||||
|
log_info "Installing ui-ux-pro-max design agent..."
|
||||||
|
# Check if ui-ux-pro-max exists in the repository
|
||||||
|
if [ -f "$SCRIPT_DIR/agents/design/ui-ux-pro-max.md" ]; then
|
||||||
|
cp "$SCRIPT_DIR/agents/design/ui-ux-pro-max.md" "$CLAUDE_DIR/agents/design/" 2>/dev/null || true
|
||||||
|
log_success "ui-ux-pro-max agent installed"
|
||||||
|
else
|
||||||
|
# Download from repository
|
||||||
|
log_info "Downloading ui-ux-pro-max agent from repository..."
|
||||||
|
wget -q -O "$CLAUDE_DIR/agents/design/ui-ux-pro-max.md" \
|
||||||
|
"https://raw.githubusercontent.com/github.rommark.dev/admin/claude-code-glm-suite/main/agents/design/ui-ux-pro-max.md" 2>/dev/null || {
|
||||||
|
log_warning "Failed to download ui-ux-pro-max agent"
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$INSTALL_BONUS" = true ]; then
|
if [ "$INSTALL_BONUS" = true ]; then
|
||||||
cp -r "$source_agents/bonus/"*.md "$CLAUDE_DIR/agents/bonus/" 2>/dev/null || true
|
cp -r "$source_agents/bonus/"*.md "$CLAUDE_DIR/agents/bonus/" 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user