mcp-multiagent-bridge/scripts/update-repo-links.sh
ggq-admin 2791aebda9 chore: prepare for rename to mcp-multiagent-bridge
Updates for repository rename from claude-code-bridge to mcp-multiagent-bridge:

1. README.md:
   - Updated title to "MCP Multiagent Bridge"
   - Future-proof description (supports any LLM backends)
   - Emphasizes MCP ecosystem positioning
   - Removed Claude-specific wording

2. pyproject.toml (NEW):
   - Modern Python packaging metadata
   - Package name: mcp-multiagent-bridge
   - Keywords for SEO/discoverability
   - Console scripts for CLI tools
   - Ruff and Bandit configuration

3. scripts/update-repo-links.sh (NEW):
   - Automated script to update all repo references
   - Run after renaming repository on GitHub
   - Safe dry-run preview before replacement

Repository will be renamed to mcp-multiagent-bridge for:
- Better MCP ecosystem discoverability
- Future-proof (not tied to Claude/Codex/specific AI)
- Follows MCP naming conventions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 01:42:23 +01:00

42 lines
1.2 KiB
Bash

#!/bin/bash
# Update all references from old repo name to new name
# Run this after renaming the repository on GitHub
set -e
OLD_NAME="claude-code-bridge"
NEW_NAME="mcp-multiagent-bridge"
OLD_URL="github.com/dannystocker/claude-code-bridge"
NEW_URL="github.com/dannystocker/mcp-multiagent-bridge"
echo "Updating repository references..."
echo " Old: $OLD_NAME -> New: $NEW_NAME"
echo ""
# Find all occurrences (dry run)
echo "Files to update:"
git grep -l "$OLD_NAME" | grep -v "scripts/update-repo-links.sh" || echo " (none found)"
echo ""
# Confirm before proceeding
read -p "Proceed with replacement? (y/N) " -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
echo "Aborted."
exit 1
fi
# Perform replacements
git grep -l "$OLD_NAME" | grep -v "scripts/update-repo-links.sh" | xargs sed -i "s|$OLD_NAME|$NEW_NAME|g"
git grep -l "$OLD_URL" | grep -v "scripts/update-repo-links.sh" | xargs sed -i "s|$OLD_URL|$NEW_URL|g"
echo ""
echo "✅ Updated all repository references"
echo ""
echo "Files changed:"
git status --short
echo ""
echo "Review changes, then commit:"
echo " git add -A"
echo " git commit -m 'chore: update repository references to mcp-multiagent-bridge'"