pi-apply-patch0.1.1
OpenAI Codex apply_patch file-editing tool for GPT models on Pi
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
pi-apply-patch
OpenAI Codex apply_patch file-editing tool for Pi, active only for GPT-family
models, where it replaces the built-in edit and write tools.
Install
pi install npm:pi-apply-patch
Config lives in ~/.pi/agent/pi-apply-patch.json. Omit it for the default
auto mode.
{
"mode": "auto",
"gptIdPatterns": ["^gpt", "^o\\d"]
}
mode is auto (default), on, or off:
auto: enablesapply_patchand removeseditandwritefor GPT-family models; every other model keepsedit/writeand hasapply_patchhidden.on: enablesapply_patchfor every model.off: disablesapply_patchfor every model.
gptIdPatterns are regexes tested against the model id. Models whose api is
openai-codex-responses always count as GPT.
License
MIT.