Skip to content

feat: add Factory Droids support to codegraph install#697

Open
lukeaus wants to merge 2 commits into
colbymchenry:mainfrom
lukeaus:feat/factory-droids-target
Open

feat: add Factory Droids support to codegraph install#697
lukeaus wants to merge 2 commits into
colbymchenry:mainfrom
lukeaus:feat/factory-droids-target

Conversation

@lukeaus
Copy link
Copy Markdown

@lukeaus lukeaus commented Jun 5, 2026

Closes #696.

This PR adds support for Factory Droids as a new agent target for the CLI installer.

Changes

  1. Added src/installer/targets/factory.ts representing Factory Droids.
  2. Added factory to TargetId type in src/installer/targets/types.ts.
  3. Registered the factory target in src/installer/targets/registry.ts.
  4. Updated CLI instructions and uninstall hints in src/installer/index.ts.
  5. Updated CHANGELOG.md with Factory Droids entry under Unreleased.
  6. Added full suite of automated tests in __tests__/installer-targets.test.ts.

Copilot AI review requested due to automatic review settings June 5, 2026 05:37
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a new installer target for Factory Droids so codegraph install can detect/configure MCP for the Droid CLI alongside existing agents.

Changes:

  • Introduces a new factory target that writes MCP config to ~/.factory/mcp.json (global) or ./.factory/mcp.json (local).
  • Registers the new target in the targets registry and updates installer messaging/hints.
  • Adds unit tests and documents the new support in the changelog.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/installer/targets/types.ts Extends TargetId union with factory.
src/installer/targets/registry.ts Registers the new factoryTarget in ALL_TARGETS.
src/installer/targets/factory.ts Implements Factory Droids target install/uninstall/detect/write logic.
src/installer/index.ts Updates installer/uninstaller user-facing hints to include ~/.factory and ./.factory.
tests/installer-targets.test.ts Adds coverage for Factory Droids install/uninstall behaviors.
CHANGELOG.md Documents new Factory Droids support.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/installer/targets/factory.ts
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.

Add Factory Droids target support

2 participants