omp packages

pi-resume-filtered0.1.0

A pi extension providing /resume-filtered — a collapsible tree picker for resuming sessions, with subagent runs collapsed by default instead of flooding the list.

amaksoft Published 1 month ago MIT ~219 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-resume-filtered

/resume-filtered for pi — a collapsible tree picker for resuming sessions.

Pi's built-in /resume always renders its whole parent/child session tree expanded. With hundreds of subagent sessions, the list is unusable. This picker keeps the same tree relations but loads collapsed: roots only, each parent badged with its hidden child count.

Resume session — 42 shown (collapsed by default)

› general-purpose#auth-audit: check token refresh · 18 msgs · 2h
  ▶ general-purpose#review-batch · 64 msgs · 3h · 12 child sessions (→ to expand)
  · my weekend project · 210 msgs · 2d

Keys: ↑↓ navigate · → expand · ← collapse · Space toggle · Enter resume · type to filter · Esc cancel. Long lists window with scroll indicators. In non-tui modes it falls back to a filtered flat list.

It is agent-framework agnostic: children collapse by default regardless of what spawned them; sessions whose parent lives outside the listing nest under a stub row instead of masquerading as roots; repeated identical runs fold into expandable groups.

Install

pi install npm:pi-resume-filtered
# or straight from source:
pi install git:github.com/amaksoft/pi-resume-filtered

Develop

npm run check   # lint + typecheck + tests