Wan Shi Tong, Librarian's second triggered ability won't trigger if you search an opponent's library or if an opponent searches another player's library.
2025-10-02 • wotc
The second triggered ability won't be put on the stack until after the spell or ability causing the opponent to search their library finishes resolving.