OMP CLI. Same parser as Pi, different data directory.
- Source:
src/providers/pi.ts(theompexport) - Loading: eager (
src/providers/index.ts:9) - Test:
tests/providers/omp.test.ts(225 lines)
~/.omp/agent/sessions/ (pi.ts:59-61).
JSONL, identical schema to Pi.
None.
Identical to Pi: <provider>:<path>:<responseId> with timestamp / line-index fallbacks (pi.ts:164).
- OMP and Pi share the same
createParserfunction. The provider object differs only in name, displayName, and the discovery directory. - If OMP and Pi diverge in a future release, do not copy-paste the parser. Add a discriminator to
createParserand branch.
- Check if the bug also reproduces against Pi. If yes, fix both with one change; the parser is shared.
- If the bug is OMP-specific, the right fix is usually to pass an option into
createParserrather than to fork the file. - Read
pi.mdfor the parser-level details.