pi-fork-from-first
v0.1.1
Published
Fork the current Pi session from its first user message and switch into the new fork immediately, with sensible defaults in relation to pi-rewind-hook
Maintainers
Readme
Fork From First for Pi (pi-fork-from-first)
Fork the current Pi session from its first user message and switch into the new fork immediately. Useful especially in combination with npm:pi-session-ask and handoff/pickup prompt patterns.
Install
From npm:
pi install npm:pi-fork-from-firstFrom the dot314 git bundle (filtered install):
{
"packages": [
{
"source": "git:github.com/w-winter/dot314",
"extensions": ["extensions/fork-from-first.ts"],
"skills": [],
"themes": [],
"prompts": []
}
]
}Usage
/fork-from-firstRewind integration
If pi-rewind-hook is installed, /fork-from-first automatically requests a conversation-only fork ("keep current files"), so filesystem state is preserved while the conversation resets.
