Skip to content

feat: auto-detect install targets and add Gemini sync#191

Open
kieranklaassen wants to merge 4 commits intomainfrom
feat/auto-detect-and-sync-all
Open

feat: auto-detect install targets and add Gemini sync#191
kieranklaassen wants to merge 4 commits intomainfrom
feat/auto-detect-and-sync-all

Conversation

@kieranklaassen
Copy link
Collaborator

Summary

  • --to all / --target all — Auto-detect installed AI coding tools and install/sync to all of them in one command
  • Gemini syncsync --target gemini symlinks skills and merges MCP servers into .gemini/settings.json
  • Tool detection utility — Checks config directories for OpenCode, Codex, Droid, Cursor, Pi, and Gemini

New CLI Usage

# Install to all detected tools at once
bunx @every-env/compound-plugin install compound-engineering --to all

# Sync personal config to Gemini
bunx @every-env/compound-plugin sync --target gemini

# Sync to all detected tools
bunx @every-env/compound-plugin sync --target all

Changes

  • src/utils/detect-tools.ts — New utility with detectInstalledTools() and getDetectedTargetNames()
  • src/sync/gemini.ts — New sync target following cursor sync pattern
  • src/commands/install.ts — Added --to all handling
  • src/commands/convert.ts — Added --to all handling
  • src/commands/sync.ts — Added gemini + all targets, extracted syncTarget() helper

Test plan

  • 8 new tests (5 detect-tools, 3 sync-gemini)
  • All 139 tests passing, 0 failures
  • Existing --to <target> behavior unchanged

Post-Deploy Monitoring & Validation

No additional operational monitoring required: CLI tool with no runtime service component.


Compound Engineered 🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant