Revision history [back]
Sorry, this is a dumb feature omission so you will need to work around it as follows:
-
Quit Wing.
-
Open the project's .wpu file, next to the .wpr, in a text editor. Delete the line that starts with proj.last-claude-code-dir.
-
In the directory that line named, usually the project's root, remove the files Wing created: .mcp.json and .mcp.metadata.json, the .wing and .claude directories, and AGENTS.md. For the latter, f you had your own before, delete only the block between Wing's marker comments, or restore your version from revision control. Otherwise delete the file.
-
Start Wing again and open the project.
After that, Wing won't write these files for that project unless you run one of the Set Up commands again. Opening a project never creates a new AGENTS.md; it only updates one that already has Wing's block.
We'll add a way to do this from within Wing in a future release.