@howaboua/pi-auto-trees
v0.1.0
Published
A Pi package that adds /marker and /end commands for incremental long-running coding sessions.
Downloads
94
Maintainers
Readme
@howaboua/pi-auto-trees
@howaboua/pi-auto-trees is a small Pi package for long-running coding sessions.
It helps you keep one session going without dragging all the implementation noise forward forever.
What it does
/marker
Marks the current point in the conversation as your checkpoint.
This is useful after repo familiarization, exploration, planning, or any other point you want to return to later.
/end
Summarizes the work done since the last /marker, jumps back to that checkpoint, and carries the result forward as a compact branch summary.
The marker is then advanced to the new summarized point, so you can keep working in increments.
Why this is useful
A common Pi workflow looks like this:
- Explore a repo
- Make a plan
- Mark that point with
/marker - Implement a feature, fix bugs, open a PR, iterate
- Run
/end
After /end, you keep the useful context:
- repo understanding
- planning context
- accepted outcome of the work
And you drop the noisy context:
- dead ends
- temporary debugging
- incidental churn
So the session stays usable for much longer.
/end modes
/end
Uses the extension's default summary behavior, tuned for completed work increments.
/end full
Uses Pi's normal branch-summary prompt.
/end <custom prompt>
Adds your own focus instructions for the summary.
Examples:
/end focus on API changes and migration notes/end focus on reviewer feedback and follow-up risks
Install from npm
Install it as a Pi package:
pi install npm:@howaboua/pi-auto-treesOr try it for one session without adding it to your settings:
pi -e npm:@howaboua/pi-auto-treesThen use /marker and /end inside Pi.
Local development
Add the extension path to your Pi settings or launch Pi with it directly:
pi --extension ./index.tsValidate the package before publishing:
npm install
npm run typecheck
npm run pack:dry-runPublish as a public scoped npm package:
npm publish --access publicpublishConfig.access is already set to public, so plain npm publish also publishes with public access when your npm account can publish under the @howaboua scope.
Result
You get an incremental workflow inside a single Pi session:
- mark a stable point
- do a chunk of work
- roll it back into durable context
- continue from there
