Repository navigation
feat(server): each cad file in a folder gets its own project - #243
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Adding a CAD file from a folder that already had a project didn't create a second project. The server reused the folder's project and quietly relinked it to the new file, and the agent's
cad_opentool did the same. Two assemblies in one folder could never be two projects, and the first project's sidebar row and new chats silently switched files.A local CAD project now belongs to its CAD file, so a folder holds one project per file:
findConflictingProject) decides conflicts. The decider checks it on create, the newproject.local-cad.createcommand, relink, restore, and folder changes. Projects share a folder only when both have a CAD file and the files differ.Known limits: file names compare with case outside Windows drive and UNC paths (including
/mnt/c), and a file reached through a symlink counts as a different file. Both match how folders compare today.Proved with
local-cad-project-e2e.tson a real dev server and Chromium: every step passes, including a second file getting its own project, re-adding the first file opening its chat, and a restore while the second project shares the folder. Server tests pass (1735).Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.