npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ryan_nookpi/pi-extension-until

v0.3.0

Published

Until loop extension for pi.

Downloads

81

Readme

@ryan_nookpi/pi-extension-until

조건이 충족될 때까지 Pi가 같은 작업을 주기적으로 다시 실행하도록 만드는 익스텐션입니다. PR 상태, 배포 완료, 외부 응답처럼 "조금 뒤에 다시 확인"해야 하는 작업에 적합합니다.

Pi 0.84.3 이상이 필요합니다.

설치

pi install npm:@ryan_nookpi/pi-extension-until

명령어

/until <간격> <프롬프트>
/until <프리셋>
/until <간격> <프리셋>
/untils
/until-cancel <id|all>

예시:

/until 5m PR 코멘트 확인해줘
/until 1h 배포 상태 다시 점검해줘
/until REVIEW
/until 10m REVIEW
/untils
/until-cancel 1
/until-cancel all

인자 없는 /until-cancel은 작업을 취소하지 않고 사용법만 표시합니다.

동작 방식과 제한

  • 등록 직후 첫 회차를 실행합니다.
  • 반복 간격에는 충돌을 줄이기 위해 ±10% jitter가 적용됩니다.
  • 최소 간격은 1분, 최대 동시 작업은 3개입니다.
  • 각 작업은 등록 후 최대 24시간 유지됩니다.
  • 상태는 메모리에만 저장됩니다. Pi 프로세스 종료, /new, /resume, /fork 같은 session switch를 넘겨 유지되지 않습니다.
  • 프로세스 재시작 뒤에도 실행해야 하는 영속 일정은 until 대신 cron을 사용하세요.

until_report 계약

각 회차 프롬프트에는 taskId와 runCount가 포함됩니다. 작업을 한 번 수행한 뒤 두 값을 그대로 전달해 결과를 보고해야 합니다.

until_report({
  taskId: 1,
  runCount: 2,
  done: false,
  summary: "배포 진행 중"
})
  • done: false는 다음 회차를 유지합니다.
  • done: true는 task와 timer를 제거하고 반복을 종료합니다.
  • 현재 회차와 다른 runCount, 이미 정리된 회차의 report는 거부됩니다.

개인 프리셋

프리셋은 $PI_CODING_AGENT_DIR/until-presets에서 읽습니다. PI_CODING_AGENT_DIR을 지정하지 않았다면 기본 위치는 ~/.pi/agent/until-presets입니다. 파일은 /until을 실행할 때마다 다시 읽으므로 수정 뒤 reload가 필요하지 않습니다.

예를 들어 REVIEW.md를 다음처럼 작성합니다.

---
interval: 15m
description: PR review status check
---

Check the current PR once, then call until_report.
  • /until REVIEW는 frontmatter의 interval을 사용합니다.
  • /until 10m REVIEW는 프리셋 interval을 10m으로 덮어씁니다.
  • interval 기본값은 5m, description 기본값은 정규화된 파일 이름입니다.
  • 잘못된 frontmatter, 빈 본문, 지원하지 않는 interval의 파일은 자동완성에서 제외됩니다.
  • 개인 프리셋 파일은 npm 패키지에 포함되지 않습니다.