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

opencode-todo-reminder

v0.0.6

Published

Opencode plugin to remind and auto-submit prompts when todos are open

Readme

opencode-todo-reminder

An OpenCode plugin that reminds the Agent to continue when todos are still open.

OpenCode todo-reminder screenshot

Disclaimer: This project is not affiliated with, endorsed by, or sponsored by the OpenCode project or its maintainers. It is an independent community plugin.

What it does

If an Agent creates a todo list but stops before finishing, this plugin injects a continuation prompt so the Agent keeps going.

How it works

  • Listens for session.idle events.
  • After idleDelayMs, fetches the current session todos.
  • If any todos match triggerStatuses, injects a reminder via client.session.prompt(...).
  • The reminder text is rendered from messageFormat using placeholders.

Safety features

  • Loop protection: After maxAutoSubmitsPerTodo reminders without todo-state changes, reminders pause and (optionally) a warning toast is shown.
  • User interaction resets: A new user message cancels any scheduled reminder and resets the loop-protection counter.
  • User abort detection: If the user aborts generation (escape), the next idle-cycle reminder is skipped.
  • Optional toasts: When useToasts is enabled, the plugin shows an info toast on reminders and a warning toast when paused.
  • Fail-soft behavior: All API/UI calls are wrapped in try/catch to avoid interrupting the session.

Installation

Add the plugin to your opencode.json[c]:

{
  "plugin": [
    "opencode-todo-reminder", ...//otherPlugins
  ]
}

Configuration

Config file locations:

  • Project: .opencode/todo-reminder.json
  • Global: ~/.config/opencode/todo-reminder.json

Example:

{
  "enabled": true,
  "maxAutoSubmitsPerTodo": 3,
  "idleDelayMs": 500,
  "triggerStatuses": ["pending", "in_progress", "open"],
  "messageFormat": "Incomplete tasks remain in your todo list.\nContinue working on the next pending task now; do not ask for permission; mark tasks complete when done.\n\nStatus: {completed}/{total} completed, {remaining} remaining.",
  "useToasts": true,
  "syntheticPrompt": false,
  "debug": false
}

Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | enabled | boolean | true | Enable or disable the plugin | | maxAutoSubmitsPerTodo | number | 3 | Max reminders before pausing (loop protection) | | idleDelayMs | number | 500 | Delay (ms) after idle before injecting | | triggerStatuses | string[] | ["pending", "in_progress", "open"] | Todo statuses that trigger reminders | | messageFormat | string | See below | Reminder message format string | | useToasts | boolean | true | Show toast notifications | | syntheticPrompt | boolean | false | Set the injected prompt part synthetic flag | | debug | boolean | false | Write debug logs to .opencode/todo-reminder.log |

messageFormat placeholders

| Placeholder | Meaning | |-------------|---------| | {total} | Total number of todos | | {completed} | Number of completed/cancelled todos | | {pending} | Number of todos matching triggerStatuses | | {remaining} | Alias for {pending} |

Development

  • Install: npm install
  • Build: npm run build
  • Typecheck: npm run typecheck
  • Tests: npm test

License

MIT