pi-repoprompt-cli
v0.1.1
Published
Integrates RepoPrompt with Pi via RepoPrompt's `rp-cli` executable
Maintainers
Readme
RepoPrompt CLI bridge for Pi (pi-repoprompt-cli)
Integrates RepoPrompt with Pi via RepoPrompt's rp-cli executable.
Provides two tools:
rp_bind— bind a RepoPrompt window + compose tab (routing)rp_exec— runrp-cli -e <cmd>against that binding (quiet defaults + output truncation)
Also provides a convenience command:
/rpbind <window_id> <tab>
Install
From npm:
pi install npm:pi-repoprompt-cliFrom the dot314 git bundle (filtered install):
Add to ~/.pi/agent/settings.json (or replace an existing unfiltered git:github.com/w-winter/dot314 entry):
{
"packages": [
{
"source": "git:github.com/w-winter/dot314",
"extensions": ["extensions/repoprompt-cli.ts"],
"skills": [],
"themes": [],
"prompts": []
}
]
}Requirements
rp-climust be installed and available onPATH
Quick start
- Find your RepoPrompt window + tab (from a terminal):
rp-cli -e windows
rp-cli -e "workspace tabs"- Bind inside Pi:
/rpbind 3 Compose- Instruct the agent to use RepoPrompt via the
rp_exectool, for example:
Use rp_exec with cmd: "get_file_tree type=files max_depth=4".Safety behavior (by default)
- Blocks delete-like commands unless
allowDelete: true - Blocks in-place workspace switching unless
allowWorkspaceSwitchInPlace: true - Blocks non-trivial commands when unbound (to avoid operating on the wrong window/tab)
- Treats "0 edits applied" as an error by default (
failOnNoopEdits: true)
