Skip to content

feat: add Oh My Pi session support - #56

Closed
Michelh91 wants to merge 1 commit into
subinium:mainfrom
Michelh91:feat/oh-my-pi-sessions
Closed

feat: add Oh My Pi session support#56
Michelh91 wants to merge 1 commit into
subinium:mainfrom
Michelh91:feat/oh-my-pi-sessions

Conversation

@Michelh91

Copy link
Copy Markdown
Contributor

Summary

  • add Oh My Pi (omp) as a first-class agent across scanning, filtering, cache invalidation, resume/new-session actions, and deletion
  • scan resumable sessions from ~/.omp/agent/sessions/*/*.jsonl, reusing the compatible pi JSONL parser while handling OMP's leading title slot
  • exclude nested task/subagent transcripts, matching OMP's own global resume lookup (*/*.jsonl)
  • document the new agent, storage path, and omp --resume <id> command

Root cause

agf only registered the upstream pi executable and ~/.pi/agent/sessions; OMP uses a separate omp executable and stores sessions under ~/.omp/agent/sessions.

Validation

  • cargo test --locked — 78 passed
  • cargo clippy --all-targets --locked -- -D warnings
  • cargo fmt --all -- --check
  • real-data check on macOS: agf list --agent omp --limit 1000 --format json finds all 63 top-level resumable OMP sessions; 326 nested subagent transcripts are correctly excluded

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).
subinium added a commit that referenced this pull request Jul 31, 2026
Functional fixes + Oh My Pi (#56) and Yolop (#55) agent support. See CHANGELOG.
@subinium

Copy link
Copy Markdown
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. omp --resume verified against the CLI. Authorship preserved. https://github.com/subinium/agf/releases/tag/v0.13.0

@subinium subinium closed this Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants