Skip to content

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

Merged
kieranklaassen merged 5 commits intomainfrom
feat/auto-detect-and-sync-all
Mar 1, 2026
Merged

feat: auto-detect install targets and add Gemini sync#191
kieranklaassen merged 5 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

kieranklaassen and others added 5 commits February 14, 2026 21:08
- sync.ts: add gemini + all targets, keep copilot, remove cursor (native), use shared hasPotentialSecrets
- install.ts + convert.ts: import both detectInstalledTools and resolveTargetOutputRoot; update --to all block to use new object API; fix resolvedScope ordering (was referencing target before definition)
- CHANGELOG.md: add v0.12.0 entry (auto-detect + Gemini sync)
- README.md: merge all install targets, collapsible output format table, sync defaults to --target all
- package.json: bump to 0.12.0
- sync --target now defaults to "all" when omitted

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

Co-Authored-By: Claude <noreply@anthropic.com>
@kieranklaassen kieranklaassen merged commit e06e5b8 into main Mar 1, 2026
kieranklaassen added a commit that referenced this pull request Mar 1, 2026
Auto-detect install, Gemini sync, and sync --target all default.

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

Co-Authored-By: Claude <noreply@anthropic.com>
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