@henryqw/pi-undo 3.1.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `@henryqw/pi-undo`
|
|
2
2
|
|
|
3
|
-
Return to your latest user prompt.
|
|
3
|
+
Return to your latest user prompt without the later conversation context. You can edit the prompt and send it again. The prompt returns in place, so you do not need to copy it into a new turn.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -8,12 +8,12 @@ Return to your latest user prompt. Then edit it and send it again without the la
|
|
|
8
8
|
pi install npm:@henryqw/pi-undo
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Requires Pi 1.1.0 or later in the 1.x series.
|
|
12
|
-
|
|
13
11
|
## Use
|
|
14
12
|
|
|
15
|
-
Run `/undo` with no arguments. It
|
|
13
|
+
Run `/undo` with no arguments. It cancels active work. It waits until the work stops. Then it returns to the latest user prompt on the current branch. You can edit the prompt or submit it again.
|
|
14
|
+
|
|
15
|
+
The command does not select prompts on other branches. If the current branch has no user message, Pi displays `Nothing to undo.`
|
|
16
16
|
|
|
17
17
|
## Limits and recovery
|
|
18
18
|
|
|
19
|
-
`/undo`
|
|
19
|
+
`/undo` returns only the conversation context to its earlier state. It does not revert filesystem changes. Review or restore files separately if necessary.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@henryqw/pi-undo",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Rewind Pi conversation context to the latest user prompt.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pack:check": "npm pack --dry-run"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@earendil-works/pi-coding-agent": "^1.
|
|
27
|
+
"@earendil-works/pi-coding-agent": "^1.3.0"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
]
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@earendil-works/pi-coding-agent": "1.
|
|
46
|
+
"@earendil-works/pi-coding-agent": "1.3.0"
|
|
47
47
|
}
|
|
48
48
|
}
|