@eeymoo/ai-coding-sync
    Preparing search index...
    • Runs a configured lifecycle hook.

      Parameters

      • hookName: HookName

        Hook to execute

      • env: Record<string, string>

        Hook environment payload

      • command: string | null = null

        Command string to execute

      • spawnFn: SpawnLike = Bun.spawn

        Spawn implementation used to launch the hook

      Returns Promise<void>

      Promise resolved when hook exits successfully

      await runHook('pre-sync', { mapping: 'claude' }, 'echo ok');
      

      0.1.0