@love-moon/ai-bridge
v0.1.4
Published
Cross-AI-Tool Session Sharing CLI
Downloads
50
Readme
AI Bridge 🌉
AI Bridge lets you migrate session history between different AI coding tools.
Halfway through a conversation in Claude and want to switch to Codex?
No problem.
✨ Core Features
- 🔀 Seamless Migration - Migrate sessions between Claude, Codex, Copilot, Kimi, OpenCode, Trae, and more
- 📦 Unified Format - Intermediate Representation (IR) ensures no data loss
- ⚡ One-Click Resume - Auto-generates resume commands for target tools
- 🔌 Plugin Architecture - Easily extend with new backends
🚀 Quick Start
Installation
npm install -g @love-moon/ai-bridge
# List supported backends
ai-bridge --list-backend
# Migrate session (example: from Claude to Codex)
ai-bridge --from claude:abc123 --to codex
# List sessions for a backend
ai-bridge --list-session claude🛠️ Supported Backends
| Backend | Read | Write | |---------|------|-------| | Claude | ✅ | ✅ | | Codex | ✅ | ✅ | | Copilot | ✅ | ✅ | | Kimi | ✅ | ✅ | | OpenCode | ✅ | ✅ |
📖 Documentation
🏗️ Architecture
src/
├── adapters/ # AI tool adapters
│ ├── claude/
│ ├── codex/
│ ├── opencode/
│ ├── private/ # Private adapters
│ └── registry.ts # Dynamic registration
├── commands/ # CLI commands
├── types.ts # IR definitions
└── utils/ # Utilities🔧 Development
# Dev mode
npm run dev -- --list-backend
# Build
npm run build📝 Publishing
# Auto-increment patch version
./scripts/publish-npm.sh
# Or specify version
./scripts/publish-npm.sh 0.2.0