@henryqw/pi-herdr-done 0.5.7 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +10 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # `@henryqw/pi-herdr-done`
2
2
 
3
- Close and remove the current Herdr-managed linked worktree safely.
3
+ Finish a Herdr worktree task by removing its checkout, closing its tabs, and updating the parent.
4
4
 
5
5
  ## Why
6
6
 
7
- - **Created for**: Clean up finished worktree tasks without manually removing checkouts, closing tabs, and pulling parents.
8
- - **Advantage**: `/done` removes the checkout, closes workspace tabs, fast-forwards the parent with `--ff-only`, and refuses unsafe cases unless forced.
7
+ - **Created for**: Pi users finishing work in a Herdr-managed linked worktree.
8
+ - **Advantage**: One command performs cleanup and refuses unsafe removal unless you explicitly force it.
9
9
 
10
10
  ## Install
11
11
 
@@ -13,10 +13,16 @@ Close and remove the current Herdr-managed linked worktree safely.
13
13
  pi install npm:@henryqw/pi-herdr-done
14
14
  ```
15
15
 
16
- Requires a Pi session running inside Herdr.
16
+ Requires the Herdr CLI and a Pi session running inside a Herdr-managed linked worktree.
17
+
18
+ ## With
19
+
20
+ [`@henryqw/pi-herdr-clone`](https://pi.henry.wang/extensions/pi-herdr-clone) can create the worktree workspace that `/done` later removes.
17
21
 
18
22
  ## Use
19
23
 
24
+ Commit or discard current changes, then run `/done` and confirm. The command waits for Pi to become idle before cleanup.
25
+
20
26
  | Surface | Type | Purpose |
21
27
  | --- | --- | --- |
22
28
  | `/done` | command | Remove the current worktree checkout, close its Herdr workspace's tabs, and fast-forward the parent workspace. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-herdr-done",
3
- "version": "0.5.7",
3
+ "version": "1.0.0",
4
4
  "description": "Close and remove the current Herdr worktree from Pi.",
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.84.4"
27
+ "@earendil-works/pi-coding-agent": "^0.85.0"
28
28
  },
29
29
  "dependencies": {
30
30
  "@henryqw/pi-herdr": "^0.4.1"