omp packages

chutshey-gari0.1.0

Non-blocking reminders and bounded polling for Pi agents

kzoeps Published 19 days ago Apache-2.0 ~396 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

chutshey-gari

A Pi package that adds non-blocking reminders and bounded periodic polling.

Install

pi install npm:chutshey-gari

The package registers these tools:

  • remind_after: schedule one reminder after 1–86,400 seconds.
  • poll_every: poll every 10–3,600 seconds for at most 1–100 attempts (10 by default).
  • reminder_control: list or cancel active reminders and polls.

It also adds /reminders and /cancel-reminder <reminder-id|poll-id|all> commands.

delivery: "wake" triggers an agent turn when a reminder fires. delivery: "next_turn" waits and includes it with the next user turn. Poll attempts are skipped while Pi is busy or has queued messages.

Reminder lifetime

Schedules are held in memory for the active Pi session. Pi shutdown or extension reload cancels them; they do not survive a restart. One-shot reminders fire once. Polls stop after their configured maximum number of attempts.

Reminder text is added to model context when delivered. Do not include untrusted external text in reminder messages.

Development

Requires Node.js 22.6 or newer and pnpm.

pnpm install
pnpm test
pnpm typecheck

License

Licensed under the Apache License, Version 2.0. See LICENSE.