@monopi/extension-goal

Monopi goal pi extension for long-running objectives.

Packages

Package details

extension

Install @monopi/extension-goal from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@monopi/extension-goal
Package
@monopi/extension-goal
Version
0.6.1
Published
Aug 28, 2026
Downloads
251/mo · 138/wk
Author
ifiokjr
License
MIT AND Apache-2.0
Types
extension
Size
34.3 KB
Dependencies
0 dependencies · 4 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

@monopi/extension-goal

Standalone pi extension package for goal: session-log-backed long-running objective tracking.

pi install npm:@monopi/extension-goal

Commands

  • /goal <objective>: start (or replace) the active thread goal.
  • /goal: show the current goal summary.
  • /goal edit: edit the objective interactively.
  • /goal pause / /goal resume: pause or resume the active goal.
  • /goal clear: clear the current goal.

Tools

  • get_goal: read the current goal and its usage/budget state.
  • create_goal: create a new active goal when explicitly requested.
  • update_goal: mark the active goal complete or blocked after verifying the required conditions.

State is persisted as custom session entries and reconstructed on reload/tree navigation.

Attribution

This implementation is adapted from mitsuhiko/agent-stuff extensions/goal.ts. The adapted upstream code is Copyright Armin Ronacher and contributors and licensed under Apache-2.0. Monopi package metadata and surrounding repository files remain MIT licensed.