Skip to content

v1.1.0 - Interactive Setup Tool

Choose a tag to compare

@GustavoZiaugra GustavoZiaugra released this 23 Apr 16:45
· 26 commits to main since this release
ea2fc9b

What's New

Interactive Setup Tool

Run mix ectomancer.setup to automatically configure Ectomancer in your Phoenix/Ecto project:

$ mix ectomancer.setup

πŸš€ Setting up Ectomancer...
   βœ“ Required dependencies found

πŸ” Scanning for Ecto schemas...

πŸ“¦ Found 3 schema(s):
   βœ“ MyApp.Accounts.User
   βœ“ MyApp.Blog.Post
   βœ“ MyApp.Blog.Comment

? Select schemas to expose (comma-separated numbers, e.g., 1,2,3)
> 1,2,3

βœ… Setup complete!

The wizard:

  • Discovers Ecto schemas via module introspection and file scanning
  • Lets you select which schemas to expose as MCP tools
  • Asks about optional features (Oban bridge, tool namespacing)
  • Generates a ready-to-use MCP module with proper expose declarations
  • Patches mix.exs, config.exs, and router files automatically

New Modules

  • Ectomancer.Installer.SchemaDiscovery β€” dual-strategy schema discovery
  • Ectomancer.Installer.ConfigUpdater β€” idempotent config file patching
  • Ectomancer.Installer.DependencyChecker β€” required/optional dep validation
  • Ectomancer.Installer.TemplateRenderer β€” MCP module code generation

Testing

260 tests, 0 failures. Full Credo and Dialyzer compliance.

Full Changelog: v1.0.0...v1.1.0