omp packages

pi-unflip0.1.2

detects and fixes corrupted assistant text (stray CJK, Latin/Cyrillic homoglyph flips) in pi responses

GitHub Actions Published 25 days ago MIT ~525 downloads/mo

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.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-unflip

Fixes corrupted prose in coding-agent responses. Some providers return text with CJK characters glued into sentences ("The migration ran clean, 报告 and the index is rebuilt") and Latin letters swapped for Cyrillic look-alikes ("The сache is warm"); unflip detects this locally and, when a response looks corrupted, asks a corrector model to fix it. The corrected version replaces the original on screen and in the session itself.

Install

pi install npm:pi-unflip

So far works only with the NeuralWatt provider (~/.pi/agent/models.json entry + NEURALWATT_API_KEY); without it, corrupted messages keep the original and warn.

License

MIT. See LICENSE.