[SDK] Migrate discovery and post-thread queries to the appview client (#11355)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>


Author Samuel Newman Co-author Claude Fable 5 Committer GitHub Date Commit Parent b804f267