* Strip the marker-delimited CodeGraph block from AGENTS.md if a prior * install wrote one. Used by both install (self-heal on upgrade) and * uninstall — see issue #529.
(loc: Location)
| 280 | * uninstall — see issue #529. |
| 281 | */ |
| 282 | function removeInstructionsEntry(loc: Location): WriteResult['files'][number] { |
| 283 | const file = instructionsPath(loc); |
| 284 | const action = removeMarkedSection(file, CODEGRAPH_SECTION_START, CODEGRAPH_SECTION_END); |
| 285 | return { path: file, action }; |
| 286 | } |
| 287 | |
| 288 | export const opencodeTarget: AgentTarget = new OpencodeTarget(); |
no test coverage detected