Skip to content

chore(release): v1.4.0 with Windows FreeCAD support - #13

Closed
archat-hash wants to merge 1 commit into
mainfrom
release/v1.4.0
Closed

archat-hash wants to merge 1 commit into
mainfrom
release/v1.4.0

Conversation

@archat-hash

Copy link
Copy Markdown
Owner

This PR introduces full Windows support for the Interactive CAD Agent and bumps the project version to v1.4.0. The main focus is on improving the environment discovery mechanism and ensuring a seamless experience for Windows users.

Key Changes

  • feat(cad): Expanded EnvironmentManager to support "per-user" FreeCAD installations on Windows by dynamically searching the LOCALAPPDATA directory.
  • test(cad): Added comprehensive unit tests for EnvironmentManager to verify executable discovery across different platforms and environment overrides.
  • chore(release): Bumped version to 1.4.0 in package.json.
  • fix(cad): Improved IPC stability and path handling for Windows environments.

Technical Details

  • Added path.join(process.env.LOCALAPPDATA, ...) to the candidate list in EnvironmentManager.js.
  • Implemented EnvironmentManager.test.js using jest.unstable_mockModule for robust filesystem mocking.
  • Verified IPC communication with FreeCAD 1.0 (Windows build).

How to Test

  1. Switch to release/v1.4.0.
  2. Run npm install.
  3. Run npm test test/unit/EnvironmentManager.test.js to verify discovery logic.
  4. (Windows only) Run node index.js cad to launch the Interactive CAD session.

@archat-hash archat-hash closed this Jun 7, 2026
@archat-hash
archat-hash deleted the release/v1.4.0 branch June 7, 2026 21:16
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