This commit is contained in:
wassname
2026-04-08 16:05:39 +08:00
parent f08bcc8cf2
commit 1c8cfdd33a
2 changed files with 19 additions and 11 deletions
+6 -10
View File
@@ -1,19 +1,11 @@
# pi-edit-last
Edit assistant replies since the last user message in your external editor (Zed, VS Code, etc.).
## Installation
```json
// settings.json
{
"extensions": ["git:github.com:wassname/pi-edit-last@main"]
}
```
## Install
Or symlink:
```bash
ln -s /path/to/pi-edit-last ~/.pi/agent/extensions/edit-last
pi install git:github.com:wasname/pi-edit-last
```
Then `/reload` in pi.
@@ -32,3 +24,7 @@ Uses `$VISUAL` or `$EDITOR` (falls back to `vi`). Set in your shell:
```bash
export VISUAL=zed # or code, vim, etc.
```
## Related
- [pi-studio](https://github.com/omaclaren/pi-studio) — Collection of pi extensions
+13 -1
View File
@@ -1 +1,13 @@
{"name":"pi-edit-last","version":"1.0.0","description":"Edit assistant replies since last user message, with external editor support","keywords":["pi-package"],"pi":{"extensions":["./index.ts"]}}
{
"name": "pi-edit-last",
"version": "1.0.0",
"description": "Edit assistant replies since last user message, with external editor support",
"keywords": [
"pi-package"
],
"pi": {
"extensions": [
"./index.ts"
]
}
}