feat: add Factory.ai (Droid) support to bd setup command (#598)
Adds Factory.ai (Droid) support to bd setup command via AGENTS.md integration. - New command: bd setup factory (with --check and --remove flags) - Creates/updates AGENTS.md with beads workflow instructions - Uses HTML comment markers for safe idempotent updates - Comprehensive documentation Thanks @jordanhubbard!
This commit is contained in:
@@ -557,16 +557,19 @@ bd sync # Force immediate sync, bypass debounce
|
||||
|
||||
```bash
|
||||
# Setup editor integration (choose based on your editor)
|
||||
bd setup factory # Factory.ai Droid - creates/updates AGENTS.md (universal standard)
|
||||
bd setup claude # Claude Code - installs SessionStart/PreCompact hooks
|
||||
bd setup cursor # Cursor IDE - creates .cursor/rules/beads.mdc
|
||||
bd setup aider # Aider - creates .aider.conf.yml
|
||||
|
||||
# Check if integration is installed
|
||||
bd setup factory --check
|
||||
bd setup claude --check
|
||||
bd setup cursor --check
|
||||
bd setup aider --check
|
||||
|
||||
# Remove integration
|
||||
bd setup factory --remove
|
||||
bd setup claude --remove
|
||||
bd setup cursor --remove
|
||||
bd setup aider --remove
|
||||
@@ -580,6 +583,7 @@ bd setup claude --stealth # Use stealth mode (flush only, no git operations)
|
||||
```
|
||||
|
||||
**What each setup does:**
|
||||
- **Factory.ai** (`bd setup factory`): Creates or updates AGENTS.md with beads workflow instructions (works with multiple AI tools using the AGENTS.md standard)
|
||||
- **Claude Code** (`bd setup claude`): Adds hooks to Claude Code's settings.json that run `bd prime` on SessionStart and PreCompact events
|
||||
- **Cursor** (`bd setup cursor`): Creates `.cursor/rules/beads.mdc` with workflow instructions
|
||||
- **Aider** (`bd setup aider`): Creates `.aider.conf.yml` with bd workflow instructions
|
||||
|
||||
Reference in New Issue
Block a user