var n=(e,i,s)=>new Promise((l,o)=>{var p=a=>{try{r(s.next(a))}catch(c){o(c)}},u=a=>{try{r(s.throw(a))}catch(c){o(c)}},r=a=>a.done?l(a.value):Promise.resolve(a.value).then(p,u);r((s=s.apply(e,i)).next())});import{a as t}from"./main-CqQrmdFR.js";function y(){return n(this,null,function*(){return t("/api/skills")})}function d(){return n(this,null,function*(){return t("/api/mcp/servers")})}function k(){return n(this,null,function*(){return t("/api/marketplace/index")})}function h(){return n(this,null,function*(){return{version:(yield t("/api/marketplace/refresh",{method:"POST"})).version,plugins:[]}})}function g(e){return n(this,null,function*(){yield t(`/api/marketplace/plugins/${encodeURIComponent(e)}/install`,{method:"POST"})})}function P(e){return n(this,null,function*(){yield t(`/api/marketplace/plugins/${encodeURIComponent(e)}`,{method:"DELETE"})})}function S(e,i){return n(this,null,function*(){yield t(`/api/marketplace/plugins/${encodeURIComponent(e)}/keys`,{method:"PUT",body:JSON.stringify(i)})})}export{d as a,k as b,y as f,g as i,h as r,S as s,P as u};
