import{af as M,cf as Q,df as D,ef as F,gf as V}from"./cli-0.5.3-v7c2x1hc.mjs";import"./cli-0.5.3-g0svn6bx.mjs";import"./cli-0.5.3-vpcrbd8n.mjs";import"./cli-0.5.3-jdw3ajfv.mjs";import"./cli-0.5.3-qg4a557t.mjs";import"./cli-0.5.3-t65dek0m.mjs";import"./cli-0.5.3-kavpx97n.mjs";import"./cli-0.5.3-9bdwhdys.mjs";import"./cli-0.5.3-ttc72eq3.mjs";import"./cli-0.5.3-g75gdzrp.mjs";import"./cli-0.5.3-1rg2r7n7.mjs";import"./cli-0.5.3-6j2jk6dt.mjs";import"./cli-0.5.3-66650sba.mjs";import"./cli-0.5.3-9vh3vpap.mjs";import"./cli-0.5.3-n3cxyxpg.mjs";import"./cli-0.5.3-kbvzmaax.mjs";import"./cli-0.5.3-7wdgps7z.mjs";import"./cli-0.5.3-c8bcrqa4.mjs";import"./cli-0.5.3-qrvd6cmy.mjs";import"./cli-0.5.3-2dk1sk8w.mjs";import{Xma as T}from"./cli-0.5.3-0df3r78b.mjs";function K(p){return p.map(([x,y])=>{let J=`Version ${x}:`,z=y.map((B)=>`· ${B}`).join(`
`);return`${J}
${z}`}).join(`

`)}async function Y(){let p=[];try{let y=new Promise((J,z)=>{setTimeout((B)=>B(Error("Timeout")),500,z)});await Promise.race([Q(),y]),p=F(await D())}catch{}if(p.length>0)return{type:"text",value:K(p)};let x=F(await D());if(x.length>0)return{type:"text",value:K(x)};return{type:"text",value:`See the full changelog at: ${M}`}}var W=T(()=>{V()});W();export{Y as call};
