import{kf as M,mf as Q,nf as D,of as F,qf as V}from"./cli-0.5.12-7j2hryxc.mjs";import"./cli-0.5.12-ysy6e9rz.mjs";import"./cli-0.5.12-g4wb8mj2.mjs";import"./cli-0.5.12-vp5smcs1.mjs";import"./cli-0.5.12-y2kq7fe8.mjs";import"./cli-0.5.12-7vxpqr5a.mjs";import"./cli-0.5.12-hvtcdcev.mjs";import"./cli-0.5.12-asbn3d19.mjs";import"./cli-0.5.12-k1crwtdc.mjs";import"./cli-0.5.12-2jxq8gnm.mjs";import"./cli-0.5.12-p5ps8gf0.mjs";import"./cli-0.5.12-hp0508v9.mjs";import"./cli-0.5.12-tfdwzg37.mjs";import"./cli-0.5.12-60w1a0bs.mjs";import"./cli-0.5.12-c8f4daey.mjs";import"./cli-0.5.12-0qasc0ef.mjs";import"./cli-0.5.12-f8850v2j.mjs";import"./cli-0.5.12-495d826j.mjs";import"./cli-0.5.12-rt0k97yj.mjs";import"./cli-0.5.12-1vyz0tt9.mjs";import{aoa as T}from"./cli-0.5.12-xzeb7mtb.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};
