@dihak/pix-todo-auto

Pi extension — auto-continue the agent while pix-todo items remain unfinished

Packages

Package details

extension

Install @dihak/pix-todo-auto from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@dihak/pix-todo-auto
Package
@dihak/pix-todo-auto
Version
0.1.1
Published
Aug 10, 2026
Downloads
105/mo · 8/wk
Author
dihak
License
MIT
Types
extension
Size
5.9 KB
Dependencies
1 dependency · 1 peer
Pi manifest JSON
{
  "extensions": [
    "src/index.ts"
  ]
}

Security note

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

README

@dihak/pix-todo-auto

Auto-continue the agent while pix-todo items remain unfinished.

What it does

On every agent_settled, it reads the latest persisted todo-state and, if any item is still pending or in_progress, sends the agent a short nudge to keep working through the list. No new tool — it reuses pix-todo's state end to end.

It stops cleanly when:

  • all items are done,
  • any item is blocked,
  • the user interrupted the run (Esc → the last assistant message has stopReason: "aborted"), or
  • no progress was made across 3 consecutive nudges (stall guard).

Commands

  • /todo-auto — toggle auto-continue on/off.

Scope

Interactive TUI only. It never auto-drives print, json, or rpc runs (ctx.hasUI is false there).