feat: add Oh My Pi session support - #56
Closed
Michelh91 wants to merge 1 commit into
Closed
Conversation
This was referenced Jul 31, 2026
subinium
pushed a commit
that referenced
this pull request
Jul 31, 2026
Register Oh My Pi as a first-class agent. Scans ~/.omp/agent/sessions/*/*.jsonl reusing the pi JSONL parser (now shared via pi::scan_from), excludes nested subagent transcripts, and resumes with 'omp --resume <id>' (verified against the omp CLI: --resume, with --session as an alias). Integrated onto main: adapted to the shell-escaped resume_cmd signature (#58); omp inherits the pi last-activity timestamp fix. Original work by @Michelh91 (#56).
Owner
|
Thanks @Michelh91! Shipped in v0.13.0 — rebased onto current main, and since omp shares the pi parser it also inherits the pi last-activity timestamp fix from #58. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
omp) as a first-class agent across scanning, filtering, cache invalidation, resume/new-session actions, and deletion~/.omp/agent/sessions/*/*.jsonl, reusing the compatible pi JSONL parser while handling OMP's leading title slot*/*.jsonl)omp --resume <id>commandRoot cause
agf only registered the upstream
piexecutable and~/.pi/agent/sessions; OMP uses a separateompexecutable and stores sessions under~/.omp/agent/sessions.Validation
cargo test --locked— 78 passedcargo clippy --all-targets --locked -- -D warningscargo fmt --all -- --checkagf list --agent omp --limit 1000 --format jsonfinds all 63 top-level resumable OMP sessions; 326 nested subagent transcripts are correctly excluded