* Strip the marker-delimited CodeGraph block from this location's * AGENTS.md if a prior install wrote one. Used by both install * (self-heal on upgrade) and uninstall — see issue #529.
(loc: Location)
| 187 | * (self-heal on upgrade) and uninstall — see issue #529. |
| 188 | */ |
| 189 | function removeInstructionsEntry(loc: Location): WriteResult['files'][number] { |
| 190 | const file = instructionsPath(loc); |
| 191 | const action = removeMarkedSection(file, CODEGRAPH_SECTION_START, CODEGRAPH_SECTION_END); |
| 192 | return { path: file, action }; |
| 193 | } |
| 194 | |
| 195 | export const codexTarget: AgentTarget = new CodexTarget(); |
no test coverage detected