@henryqw/pi-herdr-done 0.4.2 → 0.4.3

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.
@@ -8,8 +8,7 @@ type SnapshotPane = { tab_id?: unknown; cwd?: unknown };
8
8
  type TabEntry = { tab_id?: unknown; label?: unknown };
9
9
 
10
10
  export default function herdrDoneExtension(pi: ExtensionAPI): void {
11
- const herdr = createHerdrClient<{ cwd: string }>((command, args, options) =>
12
- pi.exec(command, [...args], options));
11
+ const herdr = createHerdrClient<{ cwd: string }>(pi.exec.bind(pi));
13
12
 
14
13
  const execOrThrow = async (command: string, args: string[], cwd: string): Promise<string> => {
15
14
  const result = await pi.exec(command, args, { cwd }) as unknown as ExecResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-herdr-done",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Close and remove the current Herdr worktree from Pi.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -27,7 +27,7 @@
27
27
  "@earendil-works/pi-coding-agent": "^0.84.2"
28
28
  },
29
29
  "dependencies": {
30
- "@henryqw/pi-herdr": "^0.2.0"
30
+ "@henryqw/pi-herdr": "^0.3.0"
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",