omp packages

pi-worktree-include0.1.0

Copy selected Git-ignored files into Pi worktrees with .worktreeinclude

_bry-guy Published 24 days ago MIT ~192 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-worktree-include

Bring your local, Git-ignored files into a new worktree without copying everything. This Pi extension uses the same .worktreeinclude convention as Claude Code.

Install with Pi:

pi install npm:pi-worktree-include

In your repository root, add .worktreeinclude with Gitignore-style patterns:

.env.local
config/local.json

After creating a worktree, ask Pi to populate its local files, or run:

/worktree-include <target-worktree> [source-checkout]

The source defaults to your current checkout. Only files that match .worktreeinclude and are Git-ignored are copied; existing target files are never overwritten. No manifest means no copies. File symlinks (even to paths outside the checkout) remain symlinks to the same target; dangling links cause an error, and directory symlinks are not copied. This tool does not create worktrees or change Pi's working directory.

Release

Update the version in package.json for each subsequent release, then run mise run release (or mise release) from this repository. It runs the checks, refuses to publish an existing version (or if npm cannot confirm availability), and publishes to npm; approve npm's browser prompt if asked.