How to get user browsing directory from FileProvider Extension macOS?

The goal is to get the current directory when user is browsing and get the updates from the server and populate using enumerateChanges.

There is no trigger natively from FileProvider Extension that I can make use of, if there is anything I missed please let me know.

I have also tried FInderSyncExtension and pointed it to the CloudStorage path, while it worked flawlessly in the other location but not in CloudStorage location

~/Library/CloudStorage/***-YYY

So, how do I get notified when user is browsing in my FileProvider Folders?

Have you found a solution? I would very much like to know if this implementation works! Though it appears, at least according to (this post)[https://developer.apple.com/forums/thread/739722], that only one works at a time :(

How to get user browsing directory from FileProvider Extension macOS?
 
 
Q