← Catalog

@rentezzy/pi-workspaces

Independent Git workspaces and session navigation for Pi, backed by Rift.

Package

Install

Install with PiG

pig install npm:@rentezzy/pi-workspaces

Install with Pi

pi install npm:@rentezzy/pi-workspaces
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.1 (README.md). PiG does not review it.

Pi Workspaces

Independent Git workspaces and session navigation for Pi, powered by Rift. Create isolated repository copies, work in parallel, and merge changes back without losing your conversation. Inspired by OpenCode's workspace workflow.

Installation

pi install npm:@rentezzy/pi-workspaces

Requires Pi, Rift on PATH, and a Git repository with at least one commit. Linked worktrees, sparse checkouts, and submodules are unsupported.

Commands

Run these inside Pi:

CommandPurpose
/workspaceOpen the workspace menu.
/workspace create [name]Create a copy; omit the name to generate one.
/workspace listBrowse project workspaces.
/workspace merge SOURCEMerge into the current workspace.
/workspace delete WORKSPACERemove a workspace.
/workspace configureEdit project or profile defaults.
/workspace helpShow all options.
/newwStart a fresh conversation in a new or existing workspace.
/resResume conversations across workspaces.

Agent tools

ToolPurpose
workspace_createCreate an independent repository copy.
workspace_listList workspaces, branches, and local changes.
workspace_mergeIntegrate changes into a target workspace.
workspace_deleteDelete a copy.
workspace_configureRead or update project/profile settings.

Workspace selectors accept names, IDs, or paths. Tools manage repositories and configuration; session navigation is interactive. Recorded sessions must be removed before deleting their workspace.

Configuration

Copies live in ~/.worktrees by default. Use /workspace configure to set the storage root, creation strategy, base branch, exclusions, and lifecycle hooks. Trusted project settings in .pi/workspaces.json override the profile's workspaces.json. Use --no-hooks to skip hooks for an operation.

License

MIT © 2026 rentezzy.