@henryqw/pi-undo 1.0.2 → 2.0.2

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.
Files changed (2) hide show
  1. package/README.md +2 -4
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -10,10 +10,8 @@ pi install npm:@henryqw/pi-undo
10
10
 
11
11
  ## Use
12
12
 
13
- Run `/undo` with no arguments. Pi stops active work and puts your latest prompt back in the editor.
14
-
15
- Edit or submit it again.
13
+ Run `/undo` with no arguments. It stops active work, waits for it to finish stopping, and returns to your latest user message so you can edit or submit it again. If there is no user message in the session, Pi displays `Nothing to undo.`
16
14
 
17
15
  ## Limits and recovery
18
16
 
19
- `/undo` does not revert filesystem changes.
17
+ `/undo` rewinds conversation context only; it does not revert filesystem changes. Review or restore any files you need to change separately.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-undo",
3
- "version": "1.0.2",
3
+ "version": "2.0.2",
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": "^0.85.1"
27
+ "@earendil-works/pi-coding-agent": ">=0.86.0 <0.88.0"
28
28
  },
29
29
  "repository": {
30
30
  "type": "git",
@@ -41,5 +41,8 @@
41
41
  "extensions": [
42
42
  "./extensions/undo.ts"
43
43
  ]
44
+ },
45
+ "devDependencies": {
46
+ "@earendil-works/pi-coding-agent": "0.87.0"
44
47
  }
45
48
  }