@henryqw/pi-deps 1.0.3 → 1.0.4

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.
@@ -22,7 +22,7 @@ async function existingHook(path: string): Promise<string | undefined> {
22
22
  }
23
23
  }
24
24
 
25
- export async function toggleDependencyHook(commonGitDir: string): Promise<{ enabled: boolean; path: string }> {
25
+ async function toggleDependencyHook(commonGitDir: string): Promise<{ enabled: boolean; path: string }> {
26
26
  const source = await readFile(hookSourcePath, "utf8");
27
27
  const path = join(commonGitDir, "hooks", "post-checkout");
28
28
  const existing = await existingHook(path);
@@ -83,7 +83,7 @@ interface InstallStatus {
83
83
  message?: string;
84
84
  }
85
85
 
86
- export interface InstallWatchContext {
86
+ interface InstallWatchContext {
87
87
  cwd: string;
88
88
  mode?: string;
89
89
  ui: Pick<ExtensionUIContext, "setWidget">;
@@ -91,7 +91,7 @@ export interface InstallWatchContext {
91
91
 
92
92
  // Watches the status file written by the background installer spawned by the post-checkout hook.
93
93
  // First consumer wins: the status file is removed once reported.
94
- export async function watchDependencyInstallation(
94
+ async function watchDependencyInstallation(
95
95
  exec: ExtensionAPI["exec"],
96
96
  ctx: InstallWatchContext,
97
97
  ): Promise<void> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-deps",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Prepare Node and uv dependencies when opted-in Git worktrees are created.",
5
5
  "keywords": [
6
6
  "pi-package",