pi-wait

Send a queued Pi message after a timeout

Packages

Package details

extension

Install pi-wait from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-wait
Package
pi-wait
Version
0.1.2
Published
Sep 18, 2026
Downloads
294/mo · 294/wk
Author
brettinternet
License
MIT
Types
extension
Size
19 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-wait

Continue a prompt after a delay.

pi install npm:pi-wait
/wait <duration> <prompt>
/wait <duration>
/wait now
/wait pause
/wait resume
/wait status
/wait cancel
/wait

Durations use ms, s, m, h, or d, up to 24 days. Press Enter to start the wait immediately. When a message is already queued, /wait <duration> resets its timeout, /wait <duration> <prompt> replaces its prompt and timeout, and /wait now sends it immediately. /wait pause freezes an active countdown and /wait resume continues it with the remaining time.

Follow-up prompts queue after current work settles. If the timer expires while Pi is busy, the prompt waits in the queue. Active and paused waits survive /reload in the same session.

wait_then_continue ends the current turn, then starts its timer after the turn settles. Do not use it during an active /loop.

Example:

/wait 10m Check whether the deployment completed

Chain it with a loop:

/loop 10 /wait 10m Check the deployment again