* Strip the marker-delimited CodeGraph block from `~/.codex/AGENTS.md` * if a prior install wrote one. Used by both install (self-heal on * upgrade) and uninstall — see issue #529.
()
| 167 | * upgrade) and uninstall — see issue #529. |
| 168 | */ |
| 169 | function removeInstructionsEntry(): WriteResult['files'][number] { |
| 170 | const file = instructionsPath(); |
| 171 | const action = removeMarkedSection(file, CODEGRAPH_SECTION_START, CODEGRAPH_SECTION_END); |
| 172 | return { path: file, action }; |
| 173 | } |
| 174 | |
| 175 | export const codexTarget: AgentTarget = new CodexTarget(); |
no test coverage detected