/** Works with the private repository/package; GET-only production discovery. */
import {createDiscoveryClient,DiscoveryError} from '../sdk/discovery.js';
export async function discover(){
 const client=createDiscoveryClient();
 try{const manifest=await client.read('manifest');const product=await client.read('product');return {manifest,product};}
 catch(error){if(error instanceof DiscoveryError&&error.code==='RATE_LIMITED')return {retryAfterSeconds:error.retryAfterSeconds};throw error;}
}
// Payment capability remains false. Do not retry a disabled payment through another route.
