@henryqw/pi-herdr-done 0.5.7 → 0.5.8
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 +10 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# `@henryqw/pi-herdr-done`
|
|
2
2
|
|
|
3
|
-
|
|
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**:
|
|
8
|
-
- **Advantage**:
|
|
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. |
|