Repository navigation
feat(cad): launch Interactive CAD Agent & seaweed-safe FPV boat model. - #12
Merged
Merged
Conversation
- Add McpCadTools (src/infrastructure/ai/McpCadTools.js) * Provides Gemini function-calling tool definitions (render_cadquery, get_engine_state) * CQRS: renderCadQuery [Command], getEngineState [Query], getToolDefinitions [static Query] * Validates GeometryScript input before IPC dispatch - Add CadAgent CLI command (src/interfaces/cli/cad.js) * Orchestrates EnvironmentManager -> CadEngineProcess -> McpCadTools * Graceful cleanup via finally block (engine.stop() always called) * Placeholder script for MVP pipeline validation (Phase 5: Gemini AI loop) - Register flycli cad <prompt> in index.js - Add unit tests (TDD — RED -> GREEN -> REFACTOR cycle) * test/unit/McpCadTools.test.js (5 tests) * test/unit/CadCommand.test.js (2 tests) - Bump version 1.1.0 -> 1.2.0 (MINOR: new feature) Traceability: - ddd_interfaces.md: CadAgent, IpcBridge, GeometryScript, EngineState - implementation_plan.md: Phase 3 & 4 - DEVELOPER.md: TDD cycle, CQRS, Cyclomatic Complexity <= 5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Overview
This PR marks a significant evolution of FlyCLI's CAD capabilities, moving from simple script execution to a full
Interactive CAD Collaboration ecosystem. It introduces the Model Context Protocol (MCP) integration, allowing AI agents and
human designers to work together in real-time within FreeCAD. The centerpiece of this update is the co-designed
fpv_boat.stl.
✨ Key Changes
synchronization. The agent can now "inspect" human-made changes before proposing its own.
CadQuery.
agent respects user intent and provides live feedback during the modeling process.
🛠 Technical Improvements
.py or .json files in the root directory.
if the CLI session restarts.
🚢 How to Verify