@howaboua/pi-auto-trees

A Pi package that adds /marker and /end commands for incremental long-running coding sessions.

Packages

Package details

extension

Install @howaboua/pi-auto-trees from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@howaboua/pi-auto-trees
Package
@howaboua/pi-auto-trees
Version
0.1.9
Published
Jul 14, 2026
Downloads
921/mo · 364/wk
Author
howaboua
License
MIT
Types
extension
Size
11.8 KB
Dependencies
0 dependencies · 1 peer
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

@howaboua/pi-auto-trees

Adds two commands for carrying useful context through long Pi sessions without keeping every dead end and debugging turn.

Install

pi install npm:@howaboua/pi-auto-trees

Try it for one session:

pi -e npm:@howaboua/pi-auto-trees

Usage

  1. Run /marker after repo exploration, planning, or another stable checkpoint.
  2. Complete a coherent chunk of work.
  3. Run /end.

/end summarizes the branch since the marker, navigates back to that point, carries the summary forward, and advances the marker to the new compact point. The summary keeps accepted changes, decisions, constraints, and relevant follow-up while dropping temporary implementation noise.

/end modes

  • /end — use the extension's completed-work summary guidance
  • /end git — also capture the commit that should be made
  • /end full — use Pi's normal branch-summary prompt
  • /end <guidance> — add a custom focus, for example /end focus on API changes and migration notes

The marker is stored in the session branch and restored when you return to it. Existing labels are preserved if the checkpoint already has one.

Local development

bun install
bun run check
bun run pack:dry
pi -e ./index.ts